Home
last modified time | relevance | path

Searched refs:numModules (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/soundtrigger/
DISoundTriggerHwService.cpp55 uint32_t *numModules) in listModules() argument
57 if (numModules == NULL || (*numModules != 0 && modules == NULL)) { in listModules()
63 unsigned int numModulesReq = (modules == NULL) ? 0 : *numModules; in listModules()
68 *numModules = (unsigned int)reply.readInt32(); in listModules()
70 ALOGV("listModules() status %d got *numModules %d", status, *numModules); in listModules()
72 if (numModulesReq > *numModules) { in listModules()
73 numModulesReq = *numModules; in listModules()
136 unsigned int numModules = numModulesReq; in onTransact() local
145 status = listModules(opPackageName, modules, &numModules); in onTransact()
147 reply->writeInt32(numModules); in onTransact()
[all …]
DSoundTrigger.cpp85 uint32_t *numModules) in listModules() argument
92 return service->listModules(opPackageName, modules, numModules); in listModules()
/frameworks/av/include/soundtrigger/
DISoundTriggerHwService.h38 uint32_t *numModules) = 0;
DSoundTrigger.h41 uint32_t *numModules);
/frameworks/base/core/jni/
Dandroid_hardware_SoundTrigger.cpp412 unsigned int numModules = 0; in android_hardware_SoundTrigger_listModules() local
418 status_t status = SoundTrigger::listModules(opPackageNameString16, nModules, &numModules); in android_hardware_SoundTrigger_listModules()
419 if (status != NO_ERROR || numModules == 0) { in android_hardware_SoundTrigger_listModules()
424 calloc(numModules, sizeof(struct sound_trigger_module_descriptor)); in android_hardware_SoundTrigger_listModules()
426 status = SoundTrigger::listModules(opPackageNameString16, nModules, &numModules); in android_hardware_SoundTrigger_listModules()
427 ALOGV("listModules SoundTrigger::listModules status %d numModules %d", status, numModules); in android_hardware_SoundTrigger_listModules()
430 numModules = 0; in android_hardware_SoundTrigger_listModules()
433 for (size_t i = 0; i < numModules; i++) { in android_hardware_SoundTrigger_listModules()
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp113 uint32_t *numModules) in listModules() argument
123 if (numModules == NULL || (*numModules != 0 && modules == NULL)) { in listModules()
126 size_t maxModules = *numModules; in listModules()
127 *numModules = mModules.size(); in listModules()
DSoundTriggerHwService.h52 uint32_t *numModules);