Home
last modified time | relevance | path

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

/packages/services/Mtp/src/com/android/mtp/
DMtpDocumentsProvider.java243 public Cursor queryChildDocuments(String parentDocumentId, in queryChildDocuments() argument
246 Log.d(TAG, "queryChildDocuments: " + parentDocumentId); in queryChildDocuments()
251 Identifier parentIdentifier = mDatabase.createIdentifier(parentDocumentId); in queryChildDocuments()
255 final String[] storageDocIds = mDatabase.getStorageDocumentIds(parentDocumentId); in queryChildDocuments()
261 return mDatabase.queryChildDocuments(projection, parentDocumentId); in queryChildDocuments()
387 public String createDocument(String parentDocumentId, String mimeType, String displayName) in createDocument() argument
396 parentId = mDatabase.createIdentifier(parentDocumentId); in createDocument()
413 notifyChildDocumentsChange(parentDocumentId); in createDocument()
482 parentId.mDeviceId, parentDocumentId, record.operationsSupported, in createDocument()
485 notifyChildDocumentsChange(parentDocumentId); in createDocument()
[all …]
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()
DMtpDatabase.java241 Cursor queryChildDocuments(String[] columnNames, String parentDocumentId) { in queryChildDocuments() argument
246 strings(ROW_STATE_VALID, ROW_STATE_INVALIDATED, parentDocumentId), in queryChildDocuments()
382 int deviceId, String parentDocumentId, int[] operationsSupported, MtpObjectInfo info, in putNewDocument() argument
386 values, deviceId, parentDocumentId, operationsSupported, info, size); in putNewDocument()
794 String parentDocumentId, in getStorageDocumentValues() argument
801 values.put(COLUMN_PARENT_DOCUMENT_ID, parentDocumentId); in getStorageDocumentValues()
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchivesProvider.java133 public Cursor queryChildDocumentsForManage(String parentDocumentId, in queryChildDocumentsForManage() argument
137 return queryChildDocuments(parentDocumentId, projection, sortOrder); in queryChildDocumentsForManage()
152 public boolean isChildDocument(String parentDocumentId, String documentId) { in isChildDocument() argument
154 return loader.get().isChildDocument(parentDocumentId, documentId); in isChildDocument()
216 String parentDocumentId, String mimeType, String displayName) in createDocument() argument
218 final Loader loader = getLoaderOrThrow(parentDocumentId); in createDocument()
219 return loader.get().createDocument(parentDocumentId, mimeType, displayName); in createDocument()
DArchive.java182 public boolean isChildDocument(String parentDocumentId, String documentId) { in isChildDocument() argument
183 final ArchiveId parsedParentId = ArchiveId.fromDocumentId(parentDocumentId); in isChildDocument()
241 public String createDocument(String parentDocumentId, String mimeType, String displayName) in createDocument() argument
DWriteableArchive.java135 public String createDocument(String parentDocumentId, String mimeType, String displayName) in createDocument() argument
137 final ArchiveId parsedParentId = ArchiveId.fromDocumentId(parentDocumentId); in createDocument()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DPagingProvider.java56 String parentDocumentId, String[] projection, String sortOrder) in queryChildDocuments() argument
63 String parentDocumentId, String[] projection, Bundle queryArgs) in queryChildDocuments() argument
DDemoProvider.java68 String parentDocumentId, String[] projection, String sortOrder) in queryChildDocuments() argument
73 switch (parentDocumentId) { in queryChildDocuments()
DStubProvider.java245 public Cursor queryChildDocumentsForManage(String parentDocumentId, String[] projection, in queryChildDocumentsForManage() argument
247 return queryChildDocuments(parentDocumentId, projection, sortOrder); in queryChildDocumentsForManage()
251 … public Cursor queryChildDocuments(String parentDocumentId, String[] projection, String sortOrder) in queryChildDocuments() argument
254 final Uri notifyUri = DocumentsContract.buildDocumentUri(mAuthority, parentDocumentId); in queryChildDocuments()
268 final StubDocument parentDocument = mStorage.get(parentDocumentId); in queryChildDocuments()
275 DocumentsContract.buildChildDocumentsUri(mAuthority, parentDocumentId)); in queryChildDocuments()
DBrokenProvider.java57 public Cursor queryChildDocuments(String parentDocumentId, String[] projection, in queryChildDocuments() argument
DBrokenSettingsEnabledProvider.java55 String parentDocumentId, String[] projection, String sortOrder) in queryChildDocuments() argument
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/
DResourcesProvider.java110 String parentDocumentId, String[] projection, String sortOrder) in queryChildDocuments() argument
112 if (!"root-document-id".equals(parentDocumentId)) { in queryChildDocuments()
/packages/apps/Traceur/src/com/android/traceur/
DStorageProvider.java126 String parentDocumentId, String[] projection, String sortOrder) in queryChildDocuments() argument
128 Cursor result = super.queryChildDocuments(parentDocumentId, projection, sortOrder); in queryChildDocuments()
/packages/apps/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()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestDocumentsProvider.java77 public Cursor queryChildDocuments(String parentDocumentId, String[] projection, in queryChildDocuments() argument
/packages/services/Mtp/tests/src/com/android/mtp/
DMtpDocumentsProviderTest.java967 String parentDocumentId, in setupDocuments() argument
977 parentDocumentId, in setupDocuments()