Searched refs:getSensors (Results 1 – 8 of 8) sorted by relevance
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
D | HidRawSensorDaemon.cpp | 51 device.get(), deviceKey.c_str(), device->getSensors().size()); in createSensor() 54 for (auto &i : device->getSensors()) { in createSensor()
|
D | HidRawSensorDevice.h | 38 BaseSensorVector getSensors() const;
|
D | HidRawSensorDevice.cpp | 122 BaseSensorVector HidRawSensorDevice::getSensors() const { in getSensors() function in android::SensorHalExt::HidRawSensorDevice
|
/hardware/interfaces/sensors/common/vts/2_X/ |
D | VtsHalSensorsV2_XTargetTest.h | 174 ASSERT_NE(getSensors(), nullptr); in SetUp() 185 return getSensors()->getSensorsList( in getSensorsList() 193 return getSensors()->batch(sensorHandle, samplingPeriodNs, maxReportLatencyNs); in batch() 197 return getSensors()->flush(sensorHandle); in flush() 201 return getSensors()->injectSensorData(event); in injectSensorData() 208 return getSensors()->unregisterDirectChannel(channelHandle); in unregisterDirectChannel() 213 return getSensors()->configDirectReport(sensorHandle, channelHandle, rate, _hidl_cb); in configDirectReport() 216 inline sp<ISensorsWrapperBase>& getSensors() { return mEnvironment->mSensors; } in getSensors() function 261 return getSensors()->activate(sensorHandle, enabled); in activate() 269 getSensors()->registerDirectChannel(mem, [&](auto result, auto channelHandle) { in registerDirectChannel() [all …]
|
/hardware/interfaces/sensors/aidl/vts/ |
D | VtsAidlHalSensorsTargetTest.cpp | 302 ASSERT_NE(getSensors(), nullptr); in SetUp() 341 inline std::shared_ptr<ISensors>& getSensors() { return mEnvironment->mSensors; } in getSensors() function in SensorsAidlTest 363 return getSensors()->batch(sensorHandle, samplingPeriodNs, maxReportLatencyNs); in batch() 366 ndk::ScopedAStatus flush(int32_t sensorHandle) { return getSensors()->flush(sensorHandle); } in flush() 372 return getSensors()->unregisterDirectChannel(*channelHandle); in unregisterDirectChannel() 377 return getSensors()->configDirectReport(sensorHandle, channelHandle, rate, reportToken); in configDirectReport() 407 ndk::ScopedAStatus status = getSensors()->registerDirectChannel(mem, aidlReturn); in registerDirectChannel() 416 checkIsOk(getSensors()->getSensorsList(&sensorInfoList)); in getSensorsList() 428 return getSensors()->activate(sensorHandle, enable); in activate() 605 ASSERT_TRUE(getSensors()->setOperationMode(ISensors::OperationMode::NORMAL).isOk()); in TEST_P() [all …]
|
/hardware/interfaces/sensors/aidl/default/multihal/ |
D | HalProxyAidl.cpp | 156 for (const auto &sensor : HalProxy::getSensors()) { in getSensorsList()
|
/hardware/interfaces/sensors/2.0/vts/functional/ |
D | VtsHalSensorsV2_0TargetTest.cpp | 275 getSensors()->getSensorsList([&](const auto& list) { in TEST_P()
|
/hardware/interfaces/sensors/common/default/2.X/multihal/include/ |
D | HalProxy.h | 144 const std::map<int32_t, SensorInfo>& getSensors() { return mSensors; } in getSensors() function
|