/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/util/ |
D | PrefixUtil.java | 247 String typePrefix = PrefixUtil.getPrefix(typeConfigBuilder.getSchemaType()); in removePrefixesFromSchemaType() 249 String newSchemaType = typeConfigBuilder.getSchemaType().substring(typePrefix.length()); in removePrefixesFromSchemaType() 256 if (!typeConfigBuilder.getProperties(propertyIdx).getSchemaType().isEmpty()) { in removePrefixesFromSchemaType() 260 propertyConfigBuilder.getSchemaType().substring(typePrefix.length()); in removePrefixesFromSchemaType()
|
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/ |
D | GetSchemaResponse.java | 152 copy.add(visibilityConfigs.get(i).getSchemaType()); in getSchemaTypesNotDisplayedBySystem() 175 visibilityConfig.getSchemaType(), in getSchemaTypesVisibleToPackages() 223 visibilityConfig.getSchemaType(), in getRequiredPermissionsForSchemaTypeVisibility() 249 copy.put(visibilityConfig.getSchemaType(), publiclyVisibleTargetPackage); in getPubliclyVisibleSchemas() 275 visibilityConfig.getSchemaType(), in getSchemaTypesVisibleToConfigs()
|
D | AppSearchSchema.java | 113 builder.append("schemaType: \"").append(getSchemaType()).append("\",\n"); in appendAppSearchSchemaString() 139 public String getSchemaType() { in getSchemaType() method in AppSearchSchema 192 if (!getSchemaType().equals(otherSchema.getSchemaType())) { in equals() 206 return Objects.hash(getSchemaType(), getProperties(), getParentTypes(), getDescription()); in hashCode() 1311 public String getSchemaType() { in getSchemaType() method in AppSearchSchema.DocumentPropertyConfig 1312 return Objects.requireNonNull(mPropertyConfigParcel.getSchemaType()); in getSchemaType() 1557 builder.append("schemaType: \"").append(getSchemaType()).append("\",\n"); in appendDocumentPropertyConfigFields()
|
D | InternalVisibilityConfig.java | 66 String schemaType = searchSchema.getSchemaType(); in toInternalVisibilityConfigs() 139 public String getSchemaType() { in getSchemaType() method in InternalVisibilityConfig
|
D | SetSchemaResponse.java | 397 public String getSchemaType() { in getSchemaType() method in SetSchemaResponse.MigrationFailure 414 + getSchemaType() in toString()
|
D | GenericDocument.java | 136 public String getSchemaType() { in getSchemaType() method in GenericDocument 137 return mDocumentParcel.getSchemaType(); in getSchemaType() 955 builder.append("schemaType: \"").append(getSchemaType()).append("\",\n"); in appendGenericDocumentString()
|
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/safeparcel/ |
D | GenericDocumentParcelTest.java | 157 assertThat(genericDocumentParcelCopy.getSchemaType()) in testGenericDocumentParcel_buildFromAnotherDocumentParcelCorrectly() 158 .isEqualTo(genericDocumentParcel.getSchemaType()); in testGenericDocumentParcel_buildFromAnotherDocumentParcelCorrectly() 269 assertThat(outDoc.getSchemaType()).isEqualTo("schema1"); in testRecreateFromParcelWithParentTypes() 288 assertThat(innerDocs[0].getSchemaType()).isEqualTo("schema2"); in testRecreateFromParcelWithParentTypes()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/visibilitystore/ |
D | VisibilityStore.java | 149 mVisibilityConfigMap.get(prefixedVisibilityConfig.getSchemaType()); in setVisibility() 178 prefixedVisibilityConfig.getSchemaType(), in setVisibility() 190 prefixedVisibilityConfig.getSchemaType(), prefixedVisibilityConfig); in setVisibility() 365 mVisibilityConfigMap.put(migratedConfig.getSchemaType(), migratedConfig); in setLatestSchemaAndDocuments()
|
D | VisibilityToDocumentConverter.java | 364 config.getSchemaType(), // We are using the prefixedSchemaType to be the id in createVisibilityDocument() 440 internalVisibilityConfig.getSchemaType(), in createAndroidVOverlay()
|
D | VisibilityStoreMigrationHelperFromV0.java | 241 if (VisibilityStoreMigrationHelperFromV0.isDeprecatedType(schema.getSchemaType())) { in hasDeprecatedType()
|
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/usagereporting/ |
D | SearchActionGenericDocumentTest.java | 41 assertThat(searchActionGenericDocument.getSchemaType()).isEqualTo("builtin:SearchAction"); in testBuild() 63 assertThat(searchActionGenericDocument.getSchemaType()).isEqualTo("builtin:SearchAction"); in testBuild_fromGenericDocument()
|
D | ClickActionGenericDocumentTest.java | 42 assertThat(clickActionGenericDocument.getSchemaType()).isEqualTo("builtin:ClickAction"); in testBuild() 68 assertThat(clickActionGenericDocument.getSchemaType()).isEqualTo("builtin:ClickAction"); in testBuild_fromGenericDocument()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/transformer/ |
D | EnterpriseSearchResultPageTransformer.java | 104 packageName, databaseName, originalDocument.getSchemaType())) { in transformDocument() 147 packageName, databaseName, document.getSchemaType()); in shouldTransformDocument()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/ |
D | SchemaToProtoConverter.java | 57 .setSchemaType(schema.getSchemaType()) in toSchemaTypeConfigProto() 124 builder.setSchemaType(documentProperty.getSchemaType()) in toPropertyConfigProto() 173 AppSearchSchema.Builder builder = new AppSearchSchema.Builder(proto.getSchemaType()); in toAppSearchSchema() 246 proto.getPropertyName(), proto.getSchemaType()) in toDocumentPropertyConfig()
|
/packages/modules/AppSearch/framework/java/android/app/appsearch/ |
D | AppSearchMigrationHelper.java | 112 mDestinationTypes.add(newSchema.getSchemaType()); in AppSearchMigrationHelper() 278 if (!mDestinationTypes.contains(newDocument.getSchemaType())) { in readAndTransform() 286 + newDocument.getSchemaType() in readAndTransform()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/util/ |
D | AdbDumpUtil.java | 109 typeBuilder.setSchemaType(generateFingerprintMd5(typeBuilder.getSchemaType())); in desensitizeDebugInfo() 115 generateFingerprintMd5(propertyBuilder.getSchemaType())); in desensitizeDebugInfo()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/ |
D | AppSearchImpl.java | 381 String prefixedSchemaType = schema.getSchemaType(); in AppSearchImpl() 579 String oldSchemaName = oldSchemaType.getSchemaType(); in doSetSchemaWithChangeNotificationLocked() 618 String newSchemaName = newSchemaType.getSchemaType(); in doSetSchemaWithChangeNotificationLocked() 834 String schemaType = visibilityConfig.getSchemaType(); in doSetSchemaNoChangeNotificationLocked() 841 deprecatedVisibilityDocuments.remove(visibilityConfig.getSchemaType()); in doSetSchemaNoChangeNotificationLocked() 898 String prefixedSchemaType = typeConfig.getSchemaType(); in getSchema() 926 String typeName = typeConfig.getSchemaType().substring(typePrefix.length()); in getSchema() 1099 document.getSchemaType(), in putDocument() 1321 String nonPrefixedType = nonPrefixedPropertyMaskBuilders.get(i).getSchemaType(); in getDocumentProtoByIdLocked() 2388 String packageName = getPackageName(existingSchema.getTypes(i).getSchemaType()); in prunePackageData() [all …]
|
D | SchemaCache.java | 154 children.add(childSchemaConfig.getSchemaType()); in rebuildSchemaParentToChildrenMapForPrefix() 195 schemaTypeMap.put(schemaTypeConfigProto.getSchemaType(), schemaTypeConfigProto); in addToSchemaMap()
|
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/ |
D | AppsIndexerRealDocumentsTest.java | 105 assertThat(result.getGenericDocument().getSchemaType()) in testRealDocuments_check() 160 assertThat(documents.get(0).getSchemaType()).startsWith(MobileApplication.SCHEMA_TYPE); in testRealIndexing()
|
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/converter/ |
D | SearchSpecToProtoConverterTest.java | 541 assertThat(resultSpecProto.getTypePropertyMasks(0).getSchemaType()) in testToResultSpecProto_projection_withJoinSpec_packageFilter() 548 assertThat(nestedResultSpecProto.getTypePropertyMasks(0).getSchemaType()) in testToResultSpecProto_projection_withJoinSpec_packageFilter() 579 assertThat(resultSpecProto.getTypePropertyMasks(0).getSchemaType()) in testToResultSpecProto_projection_withWildcard() 608 assertThat(resultSpecProto.getTypePropertyMasks(0).getSchemaType()) in testToResultSpecProto_projectionNoPrefixes_withWildcard() 659 assertThat(resultSpecProto.getTypePropertyMasks(0).getSchemaType()) in testToResultSpecProto_projection_removeSchemaWithoutParentInFilter() 711 assertThat(searchSpecProto.getTypePropertyFilters(0).getSchemaType()) in testToSearchSpecProto_propertyFilter_withJoinSpec_packageFilter() 718 assertThat(nestedSearchSpecProto.getTypePropertyFilters(0).getSchemaType()) in testToSearchSpecProto_propertyFilter_withJoinSpec_packageFilter() 746 assertThat(searchSpecProto.getTypePropertyFilters(0).getSchemaType()) in testToSearchSpecProto_propertyFilter_withWildcard() 796 assertThat(searchSpecProto.getTypePropertyFilters(0).getSchemaType()) in testToSearchSpecProto_propertyFilter_removeSchemaWithoutParentInFilter() 849 assertThat(scoringSpecProto.getTypePropertyWeights(0).getSchemaType()) in testToResultSpecProto_weight_withJoinSpec_packageFilter() [all …]
|
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/visibilitystore/ |
D | VisibilityToDocumentConverterTest.java | 255 assertThat(modifiedConfig.getSchemaType()).isEqualTo("prefixedSchema"); in testToVisibilityConfig() 258 assertThat(rebuild.getSchemaType()).isEqualTo("someSchema"); in testToVisibilityConfig()
|
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/util/ |
D | SchemaMigrationUtil.java | 58 existingTypes.add(schema.getSchemaType()); in getActiveMigrators()
|
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/app/ |
D | SetSchemaResponseInternalTest.java | 94 assertThat(schema.getSchemaType()).isEqualTo("Test"); in testPropertyConfig_deletionPropagation()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/appsindexer/ |
D | AppSearchHelper.java | 151 schemaBuilder.setPubliclyVisibleSchema(schemaVariant.getSchemaType(), pkg); in setSchemasForPackages()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/appsearchtypes/ |
D | Person.java | 209 ContactPoint.SCHEMA.getSchemaType()) in createSchema()
|