/external/chromium_org/components/storage_monitor/ |
D | media_storage_util_unittest.cc | 37 void CheckDCIMDeviceType(const base::FilePath& mount_point) { in CheckDCIMDeviceType() argument 38 EXPECT_TRUE(MediaStorageUtil::HasDcim(mount_point)); in CheckDCIMDeviceType() 41 void CheckNonDCIMDeviceType(const base::FilePath& mount_point) { in CheckNonDCIMDeviceType() argument 42 EXPECT_FALSE(MediaStorageUtil::HasDcim(mount_point)); in CheckNonDCIMDeviceType() 96 base::FilePath mount_point(CreateMountPoint(true)); in TEST_F() local 97 ASSERT_FALSE(mount_point.empty()); in TEST_F() 101 base::Unretained(this), mount_point)); in TEST_F() 109 base::FilePath mount_point(CreateMountPoint(false)); in TEST_F() local 110 ASSERT_FALSE(mount_point.empty()); in TEST_F() 114 base::Unretained(this), mount_point)); in TEST_F()
|
D | storage_monitor_linux.cc | 120 const base::FilePath& mount_point) { in GetDeviceInfo() argument 177 if (MediaStorageUtil::HasDcim(mount_point)) in GetDeviceInfo() 187 mount_point.value(), in GetDeviceInfo() 372 const base::FilePath& mount_point = old_iter->first; in UpdateMtab() local 374 MountPointDeviceMap::const_iterator new_iter = new_mtab.find(mount_point); in UpdateMtab() 382 priority->second.find(mount_point); in UpdateMtab() 392 priority->second.erase(mount_point); in UpdateMtab() 395 mount_points_to_erase.push_back(mount_point); in UpdateMtab() 418 const base::FilePath& mount_point = first_mount_point_info->first; in UpdateMtab() local 422 mount_info_map_.find(mount_point)->second.storage_info; in UpdateMtab() [all …]
|
D | volume_mount_watcher_win.cc | 59 DeviceType GetDeviceType(const base::string16& mount_point) { in GetDeviceType() argument 60 UINT drive_type = GetDriveType(mount_point.c_str()); in GetDeviceType() 70 base::string16 device = mount_point; in GetDeviceType() 71 if (EndsWith(mount_point, L"\\", false)) in GetDeviceType() 72 device = mount_point.substr(0, mount_point.length() - 1); in GetDeviceType() 110 uint64 GetVolumeSize(const base::string16& mount_point) { in GetVolumeSize() argument 112 if (!GetDiskFreeSpaceExW(mount_point.c_str(), NULL, &total, NULL)) in GetVolumeSize() 125 base::string16 mount_point; in GetDeviceDetails() local 127 WriteInto(&mount_point, kMaxPathBufLen), in GetDeviceDetails() 131 mount_point.resize(wcslen(mount_point.c_str())); in GetDeviceDetails() [all …]
|
D | storage_monitor_mac_unittest.mm | 31 const base::FilePath& mount_point, 34 device_id, mount_point.value(), base::string16(), base::string16(), 128 base::FilePath mount_point = temp_dir.path(); 131 StorageInfo info = CreateStorageInfo(device_id, "", mount_point, kTestSize); 138 EXPECT_EQ(mount_point.value(),
|
D | storage_monitor_linux.h | 51 const base::FilePath& mount_point)> GetDeviceInfoCallback; 108 const base::FilePath& mount_point);
|
D | media_storage_util.cc | 95 bool MediaStorageUtil::HasDcim(const base::FilePath& mount_point) { in HasDcim() argument 99 if (!base::DirectoryExists(mount_point.Append(dcim_dir))) { in HasDcim() 102 mount_point.Append(base::StringToLowerASCII(dcim_dir))); in HasDcim()
|
D | storage_monitor_linux_unittest.cc | 72 const base::FilePath& mount_point) { in GetDeviceInfo() argument 91 mount_point.value(), in GetDeviceInfo() 146 const std::string& mount_point, in MtabTestData() 149 mount_point(mount_point), in MtabTestData() 154 const std::string mount_point; member 294 entry.mnt_dir = const_cast<char*>(data[i].mount_point.c_str()); in WriteToMtab()
|
D | media_storage_util.h | 32 static bool HasDcim(const base::FilePath& mount_point);
|
D | storage_monitor_mac.h | 58 bool FindDiskWithMountPoint(const base::FilePath& mount_point,
|
D | storage_monitor_mac.mm | 375 const base::FilePath& mount_point, 379 if (it->second.location() == mount_point.value()) {
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
D | fake_disk_mount_manager.cc | 78 const MountPointInfo mount_point( in MountPath() local 83 mount_points_.insert(make_pair(source_path, mount_point)); in MountPath() 87 mount_point)); in MountPath() 98 const MountPointInfo mount_point = iter->second; in UnmountPath() local 103 mount_point)); in UnmountPath() 121 const MountPointInfo& mount_point) { in AddMountPointForTest() argument
|
D | volume_manager.cc | 168 const chromeos::disks::DiskMountManager::MountPointInfo& mount_point, in CreateVolumeInfoFromMountPointInfo() argument 171 volume_info.type = MountTypeToVolumeType(mount_point.mount_type); in CreateVolumeInfoFromMountPointInfo() 172 volume_info.source_path = base::FilePath(mount_point.source_path); in CreateVolumeInfoFromMountPointInfo() 173 volume_info.mount_path = base::FilePath(mount_point.mount_path); in CreateVolumeInfoFromMountPointInfo() 174 volume_info.mount_condition = mount_point.mount_condition; in CreateVolumeInfoFromMountPointInfo() 186 (mount_point.mount_type == chromeos::MOUNT_TYPE_ARCHIVE); in CreateVolumeInfoFromMountPointInfo()
|
D | fake_disk_mount_manager.h | 74 const MountPointInfo& mount_point) OVERRIDE;
|
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
D | media_file_system_backend.cc | 75 const std::string& mount_point, in AttemptAutoMountOnUIThread() argument 96 StartsWithASCII(mount_point, expected_mount_prefix, true) && in AttemptAutoMountOnUIThread() 97 base::StringToUint64(mount_point.substr(expected_mount_prefix.size()), in AttemptAutoMountOnUIThread() 199 std::string mount_point = base::FilePath(components[0]).AsUTF8Unsafe(); in AttemptAutoMountForURLRequest() local 200 if (!StartsWithASCII(mount_point, kMediaGalleryMountPrefix, true)) in AttemptAutoMountForURLRequest() 212 request_info->GetRouteID(), storage_domain, mount_point, in AttemptAutoMountForURLRequest()
|
/external/chromium_org/chromeos/disks/ |
D | disk_mount_manager.cc | 107 MountPointMap::const_iterator mount_point = mount_points_.find(mount_path); in FormatMountedDevice() local 108 if (mount_point == mount_points_.end()) { in FormatMountedDevice() 114 std::string device_path = mount_point->second.source_path; in FormatMountedDevice() 241 const MountPointInfo& mount_point) OVERRIDE { in AddMountPointForTest() argument 242 if (mount_points_.find(mount_point.mount_path) != mount_points_.end()) { in AddMountPointForTest() 246 if (mount_point.mount_type == chromeos::MOUNT_TYPE_DEVICE && in AddMountPointForTest() 247 disks_.find(mount_point.source_path) == disks_.end()) { in AddMountPointForTest() 252 mount_points_.insert(std::make_pair(mount_point.mount_path, mount_point)); in AddMountPointForTest() 687 bool DiskMountManager::AddMountPointForTest(const MountPointInfo& mount_point) { in AddMountPointForTest() argument
|
D | disk_mount_manager_unittest.cc | 109 const DiskMountManager::MountPointInfo& mount_point)); 181 void AddTestMountPoint(const TestMountPointInfo& mount_point) { in AddTestMountPoint() argument 183 DiskMountManager::MountPointInfo(mount_point.source_path, in AddTestMountPoint() 184 mount_point.mount_path, in AddTestMountPoint() 185 mount_point.mount_type, in AddTestMountPoint() 186 mount_point.mount_condition))); in AddTestMountPoint()
|
D | disk_mount_manager.h | 284 virtual bool AddMountPointForTest(const MountPointInfo& mount_point);
|
/external/chromium_org/chrome/installer/mac/ |
D | dmgdiffer.sh | 98 local mount_point 99 for mount_point in "${g_cleanup_mount_points[@]}"; do 100 hdiutil detach "${mount_point}" -force >& /dev/null || true 113 local mount_point="${2}"
|
/external/chromium_org/chrome/browser/media_galleries/ |
D | media_folder_finder.cc | 96 base::FilePath mount_point = in ShouldIgnoreScanRoot() 98 return mount_point.IsParent(path); in ShouldIgnoreScanRoot()
|
/external/chromium_org/content/browser/fileapi/ |
D | file_system_dir_url_request_job_unittest.cc | 61 std::string mount_point = base::FilePath(components[0]).AsUTF8Unsafe(); in TestAutoMountForURLRequest() local 63 if (mount_point == kValidExternalMountPoint) { in TestAutoMountForURLRequest()
|
D | file_system_url_request_job_unittest.cc | 70 std::string mount_point = base::FilePath(components[0]).AsUTF8Unsafe(); in TestAutoMountForURLRequest() local 72 if (mount_point == kValidExternalMountPoint) { in TestAutoMountForURLRequest()
|
/external/chromium_org/chrome/browser/chromeos/imageburner/ |
D | burn_device_handler_unittest.cc | 98 const MountPointInfo& mount_point) OVERRIDE { in AddMountPointForTest() argument
|
/external/e2fsprogs/misc/ |
D | e4defrag.c | 263 static int get_mount_point(const char *devname, char *mount_point, in get_mount_point() argument 298 strncpy(mount_point, mnt->mnt_dir, in get_mount_point()
|