Searched refs:beginRenameObject (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/media/tests/MtpTests/src/android/mtp/ |
D | MtpStorageManagerTest.java | 1028 Assert.assertTrue(manager.beginRenameObject(obj, "renamed")); in testRenameObjectSuccess() 1049 Assert.assertTrue(manager.beginRenameObject(obj, "renamed")); in testRenameObjectDirSuccess() 1077 Assert.assertTrue(manager.beginRenameObject(obj, "renamed")); in testRenameObjectDirVisitedSuccess() 1104 Assert.assertTrue(manager.beginRenameObject(obj, "renamed")); in testRenameObjectDelayed() 1126 Assert.assertTrue(manager.beginRenameObject(obj, "renamed")); in testRenameObjectDirVisitedDelayed() 1153 Assert.assertTrue(manager.beginRenameObject(obj, "renamed")); in testRenameObjectFailed() 1170 Assert.assertTrue(manager.beginRenameObject(obj, "renamed")); in testRenameObjectFailedOldRemoved() 1189 Assert.assertTrue(manager.beginRenameObject(obj, "renamed")); in testRenameObjectFailedNewAdded()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpStorageManager.java | 890 public synchronized boolean beginRenameObject(MtpObject obj, String newName) { in beginRenameObject() method in MtpStorageManager
|
D | MtpDatabase.java | 562 if (!mManager.beginRenameObject(obj, newName)) in renameFile()
|