Home
last modified time | relevance | path

Searched refs:docs (Results 1 – 25 of 67) sorted by relevance

123

/packages/apps/DocumentsUI/src/com/android/documentsui/ui/
DMessageBuilder.java45 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/apps/DocumentsUI/tests/unit/com/android/documentsui/
DAbstractActionHandlerTest.java80 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/services/Car/car-lib/
DAndroid.bp90 name: "android.car-docs-default",
127 name: "android.car-stubs-docs",
128 defaults: ["android.car-docs-default"],
155 name: "android.car-system-stubs-docs",
156 defaults: ["android.car-docs-default"],
186 name: "android.car-test-stubs-docs",
187 defaults: ["android.car-docs-default"],
204 name: "android.car-stub-docs",
254 // Generates API docs for go/devsite.
256 // How API docs are generated:
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestDocumentsProvider.java111 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()
DDocumentStackAsserts.java18 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()
DDocsProviders.java28 public static UrisSupplier createDocsProvider(List<Uri> docs) { in createDocsProvider() argument
29 return new UrisSupplier.StandardUrisSupplier(docs); in createDocsProvider()
DTestStableIdProvider.java27 public TestStableIdProvider(List<String> docs) { in TestStableIdProvider() argument
28 mDocs = docs; in TestStableIdProvider()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DActionHandler.java104 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 …]
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DDocumentStack.java68 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/modules/Bluetooth/system/gd/
DREADME.md9 * [Architecture](./docs/architecture/architecture.md)
10 * [Style Guide](./docs/architecture/style_guide.md)
21 * [GTest Unit Test](./docs/testing/gtest.md)
27 * [GD Certification Tests](./docs/testing/cert_test.md)
/packages/apps/DocumentsUI/src/com/android/documentsui/
DLoadDocStackTask.java56 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()
DRootsMonitor.java50 final DocumentsAccess docs, in RootsMonitor() argument
63 docs, in RootsMonitor()
95 DocumentsAccess docs, in HandleRootsChangedTask() argument
102 mDocs = docs; in HandleRootsChangedTask()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DSelectionHelpers.java40 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/clipping/
DUrisSupplier.java223 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/src/com/android/documentsui/picker/
DPickActivity.java402 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()
DCreatePickedDocumentTask.java53 DocumentsAccess docs, in CreatePickedDocumentTask() argument
62 mDocs = docs; in CreatePickedDocumentTask()
/packages/apps/Car/DebuggingRestrictionController/server/
DHOW_TO.md35 …[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/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DTestUtils.java200 List<SearchResult> docs = getNextPageAsync(session, results, executor).get(); in getDocIdsByQuery() local
201 if (docs.isEmpty()) { in getDocIdsByQuery()
204 for (int i = 0; i < docs.size(); ++i) { in getDocIdsByQuery()
205 allIds.add(docs.get(i).getGenericDocument().getId()); in getDocIdsByQuery()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java184 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/
DActionHandlerTest.java98 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/
DGetRootDocumentTask.java48 DocumentsAccess docs, in GetRootDocumentTask() argument
52 mDocs = docs; in GetRootDocumentTask()
/packages/providers/MediaProvider/tools/photopicker-gradle/
Dgradle.properties6 # 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/services/Telephony/testapps/TestSliceApp/
Dgradle.properties6 # 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/modules/Bluetooth/android/leaudio/
Dgradle.properties6 # 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/DebuggingRestrictionController/
Dgradle.properties6 # 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

123