public final class android.bluetooth.BluetoothClass implements android.os.Parcelable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: android.bluetooth.BluetoothClass
super_class: java.lang.Object
{
public static final int ERROR;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -16777216
private final int mClass;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static final android.os.Parcelable$Creator<android.bluetooth.BluetoothClass> CREATOR;
descriptor: Landroid/os/Parcelable$Creator;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Landroid/os/Parcelable$Creator<Landroid/bluetooth/BluetoothClass;>;
public static final int PROFILE_HEADSET;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int PROFILE_A2DP;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int PROFILE_OPP;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int PROFILE_HID;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final int PROFILE_PANU;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int PROFILE_NAP;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 5
public static final int PROFILE_A2DP_SINK;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 6
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new android.bluetooth.BluetoothClass$1
dup
invokespecial android.bluetooth.BluetoothClass$1.<init>:()V
1: putstatic android.bluetooth.BluetoothClass.CREATOR:Landroid/os/Parcelable$Creator;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield android.bluetooth.BluetoothClass.mClass:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Landroid/bluetooth/BluetoothClass;
0 3 1 classInt I
MethodParameters:
Name Flags
classInt
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof android.bluetooth.BluetoothClass
ifeq 3
1: aload 0
getfield android.bluetooth.BluetoothClass.mClass:I
aload 1
checkcast android.bluetooth.BluetoothClass
getfield android.bluetooth.BluetoothClass.mClass:I
if_icmpne 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Landroid/bluetooth/BluetoothClass;
0 4 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield android.bluetooth.BluetoothClass.mClass:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/bluetooth/BluetoothClass;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield android.bluetooth.BluetoothClass.mClass:I
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/bluetooth/BluetoothClass;
public int describeContents();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/bluetooth/BluetoothClass;
public void writeToParcel(android.os.Parcel, int);
descriptor: (Landroid/os/Parcel;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
getfield android.bluetooth.BluetoothClass.mClass:I
invokevirtual android.os.Parcel.writeInt:(I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Landroid/bluetooth/BluetoothClass;
0 2 1 out Landroid/os/Parcel;
0 2 2 flags I
MethodParameters:
Name Flags
out
flags
public boolean hasService(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield android.bluetooth.BluetoothClass.mClass:I
ldc 16769024
iand
iload 1
iand
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Landroid/bluetooth/BluetoothClass;
0 2 1 service I
MethodParameters:
Name Flags
service
public int getMajorDeviceClass();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield android.bluetooth.BluetoothClass.mClass:I
sipush 7936
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/bluetooth/BluetoothClass;
public int getDeviceClass();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield android.bluetooth.BluetoothClass.mClass:I
sipush 8188
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/bluetooth/BluetoothClass;
public int getClassOfDevice();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield android.bluetooth.BluetoothClass.mClass:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/bluetooth/BluetoothClass;
public byte[] getClassOfDeviceBytes();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: iconst_4
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
1: getstatic java.nio.ByteOrder.BIG_ENDIAN:Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
2: aload 0
getfield android.bluetooth.BluetoothClass.mClass:I
invokevirtual java.nio.ByteBuffer.putInt:(I)Ljava/nio/ByteBuffer;
3: invokevirtual java.nio.ByteBuffer.array:()[B
4: astore 1
start local 1 5: aload 1
iconst_1
aload 1
arraylength
invokestatic java.util.Arrays.copyOfRange:([BII)[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Landroid/bluetooth/BluetoothClass;
5 6 1 bytes [B
public boolean doesClassMatch(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_1
if_icmpne 6
1: aload 0
ldc 262144
invokevirtual android.bluetooth.BluetoothClass.hasService:(I)Z
ifeq 3
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual android.bluetooth.BluetoothClass.getDeviceClass:()I
lookupswitch { // 4
1044: 4
1048: 4
1056: 4
1064: 4
default: 5
}
4: StackMap locals:
StackMap stack:
iconst_1
ireturn
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iload 1
bipush 6
if_icmpne 12
7: aload 0
ldc 524288
invokevirtual android.bluetooth.BluetoothClass.hasService:(I)Z
ifeq 9
8: iconst_1
ireturn
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual android.bluetooth.BluetoothClass.getDeviceClass:()I
lookupswitch { // 3
1060: 10
1064: 10
1068: 10
default: 11
}
10: StackMap locals:
StackMap stack:
iconst_1
ireturn
11: StackMap locals:
StackMap stack:
iconst_0
ireturn
12: StackMap locals:
StackMap stack:
iload 1
ifne 18
13: aload 0
ldc 262144
invokevirtual android.bluetooth.BluetoothClass.hasService:(I)Z
ifeq 15
14: iconst_1
ireturn
15: StackMap locals:
StackMap stack:
aload 0
invokevirtual android.bluetooth.BluetoothClass.getDeviceClass:()I
lookupswitch { // 3
1028: 16
1032: 16
1056: 16
default: 17
}
16: StackMap locals:
StackMap stack:
iconst_1
ireturn
17: StackMap locals:
StackMap stack:
iconst_0
ireturn
18: StackMap locals:
StackMap stack:
iload 1
iconst_2
if_icmpne 24
19: aload 0
ldc 1048576
invokevirtual android.bluetooth.BluetoothClass.hasService:(I)Z
ifeq 21
20: iconst_1
ireturn
21: StackMap locals:
StackMap stack:
aload 0
invokevirtual android.bluetooth.BluetoothClass.getDeviceClass:()I
lookupswitch { // 13
256: 22
260: 22
264: 22
268: 22
272: 22
276: 22
280: 22
512: 22
516: 22
520: 22
524: 22
528: 22
532: 22
default: 23
}
22: StackMap locals:
StackMap stack:
iconst_1
ireturn
23: StackMap locals:
StackMap stack:
iconst_0
ireturn
24: StackMap locals:
StackMap stack:
iload 1
iconst_3
if_icmpne 27
25: aload 0
invokevirtual android.bluetooth.BluetoothClass.getDeviceClass:()I
sipush 1280
iand
sipush 1280
if_icmpne 26
iconst_1
ireturn
StackMap locals:
StackMap stack:
26: iconst_0
ireturn
27: StackMap locals:
StackMap stack:
iload 1
iconst_4
if_icmpeq 28
iload 1
iconst_5
if_icmpne 32
28: StackMap locals:
StackMap stack:
aload 0
ldc 131072
invokevirtual android.bluetooth.BluetoothClass.hasService:(I)Z
ifeq 30
29: iconst_1
ireturn
30: StackMap locals:
StackMap stack:
aload 0
invokevirtual android.bluetooth.BluetoothClass.getDeviceClass:()I
sipush 768
iand
sipush 768
if_icmpne 31
iconst_1
ireturn
StackMap locals:
StackMap stack:
31: iconst_0
ireturn
32: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Landroid/bluetooth/BluetoothClass;
0 33 1 profile I
MethodParameters:
Name Flags
profile
}
SourceFile: "BluetoothClass.java"
NestMembers:
android.bluetooth.BluetoothClass$1 android.bluetooth.BluetoothClass$Device android.bluetooth.BluetoothClass$Device$Major android.bluetooth.BluetoothClass$Service
InnerClasses:
android.bluetooth.BluetoothClass$1
public Device = android.bluetooth.BluetoothClass$Device of android.bluetooth.BluetoothClass
public final Service = android.bluetooth.BluetoothClass$Service of android.bluetooth.BluetoothClass
public abstract Creator = android.os.Parcelable$Creator of android.os.Parcelable