Searched refs:SchemaVisibilityConfig (Results 1 – 11 of 11) sorted by relevance
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/ |
D | InternalVisibilityConfig.java | 61 Map<String, Set<SchemaVisibilityConfig>> schemasVisibleToConfigs = in toInternalVisibilityConfigs() 91 Set<SchemaVisibilityConfig> visibleToConfigs = schemasVisibleToConfigs.get(schemaType); in toInternalVisibilityConfigs() 93 for (SchemaVisibilityConfig schemaVisibilityConfig : visibleToConfigs) { in toInternalVisibilityConfigs() 113 private final SchemaVisibilityConfig mVisibilityConfig; 118 final List<SchemaVisibilityConfig> mVisibleToConfigs; 124 @Param(id = 3) @NonNull SchemaVisibilityConfig schemaVisibilityConfig, in InternalVisibilityConfig() 125 @Param(id = 4) @NonNull List<SchemaVisibilityConfig> visibleToConfigs) { in InternalVisibilityConfig() 152 public SchemaVisibilityConfig getVisibilityConfig() { in getVisibilityConfig() 161 public Set<SchemaVisibilityConfig> getVisibleToConfigs() { in getVisibleToConfigs() 199 private SchemaVisibilityConfig.Builder mVisibilityConfigBuilder; [all …]
|
D | SchemaVisibilityConfig.java | 47 public final class SchemaVisibilityConfig extends AbstractSafeParcelable { class 49 public static final Parcelable.Creator<SchemaVisibilityConfig> CREATOR = 69 SchemaVisibilityConfig( in SchemaVisibilityConfig() method in SchemaVisibilityConfig 139 if (!(o instanceof SchemaVisibilityConfig)) { in equals() 142 SchemaVisibilityConfig that = (SchemaVisibilityConfig) o; in equals() 176 public Builder(@NonNull SchemaVisibilityConfig schemaVisibilityConfig) { in Builder() 280 public SchemaVisibilityConfig build() { in build() 282 return new SchemaVisibilityConfig( in build()
|
D | SetSchemaRequest.java | 175 private final Map<String, Set<SchemaVisibilityConfig>> mSchemasVisibleToConfigs; 186 @NonNull Map<String, Set<SchemaVisibilityConfig>> schemasVisibleToConfigs, in SetSchemaRequest() 286 public Map<String, Set<SchemaVisibilityConfig>> getSchemasVisibleToConfigs() { in getSchemasVisibleToConfigs() 287 Map<String, Set<SchemaVisibilityConfig>> copy = new ArrayMap<>(); in getSchemasVisibleToConfigs() 288 for (Map.Entry<String, Set<SchemaVisibilityConfig>> entry : in getSchemasVisibleToConfigs() 338 private ArrayMap<String, Set<SchemaVisibilityConfig>> mSchemaVisibleToConfigs = 593 @NonNull SchemaVisibilityConfig schemaVisibilityConfig) { in addSchemaTypeVisibleToConfig() 597 Set<SchemaVisibilityConfig> visibleToConfigs = mSchemaVisibleToConfigs.get(schemaType); in addSchemaTypeVisibleToConfig() 794 ArrayMap<String, Set<SchemaVisibilityConfig>> schemaVisibleToConfigs = in resetIfBuilt() 796 for (Map.Entry<String, Set<SchemaVisibilityConfig>> entry : in resetIfBuilt()
|
D | GetSchemaResponse.java | 108 @Nullable private Map<String, Set<SchemaVisibilityConfig>> mSchemasVisibleToConfigsCached; 265 public Map<String, Set<SchemaVisibilityConfig>> getSchemaTypesVisibleToConfigs() { in getSchemaTypesVisibleToConfigs() 268 Map<String, Set<SchemaVisibilityConfig>> copy = new ArrayMap<>(); in getSchemaTypesVisibleToConfigs() 271 Set<SchemaVisibilityConfig> nestedVisibilityConfigs = in getSchemaTypesVisibleToConfigs() 505 @NonNull String schemaType, @NonNull Set<SchemaVisibilityConfig> visibleToConfigs) { in setSchemaTypeVisibleToConfigs() 511 for (SchemaVisibilityConfig visibleToConfig : visibleToConfigs) { in setSchemaTypeVisibleToConfigs()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/visibilitystore/ |
D | VisibilityToDocumentConverter.java | 25 import android.app.appsearch.SchemaVisibilityConfig; 208 SchemaVisibilityConfig schemaVisibilityConfig = in createInternalVisibilityConfig() 223 SchemaVisibilityConfig visibleToConfig = in createInternalVisibilityConfig() 245 private static SchemaVisibilityConfig createVisibilityConfig( in createVisibilityConfig() 251 SchemaVisibilityConfig.Builder builder = new SchemaVisibilityConfig.Builder(); in createVisibilityConfig() 285 SchemaVisibilityConfig androidVOverlayConfig = in createVisibilityConfig() 295 private static SchemaVisibilityConfig convertVisibilityConfigFromProto( in convertVisibilityConfigFromProto() 297 SchemaVisibilityConfig.Builder builder = new SchemaVisibilityConfig.Builder(); in convertVisibilityConfigFromProto() 325 @NonNull SchemaVisibilityConfig schemaVisibilityConfig) { in convertSchemaVisibilityConfigToProto() 368 SchemaVisibilityConfig schemaVisibilityConfig = config.getVisibilityConfig(); in createVisibilityDocument() [all …]
|
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/visibilitystore/ |
D | VisibilityToDocumentConverterTest.java | 25 import android.app.appsearch.SchemaVisibilityConfig; 55 SchemaVisibilityConfig visibleToConfig = in testToGenericDocuments() 56 new SchemaVisibilityConfig.Builder() in testToGenericDocuments() 267 SchemaVisibilityConfig expectedVisibleToConfig = in testToVisibilityConfig() 268 new SchemaVisibilityConfig.Builder() in testToVisibilityConfig() 295 SchemaVisibilityConfig config1 = in testToGenericDocumentAndBack() 296 new SchemaVisibilityConfig.Builder() in testToGenericDocumentAndBack() 302 SchemaVisibilityConfig config2 = in testToGenericDocumentAndBack() 303 new SchemaVisibilityConfig.Builder() in testToGenericDocumentAndBack() 307 SchemaVisibilityConfig config3 = in testToGenericDocumentAndBack() [all …]
|
D | VisibilityStoreTest.java | 29 import android.app.appsearch.SchemaVisibilityConfig; 231 SchemaVisibilityConfig nestedvisibilityConfig = in testSetGetAndRemoveOverlayVisibility() 232 new SchemaVisibilityConfig.Builder() in testSetGetAndRemoveOverlayVisibility() 371 new SchemaVisibilityConfig.Builder() in testSetVisibility_removeOverlay_visibleToConfig()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/visibilitystore/ |
D | VisibilityCheckerImpl.java | 31 import android.app.appsearch.SchemaVisibilityConfig; 114 SchemaVisibilityConfig visibilityConfig = internalVisibilityConfig.getVisibilityConfig(); in isSchemaSearchableByCaller() 121 Set<SchemaVisibilityConfig> visibleToConfigs = in isSchemaSearchableByCaller() 123 for (SchemaVisibilityConfig visibleToConfig : visibleToConfigs) { in isSchemaSearchableByCaller() 134 @NonNull SchemaVisibilityConfig visibilityConfig) { in checkMatchAnyVisibilityConfig() 156 @NonNull SchemaVisibilityConfig visibilityConfig) { in checkMatchAllVisibilityConfig() 196 @NonNull SchemaVisibilityConfig visibilityConfig, in isSchemaPubliclyVisibleFromPackage() 242 @NonNull SchemaVisibilityConfig visibilityConfig, int callerUid) { in isSchemaVisibleToPackages() 278 @NonNull SchemaVisibilityConfig visibilityConfig, in isSchemaVisibleToPermission()
|
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/app/ |
D | InternalVisibilityConfigTest.java | 46 SchemaVisibilityConfig innerConfig1 = in testVisibilityConfig_setVisibilityConfig() 47 new SchemaVisibilityConfig.Builder() in testVisibilityConfig_setVisibilityConfig() 52 SchemaVisibilityConfig innerConfig2 = in testVisibilityConfig_setVisibilityConfig() 53 new SchemaVisibilityConfig.Builder() in testVisibilityConfig_setVisibilityConfig()
|
/packages/modules/AppSearch/framework/api/ |
D | current.txt | 291 …va.util.Map<java.lang.String,java.util.Set<android.app.appsearch.SchemaVisibilityConfig>> getSchem… 306 …leToConfigs(@NonNull String, @NonNull java.util.Set<android.app.appsearch.SchemaVisibilityConfig>); 433 ….flags.enable_set_schema_visible_to_configs") public final class SchemaVisibilityConfig implements… 439 …c static final android.os.Parcelable.Creator<android.app.appsearch.SchemaVisibilityConfig> CREATOR; 442 …s.enable_set_schema_visible_to_configs") public static final class SchemaVisibilityConfig.Builder { 443 ctor public SchemaVisibilityConfig.Builder(); 444 …method @NonNull public android.app.appsearch.SchemaVisibilityConfig.Builder addAllowedPackage(@Non… 445 …method @NonNull public android.app.appsearch.SchemaVisibilityConfig.Builder addRequiredPermissions… 446 method @NonNull public android.app.appsearch.SchemaVisibilityConfig build(); 447 …method @NonNull public android.app.appsearch.SchemaVisibilityConfig.Builder clearAllowedPackages(); [all …]
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/ |
D | AppSearchImpl.java | 42 import android.app.appsearch.SchemaVisibilityConfig; 961 Set<SchemaVisibilityConfig> visibleToConfigs = in getSchema()
|