Searched refs:docId (Results 1 – 5 of 5) sorted by relevance
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/ |
D | MyDocumentsProvider.java | 119 private Doc buildDoc(String docId, String displayName, String mimeType, in buildDoc() argument 122 doc.docId = docId; in buildDoc() 126 mDocs.put(doc.docId, doc); in buildDoc() 205 public String docId; field in MyDocumentsProvider.Doc 217 row.add(Document.COLUMN_DOCUMENT_ID, docId); in include() 229 if (doc.docId.equals(documentId)) { in isChildDocument() 233 if (isChildDocument(doc.docId, documentId)) { in isChildDocument() 244 final String docId = "doc:" + mNextDocId.getAndIncrement(); in createDocument() local 245 final Doc doc = buildDoc(docId, displayName, mimeType, null); in createDocument() 248 return docId; in createDocument() [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | DocumentsContractTest.java | 206 final String docId = "doc:12"; in testDocumentUri() local 208 final Uri uri = DocumentsContract.buildDocumentUri(auth, docId); in testDocumentUri() 210 assertEquals(docId, DocumentsContract.getDocumentId(uri)); in testDocumentUri() 217 final String docId = "doc:12"; in testBuildDocumentUriAsUser_setsAuthority() local 219 final Uri uri = DocumentsContract.buildDocumentUriAsUser(auth, docId, TEST_USER_HANDLE); in testBuildDocumentUriAsUser_setsAuthority() 227 final String docId = "doc:12"; in testBuildDocumentUriAsUser_setsDocumentId() local 229 final Uri uri = DocumentsContract.buildDocumentUriAsUser(auth, docId, TEST_USER_HANDLE); in testBuildDocumentUriAsUser_setsDocumentId() 231 assertEquals(docId, DocumentsContract.getDocumentId(uri)); in testBuildDocumentUriAsUser_setsDocumentId() 237 final String docId = "doc:12"; in testBuildDocumentUriAsUser_setsUserInfo() local 239 final Uri uri = DocumentsContract.buildDocumentUriAsUser(auth, docId, TEST_USER_HANDLE); in testBuildDocumentUriAsUser_setsUserInfo()
|
/cts/hostsidetests/scopedstorage/redacturi/src/android/scopedstorage/cts/redacturi/ |
D | RedactUriDeviceTest.java | 207 final String docId = getStringFromCursor(redactedUriCursor, in testQueryOnRedactionUri() local 209 assertNull(docId); in testQueryOnRedactionUri()
|
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
D | DocumentsClientTest.java | 1035 @NonNull String docId) throws Exception { in launchOpenDocumentTreeAtInitialLocation() argument 1039 final Uri initUri = DocumentsContract.buildDocumentUri(authority, docId); in launchOpenDocumentTreeAtInitialLocation()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | RemoteViewsTest.java | 783 private void testSingleDrawInstruction(final String resourceName, final int docId, in testSingleDrawInstruction() argument 786 getDrawInstructions(mContext, docId); in testSingleDrawInstruction()
|