Home
last modified time | relevance | path

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

/hardware/libhardware/modules/sensors/
Dmultihal.cpp86 static int assign_global_handle(int module_index, int local_handle) { in assign_global_handle() argument
89 full_handle.moduleIndex = module_index; in assign_global_handle()
575 int module_index = 0; in lazy_init_sensors_list() local
596 int global_handle = assign_global_handle(module_index, local_handle); in lazy_init_sensors_list()
600 module_index, local_handle, global_handle); in lazy_init_sensors_list()
604 module_index++; in lazy_init_sensors_list()
/hardware/libhardware_legacy/audio/
DAudioPolicyManagerBase.cpp2082 for (size_t module_index = 0; module_index < mHwModules.size(); module_index++) in checkInputsForDevice() local
2084 if (mHwModules[module_index]->mHandle == 0) { in checkInputsForDevice()
2088 profile_index < mHwModules[module_index]->mInputProfiles.size(); in checkInputsForDevice()
2091 if (mHwModules[module_index]->mInputProfiles[profile_index]->mSupportedDevices in checkInputsForDevice()
2094 profile_index, module_index); in checkInputsForDevice()
2095 profiles.add(mHwModules[module_index]->mInputProfiles[profile_index]); in checkInputsForDevice()
2209 for (size_t module_index = 0; module_index < mHwModules.size(); module_index++) in checkInputsForDevice() local
2211 if (mHwModules[module_index]->mHandle == 0) { in checkInputsForDevice()
2215 profile_index < mHwModules[module_index]->mInputProfiles.size(); in checkInputsForDevice()
2218 IOProfile *profile = mHwModules[module_index]->mInputProfiles[profile_index]; in checkInputsForDevice()
[all …]