- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3 - APKTool decompilation (Smali bytecode) for modding and rebuilding APK - Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures - Includes full Smali source, resources, and native libraries - Ready to rebuild APK after modifications with apktool b command - Added comprehensive README-apktool.md with modding guide This branch complements the JADX branches: - Use JADX (main/discord-community) to UNDERSTAND code (readable Java) - Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali) Total: 44,417 files, 538.51 MB Smali source code
530 lines
13 KiB
Smali
530 lines
13 KiB
Smali
.class public final Landroidx/core/location/LocationRequestCompat;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/core/location/LocationRequestCompat$Api31Impl;,
|
|
Landroidx/core/location/LocationRequestCompat$Api19Impl;,
|
|
Landroidx/core/location/LocationRequestCompat$Builder;,
|
|
Landroidx/core/location/LocationRequestCompat$Quality;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final IMPLICIT_MIN_UPDATE_INTERVAL:J = -0x1L
|
|
|
|
.field public static final PASSIVE_INTERVAL:J = 0x7fffffffffffffffL
|
|
|
|
.field public static final QUALITY_BALANCED_POWER_ACCURACY:I = 0x66
|
|
|
|
.field public static final QUALITY_HIGH_ACCURACY:I = 0x64
|
|
|
|
.field public static final QUALITY_LOW_POWER:I = 0x68
|
|
|
|
|
|
# instance fields
|
|
.field final mDurationMillis:J
|
|
|
|
.field final mIntervalMillis:J
|
|
|
|
.field final mMaxUpdateDelayMillis:J
|
|
|
|
.field final mMaxUpdates:I
|
|
|
|
.field final mMinUpdateDistanceMeters:F
|
|
|
|
.field final mMinUpdateIntervalMillis:J
|
|
|
|
.field final mQuality:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(JIJIJFJ)V
|
|
.locals 0
|
|
|
|
.line 106
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-wide p1, p0, Landroidx/core/location/LocationRequestCompat;->mIntervalMillis:J
|
|
|
|
iput p3, p0, Landroidx/core/location/LocationRequestCompat;->mQuality:I
|
|
|
|
iput-wide p7, p0, Landroidx/core/location/LocationRequestCompat;->mMinUpdateIntervalMillis:J
|
|
|
|
iput-wide p4, p0, Landroidx/core/location/LocationRequestCompat;->mDurationMillis:J
|
|
|
|
iput p6, p0, Landroidx/core/location/LocationRequestCompat;->mMaxUpdates:I
|
|
|
|
iput p9, p0, Landroidx/core/location/LocationRequestCompat;->mMinUpdateDistanceMeters:F
|
|
|
|
iput-wide p10, p0, Landroidx/core/location/LocationRequestCompat;->mMaxUpdateDelayMillis:J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 7
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-ne p0, p1, :cond_0
|
|
|
|
return v0
|
|
|
|
.line 245
|
|
:cond_0
|
|
instance-of v1, p1, Landroidx/core/location/LocationRequestCompat;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
return v2
|
|
|
|
.line 249
|
|
:cond_1
|
|
check-cast p1, Landroidx/core/location/LocationRequestCompat;
|
|
|
|
iget v1, p0, Landroidx/core/location/LocationRequestCompat;->mQuality:I
|
|
|
|
.line 250
|
|
iget v3, p1, Landroidx/core/location/LocationRequestCompat;->mQuality:I
|
|
|
|
if-ne v1, v3, :cond_2
|
|
|
|
iget-wide v3, p0, Landroidx/core/location/LocationRequestCompat;->mIntervalMillis:J
|
|
|
|
iget-wide v5, p1, Landroidx/core/location/LocationRequestCompat;->mIntervalMillis:J
|
|
|
|
cmp-long v1, v3, v5
|
|
|
|
if-nez v1, :cond_2
|
|
|
|
iget-wide v3, p0, Landroidx/core/location/LocationRequestCompat;->mMinUpdateIntervalMillis:J
|
|
|
|
iget-wide v5, p1, Landroidx/core/location/LocationRequestCompat;->mMinUpdateIntervalMillis:J
|
|
|
|
cmp-long v1, v3, v5
|
|
|
|
if-nez v1, :cond_2
|
|
|
|
iget-wide v3, p0, Landroidx/core/location/LocationRequestCompat;->mDurationMillis:J
|
|
|
|
iget-wide v5, p1, Landroidx/core/location/LocationRequestCompat;->mDurationMillis:J
|
|
|
|
cmp-long v1, v3, v5
|
|
|
|
if-nez v1, :cond_2
|
|
|
|
iget v1, p0, Landroidx/core/location/LocationRequestCompat;->mMaxUpdates:I
|
|
|
|
iget v3, p1, Landroidx/core/location/LocationRequestCompat;->mMaxUpdates:I
|
|
|
|
if-ne v1, v3, :cond_2
|
|
|
|
iget v1, p1, Landroidx/core/location/LocationRequestCompat;->mMinUpdateDistanceMeters:F
|
|
|
|
iget v3, p0, Landroidx/core/location/LocationRequestCompat;->mMinUpdateDistanceMeters:F
|
|
|
|
.line 253
|
|
invoke-static {v1, v3}, Ljava/lang/Float;->compare(FF)I
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_2
|
|
|
|
iget-wide v3, p0, Landroidx/core/location/LocationRequestCompat;->mMaxUpdateDelayMillis:J
|
|
|
|
iget-wide v5, p1, Landroidx/core/location/LocationRequestCompat;->mMaxUpdateDelayMillis:J
|
|
|
|
cmp-long p1, v3, v5
|
|
|
|
if-nez p1, :cond_2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
move v0, v2
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public getDurationMillis()J
|
|
.locals 2
|
|
.annotation build Landroidx/annotation/IntRange;
|
|
from = 0x1L
|
|
.end annotation
|
|
|
|
iget-wide v0, p0, Landroidx/core/location/LocationRequestCompat;->mDurationMillis:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public getIntervalMillis()J
|
|
.locals 2
|
|
.annotation build Landroidx/annotation/IntRange;
|
|
from = 0x0L
|
|
.end annotation
|
|
|
|
iget-wide v0, p0, Landroidx/core/location/LocationRequestCompat;->mIntervalMillis:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public getMaxUpdateDelayMillis()J
|
|
.locals 2
|
|
.annotation build Landroidx/annotation/IntRange;
|
|
from = 0x0L
|
|
.end annotation
|
|
|
|
iget-wide v0, p0, Landroidx/core/location/LocationRequestCompat;->mMaxUpdateDelayMillis:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public getMaxUpdates()I
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/IntRange;
|
|
from = 0x1L
|
|
to = 0x7fffffffL
|
|
.end annotation
|
|
|
|
iget v0, p0, Landroidx/core/location/LocationRequestCompat;->mMaxUpdates:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getMinUpdateDistanceMeters()F
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/FloatRange;
|
|
from = 0.0
|
|
to = 3.4028234663852886E38
|
|
.end annotation
|
|
|
|
iget v0, p0, Landroidx/core/location/LocationRequestCompat;->mMinUpdateDistanceMeters:F
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getMinUpdateIntervalMillis()J
|
|
.locals 4
|
|
.annotation build Landroidx/annotation/IntRange;
|
|
from = 0x0L
|
|
.end annotation
|
|
|
|
iget-wide v0, p0, Landroidx/core/location/LocationRequestCompat;->mMinUpdateIntervalMillis:J
|
|
|
|
const-wide/16 v2, -0x1
|
|
|
|
cmp-long v2, v0, v2
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
iget-wide v0, p0, Landroidx/core/location/LocationRequestCompat;->mIntervalMillis:J
|
|
|
|
:cond_0
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public getQuality()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Landroidx/core/location/LocationRequestCompat;->mQuality:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 6
|
|
|
|
iget v0, p0, Landroidx/core/location/LocationRequestCompat;->mQuality:I
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-wide v1, p0, Landroidx/core/location/LocationRequestCompat;->mIntervalMillis:J
|
|
|
|
const/16 v3, 0x20
|
|
|
|
ushr-long v4, v1, v3
|
|
|
|
xor-long/2addr v1, v4
|
|
|
|
long-to-int v1, v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-wide v1, p0, Landroidx/core/location/LocationRequestCompat;->mMinUpdateIntervalMillis:J
|
|
|
|
ushr-long v3, v1, v3
|
|
|
|
xor-long/2addr v1, v3
|
|
|
|
long-to-int v1, v1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public toLocationRequest()Landroid/location/LocationRequest;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x1f
|
|
.end annotation
|
|
|
|
.line 216
|
|
invoke-static {p0}, Landroidx/core/location/LocationRequestCompat$Api31Impl;->toLocationRequest(Landroidx/core/location/LocationRequestCompat;)Landroid/location/LocationRequest;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public toLocationRequest(Ljava/lang/String;)Landroid/location/LocationRequest;
|
|
.locals 2
|
|
.param p1 # Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroid/annotation/SuppressLint;
|
|
value = {
|
|
"NewApi"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1f
|
|
|
|
if-lt v0, v1, :cond_0
|
|
|
|
.line 233
|
|
invoke-virtual {p0}, Landroidx/core/location/LocationRequestCompat;->toLocationRequest()Landroid/location/LocationRequest;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 236
|
|
:cond_0
|
|
invoke-static {p0, p1}, Landroidx/core/location/LocationRequestCompat$Api19Impl;->toLocationRequest(Landroidx/core/location/LocationRequestCompat;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Landroidx/core/location/LocationRequestCompat$$ExternalSyntheticApiModelOutline0;->m(Ljava/lang/Object;)Landroid/location/LocationRequest;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 5
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 268
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v1, "Request["
|
|
|
|
.line 269
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-wide v1, p0, Landroidx/core/location/LocationRequestCompat;->mIntervalMillis:J
|
|
|
|
const-wide v3, 0x7fffffffffffffffL
|
|
|
|
cmp-long v1, v1, v3
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
const-string v1, "@"
|
|
|
|
.line 271
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-wide v1, p0, Landroidx/core/location/LocationRequestCompat;->mIntervalMillis:J
|
|
|
|
.line 272
|
|
invoke-static {v1, v2, v0}, Landroidx/core/util/TimeUtils;->formatDuration(JLjava/lang/StringBuilder;)V
|
|
|
|
iget v1, p0, Landroidx/core/location/LocationRequestCompat;->mQuality:I
|
|
|
|
const/16 v2, 0x64
|
|
|
|
if-eq v1, v2, :cond_2
|
|
|
|
const/16 v2, 0x66
|
|
|
|
if-eq v1, v2, :cond_1
|
|
|
|
const/16 v2, 0x68
|
|
|
|
if-eq v1, v2, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-string v1, " LOW_POWER"
|
|
|
|
.line 282
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const-string v1, " BALANCED"
|
|
|
|
.line 279
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
const-string v1, " HIGH_ACCURACY"
|
|
|
|
.line 276
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
const-string v1, "PASSIVE"
|
|
|
|
.line 286
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
:goto_0
|
|
iget-wide v1, p0, Landroidx/core/location/LocationRequestCompat;->mDurationMillis:J
|
|
|
|
cmp-long v1, v1, v3
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
const-string v1, ", duration="
|
|
|
|
.line 289
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-wide v1, p0, Landroidx/core/location/LocationRequestCompat;->mDurationMillis:J
|
|
|
|
.line 290
|
|
invoke-static {v1, v2, v0}, Landroidx/core/util/TimeUtils;->formatDuration(JLjava/lang/StringBuilder;)V
|
|
|
|
:cond_4
|
|
iget v1, p0, Landroidx/core/location/LocationRequestCompat;->mMaxUpdates:I
|
|
|
|
const v2, 0x7fffffff
|
|
|
|
if-eq v1, v2, :cond_5
|
|
|
|
const-string v1, ", maxUpdates="
|
|
|
|
.line 293
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v1, p0, Landroidx/core/location/LocationRequestCompat;->mMaxUpdates:I
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
:cond_5
|
|
iget-wide v1, p0, Landroidx/core/location/LocationRequestCompat;->mMinUpdateIntervalMillis:J
|
|
|
|
const-wide/16 v3, -0x1
|
|
|
|
cmp-long v3, v1, v3
|
|
|
|
if-eqz v3, :cond_6
|
|
|
|
iget-wide v3, p0, Landroidx/core/location/LocationRequestCompat;->mIntervalMillis:J
|
|
|
|
cmp-long v1, v1, v3
|
|
|
|
if-gez v1, :cond_6
|
|
|
|
const-string v1, ", minUpdateInterval="
|
|
|
|
.line 297
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-wide v1, p0, Landroidx/core/location/LocationRequestCompat;->mMinUpdateIntervalMillis:J
|
|
|
|
.line 298
|
|
invoke-static {v1, v2, v0}, Landroidx/core/util/TimeUtils;->formatDuration(JLjava/lang/StringBuilder;)V
|
|
|
|
:cond_6
|
|
iget v1, p0, Landroidx/core/location/LocationRequestCompat;->mMinUpdateDistanceMeters:F
|
|
|
|
float-to-double v1, v1
|
|
|
|
const-wide/16 v3, 0x0
|
|
|
|
cmpl-double v1, v1, v3
|
|
|
|
if-lez v1, :cond_7
|
|
|
|
const-string v1, ", minUpdateDistance="
|
|
|
|
.line 301
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v1, p0, Landroidx/core/location/LocationRequestCompat;->mMinUpdateDistanceMeters:F
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;
|
|
|
|
:cond_7
|
|
iget-wide v1, p0, Landroidx/core/location/LocationRequestCompat;->mMaxUpdateDelayMillis:J
|
|
|
|
const-wide/16 v3, 0x2
|
|
|
|
.line 303
|
|
div-long/2addr v1, v3
|
|
|
|
iget-wide v3, p0, Landroidx/core/location/LocationRequestCompat;->mIntervalMillis:J
|
|
|
|
cmp-long v1, v1, v3
|
|
|
|
if-lez v1, :cond_8
|
|
|
|
const-string v1, ", maxUpdateDelay="
|
|
|
|
.line 304
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-wide v1, p0, Landroidx/core/location/LocationRequestCompat;->mMaxUpdateDelayMillis:J
|
|
|
|
.line 305
|
|
invoke-static {v1, v2, v0}, Landroidx/core/util/TimeUtils;->formatDuration(JLjava/lang/StringBuilder;)V
|
|
|
|
:cond_8
|
|
const/16 v1, 0x5d
|
|
|
|
.line 307
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
.line 308
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|