Home
last modified time | relevance | path

Searched refs:Off (Results 1 – 12 of 12) sorted by relevance

/system/chre/core/
Dsensor_type.cc25 case SensorMode::Off: in getSensorModeName()
44 return SensorMode::Off; in getSensorModeFromEnum()
55 return SensorMode::Off; in getSensorModeFromEnum()
62 case SensorMode::Off: in getConfigureModeFromSensorMode()
Dsensor_request.cc41 : 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()
Dsensor_request_manager.cc34 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/
Dstate_machine.rs12 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()
Dmain.rs79 state_machine::State::Off => 0, in main()
/system/logging/rust/tests/
Ddefault_init.rs7 assert_eq!(log::max_level(), log::LevelFilter::Off); in default_init()
Denv_log_level.rs10 assert_eq!(log::max_level(), log::LevelFilter::Off); in env_log_level()
/system/chre/core/include/chre/core/
Dsensor_type.h92 Off, enumerator
/system/chre/core/tests/
Dsensor_request_test.cc30 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/
Dbtif.rs16 Off = 0, enumerator
347 None => BtState::Off, in adapter_state_changed_callback()
/system/bt/gd/rust/linux/stack/src/
Dbluetooth.rs65 state: BtState::Off, in new()
/system/chre/platform/slpi/see/
Dplatform_sensor_manager.cc721 .enable = (request.getMode() != SensorMode::Off), in configureSensor()