Home
last modified time | relevance | path

Searched refs:setNamespace (Results 1 – 17 of 17) sorted by relevance

/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/
DAdbDumpUtilTest.java59 DocumentDebugInfoProto.CorpusInfo.newBuilder().setNamespace( in testDesensitizeDebugInfo()
61 DocumentDebugInfoProto.CorpusInfo.newBuilder().setNamespace( in testDesensitizeDebugInfo()
63 DocumentDebugInfoProto.CorpusInfo.newBuilder().setNamespace( in testDesensitizeDebugInfo()
65 DocumentDebugInfoProto.CorpusInfo.newBuilder().setNamespace( in testDesensitizeDebugInfo()
68 NamespaceStorageInfoProto.newBuilder().setNamespace( in testDesensitizeDebugInfo()
70 NamespaceStorageInfoProto.newBuilder().setNamespace(NAMESPACE_2))); in testDesensitizeDebugInfo()
73 DocumentDebugInfoProto.CorpusInfo.newBuilder().setNamespace( in testDesensitizeDebugInfo()
75 DocumentDebugInfoProto.CorpusInfo.newBuilder().setNamespace( in testDesensitizeDebugInfo()
77 DocumentDebugInfoProto.CorpusInfo.newBuilder().setNamespace( in testDesensitizeDebugInfo()
79 DocumentDebugInfoProto.CorpusInfo.newBuilder().setNamespace( in testDesensitizeDebugInfo()
[all …]
DUserStorageInfoTest.java51 .setNamespace("pkg1$db/namespace") in testReadStorageInfoFromFile()
57 .setNamespace("pkg2$db/namespace") in testReadStorageInfoFromFile()
94 .setNamespace("pkg1$db/namespace") in testCalculatePackageStorageInfoMap()
100 .setNamespace("pkg2$db/namespace") in testCalculatePackageStorageInfoMap()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/util/
DPrefixUtilTest.java128 nestedBuilder.setNamespace("nestedNamespace"); in testAddPrefixToDocument()
135 builder.setNamespace("namespace"); in testAddPrefixToDocument()
141 prefixedNestedBuilder.setNamespace("prefix/nestedNamespace"); in testAddPrefixToDocument()
148 prefixedBuilder.setNamespace("prefix/namespace"); in testAddPrefixToDocument()
161 prefixedNestedBuilder.setNamespace("prefix/namespace"); in testRemovePrefixesFromDocument()
168 prefixedBuilder.setNamespace("prefix/namespace"); in testRemovePrefixesFromDocument()
174 nestedBuilder.setNamespace("namespace"); in testRemovePrefixesFromDocument()
181 builder.setNamespace("namespace"); in testRemovePrefixesFromDocument()
193 prefixedBuilder.setNamespace("suffix/namespace"); in testRemovePrefixesFromDocument_multiplePrefixNames()
211 prefixedNestedBuilder.setNamespace("suffix/namespace"); in testRemovePrefixesFromDocument_multiplePrefixNamesFromNested()
[all …]
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/converter/
DSearchResultToProtoConverterTest.java61 DocumentProto.newBuilder().setUri(id).setNamespace(namespace).setSchema(schemaType); in testToSearchResultProto()
67 .setNamespace(namespace) in testToSearchResultProto()
129 DocumentProto.newBuilder().setUri(id).setNamespace(namespace).setSchema(schemaType); in testToSearchResultProtoWithDoublyNested()
135 .setNamespace(namespace) in testToSearchResultProtoWithDoublyNested()
DSnippetTest.java70 .setNamespace(PREFIXED_NAMESPACE) in testSingleStringSnippet()
139 .setNamespace(PREFIXED_NAMESPACE) in testNoSnippets()
169 .setNamespace(PREFIXED_NAMESPACE) in testMultipleStringSnippet()
262 .setNamespace(PREFIXED_NAMESPACE) in testNestedDocumentSnippet()
269 .setNamespace(PREFIXED_NAMESPACE) in testNestedDocumentSnippet()
DGenericDocumentToProtoConverterTest.java98 .setNamespace("namespace"); in testDocumentProtoConvert()
177 .setNamespace("namespace"); in testConvertDocument_whenPropertyHasEmptyList()
291 .setNamespace("namespace"); in testConvertDocument_whenNestedDocumentPropertyHasEmptyList()
314 .setNamespace("namespace") in testConvertDocument_whenNestedDocumentPropertyHasEmptyList()
423 .setNamespace("namespace"); in testDocumentProtoConvert_EmbeddingProperty()
DSearchSuggestionSpecToProtoConverterTest.java77 .setNamespace("package$database/namespace1") in testToProto()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/util/
DAdbDumpUtil.java85 corpusInfoBuilder.setNamespace( in desensitizeDebugInfo()
96 namespaceStorageInfoBuilder.setNamespace( in desensitizeDebugInfo()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/util/
DPrefixUtil.java160 documentBuilder.setNamespace(prefix + documentBuilder.getNamespace()); in addPrefixToDocument()
206 documentBuilder.setNamespace(removePrefix(documentBuilder.getNamespace())); in removePrefixesFromDocument()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DSearchSpecToProtoConverter.java778 .setNamespace(prefixedNamespaces.get(i)) in addPerPackagePerNamespaceResultGroupings()
853 .setNamespace(prefixedNamespaces.get(i)) in addPerPackagePerNamespacePerSchemaResultGrouping()
904 .setNamespace(namespace) in addPerPackageResultGroupings()
936 .setNamespace(prefixedNamespaces.get(i)) in addPerNamespaceResultGroupings()
1011 .setNamespace(prefixedNamespaces.get(i)) in addPerNamespaceAndSchemaResultGrouping()
DSearchSuggestionSpecToProtoConverter.java134 .setNamespace(prefixedNamespace) in toSearchSuggestionSpecProto()
DGenericDocumentToProtoConverter.java70 .setNamespace(document.getNamespace()) in toDocumentProto()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchImplTest.java367 .setNamespace("namespace") in testAddDocumentTypePrefix()
373 .setNamespace("namespace") in testAddDocumentTypePrefix()
381 .setNamespace("package$databaseName/namespace") in testAddDocumentTypePrefix()
387 .setNamespace("package$databaseName/namespace") in testAddDocumentTypePrefix()
404 .setNamespace("package$databaseName/namespace") in testRemoveDocumentTypePrefixes()
410 .setNamespace("package$databaseName/namespace") in testRemoveDocumentTypePrefixes()
418 .setNamespace("namespace") in testRemoveDocumentTypePrefixes()
425 .setNamespace("namespace") in testRemoveDocumentTypePrefixes()
443 .setNamespace("prefix2/namespace") in testRemoveDatabasesFromDocumentThrowsException()
461 .setNamespace("prefix1/namespace") in testNestedRemoveDatabasesFromDocumentThrowsException()
[all …]
DAppSearchLoggerTest.java505 .setNamespace("invalidNamespace") in testLoggingStats_initialize_failure()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DGenericDocument.java1108 public BuilderType setNamespace(@NonNull String namespace) { in setNamespace() method in GenericDocument.Builder
1110 mDocumentParcelBuilder.setNamespace(namespace); in setNamespace()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/safeparcel/
DGenericDocumentParcel.java343 public Builder setNamespace(@NonNull String namespace) { in setNamespace() method in GenericDocumentParcel.Builder
/packages/modules/AppSearch/framework/api/
Dcurrent.txt253 …generic_document_builder_hidden_methods") @NonNull public BuilderType setNamespace(@NonNull String…