Lines Matching refs:subHalIndex
57 int32_t setSubHalIndex(int32_t sensorHandle, size_t subHalIndex) { in setSubHalIndex() argument
58 return sensorHandle | (static_cast<int32_t>(subHalIndex) << kBitsAfterSubHalIndex); in setSubHalIndex()
109 size_t subHalIndex; in setOperationMode() local
110 for (subHalIndex = 0; subHalIndex < mSubHalList.size(); subHalIndex++) { in setOperationMode()
111 ISensorsSubHal* subHal = mSubHalList[subHalIndex]; in setOperationMode()
120 for (size_t i = 0; i < subHalIndex; i++) { in setOperationMode()
315 int32_t subHalIndex) { in onDynamicSensorsConnected() argument
324 sensor.sensorHandle = setSubHalIndex(sensor.sensorHandle, subHalIndex); in onDynamicSensorsConnected()
335 const hidl_vec<int32_t>& dynamicSensorHandlesRemoved, int32_t subHalIndex) { in onDynamicSensorsDisconnected() argument
344 sensorHandle = setSubHalIndex(sensorHandle, subHalIndex); in onDynamicSensorsDisconnected()
391 for (size_t subHalIndex = 0; subHalIndex < mSubHalList.size(); subHalIndex++) { in initializeSubHalCallbacks() local
392 sp<IHalProxyCallback> callback = new HalProxyCallback(this, subHalIndex); in initializeSubHalCallbacks()
398 for (size_t subHalIndex = 0; subHalIndex < mSubHalList.size(); subHalIndex++) { in initializeSensorList() local
399 ISensorsSubHal* subHal = mSubHalList[subHalIndex]; in initializeSensorList()
406 sensor.sensorHandle = setSubHalIndex(sensor.sensorHandle, subHalIndex); in initializeSensorList()