Hi,
I use the SDK to run a DLC file through the java/Android api. Running with CPU or GPU runtimes works but running with the DSP runtime fails:
vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:2339: Error 0xd: open_shell failed for domain 3 search paths used are /dsp/, /vendor/dsp/, /vendor/dsp/xdsp/
This happens on the call for NeuralNetworkBuilder(application).setRuntimeOrder(Runtime.DSP).
I tried to set the ADSP_LIBRARY_PATH variable before calling:
Os.setenv("ADSP_LIBRARY_PATH",String.format("\"%s;/system/lib/rfsa/adsp;/system/vendor/lib/rfsa/adsp;/dsp\"", getApplicationInfo().nativeLibraryDir)
but it didn't apply since it's the same process. How can I set this variable correctly through a java Android studio app? or does it only work when running the app through the ADB?
Thanks.