public final class android.location.GpsStatus
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: android.location.GpsStatus
super_class: java.lang.Object
{
private static final int NUM_SATELLITES;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 255
private static final int GLONASS_SVID_OFFSET;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 64
private static final int BEIDOU_SVID_OFFSET;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 200
private static final int SBAS_SVID_OFFSET;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -87
private int mTimeToFirstFix;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final android.util.SparseArray<android.location.GpsSatellite> mSatellites;
descriptor: Landroid/util/SparseArray;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Landroid/util/SparseArray<Landroid/location/GpsSatellite;>;
private java.lang.Iterable<android.location.GpsSatellite> mSatelliteList;
descriptor: Ljava/lang/Iterable;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/Iterable<Landroid/location/GpsSatellite;>;
public static final int GPS_EVENT_STARTED;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int GPS_EVENT_STOPPED;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int GPS_EVENT_FIRST_FIX;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final int GPS_EVENT_SATELLITE_STATUS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new android.util.SparseArray
dup
invokespecial android.util.SparseArray.<init>:()V
putfield android.location.GpsStatus.mSatellites:Landroid/util/SparseArray;
2: aload 0
new android.location.GpsStatus$1
dup
aload 0
invokespecial android.location.GpsStatus$1.<init>:(Landroid/location/GpsStatus;)V
putfield android.location.GpsStatus.mSatelliteList:Ljava/lang/Iterable;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Landroid/location/GpsStatus;
private void setStatus(int, int[], float[], float[], float[]);
descriptor: (I[I[F[F[F)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=10, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokevirtual android.location.GpsStatus.clearSatellites:()V
1: iconst_0
istore 6
start local 6 2: goto 42
3: StackMap locals: int
StackMap stack:
aload 2
iload 6
iaload
iconst_4
ishr
4: bipush 15
5: iand
6: istore 7
start local 7 7: aload 2
iload 6
iaload
bipush 8
ishr
istore 8
start local 8 8: iload 7
iconst_3
if_icmpne 11
9: iinc 8 64
10: goto 20
StackMap locals: int int
StackMap stack:
11: iload 7
iconst_5
if_icmpne 14
12: iinc 8 200
13: goto 20
StackMap locals:
StackMap stack:
14: iload 7
iconst_2
if_icmpne 17
15: iinc 8 -87
16: goto 20
StackMap locals:
StackMap stack:
17: iload 7
iconst_1
if_icmpeq 20
18: iload 7
iconst_4
if_icmpeq 20
19: goto 41
20: StackMap locals:
StackMap stack:
iload 8
ifle 41
iload 8
sipush 255
if_icmpgt 41
21: aload 0
getfield android.location.GpsStatus.mSatellites:Landroid/util/SparseArray;
iload 8
invokevirtual android.util.SparseArray.get:(I)Ljava/lang/Object;
checkcast android.location.GpsSatellite
astore 9
start local 9 22: aload 9
ifnonnull 25
23: new android.location.GpsSatellite
dup
iload 8
invokespecial android.location.GpsSatellite.<init>:(I)V
astore 9
24: aload 0
getfield android.location.GpsStatus.mSatellites:Landroid/util/SparseArray;
iload 8
aload 9
invokevirtual android.util.SparseArray.put:(ILjava/lang/Object;)V
25: StackMap locals: android.location.GpsSatellite
StackMap stack:
aload 9
iconst_1
putfield android.location.GpsSatellite.mValid:Z
26: aload 9
aload 3
iload 6
faload
putfield android.location.GpsSatellite.mSnr:F
27: aload 9
aload 4
iload 6
faload
putfield android.location.GpsSatellite.mElevation:F
28: aload 9
aload 5
iload 6
faload
putfield android.location.GpsSatellite.mAzimuth:F
29: aload 9
30: aload 2
iload 6
iaload
iconst_1
iand
ifeq 31
iconst_1
goto 32
StackMap locals:
StackMap stack: android.location.GpsSatellite
31: iconst_0
32: StackMap locals: android.location.GpsStatus int int[] float[] float[] float[] int int int android.location.GpsSatellite
StackMap stack: android.location.GpsSatellite int
putfield android.location.GpsSatellite.mHasEphemeris:Z
33: aload 9
34: aload 2
iload 6
iaload
iconst_2
iand
ifeq 35
iconst_1
goto 36
StackMap locals:
StackMap stack: android.location.GpsSatellite
35: iconst_0
36: StackMap locals: android.location.GpsStatus int int[] float[] float[] float[] int int int android.location.GpsSatellite
StackMap stack: android.location.GpsSatellite int
putfield android.location.GpsSatellite.mHasAlmanac:Z
37: aload 9
38: aload 2
iload 6
iaload
iconst_4
iand
ifeq 39
iconst_1
goto 40
StackMap locals:
StackMap stack: android.location.GpsSatellite
39: iconst_0
40: StackMap locals: android.location.GpsStatus int int[] float[] float[] float[] int int int android.location.GpsSatellite
StackMap stack: android.location.GpsSatellite int
putfield android.location.GpsSatellite.mUsedInFix:Z
end local 9 end local 8 end local 7 41: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
42: iload 6
iload 1
if_icmplt 3
end local 6 43: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 44 0 this Landroid/location/GpsStatus;
0 44 1 svCount I
0 44 2 svidWithFlags [I
0 44 3 cn0s [F
0 44 4 elevations [F
0 44 5 azimuths [F
2 43 6 i I
7 41 7 constellationType I
8 41 8 prn I
22 41 9 satellite Landroid/location/GpsSatellite;
MethodParameters:
Name Flags
svCount
svidWithFlags
cn0s
elevations
azimuths
void setStatus(android.location.GnssStatus, int);
descriptor: (Landroid/location/GnssStatus;I)V
flags: (0x0000)
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 2
putfield android.location.GpsStatus.mTimeToFirstFix:I
1: aload 0
aload 1
getfield android.location.GnssStatus.mSvCount:I
aload 1
getfield android.location.GnssStatus.mSvidWithFlags:[I
aload 1
getfield android.location.GnssStatus.mCn0DbHz:[F
aload 1
getfield android.location.GnssStatus.mElevations:[F
2: aload 1
getfield android.location.GnssStatus.mAzimuths:[F
3: invokevirtual android.location.GpsStatus.setStatus:(I[I[F[F[F)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Landroid/location/GpsStatus;
0 5 1 status Landroid/location/GnssStatus;
0 5 2 timeToFirstFix I
MethodParameters:
Name Flags
status
timeToFirstFix
void setTimeToFirstFix(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield android.location.GpsStatus.mTimeToFirstFix:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Landroid/location/GpsStatus;
0 2 1 ttff I
MethodParameters:
Name Flags
ttff
public int getTimeToFirstFix();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield android.location.GpsStatus.mTimeToFirstFix:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/location/GpsStatus;
public java.lang.Iterable<android.location.GpsSatellite> getSatellites();
descriptor: ()Ljava/lang/Iterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield android.location.GpsStatus.mSatelliteList:Ljava/lang/Iterable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/location/GpsStatus;
Signature: ()Ljava/lang/Iterable<Landroid/location/GpsSatellite;>;
public int getMaxSatellites();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: sipush 255
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/location/GpsStatus;
private void clearSatellites();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield android.location.GpsStatus.mSatellites:Landroid/util/SparseArray;
invokevirtual android.util.SparseArray.size:()I
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 6
3: StackMap locals: int int
StackMap stack:
aload 0
getfield android.location.GpsStatus.mSatellites:Landroid/util/SparseArray;
iload 2
invokevirtual android.util.SparseArray.valueAt:(I)Ljava/lang/Object;
checkcast android.location.GpsSatellite
astore 3
start local 3 4: aload 3
iconst_0
putfield android.location.GpsSatellite.mValid:Z
end local 3 5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
iload 1
if_icmplt 3
end local 2 7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Landroid/location/GpsStatus;
1 8 1 satellitesCount I
2 7 2 i I
4 5 3 satellite Landroid/location/GpsSatellite;
}
SourceFile: "GpsStatus.java"
NestMembers:
android.location.GpsStatus$1 android.location.GpsStatus$Listener android.location.GpsStatus$NmeaListener android.location.GpsStatus$SatelliteIterator
InnerClasses:
android.location.GpsStatus$1
public abstract Listener = android.location.GpsStatus$Listener of android.location.GpsStatus
public abstract NmeaListener = android.location.GpsStatus$NmeaListener of android.location.GpsStatus
private final SatelliteIterator = android.location.GpsStatus$SatelliteIterator of android.location.GpsStatus
RuntimeVisibleAnnotations:
java.lang.Deprecated()