Searched refs:MtpStorageManager (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/media/tests/MtpTests/src/android/mtp/ |
D | MtpStorageManagerTest.java | 54 private MtpStorageManager manager; 67 MtpStorageManager.sDebug = true; 143 manager = new MtpStorageManager(new MtpStorageManager.MtpNotifier() { in before() 179 MtpStorageManager.MtpObject obj = manager.getStorageRoot(mainMtpStorage.getStorageId()); in testMtpObjectGetNameRoot() 188 List<MtpStorageManager.MtpObject> stream = manager.getObjects(0xFFFFFFFF, 0, in testMtpObjectGetNameNonRoot() 197 MtpStorageManager.MtpObject obj = manager.getStorageRoot(mainMtpStorage.getStorageId()); in testMtpObjectGetIdRoot() 206 List<MtpStorageManager.MtpObject> stream = manager.getObjects(0xFFFFFFFF, 0, in testMtpObjectGetIdNonRoot() 215 MtpStorageManager.MtpObject obj = manager.getStorageRoot(mainMtpStorage.getStorageId()); in testMtpObjectIsDirTrue() 224 List<MtpStorageManager.MtpObject> stream = manager.getObjects(0xFFFFFFFF, 0, in testMtpObjectIsDirFalse() 234 List<MtpStorageManager.MtpObject> stream = manager.getObjects(0xFFFFFFFF, 0, in testMtpObjectGetFormatDir() [all …]
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDatabase.java | 96 private MtpStorageManager mManager; 280 mManager = new MtpStorageManager(new MtpStorageManager.MtpNotifier() { in MtpDatabase() 406 MtpStorageManager.MtpObject parentObj = in beginSendObject() 418 MtpStorageManager.MtpObject obj = mManager.getObject(handle); in endSendObject() 436 List<MtpStorageManager.MtpObject> objs = mManager.getObjects(parent, in getObjectList() 450 List<MtpStorageManager.MtpObject> objs = mManager.getObjects(parent, in getNumObjects() 478 List<MtpStorageManager.MtpObject> objs = null; in getObjectPropertyList() 479 MtpStorageManager.MtpObject thisObj = null; in getObjectPropertyList() 488 MtpStorageManager.MtpObject obj = mManager.getObject(handle); in getObjectPropertyList() 516 for (MtpStorageManager.MtpObject obj : objs) { in getObjectPropertyList() [all …]
|
D | MtpStorageManager.java | 45 public class MtpStorageManager { class 46 private static final String TAG = MtpStorageManager.class.getSimpleName(); 67 synchronized (MtpStorageManager.this) { in onEvent() 353 public MtpStorageManager(MtpNotifier notifier, Set<String> subdirectories) { in MtpStorageManager() method in MtpStorageManager 369 if (MtpStorageManager.this.checkConsistency()) { in MtpStorageManager() 693 obj = MtpStorageManager.this.addObjectToCache(parent, path, isDir); in handleAddedObject() 695 MtpStorageManager.this.mMtpNotifier.sendObjectAdded(obj.getId()); in handleAddedObject() 750 if (MtpStorageManager.this.removeObjectFromCache(obj, true, true)) in handleRemovedObject() 751 MtpStorageManager.this.mMtpNotifier.sendObjectRemoved(obj.getId()); in handleRemovedObject() 770 MtpStorageManager.this.mMtpNotifier.sendObjectInfoChanged(obj.getId()); in handleChangedObject()
|
D | MtpPropertyGroup.java | 173 MtpStorageManager.MtpObject object, MtpPropertyList list) { in getPropertyList()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 42321 Landroid/mtp/MtpDatabase;->mManager:Landroid/mtp/MtpStorageManager; 42419 Landroid/mtp/MtpPropertyGroup;->getPropertyList(Landroid/mtp/MtpStorageManager$MtpObject;Landroid/m… 42478 Landroid/mtp/MtpStorageManager$MtpNotifier;-><init>()V 42479 Landroid/mtp/MtpStorageManager$MtpNotifier;->sendObjectAdded(I)V 42480 Landroid/mtp/MtpStorageManager$MtpNotifier;->sendObjectRemoved(I)V 42481 Landroid/mtp/MtpStorageManager$MtpObject;-><init>(Ljava/lang/String;ILandroid/mtp/MtpStorageManager… 42482 Landroid/mtp/MtpStorageManager$MtpObject;->addChild(Landroid/mtp/MtpStorageManager$MtpObject;)V 42483 Landroid/mtp/MtpStorageManager$MtpObject;->copy(Z)Landroid/mtp/MtpStorageManager$MtpObject; 42484 Landroid/mtp/MtpStorageManager$MtpObject;->exists()Z 42485 Landroid/mtp/MtpStorageManager$MtpObject;->getChild(Ljava/lang/String;)Landroid/mtp/MtpStorageManag… [all …]
|