Home
last modified time | relevance | path

Searched refs:jsonValue (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DJsonParserTest.cs248 public void StringToInt32_Valid(string jsonValue, int expectedParsedValue) in StringToInt32_Valid() argument
250 string json = "{ \"singleInt32\": \"" + jsonValue + "\"}"; in StringToInt32_Valid()
267 public void StringToInt32_Invalid(string jsonValue) in StringToInt32_Invalid() argument
269 string json = "{ \"singleInt32\": \"" + jsonValue + "\"}"; in StringToInt32_Invalid()
277 public void StringToUInt32_Valid(string jsonValue, uint expectedParsedValue) in StringToUInt32_Valid() argument
279 string json = "{ \"singleUint32\": \"" + jsonValue + "\"}"; in StringToUInt32_Valid()
288 public void StringToUInt32_Invalid(string jsonValue) in StringToUInt32_Invalid() argument
290 string json = "{ \"singleUint32\": \"" + jsonValue + "\"}"; in StringToUInt32_Invalid()
300 public void StringToInt64_Valid(string jsonValue, long expectedParsedValue) in StringToInt64_Valid() argument
302 string json = "{ \"singleInt64\": \"" + jsonValue + "\"}"; in StringToInt64_Valid()
[all …]
/frameworks/base/cmds/bootanimation/iot/
DBootParameters.cpp154 Value &jsonValue = json[kKeyLegacyVolume]; in parseLegacyBootParameters() local
155 if (jsonValue.isIntegral()) { in parseLegacyBootParameters()
156 volume = jsonValue.asInt(); in parseLegacyBootParameters()
159 jsonValue = json[kKeyLegacyAnimationsDisabled]; in parseLegacyBootParameters()
160 if (jsonValue.isIntegral()) { in parseLegacyBootParameters()
161 bootAnimationDisabled = jsonValue.asInt() == 1; in parseLegacyBootParameters()