Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/
DMtpStorage.cpp34 MtpStorage::MtpStorage(MtpStorageID id, const char* filePath, in MtpStorage() function in android::MtpStorage
46 MtpStorage::~MtpStorage() { in ~MtpStorage()
49 int MtpStorage::getType() const { in getType()
53 int MtpStorage::getFileSystemType() const { in getFileSystemType()
57 int MtpStorage::getAccessCapability() const { in getAccessCapability()
61 uint64_t MtpStorage::getMaxCapacity() { in getMaxCapacity()
71 uint64_t MtpStorage::getFreeSpace() { in getFreeSpace()
78 const char* MtpStorage::getDescription() const { in getDescription()
DMtpStorage.h28 class MtpStorage {
39 MtpStorage(MtpStorageID id, const char* filePath,
42 virtual ~MtpStorage();
DMtpServer.h36 class MtpStorage; variable
111 MtpStorage* getStorage(MtpStorageID id);
114 void addStorage(MtpStorage* storage);
115 void removeStorage(MtpStorage* storage);
DMtpTypes.h49 class MtpStorage; variable
53 typedef std::vector<MtpStorage *> MtpStorageList;
DMtpServer.cpp137 void MtpServer::addStorage(MtpStorage* storage) { in addStorage()
144 void MtpServer::removeStorage(MtpStorage* storage) { in removeStorage()
153 MtpStorage* MtpServer::getStorage(MtpStorageID id) { in getStorage()
156 for (MtpStorage *storage : mStorages) { in getStorage()
550 MtpStorage* storage = getStorage(id); in doGetStorageInfo()
939 MtpStorage* storage = getStorage(storageID); in doSendObjectInfo()
1060 MtpStorage* storage = getStorage(storageID); in doMoveObject()
1139 MtpStorage* storage = getStorage(storageID); in doCopyObject()
DAndroid.bp52 "MtpStorage.cpp",
/frameworks/base/media/java/android/mtp/
DMtpStorage.java29 public class MtpStorage { class
37 public MtpStorage(StorageVolume volume, int storageId) { in MtpStorage() method in MtpStorage
DMtpServer.java139 public void addStorage(MtpStorage storage) { in addStorage()
143 public void removeStorage(MtpStorage storage) { in removeStorage()
161 private native final void native_add_storage(MtpStorage storage); in native_add_storage()
DMtpStorageManager.java136 private MtpStorage mStorage;
153 MtpObject(String name, int id, MtpStorage storage, MtpObject parent, boolean isDir) { in MtpObject()
238 private MtpStorage getStorage() { in getStorage()
423 public synchronized MtpStorage addMtpStorage(StorageVolume volume) { in addMtpStorage()
425 MtpStorage storage = new MtpStorage(volume, storageId); in addMtpStorage()
435 public synchronized void removeMtpStorage(MtpStorage storage) { in removeMtpStorage()
DMtpDatabase.java89 private final HashMap<String, MtpStorage> mStorageMap = new HashMap<>();
361 MtpStorage mtpStorage = mManager.addMtpStorage(storage); in addStorage()
369 MtpStorage mtpStorage = mStorageMap.get(storage.getPath()); in removeStorage()
/frameworks/av/media/mtp/tests/MtpFuzzer/
DMtpMockDatabase.h27 std::map<MtpStorageID, MtpStorage*> mStorage;
36 void addStorage(MtpStorage* storage) { in addStorage()
Dmtp_fuzzer.cpp44 std::unique_ptr<MtpStorage> mStorage;
60 mStorage = std::make_unique<MtpStorage>(mStorageId, storage_path, storage_desc, true, in MtpMockServer()
DMtpMockDatabase.cpp215 MtpStorage* storage = mStorage[obj->mStorageID]; in getObjectFilePath()
/frameworks/base/media/jni/
Dandroid_mtp_MtpServer.cpp202 MtpStorage* storage = new MtpStorage(storageID, pathStr, descriptionStr, in android_mtp_MtpServer_add_storage()
223 MtpStorage* storage = server->getStorage(storageId); in android_mtp_MtpServer_remove_storage()
/frameworks/base/media/tests/MtpTests/src/android/mtp/
DMtpStorageManagerTest.java63 private MtpStorage mainMtpStorage;
64 private MtpStorage secondaryMtpStorage;
/frameworks/base/boot/
Dpreloaded-classes4910 android.mtp.MtpStorage
Dboot-image-profile.txt28153 Landroid/mtp/MtpStorage;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt35187 Landroid/mtp/MtpServer;->addStorage(Landroid/mtp/MtpStorage;)V
35192 Landroid/mtp/MtpServer;->native_add_storage(Landroid/mtp/MtpStorage;)V
35201 Landroid/mtp/MtpServer;->removeStorage(Landroid/mtp/MtpStorage;)V
35206 Landroid/mtp/MtpStorage;-><init>(Landroid/os/storage/StorageVolume;I)V
35207 Landroid/mtp/MtpStorage;->getDescription()Ljava/lang/String;
35208 Landroid/mtp/MtpStorage;->getMaxFileSize()J
35209 Landroid/mtp/MtpStorage;->isRemovable()Z
35210 Landroid/mtp/MtpStorage;->mDescription:Ljava/lang/String;
35211 Landroid/mtp/MtpStorage;->mMaxFileSize:J
35212 Landroid/mtp/MtpStorage;->mPath:Ljava/lang/String;
[all …]
/frameworks/base/config/
Dpreloaded-classes4908 android.mtp.MtpStorage
Dboot-image-profile.txt37790 Landroid/mtp/MtpStorage;