Searched refs:parsePerSdkConfig (Results 1 – 2 of 2) sorted by relevance
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/signedconfig/ |
H A D | SignedConfigTest.java | 70 SignedConfig.PerSdkConfig config = SignedConfig.parsePerSdkConfig(json, emptySet(), in testParsePerSdkConfigSdkMinMax() 80 SignedConfig.parsePerSdkConfig(json, emptySet(), emptyMap()); in testParsePerSdkConfigNoMinSdk() 91 SignedConfig.parsePerSdkConfig(json, emptySet(), emptyMap()); in testParsePerSdkConfigNoMaxSdk() 102 SignedConfig.parsePerSdkConfig(json, emptySet(), emptyMap()); in testParsePerSdkConfigNoValues() 113 SignedConfig.parsePerSdkConfig(json, emptySet(), emptyMap()); in testParsePerSdkConfigSdkNullMinSdk() 124 SignedConfig.parsePerSdkConfig(json, emptySet(), emptyMap()); in testParsePerSdkConfigSdkNullMaxSdk() 135 SignedConfig.parsePerSdkConfig(json, emptySet(), emptyMap()); in testParsePerSdkConfigNullValues() 177 SignedConfig.PerSdkConfig config = SignedConfig.parsePerSdkConfig( in testParsePerSdkConfigMultiKeys() 187 SignedConfig.parsePerSdkConfig(json, setOf("b"), emptyMap()); in testParsePerSdkConfigSingleKeyNotAllowed() 252 SignedConfig.parsePerSdkConfig(json, emptySet(), emptyMap()); in testParsePerSdkConfigValuesInvalid() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/signedconfig/ |
H A D | SignedConfig.java | 134 parsedConfigs.add(parsePerSdkConfig(perSdkConfig.getJSONObject(i), allowedKeys, in parse() 154 static PerSdkConfig parsePerSdkConfig(JSONObject json, Set<String> allowedKeys, in parsePerSdkConfig() method in SignedConfig
|