Home
last modified time | relevance | path

Searched refs:parseValue (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/commandline/
DValueParserTest.kt14 assertThat(Type.String.parseValue("test")).isEqualTo(Result.success("test")) in parseString()
19 assertThat(Type.Int.parseValue("123")).isEqualTo(Result.success(123)) in parseInt()
21 assertTrue(Type.Int.parseValue("not an Int").isFailure) in parseInt()
26 assertThat(Type.Float.parseValue("1.23")).isEqualTo(Result.success(1.23f)) in parseFloat()
28 assertTrue(Type.Int.parseValue("not a Float").isFailure) in parseFloat()
33 assertThat(Type.Boolean.parseValue("true")).isEqualTo(Result.success(true)) in parseBoolean()
34 assertThat(Type.Boolean.parseValue("false")).isEqualTo(Result.success(false)) in parseBoolean()
36 assertTrue(Type.Boolean.parseValue("not a Boolean").isFailure) in parseBoolean()
43 assertThat(parseSquare.parseValue("10")).isEqualTo(Result.success(Rect(10, 10, 10, 10))) in mapToComplexType()
57 assertThat(fallibleParseSquare.parseValue("10")) in mapToFallibleComplexType()
[all …]
/frameworks/av/media/libaudioprocessing/tests/fuzzer/
Dlibaudioprocessing_resampler_fuzzer.cpp73 int parseValue(const uint8_t* src, int index, void* dst, size_t size) { in parseValue() function
99 index += parseValue(data, index, &input_freq, sizeof(int)); in LLVMFuzzerTestOneInput()
100 index += parseValue(data, index, &output_freq, sizeof(int)); in LLVMFuzzerTestOneInput()
101 index += parseValue(data, index, &input_channels, sizeof(int)); in LLVMFuzzerTestOneInput()
103 index += parseValue(data, index, &left_volume, sizeof(float)); in LLVMFuzzerTestOneInput()
104 index += parseValue(data, index, &right_volume, sizeof(float)); in LLVMFuzzerTestOneInput()
/frameworks/base/core/java/android/view/animation/
DClipRectAnimation.java67 Description d = Description.parseValue(a.peekValue( in ClipRectAnimation()
72 d = Description.parseValue(a.peekValue( in ClipRectAnimation()
77 d = Description.parseValue(a.peekValue( in ClipRectAnimation()
82 d = Description.parseValue(a.peekValue( in ClipRectAnimation()
88 d = Description.parseValue(a.peekValue( in ClipRectAnimation()
93 d = Description.parseValue(a.peekValue( in ClipRectAnimation()
98 d = Description.parseValue(a.peekValue( in ClipRectAnimation()
103 d = Description.parseValue(a.peekValue( in ClipRectAnimation()
DExtendAnimation.java65 Description d = Description.parseValue(a.peekValue( in ExtendAnimation()
70 d = Description.parseValue(a.peekValue( in ExtendAnimation()
75 d = Description.parseValue(a.peekValue( in ExtendAnimation()
80 d = Description.parseValue(a.peekValue( in ExtendAnimation()
86 d = Description.parseValue(a.peekValue( in ExtendAnimation()
91 d = Description.parseValue(a.peekValue( in ExtendAnimation()
96 d = Description.parseValue(a.peekValue( in ExtendAnimation()
101 d = Description.parseValue(a.peekValue( in ExtendAnimation()
DTranslateAnimation.java75 Description d = Description.parseValue(a.peekValue( in TranslateAnimation()
80 d = Description.parseValue(a.peekValue( in TranslateAnimation()
85 d = Description.parseValue(a.peekValue( in TranslateAnimation()
90 d = Description.parseValue(a.peekValue( in TranslateAnimation()
DRotateAnimation.java58 Description d = Description.parseValue(a.peekValue( in RotateAnimation()
63 d = Description.parseValue(a.peekValue( in RotateAnimation()
DGridLayoutAnimationController.java118 Animation.Description d = Animation.Description.parseValue( in GridLayoutAnimationController()
122 d = Animation.Description.parseValue( in GridLayoutAnimationController()
DScaleAnimation.java120 Description d = Description.parseValue(a.peekValue( in ScaleAnimation()
125 d = Description.parseValue(a.peekValue( in ScaleAnimation()
DLayoutAnimationController.java108 Animation.Description d = Animation.Description.parseValue( in LayoutAnimationController()
DAnimation.java1297 static Description parseValue(TypedValue value, Context context) { in parseValue() method in Animation.Description
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/commandline/
DValueParser.kt131 fun parseValue(value: String): Result<A> in interface() method
137 this.parseValue(value).flatMap { a -> in map()
DParameters.kt189 .parseValue(iterator.next()) in getValue()
/frameworks/base/core/java/com/android/internal/util/
DTypedProperties.java203 final Object value = parseValue(st, type); in parse()
233 static Object parseValue(StreamTokenizer st, final int type) throws IOException { in parseValue() method in TypedProperties
/frameworks/base/boot/
Dboot-image-profile.txt18593 HSPLandroid/view/animation/Animation$Description;->parseValue(Landroid/util/TypedValue;Landroid/con…
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt58440 Landroid/view/animation/Animation$Description;->parseValue(Landroid/util/TypedValue;)Landroid/view/…
84728 Lcom/android/internal/util/TypedProperties;->parseValue(Ljava/io/StreamTokenizer;I)Ljava/lang/Objec…
/frameworks/base/config/
Dboot-image-profile.txt18657 HSPLandroid/view/animation/Animation$Description;->parseValue(Landroid/util/TypedValue;Landroid/con…