Home
last modified time | relevance | path

Searched refs:isChildDocument (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/
DDocumentsContractTest.java34 import static android.provider.DocumentsContract.isChildDocument;
266 doReturn(true).when(mProvider).isChildDocument(DOC_RED, DOC_GREEN); in testIsChildDocument()
267 assertEquals(true, isChildDocument(mResolver, URI_RED, URI_GREEN)); in testIsChildDocument()
272 doReturn(false).when(mProvider).isChildDocument(DOC_RED, DOC_GREEN); in testIsChildDocument_Failure()
273 assertEquals(false, isChildDocument(mResolver, URI_RED, URI_GREEN)); in testIsChildDocument_Failure()
308 doReturn(true).when(mProvider).isChildDocument(DOC_RED, DOC_BLUE); in testFindDocumentPath()
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DMyDocumentsProvider.java226 public boolean isChildDocument(String parentDocumentId, String documentId) { in isChildDocument() method in MyDocumentsProvider
232 if (isChildDocument(doc.docId, documentId)) { in isChildDocument()