Searched refs:device_map_ (Results 1 – 9 of 9) sorted by relevance
31 device_map_[device_location] = PortableDeviceInfo(device); in AddPortableDevice()39 PortableDeviceMap::iterator it = device_map_.find(device_location); in MarkPortableDeviceForDeletion()40 if (it != device_map_.end()) in MarkPortableDeviceForDeletion()49 PortableDeviceMap::const_iterator it = device_map_.find(device_location); in RemovePortableDevice()50 if ((it != device_map_.end()) && it->second.scheduled_to_delete) in RemovePortableDevice()51 device_map_.erase(it); in RemovePortableDevice()59 PortableDeviceMap::const_iterator it = device_map_.find(device_location); in GetPortableDevice()60 return (it == device_map_.end() || it->second.scheduled_to_delete) ? in GetPortableDevice()
70 PortableDeviceMap device_map_;
233 device_map_.clear(); in UpdateDeviceScrollList()261 if (device_map_.size() == 0) { in UpdateDeviceScrollList()283 device_map_[container] = list[i].address; in AppendSameTypeDevicesToScrollList()369 find = device_map_.find(sender); in OnViewClicked()370 if (find == device_map_.end()) in OnViewClicked()393 std::map<views::View*, std::string> device_map_; member in ash::internal::tray::BluetoothDetailedView
523 device_map_.find(storage_map_iter->second.location()); in GetMTPStorageInfoFromDeviceId()524 if (device_iter == device_map_.end()) in GetMTPStorageInfoFromDeviceId()619 DCHECK(!ContainsKey(device_map_, location)); in OnDidHandleDeviceAttachEvent()643 device_map_[location] = storage_objects; in OnDidHandleDeviceAttachEvent()649 MTPDeviceMap::iterator device_iter = device_map_.find(pnp_device_id); in HandleDeviceDetachEvent()650 if (device_iter == device_map_.end()) in HandleDeviceDetachEvent()666 device_map_.erase(device_iter); in HandleDeviceDetachEvent()
124 MTPDeviceMap device_map_; variable
459 device_map_.clear(); in UpdateScrollableList()469 device_map_[container] = output_devices_[i]; in UpdateScrollableList()482 device_map_[container] = input_devices_[i]; in UpdateScrollableList()528 AudioDeviceMap::iterator iter = device_map_.find(sender); in OnViewClicked()529 if (iter == device_map_.end()) in OnViewClicked()541 AudioDeviceMap device_map_; member in ash::internal::tray::AudioDetailedView
2362 NetworkDeviceMap::const_iterator iter = device_map_.find(path); in FindNetworkDeviceByPath()2363 if (iter != device_map_.end()) in FindNetworkDeviceByPath()2370 for (NetworkDeviceMap::const_iterator iter = device_map_.begin(); in FindCellularDevice()2371 iter != device_map_.end(); ++iter) { in FindCellularDevice()2379 for (NetworkDeviceMap::const_iterator iter = device_map_.begin(); in FindEthernetDevice()2380 iter != device_map_.end(); ++iter) { in FindEthernetDevice()2388 for (NetworkDeviceMap::const_iterator iter = device_map_.begin(); in FindWifiDevice()2389 iter != device_map_.end(); ++iter) { in FindWifiDevice()3720 NetworkDeviceMap::iterator iter = device_map_.find(path); in GetNetworkDeviceByPath()3721 if (iter != device_map_.end()) in GetNetworkDeviceByPath()[all …]
323 DeviceIdPrefIdsMap device_map_; variable
574 device_map_.clear(); in InitFromPrefs()591 device_map_[gallery_info.device_id].insert(gallery_info.pref_id); in InitFromPrefs()675 DeviceIdPrefIdsMap::const_iterator found = device_map_.find(device_id); in LookUpGalleriesByDeviceId()676 if (found == device_map_.end()) in LookUpGalleriesByDeviceId()