Home
last modified time | relevance | path

Searched refs:sensorInfo (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/sensors/2.0/multihal/tests/fake_subhal/
DSensorsSubHal.cpp204 SensorInfo sensorInfo = sensor.second->getSensorInfo(); in getSensorsList() local
205 sensorInfo.flags |= V1_0::SensorFlagBits::MASK_DIRECT_CHANNEL; in getSensorsList()
206 sensorInfo.flags |= V1_0::SensorFlagBits::MASK_DIRECT_REPORT; in getSensorsList()
207 sensors.push_back(sensorInfo); in getSensorsList()
216 SensorInfo sensorInfo = sensor.second->getSensorInfo(); in getSensorsList() local
217 sensorInfo.flags &= ~static_cast<uint32_t>(V1_0::SensorFlagBits::MASK_DIRECT_CHANNEL); in getSensorsList()
218 sensorInfo.flags &= ~static_cast<uint32_t>(V1_0::SensorFlagBits::MASK_DIRECT_REPORT); in getSensorsList()
219 sensors.push_back(sensorInfo); in getSensorsList()
/hardware/interfaces/sensors/2.0/vts/functional/
DVtsHalSensorsV2_0TargetTest.cpp622 for (const SensorInfo& sensorInfo : getSensorsList()) { in activateAllSensors() local
623 if (isValidType(sensorInfo.type)) { in activateAllSensors()
624 batch(sensorInfo.sensorHandle, sensorInfo.minDelay, 0 /* maxReportLatencyNs */); in activateAllSensors()
625 activate(sensorInfo.sensorHandle, enable); in activateAllSensors()
/hardware/interfaces/sensors/2.0/multihal/
DHalProxy.cpp629 void HalProxy::setDirectChannelFlags(SensorInfo* sensorInfo, ISensorsSubHal* subHal) { in setDirectChannelFlags() argument
631 (sensorInfo->flags & (V1_0::SensorFlagBits::MASK_DIRECT_REPORT | in setDirectChannelFlags()
638 sensorInfo->flags &= ~(V1_0::SensorFlagBits::MASK_DIRECT_REPORT | in setDirectChannelFlags()
/hardware/interfaces/sensors/2.0/multihal/include/
DHalProxy.h333 void setDirectChannelFlags(SensorInfo* sensorInfo, ISensorsSubHal* subHal);