Searched refs:MtpManager (Results 1 – 11 of 11) sorted by relevance
/packages/services/Mtp/src/com/android/mtp/ |
D | PipeManager.java | 45 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()
|
D | DocumentLoader.java | 51 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()
|
D | RootScanner.java | 55 final MtpManager mManager; 63 MtpManager manager, in RootScanner()
|
D | MtpDocumentsProvider.java | 89 private MtpManager mMtpManager; 112 mMtpManager = new MtpManager(getContext()); in onCreate() 153 MtpManager mtpManager, in onCreateForTesting() 755 public DeviceToolkit(MtpManager manager, in DeviceToolkit()
|
D | MtpManager.java | 46 class MtpManager { class 72 MtpManager(Context context) { in MtpManager() method in MtpManager
|
D | MtpFileWriter.java | 64 void flush(MtpManager manager, MtpDatabase database, int[] operationsSupported) in flush()
|
/packages/services/Mtp/tests/src/com/android/mtp/ |
D | MtpDocumentsProviderTest.java | 307 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 …]
|
D | TestUtil.java | 52 MtpManager manager) { in setupMtpDevice() 87 MtpManager manager) throws IOException { in findMtpDevice() 110 MtpManager manager, in waitForStorages()
|
D | MtpManagerTest.java | 41 MtpManager mManager; 47 mManager = new MtpManager(getContext()); in setUp() 129 mUsbDevice.getDeviceId(), storageId, MtpManager.OBJECT_HANDLE_ROOT_CHILDREN)) { in testCreateDocumentAndGetPartialObject()
|
D | DocumentLoaderTest.java | 116 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()
|
D | TestMtpManager.java | 31 public class TestMtpManager extends MtpManager {
|