Home
last modified time | relevance | path

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

/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMapper.java93 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()
DMtpDocumentsProvider.java239 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 …]
DMtpDatabase.java237 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/
DTestDocumentsProvider.java71 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/
DDocumentsProvider.java216 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 …]
DDocumentsContract.java981 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/
DTestDocumentsProvider.java156 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/
DBugreportStorageProvider.java73 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/
DFileSystemProvider.java382 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/
DMtpDocumentsProviderTest.java967 String parentDocumentId, in setupDocuments() argument
977 parentDocumentId, in setupDocuments()