Home
last modified time | relevance | path

Searched refs:allowed_services (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_admin.rs64 allowed_services: HashSet<Uuid>, field
76 allowed_services: HashSet::new(), //empty means allowed all services in new()
119 let allowed_services: Vec<Uuid> = json in load_config_from_json() localVariable
125 self.set_allowed_services(allowed_services); in load_config_from_json()
199 self.allowed_services.is_empty() || self.allowed_services.contains(&service) in is_service_allowed()
208 self.allowed_services.clear(); in set_allowed_services()
211 self.allowed_services.insert(*service); in set_allowed_services()
215 let allowed_services = self.get_allowed_services(); in set_allowed_services() localVariable
216 adapter.lock().unwrap().toggle_enabled_profiles(&allowed_services); in set_allowed_services()
221 let allowed_services = self.get_allowed_services(); in set_allowed_services() localVariable
[all …]
Dbluetooth.rs805 pub fn toggle_enabled_profiles(&mut self, allowed_services: &Vec<Uuid>) { in toggle_enabled_profiles()
809 let allowed = allowed_services.len() == 0 in toggle_enabled_profiles()
810 || allowed_services.contains(&UuidHelper::get_profile_uuid(&profile).unwrap()); in toggle_enabled_profiles()
/packages/modules/AdServices/sdksandbox/service/proto/
DServices.proto24 repeated AllowedService allowed_services = 1; field