Home
last modified time | relevance | path

Searched refs:is_enabled (Results 1 – 19 of 19) sorted by relevance

/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dcsis.rs108 is_enabled: bool, field
116 fn is_enabled(&self) -> bool { in is_enabled() method
117 self.is_enabled in is_enabled()
121 if self.is_enabled { in enable()
127 self.is_enabled = true; in enable()
133 if !self.is_enabled { in disable()
139 self.is_enabled = false; in disable()
151 CsisClient { internal: csis_if, is_init: false, is_enabled: false } in new()
Dvc.rs158 is_enabled: bool, field
166 fn is_enabled(&self) -> bool { in is_enabled() method
167 self.is_enabled in is_enabled()
171 if self.is_enabled { in enable()
177 self.is_enabled = true; in enable()
183 if !self.is_enabled { in disable()
189 self.is_enabled = false; in disable()
201 VolumeControl { internal: vc_if, is_init: false, is_enabled: false } in new()
Dhf_client.rs94 is_enabled: bool, field
99 fn is_enabled(&self) -> bool { in is_enabled() method
100 self.is_enabled in is_enabled()
108 self.is_enabled = self.is_init; in enable()
115 self.is_enabled = false; in disable()
126 is_enabled: false, in new()
Dle_audio.rs547 is_enabled: bool, field
555 fn is_enabled(&self) -> bool { in is_enabled() method
556 self.is_enabled in is_enabled()
560 if self.is_enabled { in enable()
566 self.is_enabled = true; in enable()
572 if !self.is_enabled { in disable()
578 self.is_enabled = false; in disable()
590 LeAudioClient { internal: lea_client_if, is_init: false, is_enabled: false } in new()
Da2dp.rs353 fn is_enabled(&self) -> bool { in is_enabled() method
471 fn is_enabled(&self) -> bool { in is_enabled() method
Davrcp.rs125 fn is_enabled(&self) -> bool { in is_enabled() method
Dhid_host.rs175 fn is_enabled(&self) -> bool { in is_enabled() method
Dhfp.rs411 fn is_enabled(&self) -> bool { in is_enabled() method
/packages/modules/Virtualization/vmbase/src/
Dlogger.rs26 is_enabled: AtomicBool, field
33 Self { is_enabled: AtomicBool::new(true) } in new()
37 self.is_enabled.swap(enabled, Ordering::Relaxed) in swap_enabled()
43 self.is_enabled.load(Ordering::Relaxed) in enabled()
/packages/services/Car/service/proto/android/car/watchdog/
Dcarwatchdog_daemon_dump.proto48 optional bool is_enabled = 1;
68 optional bool is_enabled = 1;
/packages/modules/Bluetooth/android/leaudio/app/src/main/java/com/android/bluetooth/leaudio/
DMainActivity.java209 is_enabled -> { in setupLeAudioViewModel()
210 if (is_enabled) { in setupLeAudioViewModel()
223 "Bluetooth is " + (is_enabled ? "enabled" : "disabled"), in setupLeAudioViewModel()
/packages/modules/Bluetooth/system/gd/rust/topshim/macros/src/
Dlib.rs209 if !self.is_enabled() { in generate_profile_enabled_or_tokenstream()
/packages/providers/MediaProvider/jni/
DFuseDaemon.cpp2444 bool is_enabled; in IsFuseBpfEnabled() local
2445 if (IsPropertySet("ro.fuse.bpf.is_running", is_enabled)) return is_enabled; in IsFuseBpfEnabled()
2446 if (IsPropertySet("persist.sys.fuse.bpf.override", is_enabled)) return is_enabled; in IsFuseBpfEnabled()
2447 if (IsPropertySet("ro.fuse.bpf.enabled", is_enabled)) return is_enabled; in IsFuseBpfEnabled()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_gatt.rs1400 if !scanner.is_enabled { in update_scan()
1663 |(_uuid, scanner)| if scanner.is_enabled { scanner.scanner_id } else { None }, in scan_enter_suspend()
1750 scanner.is_enabled = true; in resume_scan()
1889 .any(|(_uuid, scanner)| scanner.is_enabled && scanner.filter.is_none()); in add_monitor_and_update_scan()
2021 is_enabled: bool, field
2047 is_enabled: false, in new()
2220 scanner.is_enabled = true; in start_scan()
2247 scanner.is_enabled = false; in stop_scan()
2287 .any(|(_uuid, scanner)| scanner.is_enabled && scanner.filter.is_none()); in stop_scan()
Dbluetooth_adv.rs488 fn is_enabled(&self) -> bool { in is_enabled() method
614 self.valid_sets().filter(|s| s.is_enabled()) in enabled_sets()
739 for s in self.sets.values_mut().filter(|s| s.is_valid() && s.is_enabled()) { in enter_suspend()
1078 let was_enabled = s.is_enabled(); in set_advertising_parameters()
Dbluetooth_media.rs751 Some(self.a2dp.as_ref().map_or(false, |a2dp| a2dp.is_enabled())) in is_profile_enabled()
754 Some(self.avrcp.as_ref().map_or(false, |avrcp| avrcp.is_enabled())) in is_profile_enabled()
756 &Profile::Hfp => Some(self.hfp.as_ref().map_or(false, |hfp| hfp.is_enabled())), in is_profile_enabled()
758 Some(self.le_audio.as_ref().map_or(false, |le_audio| le_audio.is_enabled())) in is_profile_enabled()
760 &Profile::VolumeControl => Some(self.vc.as_ref().map_or(false, |vc| vc.is_enabled())), in is_profile_enabled()
762 Some(self.csis.as_ref().map_or(false, |csis| csis.is_enabled())) in is_profile_enabled()
/packages/services/Car/cpp/watchdog/server/tests/
DWatchdogProcessServiceTest.cpp776 EXPECT_EQ(healthCheckServiceDump.is_enabled(), true); in TEST_F()
786 EXPECT_EQ(vhalHealthCheckInfo.is_enabled(), true); in TEST_F()
/packages/modules/Bluetooth/system/main/shim/
Dacl.cc556 bool is_enabled = (enabled == hci::EncryptionEnabled::ON || in OnEncryptionChange() local
558 TRY_POSTING_ON_MAIN(interface_.on_encryption_change, is_enabled); in OnEncryptionChange()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/
Dbtif.rs1482 fn is_enabled(&self) -> bool; in is_enabled() method