Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/rust/src/gatt/server/
Dgatt_database.rs81 pub struct GattDatabase { struct
124 impl GattDatabase { impl
323 impl SharedBox<GattDatabase> {
336 gatt_db: WeakBox<GattDatabase>,
534 let gatt_db = SharedBox::new(GattDatabase::new()); in test_read_empty_db()
545 let gatt_db = SharedBox::new(GattDatabase::new()); in test_single_service()
582 let gatt_db = SharedBox::new(GattDatabase::new()); in test_service_removal()
661 let gatt_db = SharedBox::new(GattDatabase::new()); in test_single_characteristic_declaration()
731 let gatt_db = SharedBox::new(GattDatabase::new()); in test_all_characteristic_permissions()
779 let gatt_db = SharedBox::new(GattDatabase::new()); in test_single_characteristic_value()
[all …]
Dservices.rs12 use super::gatt_database::GattDatabase;
15 pub fn register_builtin_services(database: &mut GattDatabase) -> Result<()> { in register_builtin_services()
Datt_server_bearer.rs220 GattCharacteristicWithHandle, GattDatabase, GattServiceWithHandle,
297 let db = SharedBox::new(GattDatabase::new()); in test_concurrent_transaction_failure()
/packages/modules/Bluetooth/system/rust/src/gatt/server/services/
Dgap.rs13 AttPermissions, GattCharacteristicWithHandle, GattDatabase, GattServiceWithHandle,
63 pub fn register_gap_service(database: &mut GattDatabase) -> Result<()> { in register_gap_service()
97 GattDatabase, CHARACTERISTIC_UUID, PRIMARY_SERVICE_DECLARATION_UUID,
103 fn init_dbs() -> (SharedBox<GattDatabase>, impl AttDatabase) { in init_dbs()
104 let mut gatt_database = GattDatabase::new(); in init_dbs()
Dgatt.rs21 AttDatabaseImpl, AttPermissions, GattCharacteristicWithHandle, GattDatabase,
146 pub fn register_gatt_service(database: &mut GattDatabase) -> Result<()> { in register_gatt_service()
180 GattDatabase, CHARACTERISTIC_UUID, PRIMARY_SERVICE_DECLARATION_UUID,
190 fn init_gatt_db() -> SharedBox<GattDatabase> { in init_gatt_db()
191 let mut gatt_database = GattDatabase::new(); in init_gatt_db()
197 gatt_database: &SharedBox<GattDatabase>, in add_connection() argument
/packages/modules/Bluetooth/system/rust/src/gatt/
Dserver.rs22 use crate::gatt::server::gatt_database::GattDatabase;
41 databases: HashMap<ServerId, SharedBox<GattDatabase>>,
51 database: WeakBox<GattDatabase>,
135 let mut db = GattDatabase::new(); in open_gatt_server()