Home
last modified time | relevance | path

Searched refs:mMtpManager (Results 1 – 3 of 3) sorted by relevance

/packages/services/Mtp/tests/src/com/android/mtp/
DMtpDocumentsProviderTest.java51 private TestMtpManager mMtpManager; field in MtpDocumentsProviderTest
58 mMtpManager = new TestMtpManager(getContext()); in setUp()
69 mMtpManager.addValidDevice(new MtpDeviceRecord( in testOpenAndCloseDevice()
107 mMtpManager.addValidDevice(new MtpDeviceRecord( in testOpenAndCloseErrorDevice()
131 mMtpManager.addValidDevice(new MtpDeviceRecord( in testOpenDeviceOnDemand()
147 mMtpManager.setObjectHandles(0, 1, -1, new int[0]); in testOpenDeviceOnDemand()
176 mMtpManager.addValidDevice(new MtpDeviceRecord( in testQueryRoots()
192 mMtpManager.addValidDevice(new MtpDeviceRecord( in testQueryRoots()
246 mMtpManager.addValidDevice(new MtpDeviceRecord( in testQueryRoots_error()
254 mMtpManager.addValidDevice(new MtpDeviceRecord( in testQueryRoots_error()
[all …]
/packages/services/Mtp/src/com/android/mtp/
DMtpDocumentsProvider.java89 private MtpManager mMtpManager; field in MtpDocumentsProvider
112 mMtpManager = new MtpManager(getContext()); in onCreate()
116 mRootScanner = new RootScanner(mResolver, mMtpManager, mDatabase); in onCreate()
160 mMtpManager = mtpManager; in onCreateForTesting()
164 mRootScanner = new RootScanner(mResolver, mMtpManager, mDatabase); in onCreateForTesting()
310 return getPipeManager(identifier).readDocument(mMtpManager, identifier); in openDocument()
345 getPipeManager(identifier).readThumbnail(mMtpManager, identifier), in openDocumentThumbnail()
360 mMtpManager.deleteDocument(identifier.mDeviceId, identifier.mObjectHandle); in deleteDocument()
463 objectHandle = mMtpManager.createDocument( in createDocument()
590 final MtpDeviceRecord device = mMtpManager.openDevice(deviceId); in openDevice()
[all …]
DDocumentLoader.java51 private final MtpManager mMtpManager; field in DocumentLoader
60 mMtpManager = mtpManager; in DocumentLoader()
85 task = new LoaderTask(mMtpManager, mDatabase, mDevice.operationsSupported, parent); in queryChildDocuments()
134 mMtpManager, mDatabase, mDevice.operationsSupported, identifier); in getNextTaskOrReleaseBackgroundThread()