/hardware/interfaces/sensors/2.0/multihal/tests/fake_subhal/ |
D | Sensor.cpp | 35 Sensor::Sensor(int32_t sensorHandle, ISensorsEventCallback* callback) in Sensor() 182 OnChangeSensor::OnChangeSensor(int32_t sensorHandle, ISensorsEventCallback* callback) in OnChangeSensor() 209 ContinuousSensor::ContinuousSensor(int32_t sensorHandle, ISensorsEventCallback* callback) in ContinuousSensor() 214 AccelSensor::AccelSensor(int32_t sensorHandle, ISensorsEventCallback* callback) in AccelSensor() 240 PressureSensor::PressureSensor(int32_t sensorHandle, ISensorsEventCallback* callback) in PressureSensor() 251 MagnetometerSensor::MagnetometerSensor(int32_t sensorHandle, ISensorsEventCallback* callback) in MagnetometerSensor() 262 LightSensor::LightSensor(int32_t sensorHandle, ISensorsEventCallback* callback) in LightSensor() 273 ProximitySensor::ProximitySensor(int32_t sensorHandle, ISensorsEventCallback* callback) in ProximitySensor() 285 GyroSensor::GyroSensor(int32_t sensorHandle, ISensorsEventCallback* callback) in GyroSensor() 310 AmbientTempSensor::AmbientTempSensor(int32_t sensorHandle, ISensorsEventCallback* callback) in AmbientTempSensor() [all …]
|
D | SensorsSubHal.cpp | 75 Return<Result> SensorsSubHal::activate(int32_t sensorHandle, bool enabled) { in activate() 84 Return<Result> SensorsSubHal::batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() 94 Return<Result> SensorsSubHal::flush(int32_t sensorHandle) { in flush()
|
/hardware/interfaces/sensors/2.0/default/ |
D | Sensor.cpp | 198 AccelSensor::AccelSensor(int32_t sensorHandle, ISensorsEventCallback* callback) : Sensor(callback) { in AccelSensor() 216 PressureSensor::PressureSensor(int32_t sensorHandle, ISensorsEventCallback* callback) in PressureSensor() 235 MagnetometerSensor::MagnetometerSensor(int32_t sensorHandle, ISensorsEventCallback* callback) in MagnetometerSensor() 254 LightSensor::LightSensor(int32_t sensorHandle, ISensorsEventCallback* callback) in LightSensor() 273 ProximitySensor::ProximitySensor(int32_t sensorHandle, ISensorsEventCallback* callback) in ProximitySensor() 293 GyroSensor::GyroSensor(int32_t sensorHandle, ISensorsEventCallback* callback) : Sensor(callback) { in GyroSensor() 311 AmbientTempSensor::AmbientTempSensor(int32_t sensorHandle, ISensorsEventCallback* callback) in AmbientTempSensor() 330 DeviceTempSensor::DeviceTempSensor(int32_t sensorHandle, ISensorsEventCallback* callback) in DeviceTempSensor() 349 RelativeHumiditySensor::RelativeHumiditySensor(int32_t sensorHandle, in RelativeHumiditySensor()
|
D | Sensors.cpp | 82 Return<Result> Sensors::activate(int32_t sensorHandle, bool enabled) { in activate() 140 Return<Result> Sensors::batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() 150 Return<Result> Sensors::flush(int32_t sensorHandle) { in flush()
|
/hardware/interfaces/sensors/2.0/multihal/ |
D | HalProxy.cpp | 57 int32_t setSubHalIndex(int32_t sensorHandle, size_t subHalIndex) { in setSubHalIndex() 68 size_t extractSubHalIndex(int32_t sensorHandle) { in extractSubHalIndex() 130 Return<Result> HalProxy::activate(int32_t sensorHandle, bool enabled) { in activate() 206 Return<Result> HalProxy::batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() 215 Return<Result> HalProxy::flush(int32_t sensorHandle) { in flush() 261 Return<void> HalProxy::configDirectReport(int32_t sensorHandle, int32_t channelHandle, in configDirectReport() 340 for (int32_t sensorHandle : dynamicSensorHandlesRemoved) { in onDynamicSensorsDisconnected() local 467 int32_t sensorHandle = sensorEntry.first; in disableAllSensors() local 472 int32_t sensorHandle = sensorEntry.first; in disableAllSensors() local 643 ISensorsSubHal* HalProxy::getSubHalForSensorHandle(int32_t sensorHandle) { in getSubHalForSensorHandle() [all …]
|
/hardware/interfaces/sensors/1.0/vts/functional/ |
D | VtsHalSensorsV1_0TargetTest.cpp | 58 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() 63 Return<Result> flush(int32_t sensorHandle) override { return S()->flush(sensorHandle); } in flush() 76 Return<void> configDirectReport(int32_t sensorHandle, int32_t channelHandle, RateLevel rate, in configDirectReport() 90 Return<Result> SensorsHidlTest::activate(int32_t sensorHandle, bool enabled) { in activate()
|
/hardware/interfaces/sensors/2.0/vts/functional/ |
D | VtsHalSensorsV2_0TargetTest.cpp | 70 int32_t getFlushCount(int32_t sensorHandle) { in getFlushCount() 82 const std::vector<Event> getEvents(int32_t sensorHandle) { in getEvents() 143 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() 148 Return<Result> flush(int32_t sensorHandle) override { in flush() 163 Return<void> configDirectReport(int32_t sensorHandle, int32_t channelHandle, RateLevel rate, in configDirectReport() 204 Return<Result> SensorsHidlTest::activate(int32_t sensorHandle, bool enabled) { in activate()
|
/hardware/interfaces/sensors/2.0/multihal/include/ |
D | HalProxy.h | 127 const SensorInfo& getSensorInfo(int32_t sensorHandle) { return mSensors[sensorHandle]; } in getSensorInfo()
|
/hardware/interfaces/sensors/1.0/default/ |
D | Sensors.cpp | 303 int32_t sensorHandle, int32_t channelHandle, RateLevel rate, in configDirectReport()
|
/hardware/interfaces/sensors/2.0/multihal/tests/ |
D | HalProxy_test.cpp | 572 for (int32_t sensorHandle = 1; sensorHandle < 10; sensorHandle++) { in TEST() local 633 for (int32_t sensorHandle = 1; sensorHandle < 10; sensorHandle++) { in TEST() local 861 for (int32_t sensorHandle = start; sensorHandle < start + static_cast<int32_t>(size); in makeSensorsAndSensorHandlesStartingAndOfSize() local
|