Home
last modified time | relevance | path

Searched refs:adapter_client (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Bluetooth/floss/pandora/server/
Dbluetooth.py20 from floss.pandora.floss import adapter_client
67 self.adapter_client = adapter_client.FlossAdapterClient(self.bus, self.DEFAULT_ADAPTER)
128 if not self.adapter_client.register_callbacks():
162 self.adapter_client.has_proxy(),
200 self.adapter_client = adapter_client.FlossAdapterClient(self.bus, default_adapter)
212 … condition=lambda: self.is_bluetoothd_proxy_valid() and self.adapter_client.get_address(),
223 utils.poll_for_condition(condition=_is_adapter_down(self.adapter_client),
242 return self.adapter_client.get_address()
245 return self.adapter_client.get_remote_property(address, 'Type')
248 return self.adapter_client.is_connected(address)
[all …]
Dhost.py21 from floss.pandora.floss import adapter_client
83 class ConnectionObserver(adapter_client.BluetoothConnectionCallbacks):
86 def __init__(self, client: adapter_client, task): argument
100 class PairingObserver(adapter_client.BluetoothCallbacks):
103 … def __init__(self, client: adapter_client, security: security_grpc_aio.SecurityServicer, task): argument
157 observer = ConnectionObserver(self.bluetooth.adapter_client, {
162 self.bluetooth.adapter_client.register_callback_observer(name, observer)
174 self.bluetooth.adapter_client,
182 self.bluetooth.adapter_client.register_callback_observer(name, observer)
197 self.bluetooth.adapter_client.unregister_callback_observer(name, observer)
[all …]
Dsecurity.py21 from floss.pandora.floss import adapter_client
47 class PairingObserver(adapter_client.BluetoothCallbacks):
50 … def __init__(self, client: adapter_client, security: security_grpc_aio.SecurityServicer): argument
72 observer = PairingObserver(self.bluetooth.adapter_client, self)
74 self.bluetooth.adapter_client.register_callback_observer(name, observer)
79 class BondingObserver(adapter_client.BluetoothCallbacks):
114 self.bluetooth.adapter_client.register_callback_observer(name, observer)
119 self.bluetooth.adapter_client.unregister_callback_observer(name, observer)
132 class BondingObserver(adapter_client.BluetoothCallbacks):
167 self.bluetooth.adapter_client.register_callback_observer(name, observer)
[all …]
Dgatt.py20 from floss.pandora.floss import adapter_client
269 class DiscoverySDPObserver(adapter_client.BluetoothCallbacks):
294 self.bluetooth.adapter_client.register_callback_observer(name, observer)
306 self.bluetooth.adapter_client.unregister_callback_observer(name, observer)
/packages/modules/Bluetooth/system/blueberry/tests/topshim/security/
Dle_security_test.py18 from blueberry.tests.topshim.lib.adapter_client import AdapterClient
Dclassic_security_test.py18 from blueberry.tests.topshim.lib.adapter_client import AdapterClient
/packages/modules/Bluetooth/system/blueberry/tests/topshim/adapter/
Dadapter_test.py19 from blueberry.tests.topshim.lib.adapter_client import AdapterClient
/packages/modules/Bluetooth/system/blueberry/tests/topshim/power/
Dsuspend_test.py19 from blueberry.tests.topshim.lib.adapter_client import AdapterClient
/packages/modules/Bluetooth/system/blueberry/tests/topshim/lib/
Dtopshim_base_test.py34 from blueberry.tests.topshim.lib.adapter_client import AdapterClient