Searched refs:TestAttDatabase (Results 1 – 13 of 13) sorted by relevance
/packages/modules/Bluetooth/system/rust/src/gatt/server/transactions/helpers/ |
D | att_filter_by_size_type.rs | 80 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()
|
D | att_grouping.rs | 59 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/ |
D | read_request.rs | 46 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()
|
D | read_by_group_type_request.rs | 104 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()
|
D | find_by_type_value.rs | 84 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()
|
D | read_by_type_request.rs | 86 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()
|
D | find_information_request.rs | 111 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()
|
D | write_request.rs | 38 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/ |
D | test_att_db.rs | 14 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/ |
D | command_handler.rs | 47 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()
|
D | request_handler.rs | 111 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()
|
D | indication_handler.rs | 130 test::test_att_db::TestAttDatabase, 146 fn get_att_database() -> TestAttDatabase { in get_att_database() 147 TestAttDatabase::new(vec![ in get_att_database()
|
D | att_server_bearer.rs | 237 test::test_att_db::TestAttDatabase, 257 ) -> (SharedBox<AttServerBearer<TestAttDatabase>>, UnboundedReceiver<AttBuilder>) { in open_connection() argument 258 let db = TestAttDatabase::new(vec![ in open_connection()
|