/external/chromium_org/chrome/browser/media_galleries/linux/ |
mtp_device_task_helper_map_service.cc | 27 const std::string& storage_name) { 29 DCHECK(!storage_name.empty()); 30 DCHECK(!ContainsKey(task_helper_map_, storage_name)); 32 task_helper_map_[storage_name] = task_helper; 37 const std::string& storage_name) { 39 TaskHelperMap::iterator it = task_helper_map_.find(storage_name); 47 const std::string& storage_name) { 49 DCHECK(!storage_name.empty()); 50 TaskHelperMap::const_iterator it = task_helper_map_.find(storage_name);
|
mtp_device_task_helper_map_service.h | 24 // specified by the |storage_name|. 25 MTPDeviceTaskHelper* CreateDeviceTaskHelper(const std::string& storage_name); 29 // |storage_name| specifies the name of the storage device. 30 void DestroyDeviceTaskHelper(const std::string& storage_name); 33 // |storage_name| specifies the name of the storage device. 34 // Return NULL if the |storage_name| is no longer valid (e.g. because the 36 MTPDeviceTaskHelper* GetDeviceTaskHelper(const std::string& storage_name); 49 // Mapping of |storage_name| and MTPDeviceTaskHelper*.
|
mtp_device_delegate_impl_linux.cc | 44 // |storage_name| specifies the name of the storage device. 45 // Returns NULL if the |storage_name| is no longer valid (e.g. because the 48 const std::string& storage_name) { 51 storage_name); 59 // |storage_name| specifies the name of the storage device. 63 const std::string& storage_name, 67 GetDeviceTaskHelperForStorage(storage_name); 71 storage_name); 73 task_helper->OpenStorage(storage_name, reply_callback); 81 // |storage_name| specifies the name of the storage device [all...] |
mtp_device_task_helper.cc | 43 void MTPDeviceTaskHelper::OpenStorage(const std::string& storage_name, 46 DCHECK(!storage_name.empty()); 54 storage_name, mtpd::kReadOnlyMode,
|
mtp_device_task_helper.h | 48 // |storage_name| specifies the name of the storage device. 51 void OpenStorage(const std::string& storage_name,
|
/external/chromium_org/chrome/browser/storage_monitor/ |
media_transfer_protocol_device_observer_linux.cc | 25 // Constructs and returns the location of the device using the |storage_name|. 26 std::string GetDeviceLocationFromStorageName(const std::string& storage_name) { 29 // E.g.: If the |storage_name| is "usb:2,2:12345" then "/usb:2,2:12345" is the 31 DCHECK(!storage_name.empty()); 32 return kRootPath + storage_name; 35 // Returns the storage identifier of the device from the given |storage_name|. 36 // E.g. If the |storage_name| is "usb:2,2:65537", the storage identifier is 38 std::string GetStorageIdFromStorageName(const std::string& storage_name) { 40 base::SplitString(storage_name, ':', &name_parts); 47 GetStorageIdFromStorageName(storage_info.storage_name()); [all...] |
media_transfer_protocol_device_observer_linux_unittest.cc | 43 void GetStorageInfo(const std::string& storage_name, 48 if (storage_name == kStorageWithInvalidInfo) 51 ASSERT_EQ(kStorageWithValidInfo, storage_name); 69 // mtp storage device given the |storage_name|. 70 void MtpStorageAttached(const std::string& storage_name) { 71 StorageChanged(true, storage_name); 76 // mtp storage device given the |storage_name|. 77 void MtpStorageDetached(const std::string& storage_name) { 78 StorageChanged(false, storage_name);
|
media_transfer_protocol_device_observer_linux.h | 21 // Gets the mtp device information given a |storage_name|. On success, 24 const std::string& storage_name, 55 const std::string& storage_name) OVERRIDE;
|
test_media_transfer_protocol_manager_linux.h | 25 const std::string& storage_name) const OVERRIDE; 26 virtual void OpenStorage(const std::string& storage_name,
|
test_media_transfer_protocol_manager_linux.cc | 27 const std::string& storage_name) const { 32 const std::string& storage_name,
|
portable_device_watcher_win.cc | 623 string16 storage_name(name + L" (" + storage_iter->object_temporary_id + 625 StorageInfo info(storage_id, storage_name, location,
|
/external/chromium_org/device/media_transfer_protocol/ |
media_transfer_protocol_manager.cc | 103 const std::string& storage_name) const OVERRIDE { 105 StorageInfoMap::const_iterator it = storage_info_map_.find(storage_name); 110 virtual void OpenStorage(const std::string& storage_name, 114 if (!ContainsKey(storage_info_map_, storage_name) || !mtp_client_) { 120 storage_name, 274 void OnStorageChanged(bool is_attach, const std::string& storage_name) { 279 storage_name, 287 StorageInfoMap::iterator it = storage_info_map_.find(storage_name); 296 StorageChanged(false /* detach */, storage_name)); 313 const std::string& storage_name = storage_info.storage_name() local [all...] |
media_transfer_protocol_manager.h | 68 const std::string& storage_name) = 0; 82 // On success, returns the the metadata for |storage_name|. 85 const std::string& storage_name) const = 0; 87 // Opens |storage_name| in |mode| and runs |callback|. 88 virtual void OpenStorage(const std::string& storage_name,
|
media_transfer_protocol_daemon_client.cc | 48 virtual void GetStorageInfo(const std::string& storage_name, 53 writer.AppendString(storage_name); 58 storage_name, 64 virtual void OpenStorage(const std::string& storage_name, 70 writer.AppendString(storage_name); 265 void OnGetStorageInfo(const std::string& storage_name, 384 std::string storage_name; local 385 if (!reader.PopString(&storage_name)) { 389 DCHECK(!storage_name.empty()); 390 handler.Run(is_attach, storage_name); [all...] |
media_transfer_protocol_daemon_client.h | 75 const std::string& storage_name) 88 virtual void GetStorageInfo(const std::string& storage_name, 95 virtual void OpenStorage(const std::string& storage_name,
|
/art/compiler/dex/ |
vreg_analysis.cc | 333 static const char* storage_name[] = {" Frame ", "PhysReg", " Spill "}; member in namespace:art 341 table[i].orig_sreg, storage_name[table[i].location], 355 table[i].orig_sreg, storage_name[table[i].location],
|
/external/chromium_org/chrome/common/extensions/permissions/ |
permission_set_unittest.cc | 113 std::string storage_name = "unlimitedStorage"; local 114 EXPECT_EQ(storage_name, info->GetByID( [all...] |