/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | StubProvider.java | 141 mStorage.put(rootInfo.document.documentId, rootInfo.document); in clearCacheAndBuildRoots() 167 row.add(Root.COLUMN_DOCUMENT_ID, info.document.documentId); in queryRoots() 215 final StubDocument document = StubDocument.createRegularDocument(file, mimeType, parent); in createDocument() local 216 mStorage.put(document.documentId, document); in createDocument() 217 Log.d(TAG, "Created document " + document.documentId); in createDocument() 218 notifyParentChanged(document.parentId); in createDocument() 220 DocumentsContract.buildDocumentUri(mAuthority, document.documentId), in createDocument() 223 return document.documentId; in createDocument() 229 final StubDocument document = mStorage.get(documentId); in deleteDocument() local 230 final long fileSize = document.file.length(); in deleteDocument() [all …]
|
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/ |
D | StressProvider.java | 95 StubDocument document; in onCreate() local 100 document = StubDocument.createDirectory(i); in onCreate() 101 mDocuments.put(document.id, document); in onCreate() 102 children.add(document); in onCreate() 109 document = StubDocument.createFile( in onCreate() 116 mDocuments.put(document.id, document); in onCreate() 117 children.add(document); in onCreate() 144 final StubDocument document = mDocuments.get(documentId); in queryDocument() local 145 includeDocument(result, document); in queryDocument() 156 for (StubDocument document : childDocuments) { in queryChildDocuments() [all …]
|
/packages/services/Car/tools/telemetry/lua-interpreter/static/js/ |
D | index.js | 21 document.getElementById('script-input'); 24 document.getElementById('published-data-input'); 27 document.getElementById('saved-state-input'); 115 document.getElementById('published-data-button-group'); 123 document.createElement('span'); 149 const /** !HTMLButtonElement */ button = document.createElement('button'); 154 const /** !HTMLSpanElement */ rippleSpan = document.createElement('span'); 157 const /** !HTMLSpanElement */ labelSpan = document.createElement('span');
|
/packages/services/Car/tools/hidl_parser/ |
D | parser.py | 233 def resolve(self, enum, document): argument 243 def resolve(self, enum, document): argument 256 def resolve(self, enum, document): argument 257 return self.value.resolve(enum, document) + 1 266 def resolve(self, enum, document): argument 268 if case.name == self.ref: return case.value.resolve(enum, document) 278 def resolve(self, enum, document): argument 279 base = self.base.resolve(enum, document) 280 offset = self.offset.resolve(enum, document) 291 def resolve(self, enum, document): argument [all …]
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/ |
D | GenericDocumentToProtoConverter.java | 52 public static DocumentProto toDocumentProto(@NonNull GenericDocument document) { in toDocumentProto() argument 53 Objects.requireNonNull(document); in toDocumentProto() 56 .setUri(document.getId()) in toDocumentProto() 57 .setSchema(document.getSchemaType()) in toDocumentProto() 58 .setNamespace(document.getNamespace()) in toDocumentProto() 59 .setScore(document.getScore()) in toDocumentProto() 60 .setTtlMs(document.getTtlMillis()) in toDocumentProto() 61 .setCreationTimestampMs(document.getCreationTimestampMillis()); in toDocumentProto() 62 ArrayList<String> keys = new ArrayList<>(document.getPropertyNames()); in toDocumentProto() 67 Object property = document.getProperty(name); in toDocumentProto()
|
D | SearchResultToProtoConverter.java | 92 GenericDocument document = in toUnprefixedSearchResult() local 97 .setGenericDocument(document) in toUnprefixedSearchResult()
|
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/ |
D | SearchResult.java | 218 public Builder setGenericDocument(@NonNull GenericDocument document) { in setGenericDocument() argument 219 Objects.requireNonNull(document); in setGenericDocument() 221 mGenericDocument = document; in setGenericDocument() 396 MatchInfo(@NonNull Bundle bundle, @Nullable GenericDocument document) { in MatchInfo() argument 398 mDocument = document; in MatchInfo() 577 private static String getPropertyValues(GenericDocument document, String propertyName) { in getPropertyValues() argument 578 String result = document.getPropertyString(propertyName); in getPropertyValues()
|
D | Migrator.java | 68 int currentVersion, int finalVersion, @NonNull GenericDocument document); in onUpgrade() argument 90 int currentVersion, int finalVersion, @NonNull GenericDocument document); in onDowngrade() argument
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | RenameDocumentFragment.java | 61 public static void show(FragmentManager fm, DocumentInfo document) { in show() argument 68 dialog.mDocument = document; in show() 211 protected DocumentInfo doInBackground(DocumentInfo... document) { in doInBackground() argument 212 assert(document.length == 1); in doInBackground() 214 return mActivity.getInjector().actions.renameDocument(mNewDisplayName, document[0]); in doInBackground()
|
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/util/ |
D | DocumentIdUtil.java | 50 @NonNull GenericDocument document) { in createQualifiedId() argument 52 packageName, databaseName, document.getNamespace(), document.getId()); in createQualifiedId()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/appsearch/ |
D | AppSearchDaoTest.java | 98 GenericDocument document = in testIterateSearchResults() local 105 new SearchResult.Builder(TEST, TEST).setGenericDocument(document).build(); in testIterateSearchResults() 140 GenericDocument document = in testReadConsentData() local 147 new SearchResult.Builder(TEST, TEST).setGenericDocument(document).build(); in testReadConsentData() 186 GenericDocument document = in testReadAppSearchData() local 193 new SearchResult.Builder(TEST, TEST).setGenericDocument(document).build(); in testReadAppSearchData()
|
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/converter/ |
D | GenericDocumentToProtoConverterTest.java | 66 GenericDocument document = in testDocumentProtoConvert() local 133 GenericDocumentToProtoConverter.toDocumentProto(document); in testDocumentProtoConvert() 136 assertThat(convertedGenericDocument).isEqualTo(document); in testDocumentProtoConvert() 142 GenericDocument document = in testConvertDocument_whenPropertyHasEmptyList() local 235 GenericDocumentToProtoConverter.toDocumentProto(document); in testConvertDocument_whenPropertyHasEmptyList() 237 assertThat(convertedGenericDocument).isEqualTo(document); in testConvertDocument_whenPropertyHasEmptyList()
|
/packages/modules/AppSearch/framework/java/android/app/appsearch/ |
D | SearchSessionUtil.java | 142 GenericDocument document; in createGetDocumentCallback() local 144 document = new GenericDocument(bundleEntry.getValue()); in createGetDocumentCallback() 153 bundleEntry.getKey(), document); in createGetDocumentCallback() local
|
D | AppSearchMigrationHelper.java | 215 GenericDocument document; in readAndTransform() local 218 document = readDocumentFromInputStream(inputStream); in readAndTransform() 226 newDocument = migrator.onUpgrade(currentVersion, finalVersion, document); in readAndTransform() 229 newDocument = migrator.onDowngrade(currentVersion, finalVersion, document); in readAndTransform()
|
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/ |
D | AppSearchImplTest.java | 480 GenericDocument document = new GenericDocument.Builder<>("namespace", "id", "type").build(); in testTriggerCheckOptimizeByMutationSize() local 484 document, in testTriggerCheckOptimizeByMutationSize() 697 GenericDocument document = in testQueryWithMultiplePackages_noPackageFilters() local 702 document, in testQueryWithMultiplePackages_noPackageFilters() 714 document = new GenericDocument.Builder<>("namespace", "id", "schema2").build(); in testQueryWithMultiplePackages_noPackageFilters() 718 document, in testQueryWithMultiplePackages_noPackageFilters() 727 assertThat(searchResultPage.getResults().get(0).getGenericDocument()).isEqualTo(document); in testQueryWithMultiplePackages_noPackageFilters() 765 GenericDocument document = in testQueryWithMultiplePackages_withPackageFilters() local 770 document, in testQueryWithMultiplePackages_withPackageFilters() 786 document = new GenericDocument.Builder<>("namespace", "id", "schema2").build(); in testQueryWithMultiplePackages_withPackageFilters() [all …]
|
D | AppSearchLoggerTest.java | 545 GenericDocument document = in testLoggingStats_putDocument_success() local 553 document, in testLoggingStats_putDocument_success() 598 GenericDocument document = in testLoggingStats_putDocument_failure() local 610 document, in testLoggingStats_putDocument_failure() 946 GenericDocument document = in testLoggingStats_remove_success() local 951 document, in testLoggingStats_remove_success() 987 GenericDocument document = in testLoggingStats_remove_failure() local 992 document, in testLoggingStats_remove_failure()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | ActionHandler.java | 174 public @Nullable DocumentInfo renameDocument(String name, DocumentInfo document) { in renameDocument() argument 175 ContentResolver resolver = document.userId.getContentResolver(mActivity); in renameDocument() 180 resolver, document.derivedUri.getAuthority()); in renameDocument() 182 wrap(client), document.derivedUri, name); in renameDocument() 183 return DocumentInfo.fromUri(resolver, newUri, document.userId); in renameDocument()
|
/packages/modules/AppSearch/testing/testutils/src/android/app/appsearch/testutil/external/testutil/ |
D | AppSearchEmail.java | 91 public AppSearchEmail(@NonNull GenericDocument document) { in AppSearchEmail() argument 92 super(document); in AppSearchEmail()
|
/packages/services/Car/tools/ioanalyze/ |
D | analyzer.py | 240 document = Document(open(args.filename)) variable 241 print("System runtime: %s\n" % (document.runtime)) 243 system.loadDocument(document)
|
/packages/modules/adb/ |
D | SYNC.TXT | 1 This file tries to document file-related requests a client can make 2 to the ADB server of an adbd daemon. See the OVERVIEW.TXT document 18 packets to communicate. In this document these are called sync requests and sync
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/appsearchtypes/ |
D | ContactPoint.java | 87 public ContactPoint(@NonNull GenericDocument document) { in ContactPoint() argument 88 super(document); in ContactPoint()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/ |
D | AppSearchManagerService.java | 684 GenericDocument document = documents.get(i); in putDocuments() 689 document, in putDocuments() 692 resultBuilder.setSuccess(document.getId(), /* value= */ null); in putDocuments() 696 resultBuilder.setResult(document.getId(), result); in putDocuments() 804 GenericDocument document; in getDocuments() 809 document = instance.getAppSearchImpl().globalGetDocument( in getDocuments() 818 document = instance.getAppSearchImpl().getDocument( in getDocuments() 826 resultBuilder.setSuccess(id, document.getBundle()); in getDocuments() 1349 GenericDocument document; in putDocumentsFromFile() 1355 document = AppSearchMigrationHelper in putDocumentsFromFile() [all …]
|
/packages/services/Mtp/tests/src/com/android/mtp/ |
D | MtpDocumentsProviderTest.java | 1017 final HierarchyDocument document = ids.remove(); in setupHierarchyDocuments() local 1019 document.createChildDocument(objectHandle++), in setupHierarchyDocuments() 1020 document.createChildDocument(objectHandle++), in setupHierarchyDocuments() 1021 document.createChildDocument(objectHandle++), in setupHierarchyDocuments() 1024 0, 0, document.objectHandle, document.documentId, new MtpObjectInfo[] { in setupHierarchyDocuments()
|
/packages/modules/Bluetooth/system/doc/ |
D | network_ports.md | 3 This document lists all of the network ports used by the bluetooth stack.
|
/packages/modules/vndk/apex/ |
D | README.md | 3 In this document we add a new VNDK APEX for version 30. When you follow this doc with different ver…
|