Home
last modified time | relevance | path

Searched refs:Disk (Results 1 – 25 of 60) sorted by relevance

123

/external/chromium_org/chrome/browser/chromeos/imageburner/
Dburn_device_handler_unittest.cc39 void EmulateAddDisk(scoped_ptr<Disk> in_disk) { in EmulateAddDisk()
44 Disk* disk = in_disk.get(); in EmulateAddDisk()
54 scoped_ptr<Disk> disk(RemoveDisk(source_path)); in EmulateRemoveDisk()
75 virtual const Disk* FindDiskBySourcePath( in FindDiskBySourcePath()
96 virtual bool AddDiskForTest(Disk* disk) OVERRIDE { return false; } in AddDiskForTest()
103 bool InsertDisk(const std::string& path, scoped_ptr<Disk> disk) { in InsertDisk()
105 disks_.insert(std::pair<std::string, Disk*>(path, NULL)); in InsertDisk()
114 scoped_ptr<Disk> RemoveDisk(const std::string& path) { in RemoveDisk()
118 return scoped_ptr<Disk>(); in RemoveDisk()
120 scoped_ptr<Disk> result(iter->second); in RemoveDisk()
[all …]
Dburn_device_handler.cc22 bool IsBurnableDevice(const DiskMountManager::Disk& disk) { in IsBurnableDevice()
46 std::vector<DiskMountManager::Disk> BurnDeviceHandler::GetBurnableDevices() { in GetBurnableDevices()
48 std::vector<DiskMountManager::Disk> result; in GetBurnableDevices()
52 const DiskMountManager::Disk& disk = *iter->second; in GetBurnableDevices()
60 const DiskMountManager::Disk* disk) { in OnDiskEvent()
Dburn_device_handler.h26 typedef base::Callback<void(const disks::DiskMountManager::Disk& disk)>
44 std::vector<disks::DiskMountManager::Disk> GetBurnableDevices();
49 const disks::DiskMountManager::Disk* disk) OVERRIDE;
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_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()
158 const disks::DiskMountManager::Disk* disk = in GetDeviceSize()
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/extensions/file_manager/
Ddevice_event_router_unittest.cc19 typedef chromeos::disks::DiskMountManager::Disk Disk; typedef
69 Disk CreateTestDisk(const std::string& device_path, in CreateTestDisk()
71 return Disk(device_path, in CreateTestDisk()
110 const Disk disk1 = CreateTestDisk("/device/test", "/mount/path1"); in TEST_F()
111 const Disk disk1_unmounted = CreateTestDisk("/device/test", ""); in TEST_F()
128 const Disk disk1 = CreateTestDisk("/device/test", "/mount/path1"); in TEST_F()
129 const Disk disk2 = CreateTestDisk("/device/test", "/mount/path2"); in TEST_F()
Ddevice_event_router.h44 virtual void OnDiskAdded(const chromeos::disks::DiskMountManager::Disk& disk,
47 const chromeos::disks::DiskMountManager::Disk& disk) OVERRIDE;
Ddevice_event_router.cc68 const chromeos::disks::DiskMountManager::Disk& disk, in OnDiskAdded()
74 const chromeos::disks::DiskMountManager::Disk& disk) { in OnDiskRemoved()
Dfile_manager_private_apitest.cc204 new DiskMountManager::Disk( in InitMountPoints()
231 const DiskMountManager::Disk* FindVolumeBySourcePath( in FindVolumeBySourcePath()
Devent_router.h115 const chromeos::disks::DiskMountManager::Disk& disk,
118 const chromeos::disks::DiskMountManager::Disk& disk) OVERRIDE;
/external/chromium_org/chromeos/disks/
Dmock_disk_mount_manager.cc72 scoped_ptr<DiskMountManager::Disk> disk1(new DiskMountManager::Disk( in NotifyDeviceInsertEvents()
95 disks_.insert(std::pair<std::string, DiskMountManager::Disk*>( in NotifyDeviceInsertEvents()
105 scoped_ptr<DiskMountManager::Disk> disk2(new DiskMountManager::Disk( in NotifyDeviceInsertEvents()
127 disks_.insert(std::pair<std::string, DiskMountManager::Disk*>( in NotifyDeviceInsertEvents()
133 scoped_ptr<DiskMountManager::Disk> disk(new DiskMountManager::Disk( in NotifyDeviceRemoveEvents()
155 disks_.insert(std::pair<std::string, DiskMountManager::Disk*>( in NotifyDeviceRemoveEvents()
195 Disk* disk = new DiskMountManager::Disk(mount_info.source_path, in CreateDiskEntryForMountDevice()
238 const DiskMountManager::Disk*
252 const DiskMountManager::Disk* disk) { in NotifyDiskChanged()
Ddisk_mount_manager.h52 class Disk {
54 Disk(const std::string& device_path,
74 ~Disk();
172 typedef std::map<std::string, Disk*> DiskMap;
215 virtual void OnDiskEvent(DiskEvent event, const Disk* disk) = 0;
241 virtual const Disk* FindDiskBySourcePath(
283 virtual bool AddDiskForTest(Disk* disk);
Ddisk_mount_manager.cc216 virtual const Disk* FindDiskBySourcePath(const std::string& source_path) in FindDiskBySourcePath()
228 virtual bool AddDiskForTest(Disk* disk) OVERRIDE { in AddDiskForTest()
349 Disk* disk = iter->second; in OnMountCompleted()
447 Disk* disk = new Disk(disk_info.device_path(), in OnGetDeviceProperties()
548 Disk* disk = iter->second; in OnMountEvent()
577 const Disk* disk) { in NotifyDiskStatusUpdate()
639 DiskMountManager::Disk::Disk(const std::string& device_path, in Disk() function in chromeos::disks::DiskMountManager::Disk
681 DiskMountManager::Disk::~Disk() {} in ~Disk()
683 bool DiskMountManager::AddDiskForTest(Disk* disk) { in AddDiskForTest()
Dmock_disk_mount_manager.h32 const DiskMountManager::Disk*(const std::string&));
90 const DiskMountManager::Disk* FindDiskBySourcePathInternal(
103 const DiskMountManager::Disk* disk);
/external/chromium_org/chrome/browser/chromeos/file_manager/
Dfake_disk_mount_manager.h55 virtual const Disk* FindDiskBySourcePath(
72 virtual bool AddDiskForTest(Disk* disk) OVERRIDE;
75 void InvokeDiskEventForTest(DiskEvent event, const Disk* disk);
Dvolume_manager_observer.h24 const chromeos::disks::DiskMountManager::Disk& disk, bool mounting) = 0;
28 const chromeos::disks::DiskMountManager::Disk& disk) = 0;
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()
231 const chromeos::disks::DiskMountManager::Disk kDisk( in TEST_F()
258 const chromeos::disks::DiskMountManager::Disk kEmptyDevicePathDisk( in TEST_F()
268 const chromeos::disks::DiskMountManager::Disk kMediaDisk( in TEST_F()
301 const chromeos::disks::DiskMountManager::Disk kMountedMediaDisk( in TEST_F()
324 const chromeos::disks::DiskMountManager::Disk kNoMediaDisk( in TEST_F()
349 const chromeos::disks::DiskMountManager::Disk kMediaDisk( in TEST_F()
371 const chromeos::disks::DiskMountManager::Disk kMountedDisk( in TEST_F()
396 const chromeos::disks::DiskMountManager::Disk kNotMountedDisk( in TEST_F()
[all …]
Dfake_disk_mount_manager.cc52 const chromeos::disks::DiskMountManager::Disk*
115 bool FakeDiskMountManager::AddDiskForTest(Disk* disk) { in AddDiskForTest()
127 const chromeos::disks::DiskMountManager::Disk* disk) { in InvokeDiskEventForTest()
/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()
202 const std::vector<disks::DiskMountManager::Disk> disks in HandleGetDevices()
/external/chromium_org/components/storage_monitor/
Dstorage_monitor_chromeos.cc28 std::string MakeDeviceUniqueId(const DiskMountManager::Disk& disk) { in MakeDeviceUniqueId()
53 const DiskMountManager::Disk* disk = in GetDeviceInfo()
142 const DiskMountManager::Disk* disk) {} in OnDiskEvent()
Dstorage_monitor_chromeos.h49 const chromeos::disks::DiskMountManager::Disk* disk) OVERRIDE;
/external/glide/third_party/disklrucache/
DREADME.third_party7 Java implementation of a Disk-based LRU cache which specifically targets Android compatibility.
/external/fio/tools/plot/
Dmath.gpm13 set xlabel "Disk"
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/
Dremovable_storage_provider_chromeos.cc28 const DiskMountManager::Disk& disk = *iter->second; in PopulateDeviceList()

123