/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | AbstractActionHandlerTest.java | 73 mEnv.docs, in setUp() 122 mEnv.docs.nextIsDocumentsUri = true; in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation() 123 mEnv.docs.nextPath = new Path( in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation() 126 mEnv.docs.nextDocuments = Arrays.asList(TestEnv.FOLDER_1, TestEnv.FOLDER_2); in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation() 132 assertEquals(mEnv.docs.nextPath.getPath().size(), mEnv.state.stack.size()); in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation() 144 mEnv.docs.nextIsDocumentsUri = true; in testOpensContainerDocuments_ClickFolderInSearch_PushToRootDoc_NoFindPathSupport() 145 mEnv.docs.nextDocuments = Arrays.asList(TestEnv.FOLDER_1, TestEnv.FOLDER_2); in testOpensContainerDocuments_ClickFolderInSearch_PushToRootDoc_NoFindPathSupport() 166 mEnv.docs.nextIsDocumentsUri = true; in testOpensContainerDocuments_ClickArchiveInSearch_opensArchiveInArchiveProvider() 167 mEnv.docs.nextPath = new Path( in testOpensContainerDocuments_ClickArchiveInSearch_opensArchiveInArchiveProvider() 171 mEnv.docs.nextDocuments = Arrays.asList( in testOpensContainerDocuments_ClickArchiveInSearch_opensArchiveInArchiveProvider() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/ |
D | MessageBuilder.java | 45 public String generateDeleteMessage(List<DocumentInfo> docs) { in generateDeleteMessage() argument 49 for (DocumentInfo doc : docs) { in generateDeleteMessage() 55 if (docs.size() == 1) { in generateDeleteMessage() 60 String displayName = BidiFormatter.getInstance().unicodeWrap(docs.get(0).displayName); in generateDeleteMessage() 69 R.plurals.delete_files_confirmation_message, docs.size()); in generateDeleteMessage() 70 } else if (dirsCount == docs.size()) { in generateDeleteMessage() 73 R.plurals.delete_folders_confirmation_message, docs.size()); in generateDeleteMessage() 77 R.plurals.delete_items_confirmation_message, docs.size()); in generateDeleteMessage() 83 @DialogType int dialogType, @OpType int operationType, List<DocumentInfo> docs, in generateListMessage() argument 119 for (DocumentInfo documentInfo : docs) { in generateListMessage() [all …]
|
D | DialogController.java | 45 void confirmDelete(List<DocumentInfo> docs, ConfirmationCallback callback); in confirmDelete() argument 77 public void confirmDelete(List<DocumentInfo> docs, ConfirmationCallback callback) { in confirmDelete() argument 78 assert(!docs.isEmpty()); in confirmDelete() 83 message.setText(mMessages.generateDeleteMessage(docs)); in confirmDelete()
|
/packages/services/Car/car-lib/ |
D | Android.bp | 99 name: "android.car-docs-default", 137 name: "android.car-stubs-docs", 138 defaults: ["android.car-docs-default"], 139 args: "--hide UnavailableSymbol --no-docs --stub-packages android.car* ", 160 name: "android.car-system-stubs-docs", 161 defaults: ["android.car-docs-default"], 162 args: "--hide UnavailableSymbol --no-docs --stub-packages android.car* " + 184 name: "android.car-test-stubs-docs", 185 defaults: ["android.car-docs-default"], 186 args: "--hide UnavailableSymbol --no-docs --stub-packages android.car* " + [all …]
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestDocumentsProvider.java | 111 public void setNextChildDocumentsReturns(DocumentInfo... docs) { in setNextChildDocumentsReturns() argument 112 mNextChildDocuments = createDocumentsCursor(docs); in setNextChildDocumentsReturns() 115 public void setNextRecentDocumentsReturns(DocumentInfo... docs) { in setNextRecentDocumentsReturns() argument 116 mNextRecentDocuments = createDocumentsCursor(docs); in setNextRecentDocumentsReturns() 119 private Cursor createDocumentsCursor(DocumentInfo... docs) { in createDocumentsCursor() argument 121 for (DocumentInfo doc : docs) { in createDocumentsCursor()
|
D | DocumentStackAsserts.java | 18 public static void assertEqualsTo(DocumentStack stack, RootInfo root, List<DocumentInfo> docs) { in assertEqualsTo() argument 20 assertEquals(docs.size(), stack.size()); in assertEqualsTo() 21 for (int i = 0; i < docs.size(); ++i) { in assertEqualsTo() 22 assertEquals(docs.get(i), stack.get(i)); in assertEqualsTo()
|
D | DocsProviders.java | 28 public static UrisSupplier createDocsProvider(List<Uri> docs) { in createDocsProvider() argument 29 return new UrisSupplier.StandardUrisSupplier(docs); in createDocsProvider()
|
D | TestStableIdProvider.java | 27 public TestStableIdProvider(List<String> docs) { in TestStableIdProvider() argument 28 mDocs = docs; in TestStableIdProvider()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | DocumentStack.java | 68 public DocumentStack(RootInfo root, DocumentInfo... docs) { in DocumentStack() argument 70 for (int i = 0; i < docs.length; ++i) { in DocumentStack() 71 mList.add(docs[i]); in DocumentStack() 81 public DocumentStack(RootInfo root, List<DocumentInfo> docs) { in DocumentStack() argument 82 mList = new LinkedList<>(docs); in DocumentStack() 90 public DocumentStack(DocumentStack src, DocumentInfo... docs) { in DocumentStack() argument 92 for (DocumentInfo doc : docs) { in DocumentStack()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | ActionHandler.java | 105 DocumentsAccess docs, in ActionHandler() argument 114 super(activity, state, providers, docs, searchMgr, executors, injector); in ActionHandler() 311 List<DocumentInfo> docs = mModel.getDocuments(selection); in deleteSelectedDocuments() local 347 mDialogs.confirmDelete(docs, result); in deleteSelectedDocuments() 359 List<DocumentInfo> docs = mModel.loadDocuments( in shareSelectedDocuments() local 364 if (docs.size() == 1) { in shareSelectedDocuments() 366 DocumentInfo doc = docs.get(0); in shareSelectedDocuments() 370 } else if (docs.size() > 1) { in shareSelectedDocuments() 375 for (DocumentInfo doc : docs) { in shareSelectedDocuments()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | LoadDocStackTask.java | 53 DocumentsAccess docs, in LoadDocStackTask() argument 57 mDocs = docs; in LoadDocStackTask() 106 List<DocumentInfo> docs = mDocs.getDocuments(authority, path.getPath()); in buildStack() local 108 return new DocumentStack(root, docs); in buildStack()
|
D | RootsMonitor.java | 50 final DocumentsAccess docs, in RootsMonitor() argument 63 docs, in RootsMonitor() 95 DocumentsAccess docs, in HandleRootsChangedTask() argument 102 mDocs = docs; in HandleRootsChangedTask()
|
D | Model.java | 217 final List<DocumentInfo> docs = new ArrayList<>(size); in loadDocuments() local 222 docs.add(doc); in loadDocuments() 225 return docs; in loadDocuments()
|
D | AbstractActionHandler.java | 124 DocumentsAccess docs, in AbstractActionHandler() argument 133 assert(docs != null); in AbstractActionHandler() 139 mDocs = docs; in AbstractActionHandler() 665 void onDocumentsPicked(List<DocumentInfo> docs); in onDocumentsPicked() argument
|
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/ |
D | UrisSupplier.java | 218 public StandardUrisSupplier(List<Uri> docs) { in StandardUrisSupplier() argument 219 mDocs = docs; in StandardUrisSupplier() 223 ArrayList<Uri> docs = new ArrayList<>(clipData.getItemCount()); in listDocs() local 228 docs.add(uri); in listDocs() 231 return docs; in listDocs()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | SelectionHelpers.java | 41 public static DocsSelectionHelper createTestInstance(List<String> docs) { in createTestInstance() argument 48 Integer.toHexString(System.identityHashCode(docs)), in createTestInstance() 49 new TestStableIdProvider(docs), in createTestInstance()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ |
D | ActionHandlerTest.java | 86 mEnv.docs, in setUp() 110 DocumentsAccess docs, in TestableActionHandler() argument 116 super(activity, state, providers, docs, searchMgr, executors, injector, lastAccessed); in TestableActionHandler() 176 mEnv.docs.nextIsDocumentsUri = true; in testInitLocation_LaunchToDocuments() 177 mEnv.docs.nextPath = new Path( in testInitLocation_LaunchToDocuments() 183 mEnv.docs.nextDocuments = in testInitLocation_LaunchToDocuments() 328 mEnv.docs.assertCreatedDocument(TestEnv.FOLDER_1, mimeType, displayName); in testSaveDocument_SetsCorrectResultAndFinishes() 329 final Uri docUri = mEnv.docs.getLastCreatedDocumentUri(); in testSaveDocument_SetsCorrectResultAndFinishes()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DirectoryFragment.java | 806 List<DocumentInfo> docs = mModel.getDocuments(selected); in openDocuments() local 807 if (docs.size() > 1) { in openDocuments() 808 mActivity.onDocumentsPicked(docs); in openDocuments() 810 mActivity.onDocumentPicked(docs.get(0)); in openDocuments() 901 List<DocumentInfo> docs = mModel.getDocuments(selected); in transferDocuments() local 907 intent.putExtra(Shared.EXTRA_DIRECTORY_COPY, hasDirectory(docs)); in transferDocuments() 926 private static boolean hasDirectory(List<DocumentInfo> docs) { in hasDirectory() argument 927 for (DocumentInfo info : docs) { in hasDirectory() 943 List<DocumentInfo> docs = mModel.getDocuments(selected); in renameDocuments() local 944 RenameDocumentFragment.show(getChildFragmentManager(), docs.get(0)); in renameDocuments()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/ |
D | GetRootDocumentTask.java | 48 DocumentsAccess docs, in GetRootDocumentTask() argument 52 mDocs = docs; in GetRootDocumentTask()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | ActionHandler.java | 91 DocumentsAccess docs, in ActionHandler() argument 96 super(activity, state, providers, docs, searchMgr, executors, injector); in ActionHandler() 414 void finishPicking(Uri... docs) { in finishPicking() argument 420 onPickFinished(docs); in finishPicking()
|
D | CreatePickedDocumentTask.java | 53 DocumentsAccess docs, in CreatePickedDocumentTask() argument 62 mDocs = docs; in CreatePickedDocumentTask()
|
D | PickActivity.java | 365 public void onDocumentsPicked(List<DocumentInfo> docs) { in onDocumentsPicked() argument 367 final int size = docs.size(); in onDocumentsPicked() 370 uris[i] = docs.get(i).derivedUri; in onDocumentsPicked()
|
/packages/apps/Car/libs/car-ui-lib/ |
D | gradle.properties | 21 # http://www.gradle.org/docs/current/userguide/build_environment.html 27 # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
/packages/providers/TelephonyProvider/assets/ |
D | README | 34 (See https://developers.google.com/protocol-buffers/docs/overview#generating) 36 …(Text Format: https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protob…
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/ |
D | ActionHandlerTest.java | 374 mEnv.docs.nextDocument = TestEnv.FILE_ARCHIVE; in testDocumentPicked_OpensArchives() 498 mEnv.docs.nextIsDocumentsUri = true; in testInitLocation_LaunchToDocuments() 499 mEnv.docs.nextPath = new Path( in testInitLocation_LaunchToDocuments() 504 mEnv.docs.nextDocuments = in testInitLocation_LaunchToDocuments() 725 mEnv.docs, in createHandler()
|