1# Copyright (C) 2017 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 LTestCase; 16 17.super Ljava/lang/Object; 18 19.method public static setByteArray([B)V 20 .registers 3 21 const/16 v0, 0x0 22 const/16 v1, 0x0101 23 aput-byte v1, p0, v0 24 return-void 25.end method 26 27.method public static setByteStaticField()V 28 .registers 1 29 const/16 v0, 0x0101 30 sput-byte v0, LTestCase;->staticByteField:B 31 return-void 32.end method 33 34.method public static setByteInstanceField(LTestCase;)V 35 .registers 2 36 const/16 v0, 0x0101 37 iput-byte v0, p0, LTestCase;->instanceByteField:B 38 return-void 39.end method 40 41.method public constructor <init>()V 42 .registers 1 43 invoke-direct {p0}, Ljava/lang/Object;-><init>()V 44 return-void 45.end method 46 47.method public static setShortArray([S)V 48 .registers 3 49 const/16 v0, 0x0 50 const v1, 0x10101 51 aput-short v1, p0, v0 52 return-void 53.end method 54 55.method public static setShortStaticField()V 56 .registers 1 57 const v0, 0x10101 58 sput-short v0, LTestCase;->staticShortField:S 59 return-void 60.end method 61 62.method public static setShortInstanceField(LTestCase;)V 63 .registers 2 64 const v0, 0x10101 65 iput-short v0, p0, LTestCase;->instanceShortField:S 66 return-void 67.end method 68 69.method public static setCharArray([C)V 70 .registers 3 71 const/16 v0, 0x0 72 const v1, 0x10101 73 aput-char v1, p0, v0 74 return-void 75.end method 76 77.method public static setCharStaticField()V 78 .registers 1 79 const v0, 0x10101 80 sput-char v0, LTestCase;->staticCharField:C 81 return-void 82.end method 83 84.method public static setCharInstanceField(LTestCase;)V 85 .registers 2 86 const v0, 0x10101 87 iput-char v0, p0, LTestCase;->instanceCharField:C 88 return-void 89.end method 90 91.method public constructor <init>()V 92 .registers 1 93 invoke-direct {p0}, Ljava/lang/Object;-><init>()V 94 return-void 95.end method 96 97.field public static staticByteField:B 98.field public instanceByteField:B 99.field public static staticShortField:S 100.field public instanceShortField:S 101.field public static staticCharField:C 102.field public instanceCharField:C 103