Home
last modified time | relevance | path

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

12

/hardware/interfaces/sensors/common/default/2.X/multihal/tests/fake_subhal/
DSensorsSubHal.h55 virtual Return<Result> setOperationMode(OperationMode mode);
124 Return<Result> setOperationMode(OperationMode mode) override { in setOperationMode() function
125 return ISensorsSubHalBase::setOperationMode(mode); in setOperationMode()
242 Return<Result> setOperationMode(OperationMode mode) override;
DSensorsSubHal.cpp101 Return<Result> ISensorsSubHalBase::setOperationMode(OperationMode mode) { in setOperationMode() function in android::hardware::sensors::V2_1::subhal::implementation::ISensorsSubHalBase
103 sensor.second->setOperationMode(mode); in setOperationMode()
196 setOperationMode(OperationMode::NORMAL); in initialize()
205 Return<Result> SetOperationModeFailingSensorsSubHal::setOperationMode(OperationMode /*mode*/) { in setOperationMode() function in android::hardware::sensors::V2_1::subhal::implementation::SetOperationModeFailingSensorsSubHal
DSensor.h56 void setOperationMode(OperationMode mode);
/hardware/interfaces/sensors/1.0/vts/functional/
DVtsHalSensorsV1_0TargetTest.cpp217 ASSERT_EQ(Result::OK, S()->setOperationMode(OperationMode::NORMAL)); in TEST_P()
218 ASSERT_EQ(Result::OK, S()->setOperationMode(OperationMode::DATA_INJECTION)); in TEST_P()
219 ASSERT_EQ(Result::OK, S()->setOperationMode(OperationMode::NORMAL)); in TEST_P()
240 ASSERT_EQ(Result::OK, S()->setOperationMode(OperationMode::NORMAL)); in TEST_P()
241 ASSERT_EQ(Result::OK, S()->setOperationMode(OperationMode::DATA_INJECTION)); in TEST_P()
264 ASSERT_EQ(Result::OK, S()->setOperationMode(OperationMode::NORMAL)); in TEST_P()
/hardware/interfaces/sensors/common/default/2.X/multihal/include/
DSubHalWrapper.h68 virtual Return<Result> setOperationMode(OperationMode mode) = 0;
106 Return<Result> setOperationMode(OperationMode mode) override { in setOperationMode() function
107 return mSubHal->setOperationMode(mode); in setOperationMode()
DHalProxy.h93 Return<Result> setOperationMode(OperationMode mode);
396 Return<Result> setOperationMode(OperationMode mode) override { in setOperationMode() function
397 return HalProxy::setOperationMode(mode); in setOperationMode()
/hardware/interfaces/sensors/aidl/default/
DSensors.cpp143 ScopedAStatus Sensors::setOperationMode(OperationMode in_mode) { in setOperationMode() function in aidl::android::hardware::sensors::Sensors
145 sensor.second->setOperationMode(in_mode); in setOperationMode()
/hardware/interfaces/sensors/common/utils/
DISensorsWrapper.h83 virtual Return<Result> setOperationMode(OperationMode mode) = 0;
135 Return<Result> setOperationMode(OperationMode mode) override { in setOperationMode() function
136 return mSensors->setOperationMode(mode); in setOperationMode()
/hardware/interfaces/sensors/1.0/default/
DSensors.h40 Return<Result> setOperationMode(OperationMode mode) override;
/hardware/interfaces/sensors/aidl/android/hardware/sensors/
DISensors.aidl250 void setOperationMode(in OperationMode mode); in setOperationMode() method
/hardware/interfaces/sensors/aidl/aidl_api/android.hardware.sensors/current/android/hardware/sensors/
DISensors.aidl45 void setOperationMode(in android.hardware.sensors.ISensors.OperationMode mode); in setOperationMode() method
/hardware/interfaces/sensors/aidl/aidl_api/android.hardware.sensors/2/android/hardware/sensors/
DISensors.aidl45 void setOperationMode(in android.hardware.sensors.ISensors.OperationMode mode); in setOperationMode() method
/hardware/interfaces/sensors/aidl/aidl_api/android.hardware.sensors/1/android/hardware/sensors/
DISensors.aidl45 void setOperationMode(in android.hardware.sensors.ISensors.OperationMode mode); in setOperationMode() method
/hardware/interfaces/sensors/aidl/default/multihal/include/
DHalProxyAidl.h55 ::ndk::ScopedAStatus setOperationMode(
/hardware/interfaces/sensors/common/default/2.X/
DSensors.h81 Return<Result> setOperationMode(OperationMode mode) override { in setOperationMode() function
83 sensor.second->setOperationMode(mode); in setOperationMode()
DSensor.h62 void setOperationMode(OperationMode mode);
/hardware/interfaces/sensors/aidl/default/multihal/
DHalProxyAidl.cpp221 ScopedAStatus HalProxyAidl::setOperationMode( in setOperationMode() function in aidl::android::hardware::sensors::implementation::HalProxyAidl
224 HalProxy::setOperationMode(convertOperationMode(in_mode))); in setOperationMode()
/hardware/libhardware/modules/sensors/dynamic_sensor/
DDynamicSensorsSubHal.h46 Return<Result> setOperationMode(OperationMode mode) override;
DDynamicSensorsSubHal.cpp65 Return<Result> DynamicSensorsSubHal::setOperationMode(OperationMode mode) { in setOperationMode() function in android::SensorHalExt::DynamicSensorsSubHal
/hardware/interfaces/sensors/common/vts/2_X/
DVtsHalSensorsV2_XTargetTest.h434 ASSERT_EQ(Result::OK, getSensors()->setOperationMode(OperationMode::NORMAL)); in TEST_P()
435 ASSERT_EQ(Result::OK, getSensors()->setOperationMode(OperationMode::DATA_INJECTION)); in TEST_P()
436 ASSERT_EQ(Result::OK, getSensors()->setOperationMode(OperationMode::NORMAL)); in TEST_P()
438 ASSERT_EQ(Result::BAD_VALUE, getSensors()->setOperationMode(OperationMode::DATA_INJECTION)); in TEST_P()
449 ASSERT_EQ(Result::OK, getSensors()->setOperationMode(OperationMode::DATA_INJECTION)); in TEST_P()
499 ASSERT_EQ(Result::OK, getSensors()->setOperationMode(OperationMode::NORMAL)); in TEST_P()
/hardware/interfaces/sensors/aidl/vts/
DVtsAidlHalSensorsTargetTest.cpp605 ASSERT_TRUE(getSensors()->setOperationMode(ISensors::OperationMode::NORMAL).isOk()); in TEST_P()
606 ASSERT_TRUE(getSensors()->setOperationMode(ISensors::OperationMode::DATA_INJECTION).isOk()); in TEST_P()
607 ASSERT_TRUE(getSensors()->setOperationMode(ISensors::OperationMode::NORMAL).isOk()); in TEST_P()
611 ->setOperationMode(ISensors::OperationMode::DATA_INJECTION) in TEST_P()
624 ASSERT_TRUE(getSensors()->setOperationMode(ISensors::OperationMode::DATA_INJECTION).isOk()); in TEST_P()
690 ASSERT_TRUE(getSensors()->setOperationMode(ISensors::OperationMode::NORMAL).isOk()); in TEST_P()
/hardware/interfaces/sensors/aidl/default/include/sensors-impl/
DSensor.h52 void setOperationMode(OperationMode mode);
DSensors.h90 ::ndk::ScopedAStatus setOperationMode(
/hardware/interfaces/sensors/common/default/2.X/multihal/
DHalProxy.cpp138 Return<Result> HalProxy::setOperationMode(OperationMode mode) { in setOperationMode() function in android::hardware::sensors::V2_1::implementation::HalProxy
142 result = mSubHalList[subHalIndex]->setOperationMode(mode); in setOperationMode()
153 mSubHalList[i]->setOperationMode(mCurrentOperationMode); in setOperationMode()
/hardware/interfaces/sensors/common/default/2.X/multihal/tests/
DHalProxy_test.cpp266 Result result = proxy.setOperationMode(OperationMode::DATA_INJECTION); in TEST()
283 Result result = proxy.setOperationMode(OperationMode::DATA_INJECTION); in TEST()
584 proxy.setOperationMode(OperationMode::DATA_INJECTION); in TEST()
719 proxy.setOperationMode(OperationMode::DATA_INJECTION); in TEST()

12