Home
last modified time | relevance | path

Searched refs:isDir (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/java/android/mtp/
DMtpStorageManager.java153 MtpObject(String name, int id, MtpStorage storage, MtpObject parent, boolean isDir) { in MtpObject() argument
161 mIsDir = isDir; in MtpObject()
177 public boolean isDir() { in isDir() method in MtpStorageManager.MtpObject
464 if (obj == null || !obj.isDir()) in getByPath()
560 if (o.isDir()) in getObjects()
574 if (object == null || !object.isDir()) { in getChildren()
613 boolean isDir) { in addObjectToCache() argument
626 MtpObject obj = new MtpObject(newName, getNextObjectId(), parent.mStorage, parent, isDir); in addObjectToCache()
656 if (removed.isDir() && recursive) { in removeObjectFromCache()
666 private synchronized void handleAddedObject(MtpObject parent, String path, boolean isDir) { in handleAddedObject() argument
[all …]
DMtpDatabase.java957 deleteFromMedia(obj, obj.getPath(), obj.isDir()); in endDeleteObject()
960 private void deleteFromMedia(MtpStorageManager.MtpObject obj, Path path, boolean isDir) { in deleteFromMedia() argument
964 if (isDir) { in deleteFromMedia()
/frameworks/base/tests/CoreTests/android/core/
DTestWebData.java109 TestWebData(int length, int lastModified, String name, String type, boolean isDir) { in TestWebData() argument
114 testDir = isDir; in TestWebData()
/frameworks/base/media/tests/MtpTests/src/android/mtp/
DMtpStorageManagerTest.java217 Assert.assertTrue(obj.isDir()); in testMtpObjectIsDirTrue()
227 Assert.assertFalse(stream.get(0).isDir()); in testMtpObjectIsDirFalse()
534 Assert.assertTrue(manager.getObject(objectsAdded.get(0)).isDir()); in testObjectAddedDir()
552 Assert.assertTrue(manager.getObject(objectsAdded.get(2)).isDir()); in testObjectAddedRecursiveDir()
939 .stream().filter(MtpStorageManager.MtpObject::isDir).findFirst().get(); in testCopyObjectSuccess()
942 .filter(o -> !o.isDir()).findFirst().get(); in testCopyObjectSuccess()
1011 .filter(MtpStorageManager.MtpObject::isDir).findFirst().get(); in testCopyObjectFailed()
1014 .filter(o -> !o.isDir()).findFirst().get(); in testCopyObjectFailed()
1034 .filter(MtpStorageManager.MtpObject::isDir).findFirst().get(); in testCopyObjectFailedAdded()
1037 .filter(o -> !o.isDir()).findFirst().get(); in testCopyObjectFailedAdded()
[all …]
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt35242 Landroid/mtp/MtpStorageManager$MtpObject;->isDir()Z