Searched refs:read_attribute (Results 1 – 10 of 10) sorted by relevance
/packages/modules/Bluetooth/system/rust/src/gatt/server/ |
D | att_database.rs | 70 async fn read_attribute(&self, handle: AttHandle) -> Result<Vec<u8>, AttErrorCode>; in read_attribute() method 111 async fn read_attribute(&self, handle: AttHandle) -> Result<Vec<u8>, AttErrorCode> { in read_attribute() method 112 self.backing.read_attribute(handle).await in read_attribute()
|
D | gatt_database.rs | 350 async fn read_attribute(&self, handle: AttHandle) -> Result<Vec<u8>, AttErrorCode> { in read_attribute() method 547 let resp = tokio_test::block_on(att_db.read_attribute(AttHandle(1))); in test_read_empty_db() 569 let service_value = tokio_test::block_on(att_db.read_attribute(SERVICE_HANDLE)); in test_single_service() 695 tokio_test::block_on(att_db.read_attribute(CHARACTERISTIC_DECLARATION_HANDLE)); in test_single_characteristic_declaration() 767 tokio_test::block_on(att_db.read_attribute(CHARACTERISTIC_DECLARATION_HANDLE)); in test_all_characteristic_permissions() 829 att_db.read_attribute(CHARACTERISTIC_VALUE_HANDLE) in test_single_characteristic_value() 859 gatt_db.get_att_database(TCB_IDX).read_attribute(CHARACTERISTIC_VALUE_HANDLE), in test_unreadable_characteristic() 1063 spawn_local(async move { att_db.read_attribute(DESCRIPTOR_HANDLE).await.unwrap() }); in test_single_descriptor_declaration() 1260 att_db.read_attribute(AttHandle(6)) in test_multiple_datastores()
|
D | command_handler.rs | 81 assert_eq!(block_on_locally(db.read_attribute(AttHandle(3))).unwrap(), data); in test_write_command()
|
/packages/modules/Bluetooth/system/rust/src/gatt/server/services/ |
D | gap.rs | 148 let name = block_on_locally(att_db.read_attribute(DEVICE_NAME_HANDLE)); in test_read_device_name_not_discoverable() 160 let name = block_on_locally(att_db.read_attribute(DEVICE_APPEARANCE_HANDLE)); in test_read_device_appearance()
|
D | gatt.rs | 258 block_on_locally(att_db.read_attribute(SERVICE_CHANGE_CCC_DESCRIPTOR_HANDLE)).unwrap(); in test_default_indication_subscription() 292 block_on_locally(att_db.read_attribute(SERVICE_CHANGE_CCC_DESCRIPTOR_HANDLE)).unwrap(); in test_subscribe_to_indication() 330 block_on_locally(att_db.read_attribute(SERVICE_CHANGE_CCC_DESCRIPTOR_HANDLE)).unwrap(); in test_unsubscribe_to_indication()
|
/packages/modules/Bluetooth/system/rust/src/gatt/server/test/ |
D | test_att_db.rs | 41 async fn read_attribute(&self, handle: AttHandle) -> Result<Vec<u8>, AttErrorCode> { in read_attribute() method
|
/packages/modules/Bluetooth/system/rust/src/gatt/server/transactions/ |
D | write_request.rs | 72 assert_eq!(block_on(db.read_attribute(AttHandle(1))).unwrap(), data); in test_successful_write()
|
D | read_request.rs | 16 match db.read_attribute(handle).await { in handle_read_request()
|
D | find_by_type_value.rs | 45 if let Ok(value) = db.read_attribute(handle).await { in handle_find_by_type_value_request()
|
/packages/modules/Bluetooth/system/rust/src/gatt/server/transactions/helpers/ |
D | att_filter_by_size_type.rs | 39 match db.read_attribute(handle).await { in filter_read_attributes_by_size_type()
|