Home
last modified time | relevance | path

Searched refs:MtpManager (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DPipeManager.java45 ParcelFileDescriptor readDocument(MtpManager model, Identifier identifier) throws IOException { in readDocument()
51 ParcelFileDescriptor readThumbnail(MtpManager model, Identifier identifier) throws IOException { in readThumbnail()
58 protected final MtpManager mManager;
62 Task(MtpManager manager, Identifier identifier) throws IOException { in Task()
74 ImportFileTask(MtpManager model, Identifier identifier) throws IOException { in ImportFileTask()
95 GetThumbnailTask(MtpManager model, Identifier identifier) throws IOException { in GetThumbnailTask()
DDocumentLoader.java51 private final MtpManager mMtpManager;
57 DocumentLoader(MtpDeviceRecord device, MtpManager mtpManager, ContentResolver resolver, in DocumentLoader()
245 final MtpManager mManager;
255 LoaderTask(MtpManager manager, MtpDatabase database, int[] operationsSupported, in LoaderTask()
276 parentHandle = MtpManager.OBJECT_HANDLE_ROOT_CHILDREN; in loadObjectHandles()
DRootScanner.java55 final MtpManager mManager;
63 MtpManager manager, in RootScanner()
DMtpDocumentsProvider.java82 private MtpManager mMtpManager;
105 mMtpManager = new MtpManager(getContext()); in onCreate()
150 MtpManager mtpManager, in onCreateForTesting()
637 public DeviceToolkit(MtpManager manager, in DeviceToolkit()
DMtpManager.java46 class MtpManager { class
72 MtpManager(Context context) { in MtpManager() method in MtpManager
DMtpFileWriter.java64 void flush(MtpManager manager, MtpDatabase database, int[] operationsSupported) in flush()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DTestUtil.java52 MtpManager manager) { in setupMtpDevice()
87 MtpManager manager) throws IOException { in findMtpDevice()
110 MtpManager manager, in waitForStorages()
DMtpDocumentsProviderTest.java307 MtpManager.OBJECT_HANDLE_ROOT_CHILDREN, in testQueryDocument()
344 MtpManager.OBJECT_HANDLE_ROOT_CHILDREN, in testQueryDocument_directory()
401 MtpManager.OBJECT_HANDLE_ROOT_CHILDREN, in testQueryChildDocuments()
451 setupDocuments(0, 0, MtpManager.OBJECT_HANDLE_ROOT_CHILDREN, "1", new MtpObjectInfo[] { in testDeleteDocument()
471 setupDocuments(0, 0, MtpManager.OBJECT_HANDLE_ROOT_CHILDREN, "1", new MtpObjectInfo[] { in testDeleteDocument_error()
495 setupDocuments(0, 0, MtpManager.OBJECT_HANDLE_ROOT_CHILDREN, "1", new MtpObjectInfo[] { in testOpenDocument()
533 setupDocuments(0, 0, MtpManager.OBJECT_HANDLE_ROOT_CHILDREN, "1", new MtpObjectInfo[] { in testOpenDocument_shortBytes()
643 MtpManager.OBJECT_HANDLE_ROOT_CHILDREN : objectHandleOffset + i - 1; in testMappingDisconnectedDocuments()
753 0, 1, MtpManager.OBJECT_HANDLE_ROOT_CHILDREN, new int[] { 100 }); in testOpenDocument_noWritingSupport()
777 MtpManager.OBJECT_HANDLE_ROOT_CHILDREN, in testObjectSizeLong()
[all …]
DMtpManagerTest.java41 MtpManager mManager;
47 mManager = new MtpManager(getContext()); in setUp()
129 mUsbDevice.getDeviceId(), storageId, MtpManager.OBJECT_HANDLE_ROOT_CHILDREN)) { in testCreateDocumentAndGetPartialObject()
DDocumentLoaderTest.java116 mManager.setObjectHandles(0, 0, MtpManager.OBJECT_HANDLE_ROOT_CHILDREN, null); in testError_GetObjectHandles()
198 manager.setObjectHandles(0, 0, MtpManager.OBJECT_HANDLE_ROOT_CHILDREN, childDocuments); in setUpDocument()
DTestMtpManager.java31 public class TestMtpManager extends MtpManager {