Home
last modified time | relevance | path

Searched refs:setSchema (Results 1 – 25 of 31) sorted by relevance

12

/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/util/
DPrefixUtilTest.java127 nestedBuilder.setSchema("nestedSchema"); in testAddPrefixToDocument()
134 builder.setSchema("schema"); in testAddPrefixToDocument()
140 prefixedNestedBuilder.setSchema("prefix/nestedSchema"); in testAddPrefixToDocument()
147 prefixedBuilder.setSchema("prefix/schema"); in testAddPrefixToDocument()
160 prefixedNestedBuilder.setSchema("prefix/schema"); in testRemovePrefixesFromDocument()
167 prefixedBuilder.setSchema("prefix/schema"); in testRemovePrefixesFromDocument()
173 nestedBuilder.setSchema("schema"); in testRemovePrefixesFromDocument()
180 builder.setSchema("schema"); in testRemovePrefixesFromDocument()
192 prefixedBuilder.setSchema("prefix/schema"); in testRemovePrefixesFromDocument_multiplePrefixNames()
210 prefixedNestedBuilder.setSchema("suffix/schema"); in testRemovePrefixesFromDocument_multiplePrefixNamesFromNested()
[all …]
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/
DAdbDumpUtilTest.java60 NAMESPACE_1).setSchema(EMAIL_TYPE)).addCorpusInfo( in testDesensitizeDebugInfo()
62 NAMESPACE_1).setSchema(PERSON_TYPE)).addCorpusInfo( in testDesensitizeDebugInfo()
64 NAMESPACE_2).setSchema(EMAIL_TYPE)).addCorpusInfo( in testDesensitizeDebugInfo()
66 NAMESPACE_2).setSchema(PERSON_TYPE)).setDocumentStorageInfo( in testDesensitizeDebugInfo()
74 NAMESPACE_1_MD5).setSchema(EMAIL_TYPE_MD5)).addCorpusInfo( in testDesensitizeDebugInfo()
76 NAMESPACE_1_MD5).setSchema(PERSON_TYPE_MD5)).addCorpusInfo( in testDesensitizeDebugInfo()
78 NAMESPACE_2_MD5).setSchema(EMAIL_TYPE_MD5)).addCorpusInfo( in testDesensitizeDebugInfo()
80 NAMESPACE_2_MD5).setSchema(PERSON_TYPE_MD5)).setDocumentStorageInfo( in testDesensitizeDebugInfo()
88 SchemaDebugInfoProto.newBuilder().setSchema(SchemaProto.newBuilder().addTypes( in testDesensitizeDebugInfo()
101 SchemaDebugInfoProto.newBuilder().setSchema(SchemaProto.newBuilder().addTypes( in testDesensitizeDebugInfo()
[all …]
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchImplTest.java366 .setSchema("type") in testAddDocumentTypePrefix()
372 .setSchema("type") in testAddDocumentTypePrefix()
380 .setSchema("package$databaseName/type") in testAddDocumentTypePrefix()
386 .setSchema("package$databaseName/type") in testAddDocumentTypePrefix()
403 .setSchema("package$databaseName/type") in testRemoveDocumentTypePrefixes()
409 .setSchema("package$databaseName/type") in testRemoveDocumentTypePrefixes()
417 .setSchema("type") in testRemoveDocumentTypePrefixes()
424 .setSchema("type") in testRemoveDocumentTypePrefixes()
442 .setSchema("prefix1/type") in testRemoveDatabasesFromDocumentThrowsException()
460 .setSchema("prefix1/type") in testNestedRemoveDatabasesFromDocumentThrowsException()
[all …]
DAppSearchLoggerTest.java421 appSearchImpl.setSchema( in testLoggingStats_initializeWithDocuments_success()
487 appSearchImpl.setSchema( in testLoggingStats_initialize_failure()
507 .setSchema(String.format("%s$%s/Type1", testPackageName, testDatabase)) in testLoggingStats_initialize_failure()
553 mAppSearchImpl.setSchema( in testLoggingStats_putDocument_success()
606 mAppSearchImpl.setSchema( in testLoggingStats_putDocument_failure()
661 mAppSearchImpl.setSchema( in testLoggingStats_search_success()
747 mAppSearchImpl.setSchema( in testLoggingStats_search_failure()
818 mAppSearchImpl.setSchema( in testLoggingStats_search_join()
955 mAppSearchImpl.setSchema( in testLoggingStats_remove_success()
995 mAppSearchImpl.setSchema( in testLoggingStats_remove_failure()
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityStore.java328 mAppSearchImpl.setSchema( in setLatestSchemaAndDocuments()
346 mAppSearchImpl.setSchema( in setLatestSchemaAndDocuments()
393 mAppSearchImpl.setSchema( in migrateVisibilityOverlayDatabase()
446 mAppSearchImpl.setSchema( in verifyOrSetLatestVisibilitySchema()
467 mAppSearchImpl.setSchema( in verifyOrSetLatestVisibilitySchema()
508 mAppSearchImpl.setSchema( in verifyOrSetLatestVisibilityOverlaySchema()
/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()
68 .setSchema(schemaType); in testToSearchResultProto()
129 DocumentProto.newBuilder().setUri(id).setNamespace(namespace).setSchema(schemaType); in testToSearchResultProtoWithDoublyNested()
136 .setSchema(schemaType); in testToSearchResultProtoWithDoublyNested()
DSnippetTest.java71 .setSchema(PREFIXED_SCHEMA_TYPE) in testSingleStringSnippet()
140 .setSchema(PREFIXED_SCHEMA_TYPE) in testNoSnippets()
170 .setSchema(PREFIXED_SCHEMA_TYPE) in testMultipleStringSnippet()
263 .setSchema(PREFIXED_SCHEMA_TYPE) in testNestedDocumentSnippet()
270 .setSchema(PREFIXED_SCHEMA_TYPE) in testNestedDocumentSnippet()
DGenericDocumentToProtoConverterTest.java94 .setSchema(SCHEMA_TYPE_1) in testDocumentProtoConvert()
173 .setSchema(SCHEMA_TYPE_1) in testConvertDocument_whenPropertyHasEmptyList()
287 .setSchema(SCHEMA_TYPE_1) in testConvertDocument_whenNestedDocumentPropertyHasEmptyList()
310 .setSchema(SCHEMA_TYPE_2) in testConvertDocument_whenNestedDocumentPropertyHasEmptyList()
419 .setSchema(SCHEMA_TYPE_1) in testDocumentProtoConvert_EmbeddingProperty()
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/
DAppSearchSessionUnitTest.java56 mSearchSession.setSchema( in setUp()
68 mSearchSession.setSchema( in testGetEmptyNextPage()
121 mSearchSession.setSchema( in testGetEmptyNextPage_multiPages()
192 mSearchSession.setSchema( in testClosedCallbackExecutor()
DGlobalSearchSessionUnitTest.java76 mDb.setSchema( in setUp()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/appsindexer/
DSyncAppSearchSessionImpl.java62 public SetSchemaResponse setSchema(@NonNull SetSchemaRequest setSchemaRequest) in setSchema() method in SyncAppSearchSessionImpl
67 mSession.setSchema(setSchemaRequest, mExecutor, mExecutor, resultHandler)); in setSchema()
DSyncAppSearchSession.java44 SetSchemaResponse setSchema(@NonNull SetSchemaRequest setSchemaRequest) in setSchema() method
DAppSearchHelper.java155 mSyncAppSearchSession.setSchema(schemaBuilder.build()); in setSchemasForPackages()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/util/
DAdbDumpUtil.java87 corpusInfoBuilder.setSchema(generateFingerprintMd5(corpusInfoBuilder.getSchema())); in desensitizeDebugInfo()
121 schemaInfoBuilder.setSchema(schemaBuilder); in desensitizeDebugInfo()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityStoreMigrationHelperFromV1Test.java88 appSearchImplInV1.setSchema( in testVisibilityMigration_from1()
114 appSearchImplInV1.setSchema( in testVisibilityMigration_from1()
DVisibilityStoreMigrationFromV2Test.java98 appSearchImplInV2.setSchema( in testVisibilityMigration_from2()
148 appSearchImplInV2.setSchema( in testVisibilityMigration_from2()
DVisibilityStoreMigrationHelperFromV0Test.java123 appSearchImplInV0.setSchema( in testVisibilityMigration_from0()
248 appSearchImpl.setSchema( in buildAppSearchImplInV0()
DVisibilityStoreTest.java204 mAppSearchImpl.setSchema( in testRecoverBrokenVisibilitySchema()
407 mAppSearchImpl.setSchema( in testMigrateFromDeprecatedSchema()
497 mAppSearchImpl.setSchema( in testMigrateFromDeprecatedOverlaySchema()
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/
DSyncAppSearchImplTest.java78 searchSession.setSchema( in clean()
93 syncWrapper.setSchema(new SetSchemaRequest.Builder() in testSynchronousMethods()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/util/
DPrefixUtil.java157 documentBuilder.setSchema(newSchema); in addPrefixToDocument()
205 documentBuilder.setSchema(removePrefix(documentBuilder.getSchema())); in removePrefixesFromDocument()
/packages/modules/AppSearch/framework/java/android/app/appsearch/
DAppSearchSession.java194 public void setSchema( in setSchema() method in AppSearchSession
930 mService.setSchema( in setSchemaNoMigrations()
1097 mService.setSchema( in setSchemaWithMigrations()
1194 mService.setSchema( in setSchemaWithMigrations()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DSearchSpecToProtoConverter.java810 .setSchema(prefixedSchemas.get(i)) in addPerPackagePerSchemaResultGroupings()
854 .setSchema(prefixedSchemas.get(j)) in addPerPackagePerNamespacePerSchemaResultGrouping()
968 .setSchema(prefixedSchemas.get(i)) in addPerSchemaResultGrouping()
1012 .setSchema(prefixedSchemas.get(j)) in addPerNamespaceAndSchemaResultGrouping()
DGenericDocumentToProtoConverter.java69 .setSchema(document.getSchemaType()) in toDocumentProto()
/packages/modules/AppSearch/framework/java/android/app/appsearch/aidl/
DIAppSearchManager.aidl79 void setSchema( in setSchema() method
/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/
DAppSearchManagerServiceTest.java316 mAppSearchManagerServiceStub.setSchema( in testSetSchemaStatsLogging()
442 .setSchema( in testPutDocumentsStatsLogging_takenActions()
1612 mAppSearchManagerServiceStub.setSchema( in verifySetSchemaResult()
1986 mUserInstance.getAppSearchImpl().setSchema(packageName, databaseName, schemas, in setUpTestSchema()
2005 mUserInstance.getAppSearchImpl().setSchema(packageName, databaseName, in removeTestSchema()

12