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()
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()
DMtpDocumentsProvider.java89 private MtpManager mMtpManager;
112 mMtpManager = new MtpManager(getContext()); in onCreate()
149 MtpManager mtpManager, in onCreateForTesting()
751 public DeviceToolkit(MtpManager manager, in DeviceToolkit()
/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()
DMtpManagerTest.java41 MtpManager mManager;
47 mManager = new MtpManager(getContext()); in setUp()
129 mUsbDevice.getDeviceId(), storageId, MtpManager.OBJECT_HANDLE_ROOT_CHILDREN)) { in testCreateDocumentAndGetPartialObject()
DMtpDocumentsProviderTest.java307 MtpManager.OBJECT_HANDLE_ROOT_CHILDREN, in testQueryDocument()
345 MtpManager.OBJECT_HANDLE_ROOT_CHILDREN, in testQueryDocument_directory()
457 MtpManager.OBJECT_HANDLE_ROOT_CHILDREN, in testQueryChildDocuments()
508 setupDocuments(0, 0, MtpManager.OBJECT_HANDLE_ROOT_CHILDREN, "1", new MtpObjectInfo[] { in testDeleteDocument()
528 setupDocuments(0, 0, MtpManager.OBJECT_HANDLE_ROOT_CHILDREN, "1", new MtpObjectInfo[] { in testDeleteDocument_error()
552 setupDocuments(0, 0, MtpManager.OBJECT_HANDLE_ROOT_CHILDREN, "1", new MtpObjectInfo[] { in testOpenDocument()
590 setupDocuments(0, 0, MtpManager.OBJECT_HANDLE_ROOT_CHILDREN, "1", new MtpObjectInfo[] { in testOpenDocument_shortBytes()
702 MtpManager.OBJECT_HANDLE_ROOT_CHILDREN : objectHandleOffset + i - 1; in testMappingDisconnectedDocuments()
812 0, 1, MtpManager.OBJECT_HANDLE_ROOT_CHILDREN, new int[] { 100 }); in testOpenDocument_noWritingSupport()
836 MtpManager.OBJECT_HANDLE_ROOT_CHILDREN, in testObjectSizeLong()
[all …]
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 {