Home
last modified time | relevance | path

Searched refs:AdapterScanMode (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Bluetooth/system/gd/discovery/device/
Dbt_property.cc316 std::shared_ptr<AdapterScanMode> AdapterScanMode::Create(const bt_scan_mode_t& mode) { in Create()
317 return std::make_shared<AdapterScanMode>(AdapterScanMode(mode)); in Create()
Dbt_property.h176 class AdapterScanMode : public BtPropertySimple<bt_scan_mode_t> {
178 AdapterScanMode(const bt_scan_mode_t& mode) in AdapterScanMode() function
180 static std::shared_ptr<AdapterScanMode> Create(const bt_scan_mode_t& mode);
Dbt_property_unittest.cc195 properties.push_back(AdapterScanMode::Create(kAdapterScanMode)); in fill_property()
/packages/modules/Bluetooth/system/gd/rust/topshim/facade/src/
Dutils.rs22 BluetoothProperty::AdapterScanMode(mode) => { in bluetooth_property_to_event_data()
Dadapter_service.rs255 .set_adapter_property(btif::BluetoothProperty::AdapterScanMode(scan_mode)); in set_discovery_mode()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/
Dbtif.rs154 AdapterScanMode, enumerator
576 AdapterScanMode(BtScanMode), enumerator
615 BluetoothProperty::AdapterScanMode(_) => BtPropertyType::AdapterScanMode, in get_type()
648 BluetoothProperty::AdapterScanMode(_) => mem::size_of::<BtScanMode>(), in get_len()
716 BluetoothProperty::AdapterScanMode(sm) => { in get_data_ptr()
815 BtPropertyType::AdapterScanMode => BluetoothProperty::AdapterScanMode( in from()
/packages/modules/Bluetooth/floss/pandora/floss/
Dfloss_enums.py183 AdapterScanMode = 0x7 variable in BtPropertyType
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth.rs916 self.properties.get(&BtPropertyType::AdapterScanMode).map_or(false, |prop| match prop { in get_connectable_internal()
917 BluetoothProperty::AdapterScanMode(mode) => match *mode { in get_connectable_internal()
943 self.intf.lock().unwrap().set_adapter_property(BluetoothProperty::AdapterScanMode( in set_connectable_internal()
959 self.properties.get(&BtPropertyType::AdapterScanMode).map_or(off_mode.clone(), |prop| { in get_discoverable_mode_internal()
961 BluetoothProperty::AdapterScanMode(mode) => match *mode { in get_discoverable_mode_internal()
994 .set_adapter_property(BluetoothProperty::AdapterScanMode(BtScanMode::None_)) in scan_mode_enter_suspend()
1024 .set_adapter_property(BluetoothProperty::AdapterScanMode(mode.clone())) in scan_mode_exit_suspend()
1687 BluetoothProperty::AdapterScanMode(mode) => { in adapter_properties_changed()
2277 || intf.set_adapter_property(BluetoothProperty::AdapterScanMode(scan_mode)) != 0 in set_discoverable()