Searched defs:device_location (Results 1 - 11 of 11) sorted by relevance

/external/chromium_org/chrome/browser/media_galleries/win/
H A Dportable_device_map_service.cc25 const base::string16& device_location,
28 DCHECK(!device_location.empty());
31 device_map_[device_location] = PortableDeviceInfo(device);
35 const base::string16& device_location) {
37 DCHECK(!device_location.empty());
39 PortableDeviceMap::iterator it = device_map_.find(device_location);
45 const base::string16& device_location) {
47 DCHECK(!device_location.empty());
49 PortableDeviceMap::const_iterator it = device_map_.find(device_location);
55 const base::string16& device_location) {
24 AddPortableDevice( const base::string16& device_location, IPortableDevice* device) argument
34 MarkPortableDeviceForDeletion( const base::string16& device_location) argument
44 RemovePortableDevice( const base::string16& device_location) argument
54 GetPortableDevice( const base::string16& device_location) argument
[all...]
H A Dmtp_device_delegate_impl_win.cc301 const base::string16& device_location,
311 callback.Run(new MTPDeviceDelegateImplWin(device_location,
317 const base::string16& device_location,
320 DCHECK(!device_location.empty());
327 device_location,
331 device_location,
300 OnGetStorageInfoCreateDelegate( const base::string16& device_location, const CreateMTPDeviceAsyncDelegateCallback& callback, base::string16* pnp_device_id, base::string16* storage_object_id, bool succeeded) argument
316 CreateMTPDeviceAsyncDelegate( const base::string16& device_location, const CreateMTPDeviceAsyncDelegateCallback& callback) argument
/external/chromium_org/chrome/browser/media_galleries/fileapi/
H A Dmtp_device_map_service.cc28 const base::FilePath::StringType& device_location,
32 if (!ContainsKey(mtp_device_usage_map_, device_location)) {
36 CreateMTPDeviceAsyncDelegate(device_location,
38 base::Unretained(this), device_location));
39 mtp_device_usage_map_[device_location] = 0;
42 mtp_device_usage_map_[device_location]++;
43 mtp_device_map_[fsid] = device_location;
51 base::FilePath::StringType device_location = it->second; local
54 mtp_device_usage_map_.find(device_location);
56 mtp_device_usage_map_[device_location]
27 RegisterMTPFileSystem( const base::FilePath::StringType& device_location, const std::string& fsid) argument
64 AddAsyncDelegate( const base::FilePath::StringType& device_location, MTPDeviceAsyncDelegate* delegate) argument
75 RemoveAsyncDelegate( const base::FilePath::StringType& device_location) argument
93 const base::FilePath::StringType& device_location = device_path.value(); local
[all...]
/external/chromium_org/components/storage_monitor/
H A Dtest_storage_monitor.cc98 base::string16* device_location,
96 GetMTPStorageInfoFromDeviceId( const std::string& storage_device_id, base::string16* device_location, base::string16* storage_object_id) const argument
H A Dtest_portable_device_watcher_win.cc87 base::string16* device_location,
92 if (device_location)
93 *device_location = base::UTF8ToUTF16("\\\\" + storage_unique_id);
134 base::string16* device_location,
139 *device_location = kMTPDeviceWithValidInfo;
146 storage_device_id, device_location, storage_object_id);
84 GetMTPStorageDetails( const base::string16& pnp_device_id, const base::string16& storage_object_id, base::string16* device_location, std::string* unique_id, base::string16* name) argument
132 GetMTPStorageInfoFromDeviceId( const std::string& storage_device_id, base::string16* device_location, base::string16* storage_object_id) const argument
H A Dstorage_info.cc57 const base::FilePath::StringType& device_location,
63 location_(device_location),
56 StorageInfo(const std::string& device_id_in, const base::FilePath::StringType& device_location, const base::string16& label, const base::string16& vendor, const base::string16& model, uint64 size_in_bytes) argument
H A Dstorage_monitor_win.cc123 base::string16* device_location,
129 storage_device_id, device_location, storage_object_id));
121 GetMTPStorageInfoFromDeviceId( const std::string& storage_device_id, base::string16* device_location, base::string16* storage_object_id) const argument
H A Dstorage_monitor_chromeos_unittest.cc115 uint64 GetDeviceStorageSize(const std::string& device_location);
225 const std::string& device_location) {
227 if (!monitor_->GetStorageInfoForPath(base::FilePath(device_location), &info))
224 GetDeviceStorageSize( const std::string& device_location) argument
H A Dportable_device_watcher_win.cc515 base::string16* device_location,
518 DCHECK(device_location);
534 *device_location = storage_map_iter->second.location();
562 base::string16 device_location; // The device_map_ key. local
565 &device_location, &storage_object_id)) {
569 HandleDeviceDetachEvent(device_location);
513 GetMTPStorageInfoFromDeviceId( const std::string& storage_device_id, base::string16* device_location, base::string16* storage_object_id) const argument
H A Dvolume_mount_watcher_win.cc523 const base::string16& device_location) {
527 device_metadata_.find(base::FilePath(device_location));
522 HandleDeviceDetachEventOnUIThread( const base::string16& device_location) argument
/external/chromium_org/chrome/browser/media_galleries/linux/
H A Dmtp_device_delegate_impl_linux.cc313 const std::string& device_location)
316 device_path_(device_location),
324 base::RemoveChars(device_location, kRootPath, &storage_name_);
945 const std::string& device_location,
948 callback.Run(new MTPDeviceDelegateImplLinux(device_location));
312 MTPDeviceDelegateImplLinux( const std::string& device_location) argument
944 CreateMTPDeviceAsyncDelegate( const std::string& device_location, const CreateMTPDeviceAsyncDelegateCallback& callback) argument

Completed in 241 milliseconds