Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/rust/src/gatt/server/
Datt_database.rs70 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()
Dgatt_database.rs350 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()
Dcommand_handler.rs81 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/
Dgap.rs148 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()
Dgatt.rs258 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/
Dtest_att_db.rs41 async fn read_attribute(&self, handle: AttHandle) -> Result<Vec<u8>, AttErrorCode> { in read_attribute() method
/packages/modules/Bluetooth/system/rust/src/gatt/server/transactions/
Dwrite_request.rs72 assert_eq!(block_on(db.read_attribute(AttHandle(1))).unwrap(), data); in test_successful_write()
Dread_request.rs16 match db.read_attribute(handle).await { in handle_read_request()
Dfind_by_type_value.rs45 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/
Datt_filter_by_size_type.rs39 match db.read_attribute(handle).await { in filter_read_attributes_by_size_type()