430 lines
9.7 KiB
Smali
430 lines
9.7 KiB
Smali
.class public final Landroidx/core/location/LocationRequestCompat$a;
|
|
.super Ljava/lang/Object;
|
|
.source "LocationRequestCompat.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/core/location/LocationRequestCompat;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "a"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public a:J
|
|
|
|
.field public b:I
|
|
|
|
.field public c:J
|
|
|
|
.field public d:I
|
|
|
|
.field public e:J
|
|
|
|
.field public f:F
|
|
|
|
.field public g:J
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(J)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
invoke-virtual {p0, p1, p2}, Landroidx/core/location/LocationRequestCompat$a;->d(J)Landroidx/core/location/LocationRequestCompat$a;
|
|
|
|
const/16 p1, 0x66
|
|
|
|
.line 3
|
|
iput p1, p0, Landroidx/core/location/LocationRequestCompat$a;->b:I
|
|
|
|
const-wide p1, 0x7fffffffffffffffL
|
|
|
|
.line 4
|
|
iput-wide p1, p0, Landroidx/core/location/LocationRequestCompat$a;->c:J
|
|
|
|
const p1, 0x7fffffff
|
|
|
|
.line 5
|
|
iput p1, p0, Landroidx/core/location/LocationRequestCompat$a;->d:I
|
|
|
|
const-wide/16 p1, -0x1
|
|
|
|
.line 6
|
|
iput-wide p1, p0, Landroidx/core/location/LocationRequestCompat$a;->e:J
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 7
|
|
iput p1, p0, Landroidx/core/location/LocationRequestCompat$a;->f:F
|
|
|
|
const-wide/16 p1, 0x0
|
|
|
|
.line 8
|
|
iput-wide p1, p0, Landroidx/core/location/LocationRequestCompat$a;->g:J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroidx/core/location/LocationRequestCompat;)V
|
|
.locals 2
|
|
.param p1 # Landroidx/core/location/LocationRequestCompat;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 9
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 10
|
|
iget-wide v0, p1, Landroidx/core/location/LocationRequestCompat;->b:J
|
|
|
|
iput-wide v0, p0, Landroidx/core/location/LocationRequestCompat$a;->a:J
|
|
|
|
.line 11
|
|
iget v0, p1, Landroidx/core/location/LocationRequestCompat;->a:I
|
|
|
|
iput v0, p0, Landroidx/core/location/LocationRequestCompat$a;->b:I
|
|
|
|
.line 12
|
|
iget-wide v0, p1, Landroidx/core/location/LocationRequestCompat;->d:J
|
|
|
|
iput-wide v0, p0, Landroidx/core/location/LocationRequestCompat$a;->c:J
|
|
|
|
.line 13
|
|
iget v0, p1, Landroidx/core/location/LocationRequestCompat;->e:I
|
|
|
|
iput v0, p0, Landroidx/core/location/LocationRequestCompat$a;->d:I
|
|
|
|
.line 14
|
|
iget-wide v0, p1, Landroidx/core/location/LocationRequestCompat;->c:J
|
|
|
|
iput-wide v0, p0, Landroidx/core/location/LocationRequestCompat$a;->e:J
|
|
|
|
.line 15
|
|
iget v0, p1, Landroidx/core/location/LocationRequestCompat;->f:F
|
|
|
|
iput v0, p0, Landroidx/core/location/LocationRequestCompat$a;->f:F
|
|
|
|
.line 16
|
|
iget-wide v0, p1, Landroidx/core/location/LocationRequestCompat;->g:J
|
|
|
|
iput-wide v0, p0, Landroidx/core/location/LocationRequestCompat$a;->g:J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()Landroidx/core/location/LocationRequestCompat;
|
|
.locals 14
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-wide v0, p0, Landroidx/core/location/LocationRequestCompat$a;->a:J
|
|
|
|
const-wide v2, 0x7fffffffffffffffL
|
|
|
|
cmp-long v0, v0, v2
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget-wide v0, p0, Landroidx/core/location/LocationRequestCompat$a;->e:J
|
|
|
|
const-wide/16 v2, -0x1
|
|
|
|
cmp-long v0, v0, v2
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 v0, 0x1
|
|
|
|
:goto_1
|
|
const-string v1, "passive location requests must have an explicit minimum update interval"
|
|
|
|
invoke-static {v0, v1}, Lr1/o;->n(ZLjava/lang/String;)V
|
|
|
|
.line 2
|
|
new-instance v0, Landroidx/core/location/LocationRequestCompat;
|
|
|
|
iget-wide v3, p0, Landroidx/core/location/LocationRequestCompat$a;->a:J
|
|
|
|
iget v5, p0, Landroidx/core/location/LocationRequestCompat$a;->b:I
|
|
|
|
iget-wide v6, p0, Landroidx/core/location/LocationRequestCompat$a;->c:J
|
|
|
|
iget v8, p0, Landroidx/core/location/LocationRequestCompat$a;->d:I
|
|
|
|
iget-wide v1, p0, Landroidx/core/location/LocationRequestCompat$a;->e:J
|
|
|
|
.line 3
|
|
invoke-static {v1, v2, v3, v4}, Ljava/lang/Math;->min(JJ)J
|
|
|
|
move-result-wide v9
|
|
|
|
iget v11, p0, Landroidx/core/location/LocationRequestCompat$a;->f:F
|
|
|
|
iget-wide v12, p0, Landroidx/core/location/LocationRequestCompat$a;->g:J
|
|
|
|
move-object v2, v0
|
|
|
|
invoke-direct/range {v2 .. v13}, Landroidx/core/location/LocationRequestCompat;-><init>(JIJIJFJ)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public b()Landroidx/core/location/LocationRequestCompat$a;
|
|
.locals 2
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
const-wide/16 v0, -0x1
|
|
|
|
.line 1
|
|
iput-wide v0, p0, Landroidx/core/location/LocationRequestCompat$a;->e:J
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public c(J)Landroidx/core/location/LocationRequestCompat$a;
|
|
.locals 7
|
|
.param p1 # J
|
|
.annotation build Landroidx/annotation/IntRange;
|
|
from = 0x1L
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
const-wide/16 v2, 0x1
|
|
|
|
const-wide v4, 0x7fffffffffffffffL
|
|
|
|
const-string v6, "durationMillis"
|
|
|
|
move-wide v0, p1
|
|
|
|
.line 1
|
|
invoke-static/range {v0 .. v6}, Lr1/o;->g(JJJLjava/lang/String;)J
|
|
|
|
move-result-wide p1
|
|
|
|
iput-wide p1, p0, Landroidx/core/location/LocationRequestCompat$a;->c:J
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public d(J)Landroidx/core/location/LocationRequestCompat$a;
|
|
.locals 7
|
|
.param p1 # J
|
|
.annotation build Landroidx/annotation/IntRange;
|
|
from = 0x0L
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
const-wide v4, 0x7fffffffffffffffL
|
|
|
|
const-string v6, "intervalMillis"
|
|
|
|
move-wide v0, p1
|
|
|
|
.line 1
|
|
invoke-static/range {v0 .. v6}, Lr1/o;->g(JJJLjava/lang/String;)J
|
|
|
|
move-result-wide p1
|
|
|
|
iput-wide p1, p0, Landroidx/core/location/LocationRequestCompat$a;->a:J
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public e(J)Landroidx/core/location/LocationRequestCompat$a;
|
|
.locals 7
|
|
.param p1 # J
|
|
.annotation build Landroidx/annotation/IntRange;
|
|
from = 0x0L
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iput-wide p1, p0, Landroidx/core/location/LocationRequestCompat$a;->g:J
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
const-wide v4, 0x7fffffffffffffffL
|
|
|
|
const-string v6, "maxUpdateDelayMillis"
|
|
|
|
move-wide v0, p1
|
|
|
|
.line 2
|
|
invoke-static/range {v0 .. v6}, Lr1/o;->g(JJJLjava/lang/String;)J
|
|
|
|
move-result-wide p1
|
|
|
|
iput-wide p1, p0, Landroidx/core/location/LocationRequestCompat$a;->g:J
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public f(I)Landroidx/core/location/LocationRequestCompat$a;
|
|
.locals 3
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/IntRange;
|
|
from = 0x1L
|
|
to = 0x7fffffffL
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
const/4 v0, 0x1
|
|
|
|
const v1, 0x7fffffff
|
|
|
|
const-string v2, "maxUpdates"
|
|
|
|
.line 1
|
|
invoke-static {p1, v0, v1, v2}, Lr1/o;->f(IIILjava/lang/String;)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/core/location/LocationRequestCompat$a;->d:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public g(F)Landroidx/core/location/LocationRequestCompat$a;
|
|
.locals 3
|
|
.param p1 # F
|
|
.annotation build Landroidx/annotation/FloatRange;
|
|
from = 0.0
|
|
to = 3.4028234663852886E38
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iput p1, p0, Landroidx/core/location/LocationRequestCompat$a;->f:F
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const v1, 0x7f7fffff # Float.MAX_VALUE
|
|
|
|
const-string v2, "minUpdateDistanceMeters"
|
|
|
|
.line 2
|
|
invoke-static {p1, v0, v1, v2}, Lr1/o;->e(FFFLjava/lang/String;)F
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/core/location/LocationRequestCompat$a;->f:F
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public h(J)Landroidx/core/location/LocationRequestCompat$a;
|
|
.locals 7
|
|
.param p1 # J
|
|
.annotation build Landroidx/annotation/IntRange;
|
|
from = 0x0L
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
const-wide v4, 0x7fffffffffffffffL
|
|
|
|
const-string v6, "minUpdateIntervalMillis"
|
|
|
|
move-wide v0, p1
|
|
|
|
.line 1
|
|
invoke-static/range {v0 .. v6}, Lr1/o;->g(JJJLjava/lang/String;)J
|
|
|
|
move-result-wide p1
|
|
|
|
iput-wide p1, p0, Landroidx/core/location/LocationRequestCompat$a;->e:J
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public i(I)Landroidx/core/location/LocationRequestCompat$a;
|
|
.locals 4
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
const/16 v2, 0x68
|
|
|
|
if-eq p1, v2, :cond_1
|
|
|
|
const/16 v2, 0x66
|
|
|
|
if-eq p1, v2, :cond_1
|
|
|
|
const/16 v2, 0x64
|
|
|
|
if-ne p1, v2, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move v2, v0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
move v2, v1
|
|
|
|
:goto_1
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
.line 1
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v3
|
|
|
|
aput-object v3, v1, v0
|
|
|
|
const-string v0, "quality must be a defined QUALITY constant, not %d"
|
|
|
|
.line 2
|
|
invoke-static {v2, v0, v1}, Lr1/o;->c(ZLjava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
.line 3
|
|
iput p1, p0, Landroidx/core/location/LocationRequestCompat$a;->b:I
|
|
|
|
return-object p0
|
|
.end method
|