Home
last modified time | relevance | path

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

/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java281 String parentDocId, String[] projection, String sortOrder) in queryChildDocumentsForManage() argument
283 return queryChildDocumentsShowAll(parentDocId, projection, sortOrder); in queryChildDocumentsForManage()
530 public Path findDocumentPath(@Nullable String parentDocId, String childDocId) in findDocumentPath() argument
538 final File parent = TextUtils.isEmpty(parentDocId) in findDocumentPath()
540 : getFileForDocId(parentDocId); in findDocumentPath()
542 return new Path(parentDocId == null ? root.rootId : null, findDocumentPath(parent, child)); in findDocumentPath()
558 final String parentDocId = DocumentsContract.getTreeDocumentId(uri); in getDocumentUri() local
559 if (isChildDocument(parentDocId, docId)) { in getDocumentUri()
/frameworks/base/core/tests/coretests/src/android/provider/
DDocumentsProviderTest.java118 private static Uri buildTreeDocumentUri(String authority, String parentDocId, String docId) { in buildTreeDocumentUri() argument
119 final Uri treeUri = DocumentsContract.buildTreeDocumentUri(authority, parentDocId); in buildTreeDocumentUri()
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java137 public boolean isChildDocument(String parentDocId, String docId) { in isChildDocument() argument
139 final File parent = getFileForDocId(parentDocId).getCanonicalFile(); in isChildDocument()
144 "Failed to determine if " + docId + " is child of " + parentDocId + ": " + e); in isChildDocument()