Home
last modified time | relevance | path

Searched refs:subHalIndex (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/sensors/2.0/multihal/
DHalProxy.cpp57 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()
[all …]
/hardware/interfaces/sensors/2.0/multihal/include/
DHalProxy.h101 int32_t subHalIndex);
104 int32_t subHalIndex);
386 HalProxyCallback(HalProxy* halProxy, int32_t subHalIndex) in HalProxyCallback() argument
387 : mHalProxy(halProxy), mSubHalIndex(subHalIndex) {} in HalProxyCallback()
/hardware/interfaces/sensors/2.0/multihal/tests/
DHalProxy_test.cpp783 size_t subHalIndex = static_cast<size_t>(sensor.sensorHandle >> 24); in testSensorsListForOneDirectChannelEnabledSubHal() local
784 if (subHalIndex == enabledSubHalIndex) { in testSensorsListForOneDirectChannelEnabledSubHal()