Home
last modified time | relevance | path

Searched refs:mount_path (Results 1 – 25 of 36) sorted by relevance

12

/external/chromium_org/chromeos/disks/
Ddisk_mount_manager.cc88 virtual void UnmountPath(const std::string& mount_path, in UnmountPath() argument
91 UnmountChildMounts(mount_path); in UnmountPath()
92 cros_disks_client_->Unmount(mount_path, options, in UnmountPath()
97 mount_path), in UnmountPath()
102 mount_path)); in UnmountPath()
106 virtual void FormatMountedDevice(const std::string& mount_path) OVERRIDE { in FormatMountedDevice() argument
107 MountPointMap::const_iterator mount_point = mount_points_.find(mount_path); in FormatMountedDevice()
109 LOG(ERROR) << "Mount point with path \"" << mount_path << "\" not found."; in FormatMountedDevice()
110 OnFormatCompleted(FORMAT_ERROR_UNKNOWN, mount_path); in FormatMountedDevice()
122 UnmountPath(disk->second->mount_path(), in FormatMountedDevice()
[all …]
Ddisk_mount_manager_unittest.cc26 const char* mount_path; member
50 const char* mount_path; member
146 bool HasMountPoint(const std::string& mount_path) { in HasMountPoint() argument
149 return mount_points.find(mount_path) != mount_points.end(); in HasMountPoint()
157 disk.mount_path, in AddTestDisk()
184 mount_point.mount_path, in AddTestMountPoint()
241 Field(&DiskMountManager::MountPointInfo::mount_path, in TEST_F()
285 Field(&DiskMountManager::MountPointInfo::mount_path, in TEST_F()
339 Field(&DiskMountManager::MountPointInfo::mount_path, in TEST_F()
395 Field(&DiskMountManager::MountPointInfo::mount_path, in TEST_F()
[all …]
Ddisk_mount_manager.h55 const std::string& mount_path,
82 const std::string& mount_path() const { return mount_path_; } in mount_path() function
144 void set_mount_path(const std::string& mount_path) { in set_mount_path() argument
145 mount_path_ = mount_path; in set_mount_path()
179 std::string mount_path; member
190 mount_path(mount), in MountPointInfo()
268 virtual void UnmountPath(const std::string& mount_path,
274 virtual void FormatMountedDevice(const std::string& mount_path) = 0;
/external/chromium_org/chrome/browser/chromeos/file_system_provider/
Dnotification_manager.cc70 file_system_info_.mount_path().value(), false /* by_user */); in ~NotificationManager()
83 file_system_info_.mount_path().value(), CreateNotification()); in ShowUnresponsiveNotification()
92 file_system_info_.mount_path().value(), CreateNotification()); in HideUnresponsiveNotification()
97 file_system_info_.mount_path().value(), false /* by_user */); in HideUnresponsiveNotification()
116 file_system_info_.mount_path().value(), CreateNotification()); in SetAppImage()
132 file_system_info_.mount_path().value(), in CreateNotification()
142 file_system_info_.mount_path().value()), in CreateNotification()
Dmount_path_util_unittest.cc46 const base::FilePath mount_path = file_system_info.mount_path(); in CreateFileSystemURL() local
55 base::FilePath(mount_path.BaseName().Append(relative_path))); in CreateFileSystemURL()
110 const base::FilePath mount_path = in TEST_F() local
115 mount_path.Append(base::FilePath(file_path.value().substr(1))); in TEST_F()
117 EXPECT_TRUE(IsFileSystemProviderLocalPath(mount_path)); in TEST_F()
252 const base::FilePath kLocalFilePath = file_system_info.mount_path().Append( in TEST_F()
275 const base::FilePath kLocalFilePath = file_system_info.mount_path(); in TEST_F()
Dprovided_file_system_info.cc17 const base::FilePath& mount_path) in ProvidedFileSystemInfo() argument
22 mount_path_(mount_path) { in ProvidedFileSystemInfo()
Dprovided_file_system_info.h23 const base::FilePath& mount_path);
31 const base::FilePath& mount_path() const { return mount_path_; } in mount_path() function
Dservice.cc135 const base::FilePath& mount_path = in MountFileSystem() local
137 const std::string mount_point_name = mount_path.BaseName().AsUTF8Unsafe(); in MountFileSystem()
142 mount_path)) { in MountFileSystem()
159 extension_id, file_system_id, display_name, writable, mount_path); in MountFileSystem()
202 file_system_info.mount_path().BaseName().value(); in UnmountFileSystem()
Dprovided_file_system_unittest.cc90 const base::FilePath mount_path = in SetUp() local
93 kExtensionId, kFileSystemId, kDisplayName, mount_path)); in SetUp()
/external/chromium_org/chrome/browser/chromeos/file_manager/
Dfake_disk_mount_manager.cc24 const std::string& mount_path, in UnmountRequest() argument
26 : mount_path(mount_path), in UnmountRequest()
90 void FakeDiskMountManager::UnmountPath(const std::string& mount_path, in UnmountPath() argument
93 unmount_requests_.push_back(UnmountRequest(mount_path, options)); in UnmountPath()
95 MountPointMap::iterator iter = mount_points_.find(mount_path); in UnmountPath()
107 void FakeDiskMountManager::FormatMountedDevice(const std::string& mount_path) { in FormatMountedDevice() argument
Dfake_disk_mount_manager.h34 UnmountRequest(const std::string& mount_path,
37 std::string mount_path; member
64 virtual void UnmountPath(const std::string& mount_path,
67 virtual void FormatMountedDevice(const std::string& mount_path) OVERRIDE;
Dvolume_manager.cc119 volume_info.mount_path.BaseName().AsUTF8Unsafe()); in GenerateVolumeId()
131 volume_info.mount_path = drive_path; in CreateDriveVolumeInfo()
144 volume_info.mount_path = downloads_path; in CreateDownloadsVolumeInfo()
159 volume_info.mount_path = path; in CreateTestingVolumeInfo()
173 volume_info.mount_path = base::FilePath(mount_point.mount_path); in CreateVolumeInfoFromMountPointInfo()
175 volume_info.volume_label = volume_info.mount_path.BaseName().AsUTF8Unsafe(); in CreateVolumeInfoFromMountPointInfo()
201 volume_info.mount_path = file_system_info.mount_path(); in CreateProvidedFileSystemVolumeInfo()
439 if (disk->mount_path().empty() && disk->has_media() && in OnDiskEvent()
460 if (!disk->mount_path().empty()) { in OnDiskEvent()
462 disk->mount_path(), in OnDiskEvent()
[all …]
Dvolume_manager_unittest.cc386 EXPECT_EQ("mount_path", unmount_request.mount_path); in TEST_F()
692 EXPECT_EQ("mount1", unmount_request1.mount_path); in TEST_F()
696 EXPECT_EQ("mount2", unmount_request2.mount_path); in TEST_F()
791 EXPECT_EQ("/archive/1", volume_info.mount_path.AsUTF8Unsafe()); in TEST_F()
804 EXPECT_EQ("/archive/2", volume_info.mount_path.AsUTF8Unsafe()); in TEST_F()
/external/chromium_org/components/storage_monitor/
Dstorage_monitor_chromeos.cc71 mount_info.mount_path, in GetDeviceInfo()
83 return MediaStorageUtil::HasDcim(base::FilePath(mount_info.mount_path)); in CheckMountedPathOnFileThread()
164 if (ContainsKey(mount_map_, mount_info.mount_path)) { in OnMountEvent()
177 MountMap::iterator it = mount_map_.find(mount_info.mount_path); in OnMountEvent()
250 std::string mount_path; in EjectDevice() local
254 mount_path = info_it->first; in EjectDevice()
257 if (mount_path.empty()) { in EjectDevice()
268 manager->UnmountPath(mount_path, chromeos::UNMOUNT_OPTIONS_NONE, in EjectDevice()
282 if (ContainsKey(mount_map_, mount_info.mount_path)) { in AddMountedPath()
297 mount_map_.insert(std::make_pair(mount_info.mount_path, info)); in AddMountedPath()
Dstorage_monitor_chromeos_unittest.cc322 base::FilePath mount_path = CreateMountPoint(kMountPointA, false); in TEST_F() local
324 ASSERT_FALSE(mount_path.empty()); in TEST_F()
327 mount_path.value(), in TEST_F()
344 EXPECT_EQ(mount_path.value(), observer().last_attached().location()); in TEST_F()
350 base::FilePath mount_path = CreateMountPoint(kMountPointA, true); in TEST_F() local
352 ASSERT_FALSE(mount_path.empty()); in TEST_F()
357 mount_path.value(), in TEST_F()
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
Ddevice_event_router_unittest.cc70 const std::string& mount_path) { in CreateTestDisk() argument
72 mount_path, in CreateTestDisk()
96 const std::string& mount_path) { in CreateTestVolumeInfo() argument
99 volume_info.mount_path = base::FilePath(mount_path); in CreateTestVolumeInfo()
Dfile_manager_private_apitest.cc41 std::string mount_path; member
190 kTestMountPoints[i].mount_path, in InitMountPoints()
192 kTestMountPoints[i].mount_path, in InitMountPoints()
206 kTestMountPoints[i].mount_path, in InitMountPoints()
Dprivate_api_mount.cc93 volumes[i].mount_path.IsParent(path)) { in RunAsync()
201 volume_info.mount_path.value(), in RunAsync()
243 log_string += volume_info_list[i].mount_path.AsUTF8Unsafe(); in RunAsync()
Dprivate_api_file_system.cc53 void GetSizeStatsOnBlockingPool(const std::string& mount_path, in GetSizeStatsOnBlockingPool() argument
57 if (HANDLE_EINTR(statvfs(mount_path.c_str(), &stat)) == 0) { in GetSizeStatsOnBlockingPool()
304 volume_info.mount_path, in RunAsync()
440 volume_info.mount_path.value(), in RunAsync()
534 volume_info.mount_path.AsUTF8Unsafe()); in RunAsync()
/external/chromium_org/chromeos/dbus/
Dcros_disks_client.h113 const std::string& mount_path() const { return mount_path_; } in mount_path() function
202 const std::string& mount_path) in MountEntry()
206 mount_path_(mount_path) { in MountEntry()
212 const std::string& mount_path() const { return mount_path_; } in mount_path() function
Dfake_cros_disks_client.cc109 const std::string& mount_path) { in SendMountCompletedEvent() argument
113 MountEntry(error_code, source_path, mount_type, mount_path)); in SendMountCompletedEvent()
Dfake_cros_disks_client.h61 const std::string& mount_path);
Dcros_disks_client.cc83 std::string mount_path; in ReadMountEntryFromDbus() local
87 !reader->PopString(&mount_path)) { in ReadMountEntryFromDbus()
91 static_cast<MountType>(mount_type), mount_path); in ReadMountEntryFromDbus()
/external/chromium_org/chrome/browser/chromeos/app_mode/
Dkiosk_external_updater.cc139 << 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()
/external/chromium_org/chrome/browser/chromeos/imageburner/
Dburn_device_handler_unittest.cc89 virtual void UnmountPath(const std::string& mount_path, in UnmountPath() argument
92 virtual void FormatMountedDevice(const std::string& mount_path) OVERRIDE {} in FormatMountedDevice() argument

12