/external/chromium_org/components/storage_monitor/ |
D | storage_monitor_chromeos_unittest.cc | 72 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 …]
|
D | storage_monitor_chromeos.cc | 47 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 …]
|
D | storage_monitor_linux.cc | 295 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 …]
|
D | storage_monitor_chromeos.h | 56 const chromeos::disks::DiskMountManager::MountPointInfo& mount_info) 84 const chromeos::disks::DiskMountManager::MountPointInfo& mount_info,
|
/external/chromium_org/chromeos/disks/ |
D | mock_disk_mount_manager.cc | 184 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()
|
D | disk_mount_manager.cc | 324 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 …]
|
D | mock_disk_mount_manager.h | 60 const DiskMountManager::MountPointInfo& mount_info, 75 const DiskMountManager::MountPointInfo& mount_info);
|
D | disk_mount_manager.h | 222 const MountPointInfo& mount_info) = 0;
|
/external/chromium_org/chrome/browser/chromeos/app_mode/ |
D | kiosk_external_updater.cc | 127 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()
|
D | kiosk_external_updater.h | 63 const disks::DiskMountManager::MountPointInfo& mount_info) OVERRIDE;
|
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/ |
D | removable_storage_provider_chromeos_unittest.cc | 67 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/ |
D | volume_manager.cc | 501 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()
|
D | volume_manager.h | 179 const chromeos::disks::DiskMountManager::MountPointInfo& mount_info)
|
/external/chromium_org/chrome/browser/chromeos/imageburner/ |
D | burn_device_handler.h | 56 const disks::DiskMountManager::MountPointInfo& mount_info) OVERRIDE;
|
D | burn_device_handler.cc | 86 const DiskMountManager::MountPointInfo& mount_info) { in OnMountEvent() argument
|