Home
last modified time | relevance | path

Searched refs:AttServerBearer (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Bluetooth/system/rust/src/gatt/mocks/
Dmock_database_callbacks.rs10 att_server_bearer::AttServerBearer,
31 OnLeConnect(TransportIndex, WeakBox<AttServerBearer<AttDatabaseImpl>>),
42 bearer: WeakBoxRef<AttServerBearer<AttDatabaseImpl>>, in on_le_connect()
/packages/modules/Bluetooth/system/rust/src/gatt/
Dserver.rs30 att_server_bearer::AttServerBearer,
59 bearer: SharedBox<AttServerBearer<AttDatabaseImpl>>,
95 let bearer = SharedBox::new(AttServerBearer::new( in on_le_connect()
171 ) -> Option<WeakBoxRef<AttServerBearer<AttDatabaseImpl>>> { in get_bearer()
/packages/modules/Bluetooth/system/rust/src/gatt/server/
Datt_server_bearer.rs53 pub struct AttServerBearer<T: AttDatabase> { struct
69 impl<T: AttDatabase + Clone + 'static> AttServerBearer<T> { argument
97 impl<T: AttDatabase + Clone + 'static> WeakBoxRef<'_, AttServerBearer<T>> {
205 impl<T: AttDatabase + Clone + 'static> WeakBox<AttServerBearer<T>> {
257 ) -> (SharedBox<AttServerBearer<TestAttDatabase>>, UnboundedReceiver<AttBuilder>) { in open_connection()
277 let conn = AttServerBearer::new(db, move |packet| { in open_connection()
358 let conn = SharedBox::new(AttServerBearer::new(db.get_att_database(TCB_IDX), send_packet)); in test_concurrent_transaction_failure()
Dgatt_database.rs30 att_server_bearer::AttServerBearer,
124 bearer: WeakBoxRef<AttServerBearer<AttDatabaseImpl>>, in on_le_connect()
148 bearer: WeakBoxRef<AttServerBearer<AttDatabaseImpl>>, in on_bearer_ready()
1275 ) -> SharedBox<AttServerBearer<AttDatabaseImpl>> { in make_bearer()
1276 SharedBox::new(AttServerBearer::new(gatt_db.get_att_database(TCB_IDX), |_| { in make_bearer()
/packages/modules/Bluetooth/system/rust/src/gatt/server/services/
Dgatt.rs20 att_server_bearer::AttServerBearer,
40 bearer: WeakBox<AttServerBearer<AttDatabaseImpl>>,
113 bearer: WeakBoxRef<AttServerBearer<AttDatabaseImpl>>, in on_le_connect()
211 … ) -> (AttDatabaseImpl, SharedBox<AttServerBearer<AttDatabaseImpl>>, UnboundedReceiver<AttBuilder>) in add_connection()
215 let bearer = SharedBox::new(AttServerBearer::new(att_database.clone(), move |packet| { in add_connection()