Home
last modified time | relevance | path

Searched refs:SERVER_ID (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Bluetooth/system/rust/tests/
Dgatt_callbacks_test.rs21 const SERVER_ID: ServerId = ServerId(2); constant
23 const CONN_ID: ConnectionId = ConnectionId::new(TCB_IDX, SERVER_ID);
56 .get_datastore(SERVER_ID) in test_read_characteristic_callback()
78 let datastore = callback_manager.get_datastore(SERVER_ID); in test_read_characteristic_response()
101 let datastore = callback_manager.get_datastore(SERVER_ID); in test_sequential_reads()
111 let datastore = callback_manager.get_datastore(SERVER_ID); in test_sequential_reads()
135 let datastore = callback_manager.get_datastore(SERVER_ID); in test_concurrent_reads()
142 let datastore = callback_manager.get_datastore(SERVER_ID); in test_concurrent_reads()
169 let datastore = callback_manager.get_datastore(SERVER_ID); in test_distinct_transaction_ids()
171 let datastore = callback_manager.get_datastore(SERVER_ID); in test_distinct_transaction_ids()
[all …]
Dgatt_server_test.rs54 const SERVER_ID: ServerId = ServerId(2); constant
84 gatt.open_gatt_server(SERVER_ID).unwrap(); in create_server_and_open_connection()
87 SERVER_ID, in create_server_and_open_connection()
107 gatt.get_isolation_manager().associate_server_with_advertiser(SERVER_ID, ADVERTISER_ID); in create_server_and_open_connection()
155 gatt.close_gatt_server(SERVER_ID).unwrap(); in test_server_closed_while_connected()
480 SERVER_ID, in test_ignored_service_change_indication()
599 SERVER_ID, in test_service_change_indication()
631 gatt.open_gatt_server(SERVER_ID).unwrap(); in test_closing_gatt_server_unisolates_advertiser()
632 gatt.get_isolation_manager().associate_server_with_advertiser(SERVER_ID, ADVERTISER_ID); in test_closing_gatt_server_unisolates_advertiser()
635 gatt.close_gatt_server(SERVER_ID).unwrap(); in test_closing_gatt_server_unisolates_advertiser()
/packages/modules/Bluetooth/system/rust/src/gatt/server/
Disolation_manager.rs108 const SERVER_ID: ServerId = ServerId(4); constant
125 isolation_manager.associate_server_with_advertiser(SERVER_ID, ADVERTISER_ID); in test_isolated_connect()
130 assert_eq!(server_id, Some(SERVER_ID)); in test_isolated_connect()
136 isolation_manager.associate_server_with_advertiser(SERVER_ID, ADVERTISER_ID); in test_non_isolated_connect_with_isolated_advertiser()
148 isolation_manager.associate_server_with_advertiser(SERVER_ID, ADVERTISER_ID); in test_advertiser_id_reuse()
164 isolation_manager.associate_server_with_advertiser(SERVER_ID, ADVERTISER_ID); in test_server_closed()
165 isolation_manager.clear_server(SERVER_ID); in test_server_closed()
178 isolation_manager.associate_server_with_advertiser(SERVER_ID, ADVERTISER_ID); in test_connection_isolated_after_advertiser_stops()
190 isolation_manager.associate_server_with_advertiser(SERVER_ID, ADVERTISER_ID); in test_connection_isolated_after_server_stops()
192 isolation_manager.clear_server(SERVER_ID); in test_connection_isolated_after_server_stops()
[all …]
/packages/modules/Bluetooth/system/rust/src/gatt/
Darbiter.rs171 const SERVER_ID: ServerId = ServerId(4); constant
185 let isolation_manager = create_manager_with_isolated_connection(TCB_IDX, SERVER_ID); in test_packet_capture_when_isolated()
202 let isolation_manager = create_manager_with_isolated_connection(TCB_IDX, SERVER_ID); in test_packet_bypass_when_isolated()
219 let isolation_manager = create_manager_with_isolated_connection(TCB_IDX, SERVER_ID); in test_mtu_bypass()