Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/rust/src/gatt/server/transactions/helpers/
Datt_filter_by_size_type.rs80 test::test_att_db::TestAttDatabase,
92 let db = TestAttDatabase::new(vec![( in test_single_matching_attr()
123 let db = TestAttDatabase::new(vec![ in test_skip_mismatching_attrs()
178 let db = TestAttDatabase::new(vec![ in test_stop_once_length_changes()
227 let db = TestAttDatabase::new(vec![( in test_truncate_to_mtu()
258 let db = TestAttDatabase::new(vec![]); in test_no_results()
276 let db = TestAttDatabase::new(vec![( in test_read_failure_on_first_attr()
301 let db = TestAttDatabase::new(vec![ in test_read_failure_on_subsequent_attr()
352 let db = TestAttDatabase::new(vec![ in test_skip_unreadable_mismatching_attr()
Datt_grouping.rs59 server::{gatt_database::AttPermissions, test::test_att_db::TestAttDatabase},
66 fn db_from_attrs(attrs: impl IntoIterator<Item = AttAttribute>) -> TestAttDatabase { in db_from_attrs()
67 TestAttDatabase::new(attrs.into_iter().map(|attr| (attr, vec![])).collect()) in db_from_attrs()
/packages/modules/Bluetooth/system/rust/src/gatt/server/transactions/
Dread_request.rs46 test::test_att_db::TestAttDatabase,
53 fn make_db_with_handle_and_value(handle: u16, value: Vec<u8>) -> TestAttDatabase { in make_db_with_handle_and_value() argument
54 TestAttDatabase::new(vec![( in make_db_with_handle_and_value()
67 db: &TestAttDatabase, in do_read_request_with_handle_and_mtu() argument
119 fn make_db_with_unreadable_handle(handle: u16) -> TestAttDatabase { in make_db_with_unreadable_handle() argument
120 TestAttDatabase::new(vec![( in make_db_with_unreadable_handle()
Dread_by_group_type_request.rs104 test::test_att_db::TestAttDatabase,
116 let db = TestAttDatabase::new(vec![ in test_simple_grouping()
180 let db = TestAttDatabase::new(vec![]); in test_invalid_group_type()
207 let db = TestAttDatabase::new(vec![]); in test_range_validation()
234 let db = TestAttDatabase::new(vec![( in test_attribute_truncation()
274 let db = TestAttDatabase::new(vec![ in test_limit_total_size()
323 let db = TestAttDatabase::new(vec![ in test_group_end_outside_range()
373 let db = TestAttDatabase::new(vec![ in test_no_results()
Dfind_by_type_value.rs84 test::test_att_db::TestAttDatabase,
102 let db = TestAttDatabase::new(vec![ in test_uuid_match()
164 let db = TestAttDatabase::new(vec![ in test_value_match()
226 let db = TestAttDatabase::new(vec![]); in test_range_check()
253 let db = TestAttDatabase::new(vec![( in test_empty_response()
287 let db = TestAttDatabase::new(vec![ in test_grouping_uuid()
343 let db = TestAttDatabase::new(vec![ in test_limit_total_size()
Dread_by_type_request.rs86 test::test_att_db::TestAttDatabase,
99 let db = TestAttDatabase::new(vec![( in test_single_matching_attr()
136 let db = TestAttDatabase::new(vec![ in test_type_filtering()
198 let db = TestAttDatabase::new(vec![ in test_limit_total_size()
245 let db = TestAttDatabase::new(vec![ in test_no_results()
288 let db = TestAttDatabase::new(vec![]); in test_range_validation()
Dfind_information_request.rs111 gatt::server::{gatt_database::AttPermissions, test::test_att_db::TestAttDatabase},
121 let db = TestAttDatabase::new(vec![ in test_long_uuids()
184 let db = TestAttDatabase::new(vec![ in test_short_uuids()
247 let db = TestAttDatabase::new(vec![]); in test_handle_validation()
273 let db = TestAttDatabase::new(vec![ in test_limit_total_size()
322 let db = TestAttDatabase::new(vec![( in test_empty_output()
Dwrite_request.rs38 test::test_att_db::TestAttDatabase,
51 let db = TestAttDatabase::new(vec![( in test_successful_write()
78 let db = TestAttDatabase::new(vec![( in test_failed_write()
/packages/modules/Bluetooth/system/rust/src/gatt/server/test/
Dtest_att_db.rs14 pub struct TestAttDatabase { struct
24 impl TestAttDatabase { impl
40 impl AttDatabase for TestAttDatabase { implementation
86 impl StableAttDatabase for TestAttDatabase {} implementation
/packages/modules/Bluetooth/system/rust/src/gatt/server/
Dcommand_handler.rs47 test::test_att_db::TestAttDatabase,
60 let db = TestAttDatabase::new(vec![( in test_write_command()
87 let db = TestAttDatabase::new(vec![]); in test_unsupported_command()
Drequest_handler.rs111 test::test_att_db::TestAttDatabase,
123 let db = TestAttDatabase::new(vec![( in test_read_request()
151 let db = TestAttDatabase::new(vec![( in test_unsupported_request()
Dindication_handler.rs130 test::test_att_db::TestAttDatabase,
146 fn get_att_database() -> TestAttDatabase { in get_att_database()
147 TestAttDatabase::new(vec![ in get_att_database()
Datt_server_bearer.rs237 test::test_att_db::TestAttDatabase,
257 ) -> (SharedBox<AttServerBearer<TestAttDatabase>>, UnboundedReceiver<AttBuilder>) { in open_connection() argument
258 let db = TestAttDatabase::new(vec![ in open_connection()