Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DMyDocumentsProvider.java226 public boolean isChildDocument(String parentDocumentId, String documentId) { in isChildDocument() argument
227 for (Doc doc : mDocs.get(parentDocumentId).children) { in isChildDocument()
241 public String createDocument(String parentDocumentId, String mimeType, String displayName) in createDocument() argument
246 mDocs.get(parentDocumentId).children.add(doc); in createDocument()
267 public void removeDocument(String documentId, String parentDocumentId) in removeDocument() argument
273 mDocs.get(parentDocumentId).children.remove(doc); in removeDocument()
301 public Path findDocumentPath(String parentDocumentId, String documentId) in findDocumentPath() argument
316 while (!currentDocId.equals(parentDocumentId) in findDocumentPath()
323 if (parentDocumentId != null && !currentDocId.equals(parentDocumentId)) { in findDocumentPath()
324 throw new FileNotFoundException(documentId + " is not found under " + parentDocumentId); in findDocumentPath()
[all …]