Home
last modified time | relevance | path

Searched refs:nModules (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/jni/
Dandroid_hardware_SoundTrigger.cpp400 struct sound_trigger_module_descriptor *nModules = NULL; in android_hardware_SoundTrigger_listModules() local
402 status_t status = SoundTrigger::listModules(nModules, &numModules); in android_hardware_SoundTrigger_listModules()
407 nModules = (struct sound_trigger_module_descriptor *) in android_hardware_SoundTrigger_listModules()
410 status = SoundTrigger::listModules(nModules, &numModules); in android_hardware_SoundTrigger_listModules()
420 jstring implementor = env->NewStringUTF(nModules[i].properties.implementor); in android_hardware_SoundTrigger_listModules()
421 jstring description = env->NewStringUTF(nModules[i].properties.description); in android_hardware_SoundTrigger_listModules()
422 SoundTrigger::guidToString(&nModules[i].properties.uuid, in android_hardware_SoundTrigger_listModules()
428 i, nModules[i].handle, nModules[i].properties.description, in android_hardware_SoundTrigger_listModules()
429 nModules[i].properties.max_sound_models); in android_hardware_SoundTrigger_listModules()
432 nModules[i].handle, in android_hardware_SoundTrigger_listModules()
[all …]
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1855 struct sound_trigger_module_descriptor* nModules = NULL; in soundTriggerSupportsConcurrentCapture() local
1857 status_t status = SoundTrigger::listModules(nModules, &numModules); in soundTriggerSupportsConcurrentCapture()
1859 nModules = (struct sound_trigger_module_descriptor*) calloc( in soundTriggerSupportsConcurrentCapture()
1861 if (nModules == NULL) { in soundTriggerSupportsConcurrentCapture()
1868 status = SoundTrigger::listModules(nModules, &numModules); in soundTriggerSupportsConcurrentCapture()
1873 nModules[i].properties.concurrent_capture; in soundTriggerSupportsConcurrentCapture()
1876 free(nModules); in soundTriggerSupportsConcurrentCapture()