Home
last modified time | relevance | path

Searched refs:mDocumentId (Results 1 – 6 of 6) 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.java359 notifyChildDocumentsChange(parentIdentifier.mDocumentId); in deleteDocument()
364 parentIdentifier.mDocumentId); in deleteDocument()
365 notifyChildDocumentsChange(deviceIdentifier.mDocumentId); in deleteDocument()
405 mDatabase.getStorageDocumentIds(parentId.mDocumentId); in createDocument()
500 if (i.mDocumentId.equals(parentDocumentId)) { in findDocumentPath()
501 ids.addFirst(i.mDocumentId); in findDocumentPath()
506 ids.addFirst(i.mDocumentId); in findDocumentPath()
507 i = mDatabase.getParentIdentifier(i.mDocumentId); in findDocumentPath()
512 mDatabase.getParentIdentifier(i.mDocumentId); in findDocumentPath()
514 mDatabase.getStorageDocumentIds(deviceIdentifier.mDocumentId); in findDocumentPath()
[all …]
/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.java867 assertEquals("2", mDatabase.getParentIdentifier("3").mDocumentId); in testGetParentId()