/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/util/ |
D | PrefixUtilTest.java | 127 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/ |
D | AdbDumpUtilTest.java | 60 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/ |
D | AppSearchImplTest.java | 366 .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 …]
|
D | AppSearchLoggerTest.java | 421 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/ |
D | VisibilityStore.java | 328 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/ |
D | SearchResultToProtoConverterTest.java | 61 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()
|
D | SnippetTest.java | 71 .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()
|
D | GenericDocumentToProtoConverterTest.java | 94 .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/ |
D | AppSearchSessionUnitTest.java | 56 mSearchSession.setSchema( in setUp() 68 mSearchSession.setSchema( in testGetEmptyNextPage() 121 mSearchSession.setSchema( in testGetEmptyNextPage_multiPages() 192 mSearchSession.setSchema( in testClosedCallbackExecutor()
|
D | GlobalSearchSessionUnitTest.java | 76 mDb.setSchema( in setUp()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/appsindexer/ |
D | SyncAppSearchSessionImpl.java | 62 public SetSchemaResponse setSchema(@NonNull SetSchemaRequest setSchemaRequest) in setSchema() method in SyncAppSearchSessionImpl 67 mSession.setSchema(setSchemaRequest, mExecutor, mExecutor, resultHandler)); in setSchema()
|
D | SyncAppSearchSession.java | 44 SetSchemaResponse setSchema(@NonNull SetSchemaRequest setSchemaRequest) in setSchema() method
|
D | AppSearchHelper.java | 155 mSyncAppSearchSession.setSchema(schemaBuilder.build()); in setSchemasForPackages()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/util/ |
D | AdbDumpUtil.java | 87 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/ |
D | VisibilityStoreMigrationHelperFromV1Test.java | 88 appSearchImplInV1.setSchema( in testVisibilityMigration_from1() 114 appSearchImplInV1.setSchema( in testVisibilityMigration_from1()
|
D | VisibilityStoreMigrationFromV2Test.java | 98 appSearchImplInV2.setSchema( in testVisibilityMigration_from2() 148 appSearchImplInV2.setSchema( in testVisibilityMigration_from2()
|
D | VisibilityStoreMigrationHelperFromV0Test.java | 123 appSearchImplInV0.setSchema( in testVisibilityMigration_from0() 248 appSearchImpl.setSchema( in buildAppSearchImplInV0()
|
D | VisibilityStoreTest.java | 204 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/ |
D | SyncAppSearchImplTest.java | 78 searchSession.setSchema( in clean() 93 syncWrapper.setSchema(new SetSchemaRequest.Builder() in testSynchronousMethods()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/util/ |
D | PrefixUtil.java | 157 documentBuilder.setSchema(newSchema); in addPrefixToDocument() 205 documentBuilder.setSchema(removePrefix(documentBuilder.getSchema())); in removePrefixesFromDocument()
|
/packages/modules/AppSearch/framework/java/android/app/appsearch/ |
D | AppSearchSession.java | 194 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/ |
D | SearchSpecToProtoConverter.java | 810 .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()
|
D | GenericDocumentToProtoConverter.java | 69 .setSchema(document.getSchemaType()) in toDocumentProto()
|
/packages/modules/AppSearch/framework/java/android/app/appsearch/aidl/ |
D | IAppSearchManager.aidl | 79 void setSchema( in setSchema() method
|
/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/ |
D | AppSearchManagerServiceTest.java | 316 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()
|