/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | Mapper.java | 93 String parentDocumentId, int[] operationsSupported, MtpRoot[] roots) in putStorageDocuments() argument 106 parentDocumentId, in putStorageDocuments() 111 parentDocumentId, in putStorageDocuments() 115 strings(parentDocumentId), in putStorageDocuments() 189 void startAddingDocuments(@Nullable String parentDocumentId) throws FileNotFoundException { in startAddingDocuments() argument 192 if (parentDocumentId != null) { in startAddingDocuments() 194 args = strings(parentDocumentId); in startAddingDocuments() 203 getParentOrHaltMapping(parentDocumentId); in startAddingDocuments() 204 Preconditions.checkState(!mInMappingIds.contains(parentDocumentId)); in startAddingDocuments() 216 mInMappingIds.add(parentDocumentId); in startAddingDocuments()
|
D | MtpDocumentsProvider.java | 239 public Cursor queryChildDocuments(String parentDocumentId, in queryChildDocuments() argument 242 Log.d(TAG, "queryChildDocuments: " + parentDocumentId); in queryChildDocuments() 247 Identifier parentIdentifier = mDatabase.createIdentifier(parentDocumentId); in queryChildDocuments() 251 final String[] storageDocIds = mDatabase.getStorageDocumentIds(parentDocumentId); in queryChildDocuments() 257 return mDatabase.queryChildDocuments(projection, parentDocumentId); in queryChildDocuments() 383 public String createDocument(String parentDocumentId, String mimeType, String displayName) in createDocument() argument 392 parentId = mDatabase.createIdentifier(parentDocumentId); in createDocument() 409 notifyChildDocumentsChange(parentDocumentId); in createDocument() 478 parentId.mDeviceId, parentDocumentId, record.operationsSupported, in createDocument() 481 notifyChildDocumentsChange(parentDocumentId); in createDocument() [all …]
|
D | MtpDatabase.java | 237 Cursor queryChildDocuments(String[] columnNames, String parentDocumentId) { in queryChildDocuments() argument 242 strings(ROW_STATE_VALID, ROW_STATE_INVALIDATED, parentDocumentId), in queryChildDocuments() 378 int deviceId, String parentDocumentId, int[] operationsSupported, MtpObjectInfo info, in putNewDocument() argument 382 values, deviceId, parentDocumentId, operationsSupported, info, size); in putNewDocument() 784 String parentDocumentId, in getStorageDocumentValues() argument 791 values.put(COLUMN_PARENT_DOCUMENT_ID, parentDocumentId); in getStorageDocumentValues()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | TestDocumentsProvider.java | 71 public Cursor queryChildDocuments(String parentDocumentId, String[] projection, in queryChildDocuments() argument 83 public boolean isChildDocument(String parentDocumentId, String documentId) { in isChildDocument() argument 88 public Path findDocumentPath(@Nullable String parentDocumentId, String documentId) { in findDocumentPath() argument 90 lastParentDocumentId = parentDocumentId; in findDocumentPath()
|
/frameworks/base/core/java/android/provider/ |
D | DocumentsProvider.java | 216 public boolean isChildDocument(String parentDocumentId, String documentId) { in isChildDocument() argument 254 public String createDocument(String parentDocumentId, String mimeType, String displayName) in createDocument() argument 363 public void removeDocument(String documentId, String parentDocumentId) in removeDocument() argument 390 public Path findDocumentPath(@Nullable String parentDocumentId, String childDocumentId) in findDocumentPath() argument 562 String parentDocumentId, String[] projection, String sortOrder) in queryChildDocuments() argument 604 String parentDocumentId, @Nullable String[] projection, @Nullable Bundle queryArgs) in queryChildDocuments() argument 608 parentDocumentId, projection, getSortClause(queryArgs)); in queryChildDocuments() 614 String parentDocumentId, @Nullable String[] projection, @Nullable String sortOrder) in queryChildDocumentsForManage() argument 1235 final String parentDocumentId = isTreeUri in callUnchecked() local 1239 Path path = findDocumentPath(parentDocumentId, documentId); in callUnchecked() [all …]
|
D | DocumentsContract.java | 981 public static Uri buildChildDocumentsUri(String authority, String parentDocumentId) { in buildChildDocumentsUri() argument 983 .appendPath(PATH_DOCUMENT).appendPath(parentDocumentId).appendPath(PATH_CHILDREN) in buildChildDocumentsUri() 1011 public static Uri buildChildDocumentsUriUsingTree(Uri treeUri, String parentDocumentId) { in buildChildDocumentsUriUsingTree() argument 1015 .appendPath(parentDocumentId).appendPath(PATH_CHILDREN).build(); in buildChildDocumentsUriUsingTree()
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
D | TestDocumentsProvider.java | 156 public String createDocument(String parentDocumentId, String mimeType, String displayName) in createDocument() argument 160 return super.createDocument(parentDocumentId, mimeType, displayName); in createDocument() 225 String parentDocumentId, String[] projection, String sortOrder) in queryChildDocuments() argument 234 "com.example.documents", parentDocumentId); in queryChildDocuments()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | BugreportStorageProvider.java | 73 String parentDocumentId, String[] projection, String sortOrder) in queryChildDocuments() argument 75 final Cursor c = super.queryChildDocuments(parentDocumentId, projection, sortOrder); in queryChildDocuments()
|
/frameworks/base/core/java/com/android/internal/content/ |
D | FileSystemProvider.java | 382 String parentDocumentId, String[] projection, String sortOrder) in queryChildDocuments() argument 385 final File parent = getFileForDocId(parentDocumentId); in queryChildDocuments() 387 resolveProjection(projection), parentDocumentId, parent); in queryChildDocuments() 393 Log.w(TAG, "parentDocumentId '" + parentDocumentId + "' is not Directory"); in queryChildDocuments()
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | MtpDocumentsProviderTest.java | 967 String parentDocumentId, in setupDocuments() argument 977 parentDocumentId, in setupDocuments()
|