Searched refs:getMode (Results 1 – 6 of 6) sorted by relevance
/system/chre/core/tests/ |
D | sensor_request_test.cc | 50 EXPECT_EQ(request.getMode(), SensorMode::Off); in TEST() 63 EXPECT_EQ(mergedRequest.getMode(), SensorMode::ActiveContinuous); in TEST() 76 EXPECT_EQ(mergedRequest.getMode(), SensorMode::ActiveOneShot); in TEST() 90 EXPECT_EQ(mergedRequest.getMode(), SensorMode::PassiveContinuous); in TEST() 102 EXPECT_EQ(mergedRequest.getMode(), SensorMode::PassiveOneShot); in TEST() 115 EXPECT_EQ(mergedRequest.getMode(), SensorMode::ActiveContinuous); in TEST() 128 EXPECT_EQ(mergedRequest.getMode(), SensorMode::ActiveContinuous); in TEST() 140 EXPECT_EQ(mergedRequest.getMode(), SensorMode::ActiveContinuous); in TEST() 154 EXPECT_EQ(mergedRequest.getMode(), SensorMode::ActiveContinuous); in TEST() 166 EXPECT_EQ(mergedRequest.getMode(), SensorMode::ActiveContinuous); in TEST() [all …]
|
/system/chre/core/ |
D | sensor.cc | 47 if (request.getMode() == SensorMode::Off) { in setRequest() 81 if (mSensorRequest.getMode() != SensorMode::Off) { in setLastEvent()
|
D | sensor_request_manager.cc | 29 sensorRequest.getMode()); in isSensorRequestValid() 30 bool isRequestOneShot = sensorModeIsOneShot(sensorRequest.getMode()); in isSensorRequestValid() 140 if (sensorRequest.getMode() == SensorMode::Off) { in setSensorRequest()
|
D | sensor_request.cc | 269 SensorMode SensorRequest::getMode() const { in getMode() function in chre::SensorRequest
|
/system/chre/core/include/chre/core/ |
D | sensor_request.h | 297 SensorMode getMode() const;
|
/system/chre/platform/slpi/ |
D | platform_sensor.cc | 812 chreRequest.getMode(), in populateSensorRequest() 819 sensorRequest->Action = getSmgrRequestActionForMode(request.getMode()); in populateSensorRequest()
|