class android.media.midi.MidiPortImpl
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: android.media.midi.MidiPortImpl
super_class: java.lang.Object
{
private static final java.lang.String TAG;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "MidiPort"
public static final int PACKET_TYPE_DATA;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int PACKET_TYPE_FLUSH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int MAX_PACKET_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1024
private static final int TIMESTAMP_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private static final int DATA_PACKET_OVERHEAD;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 9
public static final int MAX_PACKET_DATA_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1015
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/media/midi/MidiPortImpl;
public static int packData(byte[], int, int, long, byte[]);
descriptor: ([BIIJ[B)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 5 0: iload 2
sipush 1015
if_icmple 2
1: sipush 1015
istore 2
2: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 3: aload 5
iload 6
iinc 6 1
iconst_1
bastore
4: aload 0
iload 1
aload 5
iload 6
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: iload 6
iload 2
iadd
istore 6
6: iconst_0
istore 7
start local 7 7: goto 11
8: StackMap locals: int int
StackMap stack:
aload 5
iload 6
iinc 6 1
lload 3
l2i
i2b
bastore
9: lload 3
bipush 8
lshr
lstore 3
10: iinc 7 1
StackMap locals:
StackMap stack:
11: iload 7
bipush 8
if_icmplt 8
end local 7 12: iload 6
ireturn
end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 message [B
0 13 1 offset I
0 13 2 size I
0 13 3 timestamp J
0 13 5 dest [B
3 13 6 length I
7 12 7 i I
MethodParameters:
Name Flags
message
offset
size
timestamp
dest
public static int packFlush(byte[]);
descriptor: ([B)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
iconst_2
bastore
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 dest [B
MethodParameters:
Name Flags
dest
public static int getPacketType(byte[], int);
descriptor: ([BI)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
baload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 buffer [B
0 1 1 bufferLength I
MethodParameters:
Name Flags
buffer
bufferLength
public static int getDataOffset(byte[], int);
descriptor: ([BI)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 buffer [B
0 1 1 bufferLength I
MethodParameters:
Name Flags
buffer
bufferLength
public static int getDataSize(byte[], int);
descriptor: ([BI)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
bipush 9
isub
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 buffer [B
0 1 1 bufferLength I
MethodParameters:
Name Flags
buffer
bufferLength
public static long getPacketTimestamp(byte[], int);
descriptor: ([BI)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: iload 1
istore 2
start local 2 1: lconst_0
lstore 3
start local 3 2: iconst_0
istore 5
start local 5 3: goto 7
4: StackMap locals: int long int
StackMap stack:
aload 0
iinc 2 -1
iload 2
baload
sipush 255
iand
istore 6
start local 6 5: lload 3
bipush 8
lshl
iload 6
i2l
lor
lstore 3
end local 6 6: iinc 5 1
StackMap locals:
StackMap stack:
7: iload 5
bipush 8
if_icmplt 4
end local 5 8: lload 3
lreturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 buffer [B
0 9 1 bufferLength I
1 9 2 offset I
2 9 3 timestamp J
3 8 5 i I
5 6 6 b I
MethodParameters:
Name Flags
buffer
bufferLength
}
SourceFile: "MidiPortImpl.java"