Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/rust/tests/
Dgatt_callbacks_test.rs23 const CONN_ID: ConnectionId = ConnectionId::new(TCB_IDX, SERVER_ID); constant
62 let MockCallbackEvents::OnServerRead(CONN_ID, _, HANDLE_1, BACKING_TYPE, OFFSET) = in test_read_characteristic_callback()
85 callback_manager.send_response(CONN_ID, trans_id, Ok(data.to_vec())).unwrap(); in test_read_characteristic_response()
108 callback_manager.send_response(CONN_ID, trans_id, Ok(data1.to_vec())).unwrap(); in test_sequential_reads()
118 callback_manager.send_response(CONN_ID, trans_id, Ok(data2.to_vec())).unwrap(); in test_sequential_reads()
150 callback_manager.send_response(CONN_ID, trans_id, Ok(data1.to_vec())).unwrap(); in test_concurrent_reads()
154 callback_manager.send_response(CONN_ID, trans_id, Ok(data2.to_vec())).unwrap(); in test_concurrent_reads()
197 .send_response(CONN_ID, invalid_trans_id, Ok(data.to_vec())) in test_invalid_trans_id()
217 let invalid_conn_id = ConnectionId(CONN_ID.0 + 1); in test_invalid_conn_id()
244 CONN_ID, in test_write_characteristic_callback()
[all …]