Home
last modified time | relevance | path

Searched refs:prefixedSchemaType (Results 1 – 6 of 6) sorted by relevance

/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityStore.java202 for (String prefixedSchemaType : prefixedSchemaTypes) { in removeVisibility()
203 if (mVisibilityConfigMap.remove(prefixedSchemaType) != null) { in removeVisibility()
211 prefixedSchemaType, in removeVisibility()
220 + prefixedSchemaType in removeVisibility()
232 prefixedSchemaType, in removeVisibility()
241 + prefixedSchemaType in removeVisibility()
254 public InternalVisibilityConfig getVisibility(@NonNull String prefixedSchemaType) { in getVisibility() argument
255 return mVisibilityConfigMap.get(prefixedSchemaType); in getVisibility()
268 String prefixedSchemaType = cachedSchemaTypes.get(i); in loadVisibilityConfigMap() local
269 String packageName = PrefixUtil.getPackageName(prefixedSchemaType); in loadVisibilityConfigMap()
[all …]
DVisibilityStoreMigrationHelperFromV0.java204 String prefixedSchemaType = in toVisibilityDocumentV1() local
209 getOrCreateBuilder(documentBuilderMap, prefixedSchemaType); in toVisibilityDocumentV1()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DGenericDocumentToProtoConverter.java159 String prefixedSchemaType = prefix + proto.getSchema(); in toGenericDocument() local
162 getUnprefixedParentSchemaTypes(prefixedSchemaType, schemaTypeMap); in toGenericDocument()
224 Objects.requireNonNull(schemaTypeMap.get(prefixedSchemaType)); in toGenericDocument()
267 @NonNull String prefixedSchemaType, in getUnprefixedParentSchemaTypes()
275 prefixedSchemaType, schemaTypeMap, /* visited= */ new ArraySet<>(), inDegreeMap); in getUnprefixedParentSchemaTypes()
280 queue.add(prefixedSchemaType); in getUnprefixedParentSchemaTypes()
299 @NonNull String prefixedSchemaType, in collectParentTypeInDegrees()
303 if (visited.contains(prefixedSchemaType)) { in collectParentTypeInDegrees()
306 visited.add(prefixedSchemaType); in collectParentTypeInDegrees()
308 Objects.requireNonNull(schemaTypeMap.get(prefixedSchemaType)); in collectParentTypeInDegrees()
DSearchSuggestionSpecToProtoConverter.java115 String prefixedSchemaType = prefix + entry.getKey(); in toSearchSuggestionSpecProto() local
116 if (mTargetPrefixedSchemaFilters.contains(prefixedSchemaType)) { in toSearchSuggestionSpecProto()
119 .setSchemaType(prefixedSchemaType) in toSearchSuggestionSpecProto()
DSearchSpecToProtoConverter.java309 String prefixedSchemaType = prefix + entry.getKey(); in toSearchSpecProto() local
310 if (mTargetPrefixedSchemaFilters.contains(prefixedSchemaType)) { in toSearchSpecProto()
313 .setSchemaType(prefixedSchemaType) in toSearchSpecProto()
1057 String prefixedSchemaType = prefix + typePropertyWeight.getKey(); in addTypePropertyWeights() local
1058 if (mTargetPrefixedSchemaFilters.contains(prefixedSchemaType)) { in addTypePropertyWeights()
1060 TypePropertyWeights.newBuilder().setSchemaType(prefixedSchemaType); in addTypePropertyWeights()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/
DAppSearchImpl.java381 String prefixedSchemaType = schema.getSchemaType(); in AppSearchImpl() local
382 mSchemaCacheLocked.addToSchemaMap(getPrefix(prefixedSchemaType), schema); in AppSearchImpl()
835 String prefixedSchemaType = prefix + schemaType; in doSetSchemaNoChangeNotificationLocked() local
838 .setSchemaType(prefixedSchemaType) in doSetSchemaNoChangeNotificationLocked()
898 String prefixedSchemaType = typeConfig.getSchemaType(); in getSchema() local
899 String typePrefix = getPrefix(prefixedSchemaType); in getSchema()
907 prefixedSchemaType, in getSchema()
928 mVisibilityStoreLocked.getVisibility(prefixedSchemaType); in getSchema()