Home
last modified time | relevance | path

Searched refs:pending_mtu (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/system/rust/src/gatt/
Dmtu.rs77 let Ok(pending_mtu) = self.stable_mtu.try_lock() else { in on_outgoing_request()
81 self.pending_exchange.replace(Some(pending_mtu)); in on_outgoing_request()
151 let pending_mtu = try_await(mtu.snapshot()).await.unwrap_err(); in test_mtu_blocking_snapshot_during_client_negotiation() localVariable
156 assert_eq!(pending_mtu.await.unwrap(), NEW_MTU); in test_mtu_blocking_snapshot_during_client_negotiation()
243 let pending_mtu = try_await(mtu.snapshot()).await.unwrap_err(); in test_mtu_dropped_while_pending() localVariable
248 assert!(pending_mtu.await.is_none()); in test_mtu_dropped_while_pending()
/packages/modules/Bluetooth/system/rust/src/gatt/server/
Datt_server_bearer.rs126 let pending_mtu = self.mtu.snapshot(); in send_indication() localVariable
139 let mtu = pending_mtu in send_indication()
627 let pending_mtu = in test_single_indication_pending_mtu_fail() localVariable
638 assert!(matches!(pending_mtu.await, Err(IndicationError::DataExceedsMtu { .. }))); in test_single_indication_pending_mtu_fail()