/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 …]
|
/packages/services/Car/car-lib/ |
D | Android.bp | 118 name: "android.car-docs-default", 155 name: "android.car-stubs-docs", 156 defaults: ["android.car-docs-default"], 157 args: "--hide UnavailableSymbol --no-docs --stub-packages android.car* " + 183 name: "android.car-system-stubs-docs", 184 defaults: ["android.car-docs-default"], 187 "--no-docs --stub-packages android.car* " + 213 name: "android.car-test-stubs-docs", 214 defaults: ["android.car-docs-default"], 215 … args: "--hide HiddenSuperclass --hide UnavailableSymbol --no-docs --stub-packages android.car* " + [all …]
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | AbstractActionHandlerTest.java | 80 mEnv.docs, in setUp() 129 mEnv.docs.nextIsDocumentsUri = true; in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation() 130 mEnv.docs.nextPath = new Path( in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation() 133 mEnv.docs.nextDocuments = Arrays.asList(TestEnv.FOLDER_1, TestEnv.FOLDER_2); in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation() 139 assertEquals(mEnv.docs.nextPath.getPath().size(), mEnv.state.stack.size()); in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation() 151 mEnv.docs.nextIsDocumentsUri = true; in testOpensContainerDocuments_ClickFolderInSearch_PushToRootDoc_NoFindPathSupport() 152 mEnv.docs.nextDocuments = Arrays.asList(TestEnv.FOLDER_1, TestEnv.FOLDER_2); in testOpensContainerDocuments_ClickFolderInSearch_PushToRootDoc_NoFindPathSupport() 173 mEnv.docs.nextIsDocumentsUri = true; in testOpensContainerDocuments_ClickArchiveInSearch_opensArchiveInArchiveProvider() 174 mEnv.docs.nextPath = new Path( in testOpensContainerDocuments_ClickArchiveInSearch_opensArchiveInArchiveProvider() 178 mEnv.docs.nextDocuments = Arrays.asList( in testOpensContainerDocuments_ClickArchiveInSearch_opensArchiveInArchiveProvider() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | ActionHandler.java | 104 DocumentsAccess docs, in ActionHandler() argument 113 super(activity, state, providers, docs, searchMgr, executors, injector); in ActionHandler() 313 public void deleteSelectedDocuments(List<DocumentInfo> docs, DocumentInfo srcParent) { in deleteSelectedDocuments() argument 314 if (docs == null || docs.isEmpty()) { in deleteSelectedDocuments() 320 List<Uri> uris = new ArrayList<>(docs.size()); in deleteSelectedDocuments() 321 for (DocumentInfo doc : docs) { in deleteSelectedDocuments() 363 List<DocumentInfo> docs = mModel.loadDocuments( in shareSelectedDocuments() local 368 if (docs.size() == 1) { in shareSelectedDocuments() 370 DocumentInfo doc = docs.get(0); in shareSelectedDocuments() 374 } else if (docs.size() > 1) { in shareSelectedDocuments() [all …]
|
D | DeleteDocumentFragment.java | 59 public static void show(FragmentManager fm, List<DocumentInfo> docs, DocumentInfo srcParent) { in show() argument 66 dialog.mDocuments = docs; in show()
|
/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/ |
D | LoadDocStackTask.java | 56 DocumentsAccess docs, in LoadDocStackTask() argument 61 mDocs = docs; in LoadDocStackTask() 112 List<DocumentInfo> docs = mDocs.getDocuments(root.userId, authority, path.getPath()); in buildStack() local 114 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 | 199 final List<DocumentInfo> docs = new ArrayList<>(size); in loadDocuments() local 204 docs.add(doc); in loadDocuments() 207 return docs; in loadDocuments()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/ |
D | UrisSupplier.java | 223 public StandardUrisSupplier(List<Uri> docs) { in StandardUrisSupplier() argument 224 mDocs = docs; in StandardUrisSupplier() 228 ArrayList<Uri> docs = new ArrayList<>(clipData.getItemCount()); in listDocs() local 233 docs.add(uri); in listDocs() 236 return docs; in listDocs()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | SelectionHelpers.java | 40 public static DocsSelectionHelper createTestInstance(List<String> docs) { in createTestInstance() argument 45 Integer.toHexString(System.identityHashCode(docs)), in createTestInstance() 46 new TestStableIdProvider(docs), in createTestInstance()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | PickActivity.java | 402 public void onDocumentsPicked(List<DocumentInfo> docs) { in onDocumentsPicked() argument 404 if (!canShare(docs)) { in onDocumentsPicked() 410 final int size = docs.size(); in onDocumentsPicked() 413 for (int i = 0; i < docs.size(); i++) { in onDocumentsPicked() 414 DocumentInfo doc = docs.get(i); in onDocumentsPicked() 426 private boolean canShare(List<DocumentInfo> docs) { in canShare() argument 427 for (DocumentInfo doc : docs) { in canShare()
|
D | ActionHandler.java | 88 DocumentsAccess docs, in ActionHandler() argument 94 super(activity, state, providers, docs, searchMgr, executors, injector); in ActionHandler() 393 void finishPicking(Uri... docs) { in finishPicking() argument 399 onPickFinished(docs); in finishPicking()
|
D | CreatePickedDocumentTask.java | 53 DocumentsAccess docs, in CreatePickedDocumentTask() argument 62 mDocs = docs; in CreatePickedDocumentTask()
|
/packages/apps/Car/DebuggingRestrictionController/server/ |
D | HOW_TO.md | 35 …[https://firebase.google.com/docs/functions/get-started](https://firebase.google.com/docs/function… 47 …[https://firebase.google.com/docs/functions/manage-functions](hhttps://firebase.google.com/docs/fu…
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/ |
D | ActionHandlerTest.java | 184 List<DocumentInfo> docs = new ArrayList<>(); in testDeleteSelectedDocuments() local 185 docs.add(TestEnv.FILE_PNG); in testDeleteSelectedDocuments() 186 mHandler.deleteSelectedDocuments(docs, mEnv.state.stack.peek()); in testDeleteSelectedDocuments() 381 mEnv.docs.nextDocument = TestEnv.FILE_ARCHIVE; in testDocumentPicked_OpensArchives() 482 mEnv.docs.nextIsDocumentsUri = true; in testInitLocation_LaunchToDocuments() 483 mEnv.docs.nextPath = new Path( in testInitLocation_LaunchToDocuments() 488 mEnv.docs.nextDocuments = in testInitLocation_LaunchToDocuments() 707 mEnv.docs, in createHandler()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ |
D | ActionHandlerTest.java | 98 mEnv.docs, in setUp() 121 DocumentsAccess docs, in TestableActionHandler() argument 128 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() 355 mEnv.docs.assertCreatedDocument(TestEnv.FOLDER_1, mimeType, displayName); in testSaveDocument_SetsCorrectResultAndFinishes() 356 final Uri docUri = mEnv.docs.getLastCreatedDocumentUri(); in testSaveDocument_SetsCorrectResultAndFinishes()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/ |
D | GetRootDocumentTask.java | 48 DocumentsAccess docs, in GetRootDocumentTask() argument 52 mDocs = docs; in GetRootDocumentTask()
|
/packages/apps/Car/DebuggingRestrictionController/ |
D | gradle.properties | 6 # http://www.gradle.org/docs/current/userguide/build_environment.html 12 # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
/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…
|