Home
last modified time | relevance | path

Searched refs:CallbackResponseError (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Bluetooth/system/rust/src/gatt/callbacks/
Dcallback_transaction_manager.rs50 pub enum CallbackResponseError { enum
76 ) -> Result<(), CallbackResponseError> { in send_response() argument
80 Err(CallbackResponseError::ListenerHungUp(trans_id)) in send_response()
86 Err(CallbackResponseError::NonExistentTransaction(trans_id)) in send_response()
/packages/modules/Bluetooth/system/rust/tests/
Dgatt_callbacks_test.rs8 CallbackResponseError, CallbackTransactionManager, GattWriteRequestType, GattWriteType,
201 assert_eq!(err, CallbackResponseError::NonExistentTransaction(invalid_trans_id)); in test_invalid_trans_id()
223 assert_eq!(err, CallbackResponseError::NonExistentTransaction(trans_id)); in test_invalid_conn_id()
325 assert_eq!(resp, Err(CallbackResponseError::NonExistentTransaction(trans_id))); in test_transaction_cleanup_after_timeout()
350 assert_eq!(resp, Err(CallbackResponseError::ListenerHungUp(trans_id))); in test_listener_hang_up()
/packages/modules/Bluetooth/system/rust/src/gatt/
Dcallbacks.rs7 pub use callback_transaction_manager::{CallbackResponseError, CallbackTransactionManager};