Searched refs:fromObj (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/media/java/android/mtp/ |
D | MtpStorageManager.java | 1159 private synchronized boolean generalBeginRenameObject(MtpObject fromObj, MtpObject toObj) { in generalBeginRenameObject() argument 1160 fromObj.setState(MtpObjectState.FROZEN); in generalBeginRenameObject() 1162 fromObj.setOperation(MtpOperation.RENAME); in generalBeginRenameObject() 1167 private synchronized boolean generalEndRenameObject(MtpObject fromObj, MtpObject toObj, in generalEndRenameObject() argument 1169 boolean ret = generalEndRemoveObject(fromObj, success, !success); in generalEndRenameObject()
|
/frameworks/base/media/tests/MtpTests/src/android/mtp/ |
D | MtpStorageManagerTest.java | 910 MtpStorageManager.MtpObject fromObj = manager.getObjects(0xFFFFFFFF, 0, in testCopyObjectSuccessRecursive() local 914 manager.getObjects(fromObj.getId(), 0, mainMtpStorage.getStorageId()); in testCopyObjectSuccessRecursive() 915 int id = manager.beginCopyObject(fromObj, toObj); in testCopyObjectSuccessRecursive()
|