Home
last modified time | relevance | path

Searched refs:setOperationMode (Results 1 – 18 of 18) sorted by relevance

/hardware/interfaces/sensors/2.0/multihal/tests/fake_subhal/
DSensorsSubHal.cpp67 Return<Result> SensorsSubHal::setOperationMode(OperationMode mode) { in setOperationMode() function in android::hardware::sensors::V2_0::subhal::implementation::SensorsSubHal
69 sensor.second->setOperationMode(mode); in setOperationMode()
161 setOperationMode(OperationMode::NORMAL); in initialize()
197 Return<Result> SetOperationModeFailingSensorsSubHal::setOperationMode(OperationMode /*mode*/) { in setOperationMode() function in android::hardware::sensors::V2_0::subhal::implementation::SetOperationModeFailingSensorsSubHal
DSensorsSubHal.h51 virtual Return<Result> setOperationMode(OperationMode mode) override;
141 Return<Result> setOperationMode(OperationMode mode) override;
DSensor.h56 void setOperationMode(OperationMode mode);
DSensor.cpp155 void Sensor::setOperationMode(OperationMode mode) { in setOperationMode() function in android::hardware::sensors::V2_0::subhal::implementation::Sensor
/hardware/interfaces/sensors/1.0/vts/functional/
DVtsHalSensorsV1_0TargetTest.cpp207 ASSERT_EQ(Result::OK, S()->setOperationMode(OperationMode::NORMAL)); in TEST_P()
208 ASSERT_EQ(Result::OK, S()->setOperationMode(OperationMode::DATA_INJECTION)); in TEST_P()
209 ASSERT_EQ(Result::OK, S()->setOperationMode(OperationMode::NORMAL)); in TEST_P()
230 ASSERT_EQ(Result::OK, S()->setOperationMode(OperationMode::NORMAL)); in TEST_P()
231 ASSERT_EQ(Result::OK, S()->setOperationMode(OperationMode::DATA_INJECTION)); in TEST_P()
254 ASSERT_EQ(Result::OK, S()->setOperationMode(OperationMode::NORMAL)); in TEST_P()
/hardware/interfaces/sensors/2.0/default/
DSensors.cpp75 Return<Result> Sensors::setOperationMode(OperationMode mode) { in setOperationMode() function in android::hardware::sensors::V2_0::implementation::Sensors
77 sensor.second->setOperationMode(mode); in setOperationMode()
DSensor.h56 void setOperationMode(OperationMode mode);
DSensors.h62 Return<Result> setOperationMode(OperationMode mode) override;
DSensor.cpp146 void Sensor::setOperationMode(OperationMode mode) { in setOperationMode() function in android::hardware::sensors::V2_0::implementation::Sensor
/hardware/interfaces/sensors/1.0/default/
DSensors.h40 Return<Result> setOperationMode(OperationMode mode) override;
DSensors.cpp143 Return<Result> Sensors::setOperationMode(OperationMode mode) { in setOperationMode() function in android::hardware::sensors::V1_0::implementation::Sensors
/hardware/interfaces/sensors/2.0/vts/functional/
DVtsHalSensorsV2_0TargetTest.cpp362 ASSERT_EQ(Result::OK, getSensors()->setOperationMode(OperationMode::NORMAL)); in TEST_P()
363 ASSERT_EQ(Result::OK, getSensors()->setOperationMode(OperationMode::DATA_INJECTION)); in TEST_P()
364 ASSERT_EQ(Result::OK, getSensors()->setOperationMode(OperationMode::NORMAL)); in TEST_P()
366 ASSERT_EQ(Result::BAD_VALUE, getSensors()->setOperationMode(OperationMode::DATA_INJECTION)); in TEST_P()
377 ASSERT_EQ(Result::OK, getSensors()->setOperationMode(OperationMode::DATA_INJECTION)); in TEST_P()
423 ASSERT_EQ(Result::OK, getSensors()->setOperationMode(OperationMode::NORMAL)); in TEST_P()
/hardware/interfaces/sensors/2.0/multihal/
DHalProxy.cpp107 Return<Result> HalProxy::setOperationMode(OperationMode mode) { in setOperationMode() function in android::hardware::sensors::V2_0::implementation::HalProxy
112 result = subHal->setOperationMode(mode); in setOperationMode()
122 subHal->setOperationMode(mCurrentOperationMode); in setOperationMode()
/hardware/interfaces/sensors/2.0/multihal/tests/
DHalProxy_test.cpp233 Result result = proxy.setOperationMode(OperationMode::DATA_INJECTION); in TEST()
250 Result result = proxy.setOperationMode(OperationMode::DATA_INJECTION); in TEST()
549 proxy.setOperationMode(OperationMode::DATA_INJECTION); in TEST()
684 proxy.setOperationMode(OperationMode::DATA_INJECTION); in TEST()
/hardware/interfaces/sensors/2.0/multihal/include/
DHalProxy.h70 Return<Result> setOperationMode(OperationMode mode) override;
/hardware/interfaces/sensors/1.0/
DISensors.hal38 setOperationMode(OperationMode mode) generates (Result result);
Dtypes.hal35 * Sensor HAL modes used in setOperationMode method
/hardware/interfaces/sensors/2.0/
DISensors.hal53 setOperationMode(OperationMode mode) generates (Result result);