Home
last modified time | relevance | path

Searched refs:storage_id (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/ui/views/focus/
Dview_storage.cc32 void ViewStorage::StoreView(int storage_id, View* view) { in StoreView() argument
34 std::map<int, View*>::iterator iter = id_to_view_.find(storage_id); in StoreView()
38 RemoveView(storage_id); in StoreView()
41 id_to_view_[storage_id] = view; in StoreView()
52 ids->push_back(storage_id); in StoreView()
55 View* ViewStorage::RetrieveView(int storage_id) { in RetrieveView() argument
56 std::map<int, View*>::iterator iter = id_to_view_.find(storage_id); in RetrieveView()
62 void ViewStorage::RemoveView(int storage_id) { in RemoveView() argument
63 EraseView(storage_id, false); in RemoveView()
81 void ViewStorage::EraseView(int storage_id, bool remove_all_ids) { in EraseView() argument
[all …]
Dview_storage.h38 void StoreView(int storage_id, View* view);
41 View* RetrieveView(int storage_id);
44 void RemoveView(int storage_id);
59 void EraseView(int storage_id, bool remove_all_ids);
/external/chromium_org/chrome/browser/storage_monitor/
Dportable_device_watcher_win.cc245 const base::string16& storage_id, in ConstructDeviceStorageUniqueId() argument
247 if (device_serial_num.empty() && storage_id.empty()) in ConstructDeviceStorageUniqueId()
253 UTF16ToUTF8(storage_id + L':' + device_serial_num)); in ConstructDeviceStorageUniqueId()
622 const std::string& storage_id = storage_iter->object_persistent_id; in OnDidHandleDeviceAttachEvent() local
623 DCHECK(!ContainsKey(storage_map_, storage_id)); in OnDidHandleDeviceAttachEvent()
627 MediaStorageUtil::RecordDeviceInfoHistogram(false, storage_id, name); in OnDidHandleDeviceAttachEvent()
628 if (storage_id.empty() || name.empty()) in OnDidHandleDeviceAttachEvent()
635 StorageInfo info(storage_id, storage_name, location, in OnDidHandleDeviceAttachEvent()
637 storage_map_[storage_id] = info; in OnDidHandleDeviceAttachEvent()
639 info.set_location(GetStoragePathFromStorageId(storage_id)); in OnDidHandleDeviceAttachEvent()
[all …]
Dmedia_transfer_protocol_device_observer_linux.cc44 const std::string storage_id = in GetDeviceIdFromStorageInfo() local
46 if (storage_id.empty()) in GetDeviceIdFromStorageInfo()
56 storage_info.volume_identifier() + ":" + storage_id); in GetDeviceIdFromStorageInfo()
/external/libmtp/src/
Dlibmtp.h614 uint32_t storage_id; /**< ID of storage holding this file */ member
628 uint32_t storage_id; /**< ID of storage holding this track */ member
657 uint32_t storage_id; /**< ID of storage holding this playlist */ member
670 uint32_t storage_id; /**< ID of storage holding this album */ member
686 uint32_t storage_id; /**< ID of storage holding this folder */ member
Dlibmtp.c2333 file->storage_id = ob->oi.StorageID; in obj2file()
3827 new->storage_id = 0; in LIBMTP_new_file_t()
3941 file->storage_id = ob->oi.StorageID; in LIBMTP_Get_Filelisting_With_Callback()
4081 file->storage_id = ob->oi.StorageID; in LIBMTP_Get_Filemetadata()
4171 new->storage_id = 0; in LIBMTP_new_track_t()
4505 track->storage_id = ob->oi.StorageID; in LIBMTP_Get_Tracklisting_With_Callback()
4613 track->storage_id = ob->oi.StorageID; in LIBMTP_Get_Trackmetadata()
5119 filedata.storage_id = metadata->storage_id;
5143 metadata->storage_id = filedata.storage_id;
5216 filedata.storage_id = metadata->storage_id;
[all …]
Dplaylist-spl.c128 pl->storage_id = oi->StorageID; in spl_to_playlist_t()
223 f->storage_id = pl->storage_id; in playlist_t_to_spl()
Dlibmtp.h.in612 uint32_t storage_id; /**< ID of storage holding this file */ member
626 uint32_t storage_id; /**< ID of storage holding this track */ member
655 uint32_t storage_id; /**< ID of storage holding this playlist */ member
668 uint32_t storage_id; /**< ID of storage holding this album */ member
684 uint32_t storage_id; /**< ID of storage holding this folder */ member
/external/libmtp/examples/
Dsendtr.c147 albuminfo->storage_id = trackmeta->storage_id; in add_track_to_album()
346 trackmeta->storage_id = storageid; in sendtrack_function()
Dsendfile.c78 genfile->storage_id = 0; in sendfile_function()
Dnewplaylist.c94 playlist->storage_id = 0; in main()
Dfiles.c45 printf(" Storage ID: 0x%08X\n", file->storage_id); in dump_fileinfo()
Dalbumart.c137 album->storage_id = 0;
/external/libmtp/
DChangeLog499 storage_id the track should be copied.
608 inspect storage_id and parent_id in order to group files
637 can now also pass in a storage_id with any metadata
640 parent_id and storage_id. All calls to any of these