Searched refs:OperationMode (Results 1 – 11 of 11) sorted by relevance
/hardware/interfaces/sensors/2.0/default/ |
D | Sensor.h | 29 using ::android::hardware::sensors::V1_0::OperationMode; 56 void setOperationMode(OperationMode mode); 79 OperationMode mMode;
|
D | Sensors.h | 51 using OperationMode = ::android::hardware::sensors::V1_0::OperationMode; member 62 Return<Result> setOperationMode(OperationMode mode) override;
|
D | Sensor.cpp | 40 mMode(OperationMode::NORMAL) { in Sensor() 107 if (!mIsEnabled || mMode == OperationMode::DATA_INJECTION) { in run() 109 return ((mIsEnabled && mMode == OperationMode::NORMAL) || mStopThread); in run() 146 void Sensor::setOperationMode(OperationMode mode) { in setOperationMode() 165 } else if (mMode == OperationMode::DATA_INJECTION) { in injectEvent()
|
D | Sensors.cpp | 29 using ::android::hardware::sensors::V1_0::OperationMode; 75 Return<Result> Sensors::setOperationMode(OperationMode mode) { in setOperationMode()
|
/hardware/interfaces/sensors/1.0/vts/functional/ |
D | VtsHalSensorsV1_0TargetTest.cpp | 198 ASSERT_EQ(Result::OK, S()->setOperationMode(OperationMode::NORMAL)); in TEST_F() 199 ASSERT_EQ(Result::OK, S()->setOperationMode(OperationMode::DATA_INJECTION)); in TEST_F() 200 ASSERT_EQ(Result::OK, S()->setOperationMode(OperationMode::NORMAL)); in TEST_F() 221 ASSERT_EQ(Result::OK, S()->setOperationMode(OperationMode::NORMAL)); in TEST_F() 222 ASSERT_EQ(Result::OK, S()->setOperationMode(OperationMode::DATA_INJECTION)); in TEST_F() 245 ASSERT_EQ(Result::OK, S()->setOperationMode(OperationMode::NORMAL)); in TEST_F()
|
/hardware/interfaces/sensors/1.0/default/ |
D | Sensors.h | 40 Return<Result> setOperationMode(OperationMode mode) override;
|
D | Sensors.cpp | 143 Return<Result> Sensors::setOperationMode(OperationMode mode) { in setOperationMode()
|
/hardware/interfaces/sensors/2.0/vts/functional/ |
D | VtsHalSensorsV2_0TargetTest.cpp | 38 using ::android::hardware::sensors::V1_0::OperationMode; 331 ASSERT_EQ(Result::OK, getSensors()->setOperationMode(OperationMode::NORMAL)); in TEST_F() 332 ASSERT_EQ(Result::OK, getSensors()->setOperationMode(OperationMode::DATA_INJECTION)); in TEST_F() 333 ASSERT_EQ(Result::OK, getSensors()->setOperationMode(OperationMode::NORMAL)); in TEST_F() 335 ASSERT_EQ(Result::BAD_VALUE, getSensors()->setOperationMode(OperationMode::DATA_INJECTION)); in TEST_F() 346 ASSERT_EQ(Result::OK, getSensors()->setOperationMode(OperationMode::DATA_INJECTION)); in TEST_F() 392 ASSERT_EQ(Result::OK, getSensors()->setOperationMode(OperationMode::NORMAL)); in TEST_F()
|
/hardware/interfaces/sensors/1.0/ |
D | ISensors.hal | 38 setOperationMode(OperationMode mode) generates (Result result); 129 * Regardless of OperationMode, injected SensorType::ADDITIONAL_INFO 133 * @see OperationMode
|
D | types.hal | 38 enum OperationMode : int32_t {
|
/hardware/interfaces/sensors/2.0/ |
D | ISensors.hal | 20 import @1.0::OperationMode; 53 setOperationMode(OperationMode mode) generates (Result result); 207 * Regardless of OperationMode, injected SensorType::ADDITIONAL_INFO 211 * @see OperationMode
|