Home
last modified time | relevance | path

Searched refs:mDocumentId (Results 1 – 7 of 7) sorted by relevance

/packages/services/Mtp/src/com/android/mtp/
DMtpFileWriter.java33 final String mDocumentId; field in MtpFileWriter
37 mDocumentId = documentId; in MtpFileWriter()
49 return mDocumentId; in getDocumentId()
72 final Identifier identifier = database.createIdentifier(mDocumentId); in flush()
92 database.getParentIdentifier(identifier.mDocumentId); in flush()
94 identifier.mDocumentId, in flush()
96 parentIdentifier.mDocumentId, in flush()
DIdentifier.java29 final String mDocumentId; field in Identifier
37 mDocumentId = documentId; in Identifier()
47 mObjectHandle == other.mObjectHandle && mDocumentId.equals(other.mDocumentId); in equals()
52 return Objects.hash(mDeviceId, mStorageId, mObjectHandle, mDocumentId); in hashCode()
73 builder.append(mDocumentId); in toString()
DMtpDocumentsProvider.java363 notifyChildDocumentsChange(parentIdentifier.mDocumentId); in deleteDocument()
368 parentIdentifier.mDocumentId); in deleteDocument()
369 notifyChildDocumentsChange(deviceIdentifier.mDocumentId); in deleteDocument()
409 mDatabase.getStorageDocumentIds(parentId.mDocumentId); in createDocument()
504 if (i.mDocumentId.equals(parentDocumentId)) { in findDocumentPath()
505 ids.addFirst(i.mDocumentId); in findDocumentPath()
510 ids.addFirst(i.mDocumentId); in findDocumentPath()
511 i = mDatabase.getParentIdentifier(i.mDocumentId); in findDocumentPath()
516 mDatabase.getParentIdentifier(i.mDocumentId); in findDocumentPath()
518 mDatabase.getStorageDocumentIds(deviceIdentifier.mDocumentId); in findDocumentPath()
[all …]
DDocumentLoader.java76 if (parent.mDocumentId == null) { in queryChildDocuments()
304 mDatabase.queryChildDocuments(columnNames, mIdentifier.mDocumentId); in createCursor()
320 mDatabase.getMapper().startAddingDocuments(mIdentifier.mDocumentId); in loadObjectInfoList()
379 mIdentifier.mDocumentId, in loadObjectInfoList()
393 mDatabase.getMapper().stopAddingDocuments(mIdentifier.mDocumentId); in loadObjectInfoList()
408 mDatabase.getMapper().cancelAddingDocuments(mIdentifier.mDocumentId); in cancel()
429 MtpDocumentsProvider.AUTHORITY, mIdentifier.mDocumentId); in createUri()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DXmpInterface.java70 private String mDocumentId; field in XmpInterface
102 mDocumentId = maybeOverride(mDocumentId, in XmpInterface()
111 mDocumentId = maybeOverride(mDocumentId, parser.nextText()); in XmpInterface()
215 return mDocumentId; in getDocumentId()
/packages/services/Mtp/tests/src/com/android/mtp/
DDocumentLoaderTest.java72 MtpDocumentsProvider.AUTHORITY, mParentIdentifier.mDocumentId); in testBasic()
160 MtpDocumentsProvider.AUTHORITY, mParentIdentifier.mDocumentId); in testCancelTask()
DMtpDatabaseTest.java867 assertEquals("2", mDatabase.getParentIdentifier("3").mDocumentId); in testGetParentId()