HomeSort by relevance Sort by last modified time
    Searched refs:storage_name (Results 1 - 17 of 17) sorted by null

  /external/chromium_org/chrome/browser/media_galleries/linux/
mtp_device_task_helper_map_service.h 22 // specified by the |storage_name|.
23 MTPDeviceTaskHelper* CreateDeviceTaskHelper(const std::string& storage_name);
27 // |storage_name| specifies the name of the storage device.
28 void DestroyDeviceTaskHelper(const std::string& storage_name);
31 // |storage_name| specifies the name of the storage device.
32 // Return NULL if the |storage_name| is no longer valid (e.g. because the
34 MTPDeviceTaskHelper* GetDeviceTaskHelper(const std::string& storage_name);
47 // Mapping of |storage_name| and MTPDeviceTaskHelper*.
mtp_device_task_helper_map_service.cc 25 const std::string& storage_name) {
27 DCHECK(!storage_name.empty());
28 DCHECK(!ContainsKey(task_helper_map_, storage_name));
30 task_helper_map_[storage_name] = task_helper;
35 const std::string& storage_name) {
37 TaskHelperMap::iterator it = task_helper_map_.find(storage_name);
45 const std::string& storage_name) {
47 DCHECK(!storage_name.empty());
48 TaskHelperMap::const_iterator it = task_helper_map_.find(storage_name);
mtp_device_delegate_impl_linux.cc 53 // |storage_name| specifies the name of the storage device.
54 // Returns NULL if the |storage_name| is no longer valid (e.g. because the
57 const std::string& storage_name) {
60 storage_name);
68 // |storage_name| specifies the name of the storage device.
72 const std::string& storage_name,
76 GetDeviceTaskHelperForStorage(storage_name);
80 storage_name);
82 task_helper->OpenStorage(storage_name, reply_callback);
90 // |storage_name| specifies the name of the storage device
    [all...]
mtp_device_task_helper.h 47 // |storage_name| specifies the name of the storage device.
50 void OpenStorage(const std::string& storage_name,
mtp_device_task_helper.cc 61 void MTPDeviceTaskHelper::OpenStorage(const std::string& storage_name,
64 DCHECK(!storage_name.empty());
72 storage_name, mtpd::kReadOnlyMode,
  /external/chromium_org/components/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...]
test_media_transfer_protocol_manager_linux.h 25 const std::string& storage_name) const OVERRIDE;
26 virtual void OpenStorage(const std::string& storage_name,
media_transfer_protocol_device_observer_linux_unittest.cc 43 void GetStorageInfo(const std::string& storage_name,
50 if (storage_name == kStorageWithInvalidInfo)
53 ASSERT_EQ(kStorageWithValidInfo, storage_name);
73 // mtp storage device given the |storage_name|.
74 void MtpStorageAttached(const std::string& storage_name) {
75 StorageChanged(true, storage_name);
80 // mtp storage device given the |storage_name|.
81 void MtpStorageDetached(const std::string& storage_name) {
82 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,
60 const std::string& storage_name) OVERRIDE;
test_media_transfer_protocol_manager_linux.cc 27 const std::string& storage_name) const {
32 const std::string& storage_name,
  /external/chromium_org/device/media_transfer_protocol/
media_transfer_protocol_manager.h 70 const std::string& storage_name) = 0;
84 // On success, returns the the metadata for |storage_name|.
87 const std::string& storage_name) const = 0;
89 // Opens |storage_name| in |mode| and runs |callback|.
90 virtual void OpenStorage(const std::string& storage_name,
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,
media_transfer_protocol_manager.cc 120 const std::string& storage_name) const OVERRIDE {
122 StorageInfoMap::const_iterator it = storage_info_map_.find(storage_name);
127 virtual void OpenStorage(const std::string& storage_name,
131 if (!ContainsKey(storage_info_map_, storage_name) || !mtp_client_) {
137 storage_name,
239 void OnStorageAttached(const std::string& storage_name) {
242 storage_name,
248 void OnStorageDetached(const std::string& storage_name) {
250 if (storage_info_map_.erase(storage_name) == 0) {
258 StorageChanged(false /* detach */, storage_name));
284 const std::string& storage_name = storage_info.storage_name(); local
    [all...]
media_transfer_protocol_daemon_client.cc 52 virtual void GetStorageInfo(const std::string& storage_name,
57 writer.AppendString(storage_name);
62 storage_name,
68 virtual void OpenStorage(const std::string& storage_name,
74 writer.AppendString(storage_name);
229 void OnGetStorageInfo(const std::string& storage_name,
359 std::string storage_name; local
360 if (!reader.PopString(&storage_name)) {
364 DCHECK(!storage_name.empty());
365 handler.Run(is_attach, storage_name);
    [all...]
  /art/compiler/dex/
vreg_analysis.cc 404 static const char* storage_name[] = {" Frame ", "PhysReg", " Spill "}; member in namespace:art
412 table[i].orig_sreg, storage_name[table[i].location],
424 table[i].orig_sreg, storage_name[table[i].location],
  /external/chromium_org/tools/memory_inspector/memory_inspector/frontends/
www_server.py 519 storage_name = device.id
522 storage_name = backend.name
526 _persistent_storage.StoreSettings(storage_name, settings.values)
  /external/chromium_org/chrome/common/extensions/permissions/
permission_set_unittest.cc 121 std::string storage_name = "unlimitedStorage"; local
122 EXPECT_EQ(storage_name, info->GetByID(
    [all...]

Completed in 435 milliseconds