Home
last modified time | relevance | path

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

/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
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()
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()
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()
DMtpDocumentsProvider.java312 notifyChildDocumentsChange(parentIdentifier.mDocumentId); in deleteDocument()
317 parentIdentifier.mDocumentId); in deleteDocument()
318 notifyChildDocumentsChange(deviceIdentifier.mDocumentId); in deleteDocument()
/frameworks/support/documents-archive/src/android/support/provider/
DDocumentArchive.java82 private final String mDocumentId; field in DocumentArchive
98 mDocumentId = documentId; in DocumentArchive()
248 Preconditions.checkArgumentEquals(mDocumentId, parsedParentId.mArchiveId, in queryChildDocuments()
276 Preconditions.checkArgumentEquals(mDocumentId, parsedId.mArchiveId, in getDocumentType()
298 Preconditions.checkArgumentEquals(mDocumentId, parsedParentId.mArchiveId, in isChildDocument()
336 Preconditions.checkArgumentEquals(mDocumentId, parsedId.mArchiveId, in queryDocument()
366 Preconditions.checkArgumentEquals(mDocumentId, parsedId.mArchiveId, in openDocument()
439 Preconditions.checkArgumentEquals(mDocumentId, parsedId.mArchiveId, in openDocumentThumbnail()
504 final ParsedDocumentId parsedId = new ParsedDocumentId(mDocumentId, entry.getName()); in addCursorRow()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DDocumentLoaderTest.java72 MtpDocumentsProvider.AUTHORITY, mParentIdentifier.mDocumentId); in testBasic()
160 MtpDocumentsProvider.AUTHORITY, mParentIdentifier.mDocumentId); in testCancelTask()
DMtpDatabaseTest.java866 assertEquals("2", mDatabase.getParentIdentifier("3").mDocumentId); in testGetParentId()