Home
last modified time | relevance | path

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

/system/chre/core/tests/
Dsensor_request_test.cc30 EXPECT_EQ(request.getMode(), SensorMode::Off); in TEST()
43 EXPECT_EQ(mergedRequest.getMode(), SensorMode::ActiveContinuous); in TEST()
56 EXPECT_EQ(mergedRequest.getMode(), SensorMode::ActiveOneShot); in TEST()
69 EXPECT_EQ(mergedRequest.getMode(), SensorMode::PassiveContinuous); in TEST()
81 EXPECT_EQ(mergedRequest.getMode(), SensorMode::PassiveOneShot); in TEST()
94 EXPECT_EQ(mergedRequest.getMode(), SensorMode::ActiveContinuous); in TEST()
107 EXPECT_EQ(mergedRequest.getMode(), SensorMode::ActiveContinuous); in TEST()
119 EXPECT_EQ(mergedRequest.getMode(), SensorMode::ActiveContinuous); in TEST()
133 EXPECT_EQ(mergedRequest.getMode(), SensorMode::ActiveContinuous); in TEST()
144 EXPECT_EQ(mergedRequest.getMode(), SensorMode::ActiveContinuous); in TEST()
[all …]
/system/chre/core/
Dsensor_request_manager.cc33 bool isRequestOneShot = sensorModeIsOneShot(sensorRequest.getMode()); in isSensorRequestValid()
34 bool isRequestOff = sensorRequest.getMode() == SensorMode::Off; in isSensorRequestValid()
36 bool isRequestPassive = sensorModeIsPassive(sensorRequest.getMode()); in isSensorRequestValid()
69 sensor->getMaximalRequest().getMode() != SensorMode::Off) { in updateLastEvent()
189 if (request.getMode() == SensorMode::Off) { in setSensorRequest()
563 mSensors[i].getSensorTypeName(), static_cast<int>(request.getMode()), in logStateToBuffer()
678 sensorRequest.getMode(), sensorRequest.getInterval(), in addSensorRequestLog()
866 bool enable = (request.getMode() != SensorMode::Off); in configurePlatformSensor()
887 if (request.getMode() == SensorMode::Off) { in configurePlatformSensor()
/system/chre/core/include/chre/core/
Dsensor_request.h123 SensorMode getMode() const { in getMode() function
/system/chre/platform/shared/
Dplatform_sensor_manager.cc89 getConfigureModeFromSensorMode(request.getMode()), in configureSensor()
/system/chre/platform/slpi/see/
Dplatform_sensor_manager.cc721 .enable = (request.getMode() != SensorMode::Off), in configureSensor()
722 .passive = sensorModeIsPassive(request.getMode()), in configureSensor()
/system/tools/xsdc/tests/resources/enum_type/api/
Dcurrent.txt358 method public attr.enumtype.GainMode getMode();