Home
last modified time | relevance | path

Searched refs:disks_ (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/chromeos/disks/
Ddisk_mount_manager.cc48 STLDeleteContainerPairSecondPointers(disks_.begin(), disks_.end()); in ~DiskMountManagerImpl()
68 DiskMap::const_iterator it = disks_.find(source_path); in MountPath()
69 if (it == disks_.end() || it->second->is_hidden()) { in MountPath()
115 DiskMap::const_iterator disk = disks_.find(device_path); in FormatMountedDevice()
116 if (disk == disks_.end()) { in FormatMountedDevice()
137 for (DiskMap::iterator it = disks_.begin(); it != disks_.end(); ++it) { in UnmountDeviceRecursively()
147 if (disks_.find(device_path) == disks_.end()) { in UnmountDeviceRecursively()
213 virtual const DiskMap& disks() const OVERRIDE { return disks_; } in disks()
218 DiskMap::const_iterator disk_it = disks_.find(source_path); in FindDiskBySourcePath()
219 return disk_it == disks_.end() ? NULL : disk_it->second; in FindDiskBySourcePath()
[all …]
Dmock_disk_mount_manager.cc67 STLDeleteContainerPairSecondPointers(disks_.begin(), disks_.end()); in ~MockDiskMountManager()
68 disks_.clear(); in ~MockDiskMountManager()
94 disks_.clear(); in NotifyDeviceInsertEvents()
95 disks_.insert(std::pair<std::string, DiskMountManager::Disk*>( in NotifyDeviceInsertEvents()
126 disks_.clear(); in NotifyDeviceInsertEvents()
127 disks_.insert(std::pair<std::string, DiskMountManager::Disk*>( in NotifyDeviceInsertEvents()
154 disks_.clear(); in NotifyDeviceRemoveEvents()
155 disks_.insert(std::pair<std::string, DiskMountManager::Disk*>( in NotifyDeviceRemoveEvents()
166 .WillRepeatedly(ReturnRef(disks_)); in SetupDefaultReplies()
215 DiskMountManager::DiskMap::iterator it = disks_.find(mount_info.source_path); in CreateDiskEntryForMountDevice()
[all …]
Dmock_disk_mount_manager.h85 const DiskMountManager::DiskMap& disksInternal() const { return disks_; } in disksInternal()
109 DiskMountManager::DiskMap disks_; variable
/external/chromium_org/chrome/browser/chromeos/imageburner/
Dburn_device_handler_unittest.cc34 STLDeleteValues(&disks_); in ~FakeDiskMountManager()
71 return disks_; in disks()
105 disks_.insert(std::pair<std::string, Disk*>(path, NULL)); in InsertDisk()
115 DiskMap::iterator iter = disks_.find(path); in RemoveDisk()
116 if (iter == disks_.end()) { in RemoveDisk()
121 disks_.erase(iter); in RemoveDisk()
126 DiskMap disks_; member in chromeos::imageburner::__anonec5dcb670111::FakeDiskMountManager
/external/chromium_org/chrome/browser/chromeos/file_manager/
Dfake_disk_mount_manager.cc34 STLDeleteValues(&disks_); in ~FakeDiskMountManager()
49 return disks_; in disks()
55 DiskMap::const_iterator iter = disks_.find(source_path); in FindDiskBySourcePath()
56 if (iter == disks_.end()) in FindDiskBySourcePath()
117 return disks_.insert(make_pair(disk->device_path(), disk)).second; in AddDiskForTest()
Dfake_disk_mount_manager.h80 DiskMap disks_; variable
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/
Dtest_utils.h70 DiskMap disks_;