/packages/modules/Bluetooth/floss/pandora/floss/ |
D | socket_manager.py | 149 self.callback_id = None 210 self.callback_id = self.proxy().RegisterCallback(objpath) 240 return self.proxy().ListenUsingL2capChannel(self.callback_id) 250 return self.proxy().ListenUsingInsecureL2capChannel(self.callback_id) 263 return self.proxy().ListenUsingInsecureRfcommWithServiceRecord(self.callback_id, name, uuid) 276 return self.proxy().ListenUsingRfcommWithServiceRecord(self.callback_id, name, uuid) 289 return self.proxy().CreateInsecureL2capChannel(self.callback_id, device, psm) 302 return self.proxy().CreateL2capChannel(self.callback_id, device, psm) 315 … return self.proxy().CreateInsecureRfcommSocketToServiceRecord(self.callback_id, device, uuid) 328 return self.proxy().CreateRfcommSocketToServiceRecord(self.callback_id, device, uuid) [all …]
|
D | scanner_client.py | 259 self.callback_id = None 432 self.callback_id = self.proxy().RegisterScannerCallback(objpath) 491 return self.proxy().UnregisterScannerCallback(self.callback_id) 500 return uuid_module.UUID(bytes=bytes(self.proxy().RegisterScanner(self.callback_id)))
|
D | qa_client.py | 203 self.callback_id = None 295 self.callback_id = self.proxy().RegisterQACallback(objpath) 305 return self.proxy().UnregisterQACallback(self.callback_id)
|
D | advertising_client.py | 286 self.callback_id = None 491 self.callback_id = self.proxy().RegisterAdvertiserCallback(objpath) 501 self.proxy().UnregisterAdvertiserCallback(self.callback_id) 554 … periodic_data, duration, max_ext_adv_events, self.callback_id)
|
D | gatt_client.py | 463 self.callback_id = None 685 self.callback_id = self.proxy().RegisterClient(app_uuid, objpath, eatt_support)
|
/packages/modules/Bluetooth/system/blueberry/tests/gd_sl4a/lib/ |
D | ble_lib.py | 218 for callback_id in self.advertisement_list: 219 logging.info("Stopping Advertisement {}".format(callback_id)) 220 self.dut.sl4a.bleStopBleAdvertising(callback_id) 224 def ble_stop_advertisement(self, callback_id): argument 226 if not callback_id: 229 callback_id = int(callback_id) 230 if callback_id not in self.advertisement_list: 233 self.dut.sl4a.bleStopBleAdvertising(callback_id) 234 self.advertisement_list.remove(callback_id)
|
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
D | battery_manager.rs | 54 fn unregister_battery_callback(&mut self, callback_id: u32) -> bool; in unregister_battery_callback() 77 pub fn remove_callback(&mut self, callback_id: u32) -> bool { in remove_callback() 78 self.callbacks.remove_callback(callback_id) in remove_callback() 97 fn unregister_battery_callback(&mut self, callback_id: u32) -> bool { in unregister_battery_callback() 98 self.remove_callback(callback_id) in unregister_battery_callback()
|
D | bluetooth_adv.rs | 410 callback_id: CallbackId, field 442 callback_id: CallbackId, in new() 450 callback_id, in new() 467 fn callback_id(&self) -> CallbackId { in callback_id() method 468 self.callback_id in callback_id() 682 self.callbacks.get_by_id_mut(s.callback_id()) in get_callback() 790 fn unregister_callback(&mut self, callback_id: u32) -> bool; in unregister_callback() 818 callback_id: u32, in start_advertising_set() 881 fn unregister_callback(&mut self, callback_id: u32) -> bool { in unregister_callback() 882 for s in self.sets.values_mut().filter(|s| s.callback_id() == callback_id) { in unregister_callback() [all …]
|
D | bluetooth_gatt.rs | 92 fn get_by_callback_id(&self, callback_id: u32) -> Option<&Client> { in get_by_callback_id() 93 self.clients.iter().find(|client| client.cbid == callback_id) in get_by_callback_id() 145 fn remove_callback(&mut self, callback_id: u32) { in remove_callback() 146 self.callbacks.remove_callback(callback_id); in remove_callback() 188 callback_id: u32, in get_callback_from_callback_id() 190 self.callbacks.get_by_id_mut(callback_id) in get_callback_from_callback_id() 243 fn get_by_callback_id(&self, callback_id: u32) -> Option<&Server> { in get_by_callback_id() 244 self.servers.iter().find(|server| server.cbid == callback_id) in get_by_callback_id() 287 fn remove_callback(&mut self, callback_id: u32) { in remove_callback() 288 self.callbacks.remove_callback(callback_id); in remove_callback() [all …]
|
D | bluetooth_qa.rs | 14 fn unregister_qa_callback(&mut self, callback_id: u32) -> bool; in unregister_qa_callback() 109 fn unregister_qa_callback(&mut self, callback_id: u32) -> bool { in unregister_qa_callback() 110 self.callbacks.remove_callback(callback_id) in unregister_qa_callback()
|
D | battery_service.rs | 73 fn unregister_callback(&mut self, callback_id: u32); in unregister_callback() 348 pub fn remove_callback(&mut self, callback_id: u32) { in remove_callback() 349 self.callbacks.remove_callback(callback_id); in remove_callback() 364 fn unregister_callback(&mut self, callback_id: u32) { in unregister_callback() 365 self.remove_callback(callback_id); in unregister_callback()
|
D | suspend.rs | 31 fn unregister_callback(&mut self, callback_id: u32) -> bool; in unregister_callback() 48 fn on_callback_registered(&mut self, callback_id: u32); in on_callback_registered() 220 fn unregister_callback(&mut self, callback_id: u32) -> bool { in unregister_callback() 221 self.remove_callback(callback_id) in unregister_callback()
|
D | bluetooth_admin.rs | 34 fn unregister_admin_policy_callback(&mut self, callback_id: u32) -> bool; in unregister_admin_policy_callback() 268 fn unregister_admin_policy_callback(&mut self, callback_id: u32) -> bool { in unregister_admin_policy_callback() 269 self.callbacks.remove_callback(callback_id) in unregister_admin_policy_callback()
|
D | bluetooth.rs | 87 fn unregister_callback(&mut self, callback_id: u32) -> bool; in unregister_callback() 96 fn unregister_connection_callback(&mut self, callback_id: u32) -> bool; in unregister_connection_callback() 1591 let callback_id = self.bluetooth_gatt.lock().unwrap().register_scanner_callback( in adapter_state_changed() localVariable 1595 Some(self.bluetooth_gatt.lock().unwrap().register_scanner(callback_id)); in adapter_state_changed() 2163 fn unregister_callback(&mut self, callback_id: u32) -> bool { in unregister_callback() 2164 self.callbacks.remove_callback(callback_id) in unregister_callback() 2174 fn unregister_connection_callback(&mut self, callback_id: u32) -> bool { in unregister_connection_callback() 2175 self.connection_callbacks.remove_callback(callback_id) in unregister_connection_callback()
|
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/ |
D | dbus_iface.rs | 53 fn unregister_callback(&mut self, callback_id: u32) -> bool { in unregister_callback() 79 fn on_callback_registered(&mut self, callback_id: u32) {} in on_callback_registered()
|
D | powerd_suspend_manager.rs | 117 fn on_callback_registered(&mut self, callback_id: u32) { in on_callback_registered() 118 log::debug!("Suspend callback registered, callback_id = {}", callback_id); in on_callback_registered()
|
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/ |
D | bt_adv.rs | 73 pub(crate) fn start(context: Arc<Mutex<ClientContext>>, s: AdvSet, callback_id: u32) { in start() 84 callback_id, in start()
|
D | command_handler.rs | 1610 let callback_id = self.lock_context().advertiser_callback_id.clone().unwrap(); in cmd_advertise() localVariable 1618 AdvSet::start(self.context.clone(), s, callback_id); in cmd_advertise() 1626 AdvSet::start(self.context.clone(), s, callback_id); in cmd_advertise() 1766 let callback_id = match self.lock_context().socket_manager_callback_id.clone() { in cmd_socket() localVariable 1817 .listen_using_rfcomm(callback_id, Some(scn), None, None, None); in cmd_socket() 1844 proxy.listen_using_l2cap_le_channel(callback_id) in cmd_socket() 1846 proxy.listen_using_l2cap_channel(callback_id) in cmd_socket() 1850 proxy.listen_using_insecure_l2cap_le_channel(callback_id) in cmd_socket() 1852 proxy.listen_using_insecure_l2cap_channel(callback_id) in cmd_socket() 1904 proxy.create_l2cap_le_channel(callback_id, device, psm) in cmd_socket() [all …]
|
D | dbus_iface.rs | 1391 fn unregister_admin_policy_callback(&mut self, callback_id: u32) -> bool { in unregister_admin_policy_callback() 1475 fn register_scanner(&mut self, callback_id: u32) -> Uuid { in register_scanner() 1514 fn unregister_advertiser_callback(&mut self, callback_id: u32) -> bool { in unregister_advertiser_callback() 1528 callback_id: u32, in start_advertising_set() 2356 fn on_callback_registered(&mut self, callback_id: u32) {} in on_callback_registered() 2521 fn unregister_qa_callback(&mut self, callback_id: u32) -> bool { in unregister_qa_callback() 3014 fn unregister_battery_callback(&mut self, callback_id: u32) -> bool { in unregister_battery_callback()
|
D | callbacks.rs | 1244 let callback_id = self.context.lock().unwrap().socket_manager_callback_id.clone().unwrap(); in on_incoming_socket_ready() localVariable 1248 callback_id, in on_incoming_socket_ready()
|
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/ |
D | iface_battery_manager.rs | 48 fn unregister_battery_callback(&mut self, callback_id: u32) -> bool { in unregister_battery_callback()
|
D | iface_bluetooth_gatt.rs | 611 fn unregister_scanner_callback(&mut self, callback_id: u32) -> bool { in unregister_scanner_callback() 616 fn register_scanner(&mut self, callback_id: u32) -> Uuid { in register_scanner() 656 fn unregister_advertiser_callback(&mut self, callback_id: u32) -> bool { in unregister_advertiser_callback() 670 callback_id: u32, in start_advertising_set()
|
D | iface_bluetooth_admin.rs | 74 fn unregister_admin_policy_callback(&mut self, callback_id: u32) -> bool { in unregister_admin_policy_callback()
|
D | iface_bluetooth_qa.rs | 23 fn unregister_qa_callback(&mut self, callback_id: u32) -> bool { in unregister_qa_callback()
|
D | iface_bluetooth.rs | 1009 fn unregister_callback(&mut self, callback_id: u32) -> bool { in unregister_callback() 1030 fn on_callback_registered(&mut self, callback_id: u32) { in on_callback_registered()
|