Home
last modified time | relevance | path

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

/frameworks/av/soundtrigger/
DISoundTriggerHwService.cpp52 uint32_t *numModules) in listModules() argument
54 if (numModules == NULL || (*numModules != 0 && modules == NULL)) { in listModules()
59 unsigned int numModulesReq = (modules == NULL) ? 0 : *numModules; in listModules()
64 *numModules = (unsigned int)reply.readInt32(); in listModules()
66 ALOGV("listModules() status %d got *numModules %d", status, *numModules); in listModules()
68 if (numModulesReq > *numModules) { in listModules()
69 numModulesReq = *numModules; in listModules()
119 unsigned int numModules = numModulesReq; in onTransact() local
123 status_t status = listModules(modules, &numModules); in onTransact()
125 reply->writeInt32(numModules); in onTransact()
[all …]
DSoundTrigger.cpp84 uint32_t *numModules) in listModules() argument
91 return service->listModules(modules, numModules); in listModules()
/frameworks/av/include/soundtrigger/
DISoundTriggerHwService.h37 uint32_t *numModules) = 0;
DSoundTrigger.h40 uint32_t *numModules);
/frameworks/base/core/jni/
Dandroid_hardware_SoundTrigger.cpp384 unsigned int numModules = 0; in android_hardware_SoundTrigger_listModules() local
387 status_t status = SoundTrigger::listModules(nModules, &numModules); in android_hardware_SoundTrigger_listModules()
388 if (status != NO_ERROR || numModules == 0) { in android_hardware_SoundTrigger_listModules()
393 calloc(numModules, sizeof(struct sound_trigger_module_descriptor)); in android_hardware_SoundTrigger_listModules()
395 status = SoundTrigger::listModules(nModules, &numModules); in android_hardware_SoundTrigger_listModules()
396 ALOGV("listModules SoundTrigger::listModules status %d numModules %d", status, numModules); in android_hardware_SoundTrigger_listModules()
399 numModules = 0; in android_hardware_SoundTrigger_listModules()
402 for (size_t i = 0; i < numModules; i++) { in android_hardware_SoundTrigger_listModules()
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp106 uint32_t *numModules) in listModules() argument
114 if (numModules == NULL || (*numModules != 0 && modules == NULL)) { in listModules()
117 size_t maxModules = *numModules; in listModules()
118 *numModules = mModules.size(); in listModules()
DSoundTriggerHwService.h50 uint32_t *numModules);