Searched refs:Off (Results 1 – 12 of 12) sorted by relevance
/system/chre/core/ |
D | sensor_type.cc | 25 case SensorMode::Off: in getSensorModeName() 44 return SensorMode::Off; in getSensorModeFromEnum() 55 return SensorMode::Off; in getSensorModeFromEnum() 62 case SensorMode::Off: in getConfigureModeFromSensorMode()
|
D | sensor_request.cc | 41 : SensorRequest(SensorMode::Off, Nanoseconds(CHRE_SENSOR_INTERVAL_DEFAULT), in SensorRequest() 78 if (request.mMode != SensorMode::Off) { in mergeWith() 110 SensorMode maximalSensorMode = SensorMode::Off; in mergeWith()
|
D | sensor_request_manager.cc | 34 bool isRequestOff = sensorRequest.getMode() == SensorMode::Off; in isSensorRequestValid() 69 sensor->getMaximalRequest().getMode() != SensorMode::Off) { in updateLastEvent() 189 if (request.getMode() == SensorMode::Off) { in setSensorRequest() 866 bool enable = (request.getMode() != SensorMode::Off); in configurePlatformSensor() 887 if (request.getMode() == SensorMode::Off) { in configurePlatformSensor()
|
/system/bt/gd/rust/linux/mgmt/src/bin/btmanagerd/ |
D | state_machine.rs | 12 Off, // Bluetooth is not running enumerator 295 state: Arc::new(Mutex::new(State::Off)), in new() 307 State::Off => { in action_start_bluetooth() 361 *state = State::Off; in action_on_bluetooth_stopped() 370 State::TurningOn | State::Off => { in action_on_bluetooth_stopped() 391 *state = State::Off; in action_on_command_timeout() 451 assert_eq!(*state_machine.state.try_lock().unwrap(), State::Off); in initial_state_is_off() 459 assert_eq!(*state_machine.state.try_lock().unwrap(), State::Off); in off_turnoff_should_noop() 554 assert_eq!(*state_machine.state.try_lock().unwrap(), State::Off); in turningoff_bluetooth_down_should_off()
|
D | main.rs | 79 state_machine::State::Off => 0, in main()
|
/system/logging/rust/tests/ |
D | default_init.rs | 7 assert_eq!(log::max_level(), log::LevelFilter::Off); in default_init()
|
D | env_log_level.rs | 10 assert_eq!(log::max_level(), log::LevelFilter::Off); in env_log_level()
|
/system/chre/core/include/chre/core/ |
D | sensor_type.h | 92 Off, enumerator
|
/system/chre/core/tests/ |
D | sensor_request_test.cc | 30 EXPECT_EQ(request.getMode(), SensorMode::Off); in TEST() 75 SensorRequest off(SensorMode::Off, Nanoseconds(0), Nanoseconds(0)); in TEST() 190 SensorRequest otherRequest(SensorMode::Off, Nanoseconds(1), Nanoseconds(1)); in TEST()
|
/system/bt/gd/rust/topshim/src/ |
D | btif.rs | 16 Off = 0, enumerator 347 None => BtState::Off, in adapter_state_changed_callback()
|
/system/bt/gd/rust/linux/stack/src/ |
D | bluetooth.rs | 65 state: BtState::Off, in new()
|
/system/chre/platform/slpi/see/ |
D | platform_sensor_manager.cc | 721 .enable = (request.getMode() != SensorMode::Off), in configureSensor()
|