Lines Matching refs:mManager
109 private MtpStorageManager mManager; field in MtpDatabase
293 mManager = new MtpStorageManager(new MtpStorageManager.MtpNotifier() { in MtpDatabase()
339 mManager.close(); in close()
362 MtpStorage mtpStorage = mManager.addMtpStorage(storage, () -> mHostIsWindows); in addStorage()
377 mManager.removeMtpStorage(mtpStorage); in removeStorage()
424 parent == 0 ? mManager.getStorageRoot(storageId) : mManager.getObject(parent); in beginSendObject()
430 return mManager.beginSendObject(parentObj, objPath.getFileName().toString(), format); in beginSendObject()
435 MtpStorageManager.MtpObject obj = mManager.getObject(handle); in endSendObject()
436 if (obj == null || !mManager.endSendObject(obj, succeeded)) { in endSendObject()
453 List<MtpStorageManager.MtpObject> objs = mManager.getObjects(parent, in getObjectList()
468 List<MtpStorageManager.MtpObject> objs = mManager.getObjects(parent, in getNumObjects()
500 objs = mManager.getObjects(0, format, 0xFFFFFFFF); in getObjectPropertyList()
506 MtpStorageManager.MtpObject obj = mManager.getObject(handle); in getObjectPropertyList()
519 objs = mManager.getObjects(handle, format, in getObjectPropertyList()
566 MtpStorageManager.MtpObject obj = mManager.getObject(handle); in renameFile()
573 if (!mManager.beginRenameObject(obj, newName)) in renameFile()
584 if (!mManager.endRenameObject(obj, oldPath.getFileName().toString(), success)) { in renameFile()
598 MtpStorageManager.MtpObject obj = mManager.getObject(handle); in beginMoveObject()
600 mManager.getStorageRoot(newStorage) : mManager.getObject(newParent); in beginMoveObject()
604 boolean allowed = mManager.beginMoveObject(obj, parent); in beginMoveObject()
612 mManager.getStorageRoot(oldStorage) : mManager.getObject(oldParent); in endMoveObject()
614 mManager.getStorageRoot(newStorage) : mManager.getObject(newParent); in endMoveObject()
615 MtpStorageManager.MtpObject obj = mManager.getObject(objId); in endMoveObject()
618 ||!mManager.endMoveObject(oldParentObj, newParentObj, name, success)) { in endMoveObject()
622 obj = mManager.getObject(objId); in endMoveObject()
635 MtpStorageManager.MtpObject obj = mManager.getObject(handle); in beginCopyObject()
637 mManager.getStorageRoot(newStorage) : mManager.getObject(newParent); in beginCopyObject()
640 return mManager.beginCopyObject(obj, parent); in beginCopyObject()
645 MtpStorageManager.MtpObject obj = mManager.getObject(handle); in endCopyObject()
646 if (obj == null || !mManager.endCopyObject(obj, success)) { in endCopyObject()
757 MtpStorageManager.MtpObject obj = mManager.getObject(handle); in getObjectInfo()
776 MtpStorageManager.MtpObject obj = mManager.getObject(handle); in getObjectFilePath()
820 MtpStorageManager.MtpObject obj = mManager.getObject(handle); in getObjectFormat()
854 MtpStorageManager.MtpObject obj = mManager.getObject(handle); in getThumbnailInfo()
903 MtpStorageManager.MtpObject obj = mManager.getObject(handle); in getThumbnailData()
942 MtpStorageManager.MtpObject obj = mManager.getObject(handle); in beginDeleteObject()
946 if (!mManager.beginRemoveObject(obj)) { in beginDeleteObject()
954 MtpStorageManager.MtpObject obj = mManager.getObject(handle); in endDeleteObject()
958 if (!mManager.endRemoveObject(obj, success)) in endDeleteObject()