Home
last modified time | relevance | path

Searched refs:mount_info (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/components/storage_monitor/
Dstorage_monitor_chromeos_unittest.cc72 const DiskMountManager::MountPointInfo& mount_info) OVERRIDE { in OnMountEvent() argument
73 StorageMonitorCros::OnMountEvent(event, error_code, mount_info); in OnMountEvent()
104 const DiskMountManager::MountPointInfo& mount_info,
113 const DiskMountManager::MountPointInfo& mount_info);
190 const DiskMountManager::MountPointInfo& mount_info, in MountDevice() argument
199 mount_info, in MountDevice()
211 monitor_->OnMountEvent(DiskMountManager::MOUNTING, error_code, mount_info); in MountDevice()
217 const DiskMountManager::MountPointInfo& mount_info) { in UnmountDevice() argument
218 monitor_->OnMountEvent(DiskMountManager::UNMOUNTING, error_code, mount_info); in UnmountDevice()
220 disk_mount_manager_mock_->RemoveDiskEntryForMountDevice(mount_info); in UnmountDevice()
[all …]
Dstorage_monitor_chromeos.cc47 bool GetDeviceInfo(const DiskMountManager::MountPointInfo& mount_info, in GetDeviceInfo() argument
51 std::string source_path = mount_info.source_path; in GetDeviceInfo()
71 mount_info.mount_path, in GetDeviceInfo()
81 const DiskMountManager::MountPointInfo& mount_info) { in CheckMountedPathOnFileThread() argument
83 return MediaStorageUtil::HasDcim(base::FilePath(mount_info.mount_path)); in CheckMountedPathOnFileThread()
150 const DiskMountManager::MountPointInfo& mount_info) { in OnMountEvent() argument
154 if (mount_info.mount_type != chromeos::MOUNT_TYPE_DEVICE) in OnMountEvent()
159 if (mount_info.mount_condition != chromeos::disks::MOUNT_CONDITION_NONE) in OnMountEvent()
164 if (ContainsKey(mount_map_, mount_info.mount_path)) { in OnMountEvent()
171 base::Bind(&CheckMountedPathOnFileThread, mount_info), in OnMountEvent()
[all …]
Dstorage_monitor_linux.cc295 MountMap::const_iterator mount_info = mount_info_map_.find(current); in GetStorageInfoForPath() local
296 if (mount_info == mount_info_map_.end()) in GetStorageInfoForPath()
298 *device_info = mount_info->second.storage_info; in GetStorageInfoForPath()
335 for (MountMap::iterator mount_info = mount_info_map_.begin(); in EjectDevice() local
336 mount_info != mount_info_map_.end(); ++mount_info) { in EjectDevice()
337 if (mount_info->second.storage_info.device_id() == device_id) { in EjectDevice()
338 path = mount_info->first; in EjectDevice()
339 device = mount_info->second.mount_device; in EjectDevice()
340 mount_info_map_.erase(mount_info); in EjectDevice()
421 const StorageInfo& mount_info = in UpdateMtab() local
[all …]
Dstorage_monitor_chromeos.h56 const chromeos::disks::DiskMountManager::MountPointInfo& mount_info)
84 const chromeos::disks::DiskMountManager::MountPointInfo& mount_info,
/external/chromium_org/chromeos/disks/
Dmock_disk_mount_manager.cc184 const DiskMountManager::MountPointInfo& mount_info, in CreateDiskEntryForMountDevice() argument
195 Disk* disk = new DiskMountManager::Disk(mount_info.source_path, in CreateDiskEntryForMountDevice()
196 mount_info.mount_path, in CreateDiskEntryForMountDevice()
198 mount_info.source_path, in CreateDiskEntryForMountDevice()
215 DiskMountManager::DiskMap::iterator it = disks_.find(mount_info.source_path); in CreateDiskEntryForMountDevice()
217 disks_.insert(std::make_pair(std::string(mount_info.source_path), disk)); in CreateDiskEntryForMountDevice()
225 const DiskMountManager::MountPointInfo& mount_info) { in RemoveDiskEntryForMountDevice() argument
226 DiskMountManager::DiskMap::iterator it = disks_.find(mount_info.source_path); in RemoveDiskEntryForMountDevice()
Ddisk_mount_manager.cc324 const MountPointInfo mount_info(entry.source_path(), in OnMountCompleted() local
329 NotifyMountStatusUpdate(MOUNTING, entry.error_code(), mount_info); in OnMountCompleted()
334 mount_info.mount_condition) && in OnMountCompleted()
335 mount_points_.find(mount_info.mount_path) == mount_points_.end()) { in OnMountCompleted()
336 mount_points_.insert(MountPointMap::value_type(mount_info.mount_path, in OnMountCompleted()
337 mount_info)); in OnMountCompleted()
340 mount_info.mount_condition) && in OnMountCompleted()
341 mount_info.mount_type == MOUNT_TYPE_DEVICE && in OnMountCompleted()
342 !mount_info.source_path.empty() && in OnMountCompleted()
343 !mount_info.mount_path.empty()) { in OnMountCompleted()
[all …]
Dmock_disk_mount_manager.h60 const DiskMountManager::MountPointInfo& mount_info,
75 const DiskMountManager::MountPointInfo& mount_info);
Ddisk_mount_manager.h222 const MountPointInfo& mount_info) = 0;
/external/chromium_org/chrome/browser/chromeos/app_mode/
Dkiosk_external_updater.cc127 const disks::DiskMountManager::MountPointInfo& mount_info) { in OnMountEvent() argument
129 if (mount_info.mount_type != MOUNT_TYPE_DEVICE || in OnMountEvent()
139 << mount_info.mount_path; in OnMountEvent()
148 base::FilePath(mount_info.mount_path), in OnMountEvent()
154 base::FilePath(mount_info.mount_path), in OnMountEvent()
160 } else if (external_update_path_.value() == mount_info.mount_path) { in OnMountEvent()
Dkiosk_external_updater.h63 const disks::DiskMountManager::MountPointInfo& mount_info) OVERRIDE;
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/
Dremovable_storage_provider_chromeos_unittest.cc67 DiskMountManager::MountPointInfo mount_info( in CreateDisk() local
72 disk_mount_manager_mock_->CreateDiskEntryForMountDevice(mount_info, in CreateDisk()
/external/chromium_org/chrome/browser/chromeos/file_manager/
Dvolume_manager.cc501 const chromeos::disks::DiskMountManager::MountPointInfo& mount_info) { in OnMountEvent() argument
503 DCHECK_NE(chromeos::MOUNT_TYPE_INVALID, mount_info.mount_type); in OnMountEvent()
505 if (mount_info.mount_type == chromeos::MOUNT_TYPE_ARCHIVE) { in OnMountEvent()
518 base::FilePath(mount_info.source_path), in OnMountEvent()
526 disk_mount_manager_->FindDiskBySourcePath(mount_info.source_path); in OnMountEvent()
528 CreateVolumeInfoFromMountPointInfo(mount_info, disk); in OnMountEvent()
Dvolume_manager.h179 const chromeos::disks::DiskMountManager::MountPointInfo& mount_info)
/external/chromium_org/chrome/browser/chromeos/imageburner/
Dburn_device_handler.h56 const disks::DiskMountManager::MountPointInfo& mount_info) OVERRIDE;
Dburn_device_handler.cc86 const DiskMountManager::MountPointInfo& mount_info) { in OnMountEvent() argument