Home
last modified time | relevance | path

Searched refs:getMode (Results 1 – 6 of 6) sorted by relevance

/system/chre/core/tests/
Dsensor_request_test.cc50 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/
Dsensor.cc47 if (request.getMode() == SensorMode::Off) { in setRequest()
81 if (mSensorRequest.getMode() != SensorMode::Off) { in setLastEvent()
Dsensor_request_manager.cc29 sensorRequest.getMode()); in isSensorRequestValid()
30 bool isRequestOneShot = sensorModeIsOneShot(sensorRequest.getMode()); in isSensorRequestValid()
140 if (sensorRequest.getMode() == SensorMode::Off) { in setSensorRequest()
Dsensor_request.cc269 SensorMode SensorRequest::getMode() const { in getMode() function in chre::SensorRequest
/system/chre/core/include/chre/core/
Dsensor_request.h297 SensorMode getMode() const;
/system/chre/platform/slpi/
Dplatform_sensor.cc812 chreRequest.getMode(), in populateSensorRequest()
819 sensorRequest->Action = getSmgrRequestActionForMode(request.getMode()); in populateSensorRequest()