Searched refs:AdapterScanMode (Results 1 – 8 of 8) sorted by relevance
316 std::shared_ptr<AdapterScanMode> AdapterScanMode::Create(const bt_scan_mode_t& mode) { in Create()317 return std::make_shared<AdapterScanMode>(AdapterScanMode(mode)); in Create()
176 class AdapterScanMode : public BtPropertySimple<bt_scan_mode_t> {178 AdapterScanMode(const bt_scan_mode_t& mode) in AdapterScanMode() function180 static std::shared_ptr<AdapterScanMode> Create(const bt_scan_mode_t& mode);
195 properties.push_back(AdapterScanMode::Create(kAdapterScanMode)); in fill_property()
22 BluetoothProperty::AdapterScanMode(mode) => { in bluetooth_property_to_event_data()
255 .set_adapter_property(btif::BluetoothProperty::AdapterScanMode(scan_mode)); in set_discovery_mode()
154 AdapterScanMode, enumerator576 AdapterScanMode(BtScanMode), enumerator615 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()
183 AdapterScanMode = 0x7 variable in BtPropertyType
916 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()