Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/rust/src/connection/
Dattempt_manager.rs166 pub fn active_attempts(&self) -> Vec<ConnectionAttempt> { in active_attempts() method
224 assert_eq!(attempts.active_attempts().len(), 1); in test_direct_connection()
225 assert_eq!(attempts.active_attempts()[0].client, CLIENT_1); in test_direct_connection()
226 assert_eq!(attempts.active_attempts()[0].mode, ConnectionMode::Direct); in test_direct_connection()
227 assert_eq!(attempts.active_attempts()[0].remote_address, ADDRESS_1); in test_direct_connection()
245 assert!(attempts.active_attempts().is_empty()); in test_cancel_direct_connection()
260 assert_eq!(attempts.active_attempts().len(), 2); in test_multiple_direct_connections()
276 assert_eq!(attempts.active_attempts().len(), 1); in test_two_direct_connection_cancel_one()
277 assert_eq!(attempts.active_attempts()[0].client, CLIENT_2); in test_two_direct_connection_cancel_one()
293 assert_eq!(attempts.active_attempts().len(), 1); in test_drop_pending_connection_after_cancel_and_restart()
[all …]
/packages/modules/Bluetooth/system/rust/src/
Dconnection.rs137 .drive_to_state(determine_target_state(&state.attempts.active_attempts())); in reconcile_state()