Home
last modified time | relevance | path

Searched refs:mount_point (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/chrome/browser/storage_monitor/
Dmedia_storage_util_unittest.cc36 void CheckDCIMDeviceType(const base::FilePath& mount_point) { in CheckDCIMDeviceType() argument
37 EXPECT_TRUE(MediaStorageUtil::HasDcim(mount_point)); in CheckDCIMDeviceType()
40 void CheckNonDCIMDeviceType(const base::FilePath& mount_point) { in CheckNonDCIMDeviceType() argument
41 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()
Dstorage_monitor_linux.cc116 const base::FilePath& mount_point) { in GetDeviceInfo() argument
173 if (MediaStorageUtil::HasDcim(mount_point)) in GetDeviceInfo()
184 mount_point.value(), in GetDeviceInfo()
369 const base::FilePath& mount_point = old_iter->first; in UpdateMtab() local
371 MountPointDeviceMap::const_iterator new_iter = new_mtab.find(mount_point); in UpdateMtab()
379 priority->second.find(mount_point); in UpdateMtab()
389 priority->second.erase(mount_point); in UpdateMtab()
392 mount_points_to_erase.push_back(mount_point); in UpdateMtab()
415 const base::FilePath& mount_point = first_mount_point_info->first; in UpdateMtab() local
419 mount_info_map_.find(mount_point)->second.storage_info; in UpdateMtab()
[all …]
Dvolume_mount_watcher_win.cc56 DeviceType GetDeviceType(const base::string16& mount_point) { in GetDeviceType() argument
57 UINT drive_type = GetDriveType(mount_point.c_str()); in GetDeviceType()
67 base::string16 device = mount_point; in GetDeviceType()
68 if (EndsWith(mount_point, L"\\", false)) in GetDeviceType()
69 device = mount_point.substr(0, mount_point.length() - 1); in GetDeviceType()
107 uint64 GetVolumeSize(const base::string16& mount_point) { in GetVolumeSize() argument
109 if (!GetDiskFreeSpaceExW(mount_point.c_str(), NULL, &total, NULL)) in GetVolumeSize()
122 base::string16 mount_point; in GetDeviceDetails() local
124 WriteInto(&mount_point, kMaxPathBufLen), in GetDeviceDetails()
128 mount_point.resize(wcslen(mount_point.c_str())); in GetDeviceDetails()
[all …]
Dstorage_monitor_mac_unittest.mm28 const base::FilePath& mount_point,
31 device_id, base::string16(), mount_point.value(),
134 base::FilePath mount_point = temp_dir.path();
137 StorageInfo info = CreateStorageInfo(device_id, "", mount_point, kTestSize);
145 EXPECT_EQ(mount_point.value(),
Dstorage_monitor_linux.h49 const base::FilePath& mount_point)> GetDeviceInfoCallback;
106 const base::FilePath& mount_point);
Dmedia_storage_util.cc93 bool MediaStorageUtil::HasDcim(const base::FilePath& mount_point) { in HasDcim() argument
97 if (!base::DirectoryExists(mount_point.Append(dcim_dir))) { in HasDcim()
100 mount_point.Append(StringToLowerASCII(dcim_dir))); in HasDcim()
Dstorage_monitor_linux_unittest.cc72 const base::FilePath& mount_point) { in GetDeviceInfo() argument
92 mount_point.value(), in GetDeviceInfo()
147 const std::string& mount_point, in MtabTestData()
150 mount_point(mount_point), in MtabTestData()
155 const std::string mount_point; member
300 entry.mnt_dir = const_cast<char*>(data[i].mount_point.c_str()); in WriteToMtab()
Dmedia_storage_util.h30 static bool HasDcim(const base::FilePath& mount_point);
Dstorage_monitor_mac.h56 bool FindDiskWithMountPoint(const base::FilePath& mount_point,
Dstorage_monitor_mac.mm373 const base::FilePath& mount_point,
377 if (it->second.location() == mount_point.value()) {
/external/chromium_org/chrome/browser/chromeos/file_manager/
Dfake_disk_mount_manager.cc75 const MountPointInfo mount_point( in MountPath() local
80 mount_points_.insert(make_pair(source_path, mount_point)); in MountPath()
84 mount_point)); in MountPath()
95 const MountPointInfo mount_point = iter->second; in UnmountPath() local
100 mount_point)); in UnmountPath()
118 const MountPointInfo& mount_point) { in AddMountPointForTest() argument
Dvolume_manager.cc110 const chromeos::disks::DiskMountManager::MountPointInfo& mount_point, in CreateVolumeInfoFromMountPointInfo() argument
113 volume_info.type = MountTypeToVolumeType(mount_point.mount_type); in CreateVolumeInfoFromMountPointInfo()
114 volume_info.source_path = base::FilePath(mount_point.source_path); in CreateVolumeInfoFromMountPointInfo()
115 volume_info.mount_path = base::FilePath(mount_point.mount_path); in CreateVolumeInfoFromMountPointInfo()
116 volume_info.mount_condition = mount_point.mount_condition; in CreateVolumeInfoFromMountPointInfo()
Dfake_disk_mount_manager.h73 const MountPointInfo& mount_point) OVERRIDE;
/external/chromium_org/chromeos/disks/
Ddisk_mount_manager.cc103 MountPointMap::const_iterator mount_point = mount_points_.find(mount_path); in FormatMountedDevice() local
104 if (mount_point == mount_points_.end()) { in FormatMountedDevice()
110 std::string device_path = mount_point->second.source_path; in FormatMountedDevice()
226 const MountPointInfo& mount_point) OVERRIDE { in AddMountPointForTest() argument
227 if (mount_points_.find(mount_point.mount_path) != mount_points_.end()) { in AddMountPointForTest()
231 if (mount_point.mount_type == chromeos::MOUNT_TYPE_DEVICE && in AddMountPointForTest()
232 disks_.find(mount_point.source_path) == disks_.end()) { in AddMountPointForTest()
237 mount_points_.insert(std::make_pair(mount_point.mount_path, mount_point)); in AddMountPointForTest()
668 bool DiskMountManager::AddMountPointForTest(const MountPointInfo& mount_point) { in AddMountPointForTest() argument
Ddisk_mount_manager_unittest.cc108 const DiskMountManager::MountPointInfo& mount_point));
182 void AddTestMountPoint(const TestMountPointInfo& mount_point) { in AddTestMountPoint() argument
184 DiskMountManager::MountPointInfo(mount_point.source_path, in AddTestMountPoint()
185 mount_point.mount_path, in AddTestMountPoint()
186 mount_point.mount_type, in AddTestMountPoint()
187 mount_point.mount_condition))); in AddTestMountPoint()
Ddisk_mount_manager.h273 virtual bool AddMountPointForTest(const MountPointInfo& mount_point);
/external/chromium_org/chrome/installer/mac/
Ddmgdiffer.sh98 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/chromeos/extensions/file_manager/
Dprivate_api_file_system.cc74 const base::FilePath mount_point = drive::util::GetDriveMountPointPath(); in SetDriveMountPointPermissions() local
78 render_view_host->GetProcess()->GetID(), mount_point); in SetDriveMountPointPermissions()
81 if (backend->GetVirtualPath(mount_point, &mount_point_virtual)) in SetDriveMountPointPermissions()
/external/chromium_org/chrome/browser/chromeos/imageburner/
Dburn_device_handler_unittest.cc97 const MountPointInfo& mount_point) OVERRIDE { in AddMountPointForTest() argument