Home
last modified time | relevance | path

Searched refs:Off (Results 1 – 8 of 8) sorted by relevance

/system/chre/core/
Dsensor_request.cc41 : SensorRequest(SensorMode::Off, in SensorRequest()
71 if (request.mMode != SensorMode::Off) { in mergeWith()
103 SensorMode maximalSensorMode = SensorMode::Off; in mergeWith()
Dsensor_type.cc279 return SensorMode::Off; in getSensorModeFromEnum()
290 return SensorMode::Off; in getSensorModeFromEnum()
Dsensor_request_manager.cc154 if (sensorRequest.getMode() == SensorMode::Off) { in setSensorRequest()
/system/chre/platform/shared/
Dplatform_sensor_util.cc57 && sensor->getRequest().getMode() != SensorMode::Off) { in updateLastEvent()
/system/chre/core/tests/
Dsensor_request_test.cc51 EXPECT_EQ(request.getMode(), SensorMode::Off); in TEST()
97 SensorRequest off(SensorMode::Off, Nanoseconds(0), Nanoseconds(0)); in TEST()
217 SensorRequest otherRequest(SensorMode::Off, in TEST()
/system/chre/platform/slpi/smgr/
Dplatform_sensor.cc877 bool enabled = (request.getMode() != SensorMode::Off); in updateSamplingStatus()
1111 if (mode != SensorMode::Off) { in getSmgrRequestActionForMode()
1303 if (request.getMode() == SensorMode::Off) { in makeRequest()
1317 sensor->isSensorOff = (request.getMode() == SensorMode::Off); in makeRequest()
1319 if (request.getMode() == SensorMode::Off) { in makeRequest()
1346 && sensor->getRequest().getMode() != SensorMode::Off) { in makeAllPendingRequests()
1501 success = (request.getMode() == SensorMode::Off) ? true : false; in applyRequest()
/system/chre/core/include/chre/core/
Dsensor_type.h215 Off, enumerator
/system/chre/platform/slpi/see/
Dplatform_sensor.cc798 .enable = (request.getMode() != SensorMode::Off), in applyRequest()
862 if (request.getMode() == SensorMode::Off) { in applyRequest()