Searched refs:getMode (Results 1 – 11 of 11) 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 …]
|
D | ble_request_test.cc | 26 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/ |
D | sensor_request_manager.cc | 35 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()
|
D | ble_request.cc | 197 chreBleScanMode BleRequest::getMode() const { in getMode() function in chre::BleRequest
|
D | ble_request_manager.cc | 240 maxRequest.getMode(), maxRequest.getReportDelayMs(), &filter); in controlPlatform() 242 0 /* instanceId */, enable, maxRequest.getMode(), in controlPlatform()
|
/system/chre/core/include/chre/core/ |
D | sensor_request.h | 123 SensorMode getMode() const { in getMode() function
|
D | ble_request.h | 79 chreBleScanMode getMode() const;
|
D | ble_request_manager.h | 304 mode = req.getMode(); in populateRequestData()
|
/system/chre/platform/shared/sensor_pal/ |
D | platform_sensor_manager.cc | 95 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();
|