Home
last modified time | relevance | path

Searched refs:DOCUMENT_ID (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/documents-archive/tests/src/android/support/provider/
DDocumentArchiveTest.java37 private static final String DOCUMENT_ID = "document-id"; field in DocumentArchiveTest
65 DOCUMENT_ID, in loadArchive()
90 final Cursor cursor = mArchive.queryChildDocuments(DOCUMENT_ID, null, null); in testQueryChildDocument()
143 final Cursor cursor = mArchive.queryChildDocuments(DOCUMENT_ID, null, null); in testQueryChildDocument_NoDirs()
184 final Cursor cursor = mArchive.queryChildDocuments(DOCUMENT_ID, null, null); in testQueryChildDocument_EmptyDirs()
243 assertTrue(mArchive.isChildDocument(DOCUMENT_ID, "document-id:dir1/")); in testIsChildDocument()
244 assertFalse(mArchive.isChildDocument(DOCUMENT_ID, "document-id:this-does-not-exist")); in testIsChildDocument()
246 assertTrue(mArchive.isChildDocument(DOCUMENT_ID, "document-id:dir1/cherries.txt")); in testIsChildDocument()
DStubProvider.java41 public static final String DOCUMENT_ID = "document-id"; field in StubProvider
114 if (DOCUMENT_ID.equals(documentId)) { in queryDocument()
123 row.add(Document.COLUMN_DOCUMENT_ID, DOCUMENT_ID); in queryDocument()
148 if (DOCUMENT_ID.equals(documentId)) { in getDocumentType()
DIntegrationTest.java68 StubProvider.AUTHORITY, StubProvider.DOCUMENT_ID), in testQueryForChildren()
77 StubProvider.AUTHORITY, StubProvider.DOCUMENT_ID), in testQueryForDocument_Archive()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DRecentsProvider.java88 public static final String DOCUMENT_ID = Document.COLUMN_DOCUMENT_ID; field in RecentsProvider.StateColumns
145 StateColumns.DOCUMENT_ID + " TEXT," + in onCreate()
149 + StateColumns.DOCUMENT_ID + ")" + in onCreate()
190 + StateColumns.ROOT_ID + "=? AND " + StateColumns.DOCUMENT_ID + "=?", in query()
224 key.put(StateColumns.DOCUMENT_ID, documentId); in insert()
229 + StateColumns.ROOT_ID + "=? AND " + StateColumns.DOCUMENT_ID + "=?", in insert()