Home
last modified time | relevance | path

Searched refs:fromObj (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/java/android/mtp/
DMtpStorageManager.java1199 private synchronized boolean generalBeginRenameObject(MtpObject fromObj, MtpObject toObj) { in generalBeginRenameObject() argument
1200 fromObj.setState(MtpObjectState.FROZEN); in generalBeginRenameObject()
1202 fromObj.setOperation(MtpOperation.RENAME); in generalBeginRenameObject()
1207 private synchronized boolean generalEndRenameObject(MtpObject fromObj, MtpObject toObj, in generalEndRenameObject() argument
1209 boolean ret = generalEndRemoveObject(fromObj, success, !success); in generalEndRenameObject()
/frameworks/base/media/tests/MtpTests/src/android/mtp/
DMtpStorageManagerTest.java966 MtpStorageManager.MtpObject fromObj = manager.getObjects(0xFFFFFFFF, 0, in testCopyObjectSuccessRecursive() local
970 manager.getObjects(fromObj.getId(), 0, mainMtpStorage.getStorageId()); in testCopyObjectSuccessRecursive()
971 int id = manager.beginCopyObject(fromObj, toObj); in testCopyObjectSuccessRecursive()