/packages/services/Mtp/src/com/android/mtp/ |
D | MtpDocumentsProvider.java | 243 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 …]
|
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 | MtpDatabase.java | 241 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/ |
D | ArchivesProvider.java | 133 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()
|
D | Archive.java | 182 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
|
D | WriteableArchive.java | 135 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/ |
D | PagingProvider.java | 56 String parentDocumentId, String[] projection, String sortOrder) in queryChildDocuments() argument 63 String parentDocumentId, String[] projection, Bundle queryArgs) in queryChildDocuments() argument
|
D | DemoProvider.java | 68 String parentDocumentId, String[] projection, String sortOrder) in queryChildDocuments() argument 73 switch (parentDocumentId) { in queryChildDocuments()
|
D | StubProvider.java | 245 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()
|
D | BrokenProvider.java | 57 public Cursor queryChildDocuments(String parentDocumentId, String[] projection, in queryChildDocuments() argument
|
D | BrokenSettingsEnabledProvider.java | 55 String parentDocumentId, String[] projection, String sortOrder) in queryChildDocuments() argument
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/ |
D | ResourcesProvider.java | 110 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/ |
D | StorageProvider.java | 126 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/ |
D | StressProvider.java | 150 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/ |
D | TestDocumentsProvider.java | 77 public Cursor queryChildDocuments(String parentDocumentId, String[] projection, in queryChildDocuments() argument
|
/packages/services/Mtp/tests/src/com/android/mtp/ |
D | MtpDocumentsProviderTest.java | 967 String parentDocumentId, in setupDocuments() argument 977 parentDocumentId, in setupDocuments()
|