Searched refs:docId (Results 1 – 2 of 2) 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() 204 public String docId; field in MyDocumentsProvider.Doc 216 row.add(Document.COLUMN_DOCUMENT_ID, docId); in include() 228 if (doc.docId.equals(documentId)) { in isChildDocument() 232 if (isChildDocument(doc.docId, documentId)) { in isChildDocument() 243 final String docId = "doc:" + mNextDocId.getAndIncrement(); in createDocument() local 244 final Doc doc = buildDoc(docId, displayName, mimeType, null); in createDocument() 247 return docId; in createDocument() [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | DocumentsContractTest.java | 198 final String docId = "doc:12"; in testDocumentUri() local 200 final Uri uri = DocumentsContract.buildDocumentUri(auth, docId); in testDocumentUri() 202 assertEquals(docId, DocumentsContract.getDocumentId(uri)); in testDocumentUri()
|