Home
last modified time | relevance | path

Searched refs:PerSdkConfig (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/signedconfig/
H A DSignedConfigTest.java70 SignedConfig.PerSdkConfig config = SignedConfig.parsePerSdkConfig(json, emptySet(), in testParsePerSdkConfigSdkMinMax()
177 SignedConfig.PerSdkConfig config = SignedConfig.parsePerSdkConfig( in testParsePerSdkConfigMultiKeys()
199 SignedConfig.PerSdkConfig config = SignedConfig.parsePerSdkConfig(json, setOf("a"), in testParsePerSdkConfigSingleKeyWithMap()
357 SignedConfig.PerSdkConfig sdk1 = new SignedConfig.PerSdkConfig( in testGetMatchingConfigFirst()
359 SignedConfig.PerSdkConfig sdk2 = new SignedConfig.PerSdkConfig( in testGetMatchingConfigFirst()
367 SignedConfig.PerSdkConfig sdk1 = new SignedConfig.PerSdkConfig( in testGetMatchingConfigSecond()
369 SignedConfig.PerSdkConfig sdk2 = new SignedConfig.PerSdkConfig( in testGetMatchingConfigSecond()
377 SignedConfig.PerSdkConfig sdk13 = new SignedConfig.PerSdkConfig( in testGetMatchingConfigInRange()
379 SignedConfig.PerSdkConfig sdk46 = new SignedConfig.PerSdkConfig( in testGetMatchingConfigInRange()
386 SignedConfig.PerSdkConfig sdk1 = new SignedConfig.PerSdkConfig( in testGetMatchingConfigNoMatch()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/signedconfig/
H A DSignedConfig.java68 public static class PerSdkConfig { class in SignedConfig
73 public PerSdkConfig(int minSdk, int maxSdk, Map<String, String> values) { in PerSdkConfig() method in SignedConfig.PerSdkConfig
82 public final List<PerSdkConfig> perSdkConfig;
84 public SignedConfig(int version, List<PerSdkConfig> perSdkConfig) { in SignedConfig()
95 public PerSdkConfig getMatchingConfig(int sdkVersion) { in getMatchingConfig()
96 for (PerSdkConfig config : perSdkConfig) { in getMatchingConfig()
132 List<PerSdkConfig> parsedConfigs = new ArrayList<>(); in parse()
154 static PerSdkConfig parsePerSdkConfig(JSONObject json, Set<String> allowedKeys, in parsePerSdkConfig()
179 return new PerSdkConfig(minSdk, maxSdk, values); in parsePerSdkConfig()
H A DGlobalSettingsConfigApplicator.java133 SignedConfig.PerSdkConfig matchedConfig = in applyConfig()