Searched refs:device_policy_affect_cache (Results 1 – 1 of 1) sorted by relevance
66 device_policy_affect_cache: HashMap<BluetoothDevice, Option<PolicyEffect>>, field78 device_policy_affect_cache: HashMap::new(), in new()158 self.device_policy_affect_cache.insert(remote_device.clone(), None).or_else(|| { in on_device_found()167 self.device_policy_affect_cache.remove(remote_device); in on_device_cleared()186 let cur_effect = self.device_policy_affect_cache.get(remote_device); in on_remote_device_properties_changed()192 self.device_policy_affect_cache.insert(remote_device.clone(), new_effect.clone()); in on_remote_device_properties_changed()231 for (device, effect) in self.device_policy_affect_cache.clone().iter() { in set_allowed_services()239 self.device_policy_affect_cache.insert(device.clone(), new_effect.clone()); in set_allowed_services()253 if let Some(effect) = self.device_policy_affect_cache.get(&device) { in get_device_policy_effect()