Searched refs:numModules (Results 1 – 14 of 14) sorted by relevance
/frameworks/av/soundtrigger/ |
D | ISoundTriggerHwService.cpp | 54 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 …]
|
D | SoundTrigger.cpp | 84 uint32_t *numModules) in listModules() argument 91 return service->listModules(modules, numModules); in listModules()
|
/frameworks/av/radio/ |
D | IRadioService.cpp | 54 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 …]
|
D | Radio.cpp | 84 uint32_t *numModules) in listModules() argument 91 return service->listModules(properties, numModules); in listModules()
|
/frameworks/base/core/jni/ |
D | android_hardware_Radio.cpp | 379 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()
|
D | android_hardware_SoundTrigger.cpp | 384 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/ |
D | IRadioService.h | 37 uint32_t *numModules) = 0;
|
D | Radio.h | 40 uint32_t *numModules);
|
/frameworks/av/include/soundtrigger/ |
D | ISoundTriggerHwService.h | 37 uint32_t *numModules) = 0;
|
D | SoundTrigger.h | 40 uint32_t *numModules);
|
/frameworks/av/services/soundtrigger/ |
D | SoundTriggerHwService.cpp | 106 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()
|
D | SoundTriggerHwService.h | 50 uint32_t *numModules);
|
/frameworks/av/services/radio/ |
D | RadioService.cpp | 103 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()
|
D | RadioService.h | 52 uint32_t *numModules);
|