Home
last modified time | relevance | path

Searched refs:getMode (Results 1 – 11 of 11) 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 …]
Dble_request_test.cc26 EXPECT_EQ(CHRE_BLE_SCAN_MODE_BACKGROUND, request.getMode()); in TEST()
45 EXPECT_EQ(CHRE_BLE_SCAN_MODE_AGGRESSIVE, mergedRequest.getMode()); in TEST()
65 EXPECT_EQ(CHRE_BLE_SCAN_MODE_AGGRESSIVE, mergedRequest.getMode()); in TEST()
/system/chre/core/
Dsensor_request_manager.cc35 bool isRequestOneShot = sensorModeIsOneShot(sensorRequest.getMode()); in isSensorRequestValid()
36 bool isRequestOff = sensorRequest.getMode() == SensorMode::Off; in isSensorRequestValid()
38 bool isRequestPassive = sensorModeIsPassive(sensorRequest.getMode()); in isSensorRequestValid()
71 sensor->getMaximalRequest().getMode() != SensorMode::Off) { in updateLastEvent()
191 if (request.getMode() == SensorMode::Off) { in setSensorRequest()
573 mSensors[i].getSensorTypeName(), static_cast<int>(request.getMode()), in logStateToBuffer()
708 sensorRequest.getMode(), sensorRequest.getInterval(), in addSensorRequestLog()
896 bool enable = (request.getMode() != SensorMode::Off); in configurePlatformSensor()
917 if (request.getMode() == SensorMode::Off) { in configurePlatformSensor()
Dble_request.cc197 chreBleScanMode BleRequest::getMode() const { in getMode() function in chre::BleRequest
Dble_request_manager.cc240 maxRequest.getMode(), maxRequest.getReportDelayMs(), &filter); in controlPlatform()
242 0 /* instanceId */, enable, maxRequest.getMode(), in controlPlatform()
/system/chre/core/include/chre/core/
Dsensor_request.h123 SensorMode getMode() const { in getMode() function
Dble_request.h79 chreBleScanMode getMode() const;
Dble_request_manager.h304 mode = req.getMode(); in populateRequestData()
/system/chre/platform/shared/sensor_pal/
Dplatform_sensor_manager.cc95 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();