/system/core/toolbox/ |
umount.c | 33 char mount_path[256]; local 45 count = fscanf(f, "%255s %255s %255s\n", device, mount_path, rest); 47 if (is_loop(device) && strcmp(path, mount_path) == 0) {
|
/external/chromium/chrome/browser/chromeos/extensions/ |
file_browser_event_router.cc | 42 result->SetString("mountPath", disk->mount_path()); 150 if (disk->mount_path().empty()) { 179 if (!disk->mount_path().empty()) { 185 disk->mount_path())); 188 FileManagerUtil::ShowFullTabUrl(profile_, FilePath(disk->mount_path())); 216 std::string mount_path; local
|
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/ |
file_browser_private_apitest.cc | 39 std::string mount_path; member in struct:__anon6830::TestMountPoint 183 kTestMountPoints[i].mount_path, 185 kTestMountPoints[i].mount_path, 199 kTestMountPoints[i].mount_path,
|
private_api_mount.cc | 47 base::FilePath(mount_point_info.mount_path), 185 std::string mount_path; local 186 if (!args_->GetString(0, &mount_path)) { 191 "%s[%d] called. (mount_path: '%s')", 194 mount_path.c_str()); 198 file_paths.push_back(GURL(mount_path));
|
private_api_file_system.cc | 53 const DiskMountManager::Disk* GetVolumeAsDisk(const std::string& mount_path) { 57 disk_mount_manager->mount_points().find(mount_path); 73 std::string mount_path; local 74 if (!volume->mount_path().empty()) { 77 profile, extension_id, base::FilePath(volume->mount_path()), 79 mount_path = relative_mount_path.value(); 83 volume_info->SetString("mountPath", mount_path); 131 // Retrieves total and remaining available size on |mount_path|. 132 void GetSizeStatsOnBlockingPool(const std::string& mount_path, 136 if (HANDLE_EINTR(statvfs(mount_path.c_str(), &stat)) == 0) [all...] |
/external/chromium_org/chrome/browser/storage_monitor/ |
storage_monitor_chromeos.cc | 74 mount_info.mount_path, 87 base::FilePath(mount_info.mount_path)); 173 if (ContainsKey(mount_map_, mount_info.mount_path)) { 186 MountMap::iterator it = mount_map_.find(mount_info.mount_path); 250 std::string mount_path; local 254 mount_path = info_it->first; 257 if (mount_path.empty()) { 268 manager->UnmountPath(mount_path, chromeos::UNMOUNT_OPTIONS_NONE, 281 if (ContainsKey(mount_map_, mount_info.mount_path)) { 296 mount_map_.insert(std::make_pair(mount_info.mount_path, info)) [all...] |
storage_monitor_chromeos_unittest.cc | 317 base::FilePath mount_path = CreateMountPoint(kMountPointA, false); local 319 ASSERT_FALSE(mount_path.empty()); 321 mount_path.value(), 333 EXPECT_EQ(mount_path.value(), observer().last_attached().location()); 339 base::FilePath mount_path = CreateMountPoint(kMountPointA, true); local 341 ASSERT_FALSE(mount_path.empty()); 345 mount_path.value(),
|
/external/chromium/chrome/browser/chromeos/cros/ |
mount_library.h | 39 const std::string& mount_path, 54 const std::string& mount_path() const { return mount_path_; } function in class:chromeos::MountLibrary::Disk 78 void set_mount_path(const char* mount_path) { mount_path_ = mount_path; }
|
/external/chromium_org/chromeos/dbus/ |
cros_disks_client.cc | 328 std::string mount_path; local 332 !reader.PopString(&mount_path)) { 337 static_cast<MountType>(mount_type), mount_path); local
|
cros_disks_client.h | 115 const std::string& mount_path() const { return mount_path_; } function in class:chromeos::DiskInfo 217 const std::string& mount_path)
|
/external/chromium_org/chromeos/disks/ |
disk_mount_manager_unittest.cc | 27 const char* mount_path; member in struct:__anon9683::TestDiskInfo 50 const char* mount_path; member in struct:__anon9683::TestMountPointInfo 59 "/device/mount_path", 84 "/archive/mount_path", 90 "/device/mount_path", 147 bool HasMountPoint(const std::string& mount_path) { 150 return mount_points.find(mount_path) != mount_points.end(); 158 disk.mount_path, 184 mount_point.mount_path, 223 DiskMountManager::GetInstance()->FormatMountedDevice("/archive/mount_path"); [all...] |
disk_mount_manager.cc | 84 virtual void UnmountPath(const std::string& mount_path, 87 UnmountChildMounts(mount_path); variable 88 cros_disks_client_->Unmount(mount_path, options, 93 mount_path), 98 mount_path)); 102 virtual void FormatMountedDevice(const std::string& mount_path) OVERRIDE { 103 MountPointMap::const_iterator mount_point = mount_points_.find(mount_path); 105 LOG(ERROR) << "Mount point with path \"" << mount_path << "\" not found."; 106 OnFormatDevice(mount_path, false); 118 UnmountPath(disk->second->mount_path(), 257 std::string mount_path = mount_path_in; local 282 OnUnmountPath(UnmountPathCallback(), true, mount_path); local [all...] |
disk_mount_manager.h | 55 const std::string& mount_path, 81 const std::string& mount_path() const { return mount_path_; } function in class:chromeos::disks::DiskMountManager::Disk 140 void set_mount_path(const std::string& mount_path) { 141 mount_path_ = mount_path; 174 std::string mount_path; member in struct:chromeos::disks::DiskMountManager::MountPointInfo 185 mount_path(mount), 191 // MountPointMap key is mount_path. 257 virtual void UnmountPath(const std::string& mount_path, 262 // Example: mount_path: /media/VOLUME_LABEL 263 virtual void FormatMountedDevice(const std::string& mount_path) = 0 [all...] |
/system/vold/ |
Volume.cpp | 292 char mount_path[256]; local 304 sscanf(line, "%255s %255s %255s\n", device, mount_path, rest); 305 if (!strcmp(mount_path, path)) {
|
VolumeManager.cpp | 1187 char mount_path[256]; local 1528 char mount_path[256]; local [all...] |