Home
last modified time | relevance | path

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

/frameworks/av/soundtrigger/
DISoundTriggerHwService.cpp54 uint32_t *numModules) in listModules() argument
56 if (numModules == NULL || (*numModules != 0 && modules == NULL)) { in listModules()
61 unsigned int numModulesReq = (modules == NULL) ? 0 : *numModules; in listModules()
66 *numModules = (unsigned int)reply.readInt32(); in listModules()
68 ALOGV("listModules() status %d got *numModules %d", status, *numModules); in listModules()
70 if (numModulesReq > *numModules) { in listModules()
71 numModulesReq = *numModules; in listModules()
124 unsigned int numModules = numModulesReq; in onTransact() local
133 status_t status = listModules(modules, &numModules); in onTransact()
135 reply->writeInt32(numModules); in onTransact()
[all …]
DSoundTrigger.cpp84 uint32_t *numModules) in listModules() argument
91 return service->listModules(modules, numModules); in listModules()
/frameworks/av/radio/
DIRadioService.cpp54 uint32_t *numModules) in listModules() argument
56 if (numModules == NULL || (*numModules != 0 && properties == NULL)) { in listModules()
61 unsigned int numModulesReq = (properties == NULL) ? 0 : *numModules; in listModules()
66 *numModules = (unsigned int)reply.readInt32(); in listModules()
68 ALOGV("listModules() status %d got *numModules %d", status, *numModules); in listModules()
70 if (numModulesReq > *numModules) { in listModules()
71 numModulesReq = *numModules; in listModules()
124 unsigned int numModules = numModulesReq; in onTransact() local
134 status_t status = listModules(properties, &numModules); in onTransact()
136 reply->writeInt32(numModules); in onTransact()
[all …]
DRadio.cpp84 uint32_t *numModules) in listModules() argument
91 return service->listModules(properties, numModules); in listModules()
/frameworks/base/core/jni/
Dandroid_hardware_Radio.cpp379 unsigned int numModules = 0; in android_hardware_Radio_listModules() local
382 status_t status = Radio::listModules(nModules, &numModules); in android_hardware_Radio_listModules()
383 if (status != NO_ERROR || numModules == 0) { in android_hardware_Radio_listModules()
387 nModules = (radio_properties_t *)calloc(numModules, sizeof(radio_properties_t)); in android_hardware_Radio_listModules()
389 status = Radio::listModules(nModules, &numModules); in android_hardware_Radio_listModules()
390 ALOGV("%s Radio::listModules status %d numModules %d", __FUNCTION__, status, numModules); in android_hardware_Radio_listModules()
393 numModules = 0; in android_hardware_Radio_listModules()
396 for (size_t i = 0; i < numModules; i++) { in android_hardware_Radio_listModules()
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/include/radio/
DIRadioService.h37 uint32_t *numModules) = 0;
DRadio.h40 uint32_t *numModules);
/frameworks/av/include/soundtrigger/
DISoundTriggerHwService.h37 uint32_t *numModules) = 0;
DSoundTrigger.h40 uint32_t *numModules);
/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);
/frameworks/av/services/radio/
DRadioService.cpp103 uint32_t *numModules) in listModules() argument
108 if (numModules == NULL || (*numModules != 0 && properties == NULL)) { in listModules()
111 size_t maxModules = *numModules; in listModules()
112 *numModules = mModules.size(); in listModules()
DRadioService.h52 uint32_t *numModules);