Searched refs:numModules (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/soundtrigger/ |
D | ISoundTriggerHwService.cpp | 55 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 …]
|
D | SoundTrigger.cpp | 85 uint32_t *numModules) in listModules() argument 92 return service->listModules(opPackageName, modules, numModules); in listModules()
|
/frameworks/av/include/soundtrigger/ |
D | ISoundTriggerHwService.h | 38 uint32_t *numModules) = 0;
|
D | SoundTrigger.h | 41 uint32_t *numModules);
|
/frameworks/base/core/jni/ |
D | android_hardware_SoundTrigger.cpp | 412 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/ |
D | SoundTriggerHwService.cpp | 113 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()
|
D | SoundTriggerHwService.h | 52 uint32_t *numModules);
|