/external/chromium_org/chromeos/disks/ |
D | disk_mount_manager.cc | 88 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 …]
|
D | disk_mount_manager_unittest.cc | 26 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 …]
|
D | disk_mount_manager.h | 55 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/ |
D | notification_manager.cc | 70 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()
|
D | mount_path_util_unittest.cc | 46 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()
|
D | provided_file_system_info.cc | 17 const base::FilePath& mount_path) in ProvidedFileSystemInfo() argument 22 mount_path_(mount_path) { in ProvidedFileSystemInfo()
|
D | provided_file_system_info.h | 23 const base::FilePath& mount_path); 31 const base::FilePath& mount_path() const { return mount_path_; } in mount_path() function
|
D | service.cc | 135 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()
|
D | provided_file_system_unittest.cc | 90 const base::FilePath mount_path = in SetUp() local 93 kExtensionId, kFileSystemId, kDisplayName, mount_path)); in SetUp()
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
D | fake_disk_mount_manager.cc | 24 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
|
D | fake_disk_mount_manager.h | 34 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;
|
D | volume_manager.cc | 119 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 …]
|
D | volume_manager_unittest.cc | 386 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/ |
D | storage_monitor_chromeos.cc | 71 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()
|
D | storage_monitor_chromeos_unittest.cc | 322 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/ |
D | device_event_router_unittest.cc | 70 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()
|
D | file_manager_private_apitest.cc | 41 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()
|
D | private_api_mount.cc | 93 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()
|
D | private_api_file_system.cc | 53 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/ |
D | cros_disks_client.h | 113 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
|
D | fake_cros_disks_client.cc | 109 const std::string& mount_path) { in SendMountCompletedEvent() argument 113 MountEntry(error_code, source_path, mount_type, mount_path)); in SendMountCompletedEvent()
|
D | fake_cros_disks_client.h | 61 const std::string& mount_path);
|
D | cros_disks_client.cc | 83 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/ |
D | kiosk_external_updater.cc | 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()
|
/external/chromium_org/chrome/browser/chromeos/imageburner/ |
D | burn_device_handler_unittest.cc | 89 virtual void UnmountPath(const std::string& mount_path, in UnmountPath() argument 92 virtual void FormatMountedDevice(const std::string& mount_path) OVERRIDE {} in FormatMountedDevice() argument
|