Home
last modified time | relevance | path

Searched refs:module_index (Results 1 – 2 of 2) sorted by relevance

/hardware/libhardware/modules/sensors/
Dmultihal.cpp88 static int assign_global_handle(int module_index, int local_handle) { in assign_global_handle() argument
91 full_handle.moduleIndex = module_index; in assign_global_handle()
557 int module_index = 0; in lazy_init_sensors_list() local
578 int global_handle = assign_global_handle(module_index, local_handle); in lazy_init_sensors_list()
582 module_index, local_handle, global_handle); in lazy_init_sensors_list()
586 module_index++; in lazy_init_sensors_list()
/hardware/libhardware_legacy/audio/
DAudioPolicyManagerBase.cpp2083 for (size_t module_index = 0; module_index < mHwModules.size(); module_index++) in checkInputsForDevice() local
2085 if (mHwModules[module_index]->mHandle == 0) { in checkInputsForDevice()
2089 profile_index < mHwModules[module_index]->mInputProfiles.size(); in checkInputsForDevice()
2092 if (mHwModules[module_index]->mInputProfiles[profile_index]->mSupportedDevices in checkInputsForDevice()
2095 profile_index, module_index); in checkInputsForDevice()
2096 profiles.add(mHwModules[module_index]->mInputProfiles[profile_index]); in checkInputsForDevice()
2210 for (size_t module_index = 0; module_index < mHwModules.size(); module_index++) in checkInputsForDevice() local
2212 if (mHwModules[module_index]->mHandle == 0) { in checkInputsForDevice()
2216 profile_index < mHwModules[module_index]->mInputProfiles.size(); in checkInputsForDevice()
2219 IOProfile *profile = mHwModules[module_index]->mInputProfiles[profile_index]; in checkInputsForDevice()
[all …]