1# Copyright (C) 2019 The Android Open Source Project 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15.class public final Lart_test/TestCases1965; 16.super Ljava/lang/Object; 17 18 19# direct methods 20.method public constructor <init>()V 21 .registers 1 22 invoke-direct {p0}, Ljava/lang/Object;-><init>()V 23 return-void 24.end method 25 26.method public static BooleanMethod(Ljava/util/function/IntConsumer;Ljava/util/function/Consumer;)V 27 .registers 4 28 const/4 v0, 0x0 29 # Slot for value. 30 const/16 v1, 0x0 31 invoke-interface {p0, v1}, Ljava/util/function/IntConsumer;->accept(I)V 32 invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean; 33 move-result-object v1 34 invoke-interface {p1, v1}, Ljava/util/function/Consumer;->accept(Ljava/lang/Object;)V 35 return-void 36.end method 37 38.method public static ByteMethod(Ljava/util/function/IntConsumer;Ljava/util/function/Consumer;)V 39 .registers 4 40 const/16 v0, 0x8 41 # Slot for value. 42 const/16 v1, 0x0 43 invoke-interface {p0, v1}, Ljava/util/function/IntConsumer;->accept(I)V 44 invoke-static {v0}, Ljava/lang/Byte;->valueOf(B)Ljava/lang/Byte; 45 move-result-object v1 46 invoke-interface {p1, v1}, Ljava/util/function/Consumer;->accept(Ljava/lang/Object;)V 47 return-void 48.end method 49 50.method public static CharMethod(Ljava/util/function/IntConsumer;Ljava/util/function/Consumer;)V 51 .registers 4 52 const/16 v0, 0x71 53 # Slot for value 54 const/16 v1, 0x0 55 invoke-interface {p0, v1}, Ljava/util/function/IntConsumer;->accept(I)V 56 invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character; 57 move-result-object v1 58 invoke-interface {p1, v1}, Ljava/util/function/Consumer;->accept(Ljava/lang/Object;)V 59 return-void 60.end method 61 62.method public static DoubleMethod(Ljava/util/function/IntConsumer;Ljava/util/function/Consumer;)V 63 .registers 5 64 const-wide v0, 0x400921cac083126fL # 3.1415 65 # Slot for value 66 const/16 v2, 0x0 67 invoke-interface {p0, v2}, Ljava/util/function/IntConsumer;->accept(I)V 68 invoke-static {v0, v1}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double; 69 move-result-object v2 70 invoke-interface {p1, v2}, Ljava/util/function/Consumer;->accept(Ljava/lang/Object;)V 71 return-void 72.end method 73 74.method public static FloatMethod(Ljava/util/function/IntConsumer;Ljava/util/function/Consumer;)V 75 .registers 4 76 const v0, 0x3fcf1aa0 # 1.618f 77 # Slot for value 78 const/16 v1, 0x0 79 invoke-interface {p0, v1}, Ljava/util/function/IntConsumer;->accept(I)V 80 invoke-static {v0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float; 81 move-result-object v1 82 invoke-interface {p1, v1}, Ljava/util/function/Consumer;->accept(Ljava/lang/Object;)V 83 return-void 84.end method 85 86.method public static IntMethod(Ljava/util/function/IntConsumer;Ljava/util/function/Consumer;)V 87 .registers 4 88 const/16 v0, 0x2a 89 # Slot for value 90 const/16 v1, 0x0 91 invoke-interface {p0, v1}, Ljava/util/function/IntConsumer;->accept(I)V 92 invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; 93 move-result-object v1 94 invoke-interface {p1, v1}, Ljava/util/function/Consumer;->accept(Ljava/lang/Object;)V 95 return-void 96.end method 97 98.method public static LongMethod(Ljava/util/function/IntConsumer;Ljava/util/function/Consumer;)V 99 .registers 5 100 const-wide/16 v0, 0x2329 101 # Slot for value 102 const/16 v2, 0x0 103 invoke-interface {p0, v2}, Ljava/util/function/IntConsumer;->accept(I)V 104 invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; 105 move-result-object v2 106 invoke-interface {p1, v2}, Ljava/util/function/Consumer;->accept(Ljava/lang/Object;)V 107 return-void 108.end method 109 110.method public static NullObjectMethod(Ljava/util/function/IntConsumer;Ljava/util/function/Consumer;)V 111 .registers 4 112 const/4 v0, 0x0 113 # Slot for value 114 const/16 v1, 0x0 115 invoke-interface {p0, v1}, Ljava/util/function/IntConsumer;->accept(I)V 116 invoke-interface {p1, v0}, Ljava/util/function/Consumer;->accept(Ljava/lang/Object;)V 117 return-void 118.end method 119 120.method public static ObjectMethod(Ljava/util/function/IntConsumer;Ljava/util/function/Consumer;)V 121 .registers 4 122 const-string v0, "TARGET_VALUE" 123 # Slot for value 124 const/16 v1, 0x0 125 invoke-interface {p0, v1}, Ljava/util/function/IntConsumer;->accept(I)V 126 invoke-interface {p1, v0}, Ljava/util/function/Consumer;->accept(Ljava/lang/Object;)V 127 return-void 128.end method 129 130.method public static ShortMethod(Ljava/util/function/IntConsumer;Ljava/util/function/Consumer;)V 131 .registers 4 132 const/16 v0, 0x141 133 # slot for value 134 const/16 v1, 0x0 135 invoke-interface {p0, v1}, Ljava/util/function/IntConsumer;->accept(I)V 136 invoke-static {v0}, Ljava/lang/Short;->valueOf(S)Ljava/lang/Short; 137 move-result-object v1 138 invoke-interface {p1, v1}, Ljava/util/function/Consumer;->accept(Ljava/lang/Object;)V 139 return-void 140.end method 141