Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/blueberry/tests/sl4a_sl4a/gatt/
Dgatt_connect_test.py88 for gatt_server in self.gatt_server_list:
89 self.peripheral.sl4a.gattServerClose(gatt_server)
172 gatt_server = self.peripheral.sl4a.gattServerOpenGattServer(gatt_server_cb)
173 self.gatt_server_list.append(gatt_server)
213 gatt_server = self.peripheral.sl4a.gattServerOpenGattServer(gatt_server_cb)
214 self.gatt_server_list.append(gatt_server)
267 gatt_server = self.peripheral.sl4a.gattServerOpenGattServer(gatt_server_cb)
269 self.gatt_server_list.append(gatt_server)
346 gatt_server = self.peripheral.sl4a.gattServerOpenGattServer(gatt_server_cb)
347 self.gatt_server_list.append(gatt_server)
[all …]
Dgatt_notify_test.py78 …self.peripheral.sl4a.gattServerSendResponse(self.gatt_server, bt_device_id, request_id, status, 0,…
87 self.peripheral.sl4a.gattServerNotifyCharacteristicChanged(self.gatt_server, bt_device_id,
/packages/modules/Bluetooth/system/blueberry/tests/sl4a_sl4a/lib/
Dgatt_connected_base_test.py61 self.gatt_server_callback, self.gatt_server = \
63 if not self.gatt_server_callback or not self.gatt_server:
88 connected_device_list = self.peripheral.sl4a.gattServerGetConnectedDevices(self.gatt_server)
96 self.peripheral.sl4a.gattServerClearServices(self.gatt_server)
97 self.peripheral.sl4a.gattServerClose(self.gatt_server)
100 del self.gatt_server
176 gatt_server = self.peripheral.sl4a.gattServerOpenGattServer(gatt_server_callback)
185 self.peripheral.sl4a.gattServerAddService(gatt_server, gatt_service3)
189 return gatt_server_callback, gatt_server
/packages/modules/Bluetooth/system/blueberry/utils/
Dbt_gatt_utils.py142 gatt_server, argument
181 … per_droid.gattServerSendResponse(gatt_server, bt_device_id, request_id, status, offset,
226 gatt_server = per_droid.gattServerOpenGattServer(gatt_server_callback)
238 per_droid.gattServerAddService(gatt_server, gattService)
243 peripheral.sl4a.gattServerClose(gatt_server)
247 per_droid.gattServerAddService(gatt_server, gattService2)
251 peripheral.sl4a.gattServerClose(gatt_server)
255 per_droid.gattServerAddService(gatt_server, gattService3)
259 peripheral.sl4a.gattServerClose(gatt_server)
261 return gatt_server_callback, gatt_server
/packages/modules/Bluetooth/floss/pandora/server/
Dbluetooth.py24 from floss.pandora.floss import gatt_server
73 self.gatt_server = gatt_server.FlossGattServer(self.bus, self.DEFAULT_ADAPTER)
146 if not self.gatt_server.register_server(self.FAKE_GATT_APP_ID, False):
168 self.gatt_server.has_proxy(),
206 self.gatt_server = gatt_server.FlossGattServer(self.bus, default_adapter)
414 service = self.gatt_server.make_dbus_service(service)
415 return self.gatt_server.add_service(service)
Dgatt.py23 from floss.pandora.floss import gatt_server
508 class RegisterServiceObserver(gatt_server.GattServerCallbacks):
558 self.bluetooth.gatt_server.register_callback_observer(name, observer)
565 self.bluetooth.gatt_server.unregister_callback_observer(name, observer)
/packages/modules/Bluetooth/pandora/server/bumble_experimental/
Dgatt.py297 attr = self.device.gatt_server.get_attribute(request.handle)
308 attr = self.device.gatt_server.get_attribute(request.handle)
/packages/modules/Bluetooth/android/pandora/test/
Dasha_test.py171 …asha_service = next((x for x in ref_device.device.gatt_server.attributes if isinstance(x, AshaGatt…
181 …asha_service = next((x for x in ref_device.device.gatt_server.attributes if isinstance(x, AshaGatt…
191 …asha_service = next((x for x in ref_device.device.gatt_server.attributes if isinstance(x, AshaGatt…
201 …asha_service = next((x for x in ref_device.device.gatt_server.attributes if isinstance(x, AshaGatt…
838 …asha_service = next((x for x in self.ref_left.device.gatt_server.attributes if isinstance(x, AshaG…