Home
last modified time | relevance | path

Searched refs:disks (Results 1 – 25 of 78) sorted by relevance

1234

/external/chromium_org/chrome/browser/chromeos/imageburner/
Dburn_device_handler.h23 class BurnDeviceHandler : public disks::DiskMountManager::Observer {
26 typedef base::Callback<void(const disks::DiskMountManager::Disk& disk)>
31 explicit BurnDeviceHandler(disks::DiskMountManager* disk_mount_manager);
44 std::vector<disks::DiskMountManager::Disk> GetBurnableDevices();
48 disks::DiskMountManager::DiskEvent event,
49 const disks::DiskMountManager::Disk* disk) OVERRIDE;
51 disks::DiskMountManager::DeviceEvent event,
54 disks::DiskMountManager::MountEvent event,
56 const disks::DiskMountManager::MountPointInfo& mount_info) OVERRIDE;
58 disks::DiskMountManager::FormatEvent event,
[all …]
Dburn_device_handler.cc17 using disks::DiskMountManager;
47 const DiskMountManager::DiskMap& disks = disk_mount_manager_->disks(); in GetBurnableDevices() local
49 for (DiskMountManager::DiskMap::const_iterator iter = disks.begin(); in GetBurnableDevices()
50 iter != disks.end(); in GetBurnableDevices()
Dburn_controller.cc45 const disks::DiskMountManager::Disk& disk) OVERRIDE { in OnDeviceAdded()
51 const disks::DiskMountManager::Disk& disk) OVERRIDE { in OnDeviceRemoved()
109 virtual std::vector<disks::DiskMountManager::Disk> GetBurnableDevices() in GetBurnableDevices()
156 disks::DiskMountManager* disk_mount_manager = in GetDeviceSize()
157 disks::DiskMountManager::GetInstance(); in GetDeviceSize()
158 const disks::DiskMountManager::Disk* disk = in GetDeviceSize()
Dburn_device_handler_unittest.cc29 class FakeDiskMountManager : public disks::DiskMountManager {
70 virtual const DiskMap& disks() const OVERRIDE { in disks() function in chromeos::imageburner::__anonec5dcb670111::FakeDiskMountManager
133 std::string* out_path, const disks::DiskMountManager::Disk& disk) { in CopyDevicePathCallback()
149 static scoped_ptr<disks::DiskMountManager::Disk> CreateMockDisk( in CreateMockDisk()
155 return scoped_ptr<disks::DiskMountManager::Disk>( in CreateMockDisk()
156 new disks::DiskMountManager::Disk( in CreateMockDisk()
217 const std::vector<disks::DiskMountManager::Disk>& burnable_devices = in TEST_F()
Dburn_controller.h36 virtual void OnDeviceAdded(const disks::DiskMountManager::Disk& disk) = 0;
38 virtual void OnDeviceRemoved(const disks::DiskMountManager::Disk& disk) = 0;
63 virtual std::vector<disks::DiskMountManager::Disk> GetBurnableDevices() = 0;
Dburn_manager.h221 virtual void OnDeviceAdded(const disks::DiskMountManager::Disk& disk) = 0;
224 virtual void OnDeviceRemoved(const disks::DiskMountManager::Disk& disk) = 0;
268 std::vector<disks::DiskMountManager::Disk> GetBurnableDevices();
368 void NotifyDeviceAdded(const disks::DiskMountManager::Disk& disk);
369 void NotifyDeviceRemoved(const disks::DiskMountManager::Disk& disk);
/external/chromium_org/chrome/browser/chromeos/file_manager/
Dvolume_manager_unittest.cc63 virtual void OnDiskAdded(const chromeos::disks::DiskMountManager::Disk& disk, in OnDiskAdded()
73 const chromeos::disks::DiskMountManager::Disk& disk) OVERRIDE { in OnDiskRemoved()
144 chromeos::disks::DiskMountManager* disk_manager) in ProfileEnvironment()
231 const chromeos::disks::DiskMountManager::Disk kDisk( in TEST_F()
237 chromeos::disks::DiskMountManager::DISK_ADDED, &kDisk); in TEST_F()
241 chromeos::disks::DiskMountManager::DISK_REMOVED, &kDisk); in TEST_F()
245 chromeos::disks::DiskMountManager::DISK_CHANGED, &kDisk); in TEST_F()
258 const chromeos::disks::DiskMountManager::Disk kEmptyDevicePathDisk( in TEST_F()
264 chromeos::disks::DiskMountManager::DISK_ADDED, &kEmptyDevicePathDisk); in TEST_F()
268 const chromeos::disks::DiskMountManager::Disk kMediaDisk( in TEST_F()
[all …]
Dvolume_manager.h94 chromeos::disks::MountCondition mount_condition;
120 public chromeos::disks::DiskMountManager::Observer,
128 chromeos::disks::DiskMountManager* disk_mount_manager,
171 chromeos::disks::DiskMountManager::DiskEvent event,
172 const chromeos::disks::DiskMountManager::Disk* disk) OVERRIDE;
174 chromeos::disks::DiskMountManager::DeviceEvent event,
177 chromeos::disks::DiskMountManager::MountEvent event,
179 const chromeos::disks::DiskMountManager::MountPointInfo& mount_info)
182 chromeos::disks::DiskMountManager::FormatEvent event,
217 chromeos::disks::DiskMountManager* disk_mount_manager_; // Not owned.
Dvolume_manager.cc132 volume_info.mount_condition = chromeos::disks::MOUNT_CONDITION_NONE; in CreateDriveVolumeInfo()
145 volume_info.mount_condition = chromeos::disks::MOUNT_CONDITION_NONE; in CreateDownloadsVolumeInfo()
160 volume_info.mount_condition = chromeos::disks::MOUNT_CONDITION_NONE; in CreateTestingVolumeInfo()
168 const chromeos::disks::DiskMountManager::MountPointInfo& mount_point, in CreateVolumeInfoFromMountPointInfo()
169 const chromeos::disks::DiskMountManager::Disk* disk) { in CreateVolumeInfoFromMountPointInfo()
202 volume_info.mount_condition = chromeos::disks::MOUNT_CONDITION_NONE; in CreateProvidedFileSystemVolumeInfo()
221 mount_condition(chromeos::disks::MOUNT_CONDITION_NONE), in VolumeInfo()
233 chromeos::disks::DiskMountManager* disk_mount_manager, in VolumeManager()
422 chromeos::disks::DiskMountManager::DiskEvent event, in OnDiskEvent()
423 const chromeos::disks::DiskMountManager::Disk* disk) { in OnDiskEvent()
[all …]
Dfake_disk_mount_manager.cc47 const chromeos::disks::DiskMountManager::DiskMap&
48 FakeDiskMountManager::disks() const { in disks() function in file_manager::FakeDiskMountManager
52 const chromeos::disks::DiskMountManager::Disk*
61 const chromeos::disks::DiskMountManager::MountPointMap&
82 chromeos::disks::MOUNT_CONDITION_NONE); in MountPath()
126 chromeos::disks::DiskMountManager::DiskEvent event, in InvokeDiskEventForTest()
127 const chromeos::disks::DiskMountManager::Disk* disk) { in InvokeDiskEventForTest()
128 FOR_EACH_OBSERVER(chromeos::disks::DiskMountManager::Observer, in InvokeDiskEventForTest()
Dvolume_manager_observer.h24 const chromeos::disks::DiskMountManager::Disk& disk, bool mounting) = 0;
28 const chromeos::disks::DiskMountManager::Disk& disk) = 0;
Dfake_disk_mount_manager.h19 class FakeDiskMountManager : public chromeos::disks::DiskMountManager {
54 virtual const DiskMap& disks() const OVERRIDE;
/external/chromium_org/components/storage_monitor/
Dstorage_monitor_chromeos.h31 public chromeos::disks::DiskMountManager::Observer {
48 chromeos::disks::DiskMountManager::DiskEvent event,
49 const chromeos::disks::DiskMountManager::Disk* disk) OVERRIDE;
51 chromeos::disks::DiskMountManager::DeviceEvent event,
54 chromeos::disks::DiskMountManager::MountEvent event,
56 const chromeos::disks::DiskMountManager::MountPointInfo& mount_info)
59 chromeos::disks::DiskMountManager::FormatEvent event,
84 const chromeos::disks::DiskMountManager::MountPointInfo& mount_info,
Dstorage_monitor_chromeos_unittest.cc28 using chromeos::disks::DiskMountManager;
134 chromeos::disks::MockDiskMountManager* disk_mount_manager_mock_;
163 disk_mount_manager_mock_ = new chromeos::disks::MockDiskMountManager(); in SetUp()
270 chromeos::disks::MOUNT_CONDITION_NONE); in TEST_F()
297 chromeos::disks::MOUNT_CONDITION_NONE); in TEST_F()
329 chromeos::disks::MOUNT_CONDITION_NONE); in TEST_F()
359 chromeos::disks::MOUNT_CONDITION_NONE); in TEST_F()
387 chromeos::disks::MOUNT_CONDITION_UNSUPPORTED_FILESYSTEM; in TEST_F()
407 chromeos::disks::MOUNT_CONDITION_NONE); in TEST_F()
434 chromeos::disks::MOUNT_CONDITION_NONE); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
Dfile_manager_private_apitest.cc14 using chromeos::disks::DiskMountManager;
43 chromeos::disks::MountCondition mount_condition;
127 disk_mount_manager_mock_ = new chromeos::disks::MockDiskMountManager; in SetUpInProcessBrowserTestFixture()
128 chromeos::disks::DiskMountManager::InitializeForTesting( in SetUpInProcessBrowserTestFixture()
135 EXPECT_CALL(*disk_mount_manager_mock_, disks()) in SetUpInProcessBrowserTestFixture()
143 chromeos::disks::DiskMountManager::Shutdown(); in TearDownInProcessBrowserTestFixture()
157 chromeos::disks::MOUNT_CONDITION_NONE, in InitMountPoints()
165 chromeos::disks::MOUNT_CONDITION_NONE, in InitMountPoints()
173 chromeos::disks::MOUNT_CONDITION_NONE, in InitMountPoints()
183 chromeos::disks::MOUNT_CONDITION_NONE, in InitMountPoints()
[all …]
Ddevice_event_router.h44 virtual void OnDiskAdded(const chromeos::disks::DiskMountManager::Disk& disk,
47 const chromeos::disks::DiskMountManager::Disk& disk) OVERRIDE;
/external/e2fsprogs/misc/
Dbase_device.tst12 /dev/disks/disk2/part2 /dev/disks/disk2
13 /dev/disks/disk2/ /dev/disks/disk2
14 /dev/disks/disk2 /dev/disks/disk2
/external/chromium_org/chrome/browser/chromeos/app_mode/
Dkiosk_external_updater.h24 class KioskExternalUpdater : public disks::DiskMountManager::Observer,
56 virtual void OnDiskEvent(disks::DiskMountManager::DiskEvent event,
57 const disks::DiskMountManager::Disk* disk) OVERRIDE;
58 virtual void OnDeviceEvent(disks::DiskMountManager::DeviceEvent event,
61 disks::DiskMountManager::MountEvent event,
63 const disks::DiskMountManager::MountPointInfo& mount_info) OVERRIDE;
64 virtual void OnFormatEvent(disks::DiskMountManager::FormatEvent event,
Dkiosk_external_updater.cc105 DCHECK(disks::DiskMountManager::GetInstance()); in KioskExternalUpdater()
106 disks::DiskMountManager::GetInstance()->AddObserver(this); in KioskExternalUpdater()
110 if (disks::DiskMountManager::GetInstance()) in ~KioskExternalUpdater()
111 disks::DiskMountManager::GetInstance()->RemoveObserver(this); in ~KioskExternalUpdater()
115 disks::DiskMountManager::DiskEvent event, in OnDiskEvent()
116 const disks::DiskMountManager::Disk* disk) { in OnDiskEvent()
120 disks::DiskMountManager::DeviceEvent event, in OnDeviceEvent()
125 disks::DiskMountManager::MountEvent event, in OnMountEvent()
127 const disks::DiskMountManager::MountPointInfo& mount_info) { in OnMountEvent()
134 if (event == disks::DiskMountManager::MOUNTING) { in OnMountEvent()
[all …]
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/
Dremovable_storage_provider_chromeos.cc13 using chromeos::disks::DiskMountManager;
23 const DiskMountManager::DiskMap& disks = disk_mount_manager->disks(); in PopulateDeviceList() local
25 for (DiskMountManager::DiskMap::const_iterator iter = disks.begin(); in PopulateDeviceList()
26 iter != disks.end(); in PopulateDeviceList()
Doperation_chromeos.cc15 using chromeos::disks::DiskMountManager;
73 const DiskMountManager::DiskMap& disks = in UnmountVolumesCallback() local
74 DiskMountManager::GetInstance()->disks(); in UnmountVolumesCallback()
76 disks.find(device_path_.value()); in UnmountVolumesCallback()
78 if (iter == disks.end()) { in UnmountVolumesCallback()
Dtest_utils.cc171 chromeos::disks::DiskMountManager::InitializeForTesting(disk_manager); in SetUp()
175 chromeos::disks::DiskMountManager::MountPointInfo( in SetUp()
179 chromeos::disks::MOUNT_CONDITION_NONE), in SetUp()
202 chromeos::disks::DiskMountManager::Shutdown(); in TearDown()
/external/chromium_org/chrome/browser/ui/webui/chromeos/imageburner/
Dimageburner_ui.cc130 virtual void OnDeviceAdded(const disks::DiskMountManager::Disk& disk) in OnDeviceAdded()
138 virtual void OnDeviceRemoved(const disks::DiskMountManager::Disk& disk) in OnDeviceRemoved()
189 void CreateDiskValue(const disks::DiskMountManager::Disk& disk, in CreateDiskValue()
197 disks::DiskMountManager::DeviceTypeToString(disk.device_type())); in CreateDiskValue()
202 const std::vector<disks::DiskMountManager::Disk> disks in HandleGetDevices() local
205 for (size_t i = 0; i != disks.size(); ++i) { in HandleGetDevices()
207 CreateDiskValue(disks[i], disk_value); in HandleGetDevices()
/external/fio/tools/
Dgenfio51 one test after anoter but all disks at the same time
55 -d disk1[,disk2,disk3,..] : Run the tests on the selected disks
77 ETA ~ 4 tests * 4 disks * 100 seconds
79 ETA ~ 4 tests * 4 disks * 100 seconds
81 ETA ~ 4 tests * 4 disks * 100 seconds
/external/chromium_org/chromeos/disks/
Dmock_disk_mount_manager.h17 namespace disks {
30 MOCK_CONST_METHOD0(disks, const DiskMountManager::DiskMap&(void));

1234