Home
last modified time | relevance | path

Searched refs:parentDocumentId (Results 1 – 23 of 23) 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.java197 public Cursor queryChildDocuments(String parentDocumentId, in queryChildDocuments() argument
200 Log.d(TAG, "queryChildDocuments: " + parentDocumentId); in queryChildDocuments()
205 Identifier parentIdentifier = mDatabase.createIdentifier(parentDocumentId); in queryChildDocuments()
209 final String[] storageDocIds = mDatabase.getStorageDocumentIds(parentDocumentId); in queryChildDocuments()
215 return mDatabase.queryChildDocuments(projection, parentDocumentId); in queryChildDocuments()
336 public String createDocument(String parentDocumentId, String mimeType, String displayName) in createDocument() argument
345 parentId = mDatabase.createIdentifier(parentDocumentId); in createDocument()
403 parentId.mDeviceId, parentDocumentId, record.operationsSupported, in createDocument()
406 notifyChildDocumentsChange(parentDocumentId); in createDocument()
506 private void notifyChildDocumentsChange(String parentDocumentId) { in notifyChildDocumentsChange() argument
[all …]
DMtpDatabase.java239 Cursor queryChildDocuments(String[] columnNames, String parentDocumentId) { in queryChildDocuments() argument
244 strings(ROW_STATE_VALID, ROW_STATE_INVALIDATED, parentDocumentId), in queryChildDocuments()
380 int deviceId, String parentDocumentId, int[] operationsSupported, MtpObjectInfo info, in putNewDocument() argument
384 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/support/documents-archive/tests/src/android/support/provider/
DStubProvider.java97 String parentDocumentId, String[] projection, String sortOrder) in queryChildDocuments() argument
99 if (archiveHelper.isArchivedDocument(parentDocumentId) || in queryChildDocuments()
100 archiveHelper.isSupportedArchiveType(getDocumentType(parentDocumentId))) { in queryChildDocuments()
101 return archiveHelper.queryChildDocuments(parentDocumentId, projection, sortOrder); in queryChildDocuments()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportStorageProvider.java95 String parentDocumentId, String[] projection, String sortOrder) in queryChildDocuments() argument
97 if (mArchiveHelper.isArchivedDocument(parentDocumentId) || in queryChildDocuments()
98 mArchiveHelper.isSupportedArchiveType(getDocumentType(parentDocumentId))) { in queryChildDocuments()
99 return mArchiveHelper.queryChildDocuments(parentDocumentId, projection, sortOrder); in queryChildDocuments()
103 if (DOC_ID_ROOT.equals(parentDocumentId)) { in queryChildDocuments()
/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()
DExternalStorageProvider.java544 String parentDocumentId, String[] projection, String sortOrder) in queryChildDocuments() argument
546 if (mArchiveHelper.isArchivedDocument(parentDocumentId) || in queryChildDocuments()
547 mArchiveHelper.isSupportedArchiveType(getDocumentType(parentDocumentId))) { in queryChildDocuments()
548 return mArchiveHelper.queryChildDocuments(parentDocumentId, projection, sortOrder); in queryChildDocuments()
551 final File parent = getFileForDocId(parentDocumentId); in queryChildDocuments()
553 resolveDocumentProjection(projection), parentDocumentId, parent); in queryChildDocuments()
/frameworks/base/core/java/android/provider/
DDocumentsProvider.java191 public boolean isChildDocument(String parentDocumentId, String documentId) { in isChildDocument() argument
225 public String createDocument(String parentDocumentId, String mimeType, String displayName) in createDocument() argument
319 public void removeDocument(String documentId, String parentDocumentId) in removeDocument() argument
410 String parentDocumentId, String[] projection, String sortOrder) in queryChildDocuments() argument
416 String parentDocumentId, String[] projection, String sortOrder) in queryChildDocumentsForManage() argument
DDocumentsContract.java783 public static Uri buildChildDocumentsUri(String authority, String parentDocumentId) { in buildChildDocumentsUri() argument
785 .appendPath(PATH_DOCUMENT).appendPath(parentDocumentId).appendPath(PATH_CHILDREN) in buildChildDocumentsUri()
813 public static Uri buildChildDocumentsUriUsingTree(Uri treeUri, String parentDocumentId) { in buildChildDocumentsUriUsingTree() argument
817 .appendPath(parentDocumentId).appendPath(PATH_CHILDREN).build(); in buildChildDocumentsUriUsingTree()
/frameworks/support/documents-archive/src/android/support/provider/
DDocumentArchiveHelper.java146 public boolean isChildDocument(String parentDocumentId, String documentId) { in isChildDocument() argument
150 return loader.get().isChildDocument(parentDocumentId, documentId); in isChildDocument()
DDocumentArchive.java293 public boolean isChildDocument(String parentDocumentId, String documentId) { in isChildDocument() argument
295 parentDocumentId, mIdDelimiter); in isChildDocument()
/frameworks/base/packages/DocumentsUI/perf-tests/src/com/android/documentsui/
DStressProvider.java150 public Cursor queryChildDocuments(String parentDocumentId, String[] projection, in queryChildDocuments() argument
154 final ArrayList<StubDocument> childDocuments = mChildDocuments.get(parentDocumentId); in queryChildDocuments()
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
DStubProvider.java220 public Cursor queryChildDocumentsForManage(String parentDocumentId, String[] projection, in queryChildDocumentsForManage() argument
222 return queryChildDocuments(parentDocumentId, projection, sortOrder); in queryChildDocumentsForManage()
226 … public Cursor queryChildDocuments(String parentDocumentId, String[] projection, String sortOrder) in queryChildDocuments() argument
228 final StubDocument parentDocument = mStorage.get(parentDocumentId); in queryChildDocuments()
235 DocumentsContract.buildChildDocumentsUri(mAuthority, parentDocumentId)); in queryChildDocuments()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DMtpDocumentsProviderTest.java804 String parentDocumentId, in setupDocuments() argument
814 parentDocumentId, strings(DocumentsContract.Document.COLUMN_DOCUMENT_ID), null)); in setupDocuments()
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/providers/
Ddocument-provider.jd793 public Cursor queryChildDocuments(String parentDocumentId, String[] projection,
798 final File parent = getFileForDocId(parentDocumentId);
/frameworks/base/docs/html-intl/intl/ru/guide/topics/providers/
Ddocument-provider.jd793 public Cursor queryChildDocuments(String parentDocumentId, String[] projection,
798 final File parent = getFileForDocId(parentDocumentId);
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/providers/
Ddocument-provider.jd793 public Cursor queryChildDocuments(String parentDocumentId, String[] projection,
798 final File parent = getFileForDocId(parentDocumentId);
/frameworks/base/docs/html-intl/intl/ja/guide/topics/providers/
Ddocument-provider.jd793 public Cursor queryChildDocuments(String parentDocumentId, String[] projection,
798 final File parent = getFileForDocId(parentDocumentId);
/frameworks/base/docs/html-intl/intl/ko/guide/topics/providers/
Ddocument-provider.jd793 public Cursor queryChildDocuments(String parentDocumentId, String[] projection,
798 final File parent = getFileForDocId(parentDocumentId);
/frameworks/base/docs/html-intl/intl/in/guide/topics/providers/
Ddocument-provider.jd793 public Cursor queryChildDocuments(String parentDocumentId, String[] projection,
798 final File parent = getFileForDocId(parentDocumentId);
/frameworks/base/docs/html/guide/topics/providers/
Ddocument-provider.jd795 public Cursor queryChildDocuments(String parentDocumentId, String[] projection,
800 final File parent = getFileForDocId(parentDocumentId);
/frameworks/base/docs/html-intl/intl/pt-br/guide/topics/providers/
Ddocument-provider.jd793 public Cursor queryChildDocuments(String parentDocumentId, String[] projection,
798 final File parent = getFileForDocId(parentDocumentId);
/frameworks/base/docs/html-intl/intl/vi/guide/topics/providers/
Ddocument-provider.jd793 public Cursor queryChildDocuments(String parentDocumentId, String[] projection,
798 final File parent = getFileForDocId(parentDocumentId);