Home
last modified time | relevance | path

Searched refs:MtpDocumentsProvider (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DDocumentLoaderTest.java72 MtpDocumentsProvider.AUTHORITY, mParentIdentifier.mDocumentId); in testBasic()
79 MtpDocumentsProvider.DEFAULT_DOCUMENT_PROJECTION, mParentIdentifier); in testBasic()
89 MtpDocumentsProvider.DEFAULT_DOCUMENT_PROJECTION, mParentIdentifier); in testBasic()
100 MtpDocumentsProvider.DEFAULT_DOCUMENT_PROJECTION, mParentIdentifier); in testBasic()
119 MtpDocumentsProvider.DEFAULT_DOCUMENT_PROJECTION, mParentIdentifier)) {} in testError_GetObjectHandles()
140 MtpDocumentsProvider.DEFAULT_DOCUMENT_PROJECTION, mParentIdentifier)) { in testError_GetObjectInfo()
155 MtpDocumentsProvider.DEFAULT_DOCUMENT_PROJECTION, mParentIdentifier)) { in testCancelTask()
160 MtpDocumentsProvider.AUTHORITY, mParentIdentifier.mDocumentId); in testCancelTask()
172 MtpDocumentsProvider.DEFAULT_DOCUMENT_PROJECTION, mParentIdentifier)) { in testCancelTask()
DMtpDocumentsProviderTest.java45 DocumentsContract.buildRootsUri(MtpDocumentsProvider.AUTHORITY);
47 private MtpDocumentsProvider mProvider;
451 MtpDocumentsProvider.AUTHORITY, "1"))); in testDeleteDocument()
475 MtpDocumentsProvider.AUTHORITY, "1"))); in testDeleteDocument_error()
669 MtpDocumentsProvider.AUTHORITY, in testMappingDisconnectedDocuments()
765 mProvider = new MtpDocumentsProvider(); in setupProvider()
DMtpDatabaseTest.java1059 DocumentsContract.buildDocumentUri(MtpDocumentsProvider.AUTHORITY, "3") in testCleanDatabase()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DReceiverActivity.java43 final MtpDocumentsProvider provider = MtpDocumentsProvider.getInstance(); in onCreate()
47 MtpDocumentsProvider.AUTHORITY, deviceRootId); in onCreate()
55 Log.e(MtpDocumentsProvider.TAG, "Failed to open device", exception); in onCreate()
DMtpDocumentsService.java69 final MtpDocumentsProvider provider = MtpDocumentsProvider.getInstance(); in updateForegroundState()
100 Log.e(MtpDocumentsProvider.TAG, exp.getMessage()); in logErrorMessage()
102 Log.e(MtpDocumentsProvider.TAG, exp.toString()); in logErrorMessage()
DUsbIntentReceiver.java34 MtpDocumentsProvider.getInstance().resumeRootScanner(); in onReceive()
38 MtpDocumentsProvider.getInstance().closeDevice(device.getDeviceId()); in onReceive()
40 Log.e(MtpDocumentsProvider.TAG, "Failed to close device", e); in onReceive()
DMtpDocumentsProvider.java62 public class MtpDocumentsProvider extends DocumentsProvider { class
80 private static MtpDocumentsProvider sSingleton;
96 static MtpDocumentsProvider getInstance() { in getInstance()
179 projection = MtpDocumentsProvider.DEFAULT_ROOT_PROJECTION; in queryRoots()
183 mResolver, DocumentsContract.buildRootsUri(MtpDocumentsProvider.AUTHORITY)); in queryRoots()
191 projection = MtpDocumentsProvider.DEFAULT_DOCUMENT_PROJECTION; in queryDocument()
203 projection = MtpDocumentsProvider.DEFAULT_DOCUMENT_PROJECTION; in queryChildDocuments()
229 Log.e(MtpDocumentsProvider.TAG, "queryChildDocuments", exception); in queryChildDocuments()
277 Log.e(MtpDocumentsProvider.TAG, "openDocument", error); in openDocument()
280 Log.e(MtpDocumentsProvider.TAG, "openDocument", error); in openDocument()
[all …]
DRootScanner.java74 final Uri uri = DocumentsContract.buildRootsUri(MtpDocumentsProvider.AUTHORITY); in notifyChange()
151 Log.e(MtpDocumentsProvider.TAG, "Unexpected FileNotFoundException", exception); in run()
171 Log.e(MtpDocumentsProvider.TAG, "Parent document is gone.", exception); in run()
DAppFuse.java83 Log.e(MtpDocumentsProvider.TAG, "Failed to close device FD.", exp); in close()
85 Log.e(MtpDocumentsProvider.TAG, "Failed to terminate message thread.", exp); in close()
224 Log.e(MtpDocumentsProvider.TAG, "AppFuse callbacks", error); in getErrnoFromException()
DPipeManager.java88 Log.w(MtpDocumentsProvider.TAG, closeError.getMessage()); in run()
112 Log.w(MtpDocumentsProvider.TAG, closeError.getMessage()); in run()
DDocumentLoader.java336 Log.e(MtpDocumentsProvider.TAG, "Failed to load object info", error); in loadObjectInfoList()
367 Log.e(MtpDocumentsProvider.TAG, "Failed to get object size property.", error); in loadObjectInfoList()
429 MtpDocumentsProvider.AUTHORITY, mIdentifier.mDocumentId); in createUri()
DMtpManager.java277 Log.e(MtpDocumentsProvider.TAG, "Failed to open device", exp); in createDeviceRecord()
DMapper.java172 Log.e(MtpDocumentsProvider.TAG, "Unexpected FileNotFoundException.", exception); in clearMapping()
/frameworks/base/packages/MtpDocumentsProvider/tests/
DAndroid.mk8 LOCAL_INSTRUMENTATION_FOR := MtpDocumentsProvider
/frameworks/base/packages/MtpDocumentsProvider/
DAndroid.mk6 LOCAL_PACKAGE_NAME := MtpDocumentsProvider