Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/rust/src/connection/
Dattempt_manager.rs203 const CLIENT_1: ConnectionManagerClient = ConnectionManagerClient::GattClient(1); constant
221 let _ = attempts.register_direct_connection(CLIENT_1, ADDRESS_1).unwrap(); in test_direct_connection()
225 assert_eq!(attempts.active_attempts()[0].client, CLIENT_1); in test_direct_connection()
237 attempts.register_direct_connection(CLIENT_1, ADDRESS_1).unwrap(); in test_cancel_direct_connection()
240 attempts.cancel_attempt(CLIENT_1, ADDRESS_1, ConnectionMode::Direct).unwrap(); in test_cancel_direct_connection()
256 attempts.register_direct_connection(CLIENT_1, ADDRESS_1).unwrap(); in test_multiple_direct_connections()
269 attempts.register_direct_connection(CLIENT_1, ADDRESS_1).unwrap(); in test_two_direct_connection_cancel_one()
273 attempts.cancel_attempt(CLIENT_1, ADDRESS_1, ConnectionMode::Direct).unwrap(); in test_two_direct_connection_cancel_one()
287 let pending_1 = attempts.register_direct_connection(CLIENT_1, ADDRESS_1).unwrap(); in test_drop_pending_connection_after_cancel_and_restart()
288 attempts.cancel_attempt(CLIENT_1, ADDRESS_1, ConnectionMode::Direct).unwrap(); in test_drop_pending_connection_after_cancel_and_restart()
[all …]
/packages/modules/Wifi/framework/tests/src/android/net/wifi/p2p/
DWifiP2pGroupTest.java53 private static final WifiP2pDevice CLIENT_1 = new WifiP2pDevice(CLIENT_1_DEV_ADDRESS); field in WifiP2pGroupTest
75 group.addClient(CLIENT_1.deviceAddress); in testSetterGetter()
76 group.setClientInterfaceMacAddress(CLIENT_1.deviceAddress, in testSetterGetter()
99 assertTrue(group.contains(CLIENT_1)); in testSetterGetter()
117 group.removeClient(CLIENT_1); in testSetterGetter()
119 assertFalse(group.contains(CLIENT_1)); in testSetterGetter()
/packages/modules/Bluetooth/system/rust/src/
Dconnection.rs269 const CLIENT_1: ConnectionManagerClient = ConnectionManagerClient::GattClient(1); constant
285 connection_manager.as_ref().start_direct_connection(CLIENT_1, ADDRESS_1).unwrap(); in test_single_direct_connection()
300 connection_manager.as_ref().start_direct_connection(CLIENT_1, ADDRESS_1).unwrap(); in test_failed_direct_connection()
318 connection_manager.as_ref().add_background_connection(CLIENT_1, ADDRESS_1).unwrap(); in test_single_background_connection()
335 connection_manager.as_ref().start_direct_connection(CLIENT_1, ADDRESS_1).unwrap(); in test_resolved_connection()
351 connection_manager.as_ref().add_background_connection(CLIENT_1, ADDRESS_1).unwrap(); in test_resolved_background_connection()
367 connection_manager.as_ref().start_direct_connection(CLIENT_1, ADDRESS_1).unwrap(); in test_resolved_direct_connection_after_disconnect()
384 connection_manager.as_ref().add_background_connection(CLIENT_1, ADDRESS_1).unwrap(); in test_resolved_background_connection_after_disconnect()
399 connection_manager.as_ref().start_direct_connection(CLIENT_1, ADDRESS_1).unwrap(); in test_direct_connection_timeout()
420 connection_manager.as_ref().start_direct_connection(CLIENT_1, ADDRESS_1).unwrap(); in test_stacked_direct_connections_timeout()