Searched refs:getMode (Results 1 – 6 of 6) sorted by relevance
/system/chre/core/tests/ |
D | sensor_request_test.cc | 30 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/ |
D | sensor_request_manager.cc | 33 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/ |
D | sensor_request.h | 123 SensorMode getMode() const { in getMode() function
|
/system/chre/platform/shared/ |
D | platform_sensor_manager.cc | 89 getConfigureModeFromSensorMode(request.getMode()), in configureSensor()
|
/system/chre/platform/slpi/see/ |
D | platform_sensor_manager.cc | 721 .enable = (request.getMode() != SensorMode::Off), in configureSensor() 722 .passive = sensorModeIsPassive(request.getMode()), in configureSensor()
|
/system/tools/xsdc/tests/resources/enum_type/api/ |
D | current.txt | 358 method public attr.enumtype.GainMode getMode();
|