Home
last modified time | relevance | path

Searched refs:MtpStorage (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/mtp/
DMtpStorage.cpp35 MtpStorage::MtpStorage(MtpStorageID id, const char* filePath, in MtpStorage() function in android::MtpStorage
49 MtpStorage::~MtpStorage() { in ~MtpStorage()
52 int MtpStorage::getType() const { in getType()
56 int MtpStorage::getFileSystemType() const { in getFileSystemType()
60 int MtpStorage::getAccessCapability() const { in getAccessCapability()
64 uint64_t MtpStorage::getMaxCapacity() { in getMaxCapacity()
74 uint64_t MtpStorage::getFreeSpace() { in getFreeSpace()
82 const char* MtpStorage::getDescription() const { in getDescription()
DMtpStorage.h27 class MtpStorage {
40 MtpStorage(MtpStorageID id, const char* filePath,
43 virtual ~MtpStorage();
DMtpServer.h32 class MtpStorage; variable
97 MtpStorage* getStorage(MtpStorageID id);
100 void addStorage(MtpStorage* storage);
101 void removeStorage(MtpStorage* storage);
DMtpTypes.h50 class MtpStorage; variable
54 typedef Vector<MtpStorage *> MtpStorageList;
DAndroid.mk35 MtpStorage.cpp \
66 MtpStorage.cpp \
DMtpServer.cpp117 void MtpServer::addStorage(MtpStorage* storage) { in addStorage()
124 void MtpServer::removeStorage(MtpStorage* storage) { in removeStorage()
136 MtpStorage* MtpServer::getStorage(MtpStorageID id) { in getStorage()
140 MtpStorage* storage = mStorages[i]; in getStorage()
517 MtpStorage* storage = getStorage(id); in doGetStorageInfo()
819 MtpStorage* storage = getStorage(storageID); in doSendObjectInfo()
/frameworks/base/media/java/android/mtp/
DMtpServer.java54 public void addStorage(MtpStorage storage) { in addStorage()
58 public void removeStorage(MtpStorage storage) { in removeStorage()
67 private native final void native_add_storage(MtpStorage storage); in native_add_storage()
DMtpStorage.java29 public class MtpStorage { class
38 public MtpStorage(StorageVolume volume, Context context) { in MtpStorage() method in MtpStorage
DMtpDatabase.java63 private final HashMap<String, MtpStorage> mStorageMap = new HashMap<String, MtpStorage>();
184 public void addStorage(MtpStorage storage) { in addStorage()
188 public void removeStorage(MtpStorage storage) { in removeStorage()
/frameworks/base/media/jni/
Dandroid_mtp_MtpServer.cpp138 MtpStorage* storage = new MtpStorage(storageID, pathStr, descriptionStr, in android_mtp_MtpServer_add_storage()
159 MtpStorage* storage = server->getStorage(storageId); in android_mtp_MtpServer_remove_storage()