Home
last modified time | relevance | path

Searched refs:ServerId (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Bluetooth/system/rust/src/gatt/server/
Disolation_manager.rs7 use crate::gatt::ids::{AdvertiserId, ServerId, TransportIndex};
14 advertiser_to_server: HashMap<AdvertiserId, ServerId>,
15 transport_to_server: HashMap<TransportIndex, ServerId>,
32 server_id: ServerId, in associate_server_with_advertiser() argument
59 pub fn get_server_id(&self, tcb_idx: TransportIndex) -> Option<ServerId> { in get_server_id() argument
66 pub fn clear_server(&mut self, server_id: ServerId) { in clear_server() argument
108 const SERVER_ID: ServerId = ServerId(4);
/packages/modules/Bluetooth/system/rust/src/gatt/
Dserver.rs29 super::ids::ServerId,
50 databases: HashMap<ServerId, SharedBox<GattDatabase>>,
120 server_id: ServerId, in register_gatt_service() argument
133 server_id: ServerId, in unregister_gatt_service() argument
143 pub fn open_gatt_server(&mut self, server_id: ServerId) -> Result<()> { in open_gatt_server()
154 pub fn close_gatt_server(&mut self, server_id: ServerId) -> Result<()> { in close_gatt_server()
Dids.rs12 pub const fn new(tcb_idx: TransportIndex, server_id: ServerId) -> ConnectionId { in new()
22 pub fn get_server_id(&self) -> ServerId { in get_server_id() argument
23 ServerId((self.0 & (u8::MAX as u16)) as u8) in get_server_id()
29 pub struct ServerId(pub u8); struct
Darbiter.rs162 gatt::ids::{AttHandle, ServerId},
171 const SERVER_ID: ServerId = ServerId(4);
175 server_id: ServerId, in create_manager_with_isolated_connection() argument
Dffi.rs22 ids::{AdvertiserId, AttHandle, ConnectionId, ServerId, TransactionId, TransportIndex},
281 let server_id = ServerId(server_id); in open_server()
297 let server_id = ServerId(server_id); in close_server()
368 let server_id = ServerId(server_id); in add_service()
396 let server_id = ServerId(server_id); in remove_service()
460 let server_id = ServerId(server_id); in associate_server_with_advertiser()
/packages/modules/Bluetooth/pandora/interfaces/pandora_experimental/
Drfcomm.proto36 message ServerId { message
41 ServerId server = 1;
45 ServerId server = 1;
52 ServerId server = 1;
/packages/modules/Bluetooth/pandora/server/bumble_experimental/
Drfcomm.py36 ServerId,
49 server_id: Optional[ServerId]
74 self.server_id = ServerId(id=self.next_server_id)
/packages/modules/Bluetooth/system/rust/src/gatt/callbacks/
Dcallback_transaction_manager.rs9 ids::{AttHandle, ConnectionId, ServerId, TransactionId, TransportIndex},
91 pub fn get_datastore(self: &Rc<Self>, server_id: ServerId) -> impl RawGattDatastore { in get_datastore()
131 server_id: ServerId,
/packages/modules/Bluetooth/system/rust/tests/
Dgatt_server_test.rs11 ids::{AdvertiserId, AttHandle, ServerId, TransportIndex},
54 const SERVER_ID: ServerId = ServerId(2);
58 const ANOTHER_SERVER_ID: ServerId = ServerId(3);
Dgatt_callbacks_test.rs12 ids::{AttHandle, ConnectionId, ServerId, TransactionId, TransportIndex},
21 const SERVER_ID: ServerId = ServerId(2);
/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/
DRfcommTest.kt50 import pandora.RfcommProto.ServerId
296 server: ServerId in createAndConnectSocket()
352 private fun startServer(block: (ServerId) -> Unit) { in startServer()
/packages/modules/Bluetooth/system/rust/src/
Dconnection.rs16 gatt::ids::ServerId,
66 GattServer(ServerId),
/packages/modules/Bluetooth/android/pandora/server/src/
DRfcomm.kt130 .setServer(ServerId.newBuilder().setId(serverSocketCookie).build()) in startServer()
/packages/modules/Bluetooth/floss/pandora/server/
Drfcomm.py234 return rfcomm_pb2.StartServerResponse(server=rfcomm_pb2.ServerId(id=listener_id))