* Decompile and recreate Soul Browser v1.4.85 with APK CI builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix CI build: include bundled google.jks and remove PR trigger The apktool build failed in CI because app/unknown/.../google.jks was excluded by the *.jks gitignore rule. Whitelist app-bundled JKS files and commit the missing resource. Also remove the redundant pull_request workflow trigger. Co-authored-by: KaKi87 <KaKi87@pm.me> * Change package ID to com.github.kaki87.soulbrowser Rename the application ID so the rebuilt APK can be installed alongside the original Soul Browser from Google Play. - Update AndroidManifest package, permissions, providers, and actions - Update R class references in smali (com/github/kaki87/soulbrowser/R) - Update shortcuts.xml targetPackage - Rename app label to "Soul Rebuild" for easy identification Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install compatibility: remove split APK metadata and bundle native libs The rebuilt APK still declared requiredSplitTypes and Play Store split metadata, causing Android to reject standalone installs as incompatible. - Remove requiredSplitTypes and split-related manifest meta-data - Merge native libs from all ABI splits with uncompressed storage - Page-align before signing for extractNativeLibs=false - Add .so to apktool doNotCompress list Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install failure: use apksigner v2/v3 and bundle arm64 native libs Target SDK 36 requires APK Signature Scheme v2+, but jarsigner only produces v1 signatures, causing Android to reject the install. - Sign with apksigner (v1+v2+v3) instead of jarsigner - Add arm64-v8a native libraries from universal Soul Browser 1.4.79 - Set extractNativeLibs=true for reliable sideload installs - Commit stable debug keystore for consistent signatures across builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Add committed debug keystore for consistent APK signatures Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix startup crash: use original classes2.dex desugar libraries Apktool recompiles smali_classes2 into a broken classes2.dex, causing ClassNotFoundException for j$.com.android.tools.r8.a at ML Kit init. Inject the original classes2.dex (Java 8+ desugar libs) after apktool build instead of using the recompiled version. Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix missing drawable resources from density split APKs The base APK is an app bundle module; density-specific drawables like seek_thumb_nor_b live in config.xhdpi.apk and were missing after rebuild, causing Resources$NotFoundException at runtime. - Merge non-9-patch resources from split APKs before apktool build - Sync public.xml IDs from R smali only when backing files exist - Add 713 density-specific resource IDs to public.xml Co-authored-by: KaKi87 <KaKi87@pm.me> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1354 lines
26 KiB
Smali
1354 lines
26 KiB
Smali
.class public final Lj$/time/Instant;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lj$/time/temporal/m;
|
|
.implements Lj$/time/temporal/o;
|
|
.implements Ljava/lang/Comparable;
|
|
.implements Ljava/io/Serializable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Object;",
|
|
"Lj$/time/temporal/m;",
|
|
"Lj$/time/temporal/o;",
|
|
"Ljava/lang/Comparable<",
|
|
"Lj$/time/Instant;",
|
|
">;",
|
|
"Ljava/io/Serializable;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final c:Lj$/time/Instant;
|
|
|
|
.field private static final serialVersionUID:J = -0x93d170fdcc5dce4L
|
|
|
|
|
|
# instance fields
|
|
.field public final a:J
|
|
|
|
.field public final b:I
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 4
|
|
|
|
.line 213
|
|
new-instance v0, Lj$/time/Instant;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
invoke-direct {v0, v2, v3, v1}, Lj$/time/Instant;-><init>(JI)V
|
|
|
|
sput-object v0, Lj$/time/Instant;->c:Lj$/time/Instant;
|
|
|
|
const-wide v0, -0x701cefeb9bec00L
|
|
|
|
.line 232
|
|
invoke-static {v0, v1, v2, v3}, Lj$/time/Instant;->ofEpochSecond(JJ)Lj$/time/Instant;
|
|
|
|
const-wide v0, 0x701cd2fa9578ffL
|
|
|
|
const-wide/32 v2, 0x3b9ac9ff
|
|
|
|
.line 243
|
|
invoke-static {v0, v1, v2, v3}, Lj$/time/Instant;->ofEpochSecond(JJ)Lj$/time/Instant;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(JI)V
|
|
.locals 0
|
|
|
|
.line 424
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 425
|
|
iput-wide p1, p0, Lj$/time/Instant;->a:J
|
|
|
|
.line 426
|
|
iput p3, p0, Lj$/time/Instant;->b:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static K(JI)Lj$/time/Instant;
|
|
.locals 4
|
|
|
|
int-to-long v0, p2
|
|
|
|
or-long/2addr v0, p0
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
cmp-long v0, v0, v2
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 408
|
|
sget-object p0, Lj$/time/Instant;->c:Lj$/time/Instant;
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-wide v0, -0x701cefeb9bec00L
|
|
|
|
cmp-long v0, p0, v0
|
|
|
|
if-ltz v0, :cond_1
|
|
|
|
const-wide v0, 0x701cd2fa9578ffL
|
|
|
|
cmp-long v0, p0, v0
|
|
|
|
if-gtz v0, :cond_1
|
|
|
|
.line 413
|
|
new-instance v0, Lj$/time/Instant;
|
|
|
|
invoke-direct {v0, p0, p1, p2}, Lj$/time/Instant;-><init>(JI)V
|
|
|
|
return-object v0
|
|
|
|
.line 411
|
|
:cond_1
|
|
new-instance p0, Lj$/time/b;
|
|
|
|
const-string p1, "Instant exceeds minimum or maximum instant"
|
|
|
|
.line 88
|
|
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 411
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static L(Lj$/time/temporal/n;)Lj$/time/Instant;
|
|
.locals 5
|
|
|
|
.line 368
|
|
instance-of v0, p0, Lj$/time/Instant;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 369
|
|
check-cast p0, Lj$/time/Instant;
|
|
|
|
return-object p0
|
|
|
|
.line 371
|
|
:cond_0
|
|
const-string v0, "temporal"
|
|
|
|
invoke-static {p0, v0}, Lj$/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
.line 373
|
|
:try_start_0
|
|
sget-object v0, Lj$/time/temporal/a;->INSTANT_SECONDS:Lj$/time/temporal/a;
|
|
|
|
invoke-interface {p0, v0}, Lj$/time/temporal/n;->y(Lj$/time/temporal/r;)J
|
|
|
|
move-result-wide v0
|
|
|
|
.line 374
|
|
sget-object v2, Lj$/time/temporal/a;->NANO_OF_SECOND:Lj$/time/temporal/a;
|
|
|
|
invoke-interface {p0, v2}, Lj$/time/temporal/n;->g(Lj$/time/temporal/r;)I
|
|
|
|
move-result v2
|
|
|
|
int-to-long v2, v2
|
|
|
|
.line 375
|
|
invoke-static {v0, v1, v2, v3}, Lj$/time/Instant;->ofEpochSecond(JJ)Lj$/time/Instant;
|
|
|
|
move-result-object p0
|
|
:try_end_0
|
|
.catch Lj$/time/b; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object p0
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
.line 377
|
|
new-instance v1, Lj$/time/b;
|
|
|
|
.line 378
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
new-instance v3, Ljava/lang/StringBuilder;
|
|
|
|
const-string v4, "Unable to obtain Instant from TemporalAccessor: "
|
|
|
|
invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v3, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p0, " of type "
|
|
|
|
invoke-virtual {v3, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
.line 98
|
|
invoke-direct {v1, p0, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
.line 378
|
|
throw v1
|
|
.end method
|
|
|
|
.method public static now()Lj$/time/Instant;
|
|
.locals 2
|
|
|
|
.line 160
|
|
sget-object v0, Lj$/time/a;->b:Lj$/time/a;
|
|
|
|
.line 273
|
|
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
.line 520
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
move-result-wide v0
|
|
|
|
.line 525
|
|
invoke-static {v0, v1}, Lj$/time/Instant;->ofEpochMilli(J)Lj$/time/Instant;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static ofEpochMilli(J)Lj$/time/Instant;
|
|
.locals 4
|
|
|
|
const/16 v0, 0x3e8
|
|
|
|
int-to-long v0, v0
|
|
|
|
.line 0
|
|
invoke-static {p0, p1, v0, v1}, Lj$/com/android/tools/r8/a;->N(JJ)J
|
|
|
|
move-result-wide v2
|
|
|
|
.line 0
|
|
invoke-static {p0, p1, v0, v1}, Lj$/com/android/tools/r8/a;->M(JJ)J
|
|
|
|
move-result-wide p0
|
|
|
|
long-to-int p0, p0
|
|
|
|
const p1, 0xf4240
|
|
|
|
mul-int/2addr p0, p1
|
|
|
|
.line 346
|
|
invoke-static {v2, v3, p0}, Lj$/time/Instant;->K(JI)Lj$/time/Instant;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static ofEpochSecond(JJ)Lj$/time/Instant;
|
|
.locals 4
|
|
|
|
const-wide/32 v0, 0x3b9aca00
|
|
|
|
.line 328
|
|
invoke-static {p2, p3, v0, v1}, Lj$/com/android/tools/r8/a;->N(JJ)J
|
|
|
|
move-result-wide v2
|
|
|
|
invoke-static {p0, p1, v2, v3}, Lj$/com/android/tools/r8/a;->I(JJ)J
|
|
|
|
move-result-wide p0
|
|
|
|
.line 329
|
|
invoke-static {p2, p3, v0, v1}, Lj$/com/android/tools/r8/a;->M(JJ)J
|
|
|
|
move-result-wide p2
|
|
|
|
long-to-int p2, p2
|
|
|
|
.line 330
|
|
invoke-static {p0, p1, p2}, Lj$/time/Instant;->K(JI)Lj$/time/Instant;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private readObject(Ljava/io/ObjectInputStream;)V
|
|
.locals 1
|
|
|
|
.line 1357
|
|
new-instance p1, Ljava/io/InvalidObjectException;
|
|
|
|
const-string v0, "Deserialization via serialization delegate"
|
|
|
|
invoke-direct {p1, v0}, Ljava/io/InvalidObjectException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method private writeReplace()Ljava/lang/Object;
|
|
.locals 2
|
|
|
|
.line 1347
|
|
new-instance v0, Lj$/time/s;
|
|
|
|
const/4 v1, 0x2
|
|
|
|
invoke-direct {v0, v1, p0}, Lj$/time/s;-><init>(BLjava/lang/Object;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final M(JJ)Lj$/time/Instant;
|
|
.locals 4
|
|
|
|
or-long v0, p1, p3
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
cmp-long v0, v0, v2
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-object p0
|
|
|
|
.line 925
|
|
:cond_0
|
|
iget-wide v0, p0, Lj$/time/Instant;->a:J
|
|
|
|
invoke-static {v0, v1, p1, p2}, Lj$/com/android/tools/r8/a;->I(JJ)J
|
|
|
|
move-result-wide p1
|
|
|
|
const-wide/32 v0, 0x3b9aca00
|
|
|
|
.line 926
|
|
div-long v2, p3, v0
|
|
|
|
invoke-static {p1, p2, v2, v3}, Lj$/com/android/tools/r8/a;->I(JJ)J
|
|
|
|
move-result-wide p1
|
|
|
|
.line 927
|
|
rem-long/2addr p3, v0
|
|
|
|
.line 928
|
|
iget v0, p0, Lj$/time/Instant;->b:I
|
|
|
|
int-to-long v0, v0
|
|
|
|
add-long/2addr v0, p3
|
|
|
|
.line 929
|
|
invoke-static {p1, p2, v0, v1}, Lj$/time/Instant;->ofEpochSecond(JJ)Lj$/time/Instant;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final N(JLj$/time/temporal/t;)Lj$/time/Instant;
|
|
.locals 7
|
|
|
|
.line 851
|
|
instance-of v0, p3, Lj$/time/temporal/b;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 852
|
|
sget-object v0, Lj$/time/e;->b:[I
|
|
|
|
move-object v1, p3
|
|
|
|
check-cast v1, Lj$/time/temporal/b;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result v1
|
|
|
|
aget v0, v0, v1
|
|
|
|
const-wide/16 v1, 0x3e8
|
|
|
|
const-wide/32 v3, 0xf4240
|
|
|
|
const-wide/16 v5, 0x0
|
|
|
|
packed-switch v0, :pswitch_data_0
|
|
|
|
.line 862
|
|
new-instance p1, Lj$/time/temporal/u;
|
|
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
const-string v0, "Unsupported unit: "
|
|
|
|
invoke-direct {p2, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
.line 88
|
|
invoke-direct {p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 862
|
|
throw p1
|
|
|
|
:pswitch_0
|
|
const p3, 0x15180
|
|
|
|
int-to-long v0, p3
|
|
|
|
.line 0
|
|
invoke-static {p1, p2, v0, v1}, Lj$/com/android/tools/r8/a;->O(JJ)J
|
|
|
|
move-result-wide p1
|
|
|
|
.line 879
|
|
invoke-virtual {p0, p1, p2, v5, v6}, Lj$/time/Instant;->M(JJ)Lj$/time/Instant;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
:pswitch_1
|
|
const p3, 0xa8c0
|
|
|
|
int-to-long v0, p3
|
|
|
|
.line 0
|
|
invoke-static {p1, p2, v0, v1}, Lj$/com/android/tools/r8/a;->O(JJ)J
|
|
|
|
move-result-wide p1
|
|
|
|
.line 879
|
|
invoke-virtual {p0, p1, p2, v5, v6}, Lj$/time/Instant;->M(JJ)Lj$/time/Instant;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
:pswitch_2
|
|
const/16 p3, 0xe10
|
|
|
|
int-to-long v0, p3
|
|
|
|
.line 0
|
|
invoke-static {p1, p2, v0, v1}, Lj$/com/android/tools/r8/a;->O(JJ)J
|
|
|
|
move-result-wide p1
|
|
|
|
.line 879
|
|
invoke-virtual {p0, p1, p2, v5, v6}, Lj$/time/Instant;->M(JJ)Lj$/time/Instant;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
:pswitch_3
|
|
const/16 p3, 0x3c
|
|
|
|
int-to-long v0, p3
|
|
|
|
.line 0
|
|
invoke-static {p1, p2, v0, v1}, Lj$/com/android/tools/r8/a;->O(JJ)J
|
|
|
|
move-result-wide p1
|
|
|
|
.line 879
|
|
invoke-virtual {p0, p1, p2, v5, v6}, Lj$/time/Instant;->M(JJ)Lj$/time/Instant;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 879
|
|
:pswitch_4
|
|
invoke-virtual {p0, p1, p2, v5, v6}, Lj$/time/Instant;->M(JJ)Lj$/time/Instant;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 893
|
|
:pswitch_5
|
|
div-long v5, p1, v1
|
|
|
|
rem-long/2addr p1, v1
|
|
|
|
mul-long/2addr p1, v3
|
|
|
|
invoke-virtual {p0, v5, v6, p1, p2}, Lj$/time/Instant;->M(JJ)Lj$/time/Instant;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 854
|
|
:pswitch_6
|
|
div-long v5, p1, v3
|
|
|
|
rem-long/2addr p1, v3
|
|
|
|
mul-long/2addr p1, v1
|
|
|
|
invoke-virtual {p0, v5, v6, p1, p2}, Lj$/time/Instant;->M(JJ)Lj$/time/Instant;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 907
|
|
:pswitch_7
|
|
invoke-virtual {p0, v5, v6, p1, p2}, Lj$/time/Instant;->M(JJ)Lj$/time/Instant;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 864
|
|
:cond_0
|
|
invoke-interface {p3, p0, p1, p2}, Lj$/time/temporal/t;->d(Lj$/time/temporal/m;J)Lj$/time/temporal/m;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Lj$/time/Instant;
|
|
|
|
return-object p1
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x1
|
|
:pswitch_7
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method public final a(JLj$/time/temporal/r;)Lj$/time/temporal/m;
|
|
.locals 2
|
|
|
|
.line 705
|
|
instance-of v0, p3, Lj$/time/temporal/a;
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
.line 706
|
|
move-object v0, p3
|
|
|
|
check-cast v0, Lj$/time/temporal/a;
|
|
|
|
.line 707
|
|
invoke-virtual {v0, p1, p2}, Lj$/time/temporal/a;->u(J)V
|
|
|
|
.line 708
|
|
sget-object v1, Lj$/time/e;->a:[I
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result v0
|
|
|
|
aget v0, v1, v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eq v0, v1, :cond_3
|
|
|
|
const/4 v1, 0x2
|
|
|
|
if-eq v0, v1, :cond_2
|
|
|
|
const/4 v1, 0x3
|
|
|
|
if-eq v0, v1, :cond_1
|
|
|
|
const/4 v1, 0x4
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
.line 718
|
|
iget-wide v0, p0, Lj$/time/Instant;->a:J
|
|
|
|
cmp-long p3, p1, v0
|
|
|
|
if-eqz p3, :cond_4
|
|
|
|
iget p3, p0, Lj$/time/Instant;->b:I
|
|
|
|
invoke-static {p1, p2, p3}, Lj$/time/Instant;->K(JI)Lj$/time/Instant;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 720
|
|
:cond_0
|
|
new-instance p1, Lj$/time/temporal/u;
|
|
|
|
const-string p2, "Unsupported field: "
|
|
|
|
.line 0
|
|
invoke-static {p2, p3}, Lj$/time/c;->a(Ljava/lang/String;Lj$/time/temporal/r;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
.line 88
|
|
invoke-direct {p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 720
|
|
throw p1
|
|
|
|
:cond_1
|
|
long-to-int p1, p1
|
|
|
|
const p2, 0xf4240
|
|
|
|
mul-int/2addr p1, p2
|
|
|
|
.line 711
|
|
iget p2, p0, Lj$/time/Instant;->b:I
|
|
|
|
if-eq p1, p2, :cond_4
|
|
|
|
iget-wide p2, p0, Lj$/time/Instant;->a:J
|
|
|
|
invoke-static {p2, p3, p1}, Lj$/time/Instant;->K(JI)Lj$/time/Instant;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
:cond_2
|
|
long-to-int p1, p1
|
|
|
|
mul-int/lit16 p1, p1, 0x3e8
|
|
|
|
.line 715
|
|
iget p2, p0, Lj$/time/Instant;->b:I
|
|
|
|
if-eq p1, p2, :cond_4
|
|
|
|
iget-wide p2, p0, Lj$/time/Instant;->a:J
|
|
|
|
invoke-static {p2, p3, p1}, Lj$/time/Instant;->K(JI)Lj$/time/Instant;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 717
|
|
:cond_3
|
|
iget p3, p0, Lj$/time/Instant;->b:I
|
|
|
|
int-to-long v0, p3
|
|
|
|
cmp-long p3, p1, v0
|
|
|
|
if-eqz p3, :cond_4
|
|
|
|
iget-wide v0, p0, Lj$/time/Instant;->a:J
|
|
|
|
long-to-int p1, p1
|
|
|
|
invoke-static {v0, v1, p1}, Lj$/time/Instant;->K(JI)Lj$/time/Instant;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
:cond_4
|
|
return-object p0
|
|
|
|
.line 722
|
|
:cond_5
|
|
invoke-interface {p3, p0, p1, p2}, Lj$/time/temporal/r;->l(Lj$/time/temporal/m;J)Lj$/time/temporal/m;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Lj$/time/Instant;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final bridge synthetic b(JLj$/time/temporal/t;)Lj$/time/temporal/m;
|
|
.locals 0
|
|
|
|
.line 207
|
|
invoke-virtual {p0, p1, p2, p3}, Lj$/time/Instant;->N(JLj$/time/temporal/t;)Lj$/time/Instant;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final c(Lj$/time/temporal/r;)Z
|
|
.locals 1
|
|
|
|
.line 458
|
|
instance-of v0, p1, Lj$/time/temporal/a;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 459
|
|
sget-object v0, Lj$/time/temporal/a;->INSTANT_SECONDS:Lj$/time/temporal/a;
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
sget-object v0, Lj$/time/temporal/a;->NANO_OF_SECOND:Lj$/time/temporal/a;
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
sget-object v0, Lj$/time/temporal/a;->MICRO_OF_SECOND:Lj$/time/temporal/a;
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
sget-object v0, Lj$/time/temporal/a;->MILLI_OF_SECOND:Lj$/time/temporal/a;
|
|
|
|
if-ne p1, v0, :cond_2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 461
|
|
invoke-interface {p1, p0}, Lj$/time/temporal/r;->d(Lj$/time/temporal/n;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
:cond_2
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final compareTo(Ljava/lang/Object;)I
|
|
.locals 4
|
|
|
|
.line 207
|
|
check-cast p1, Lj$/time/Instant;
|
|
|
|
.line 1255
|
|
iget-wide v0, p0, Lj$/time/Instant;->a:J
|
|
|
|
iget-wide v2, p1, Lj$/time/Instant;->a:J
|
|
|
|
invoke-static {v0, v1, v2, v3}, Ljava/lang/Long;->compare(JJ)I
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return v0
|
|
|
|
.line 1259
|
|
:cond_0
|
|
iget v0, p0, Lj$/time/Instant;->b:I
|
|
|
|
iget p1, p1, Lj$/time/Instant;->b:I
|
|
|
|
sub-int/2addr v0, p1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final d(Lj$/time/h;)Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
.line 1056
|
|
sget-object v0, Lj$/time/temporal/s;->c:Lj$/time/h;
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
.line 1057
|
|
sget-object p1, Lj$/time/temporal/b;->NANOS:Lj$/time/temporal/b;
|
|
|
|
return-object p1
|
|
|
|
.line 1060
|
|
:cond_0
|
|
sget-object v0, Lj$/time/temporal/s;->b:Lj$/time/h;
|
|
|
|
if-eq p1, v0, :cond_2
|
|
|
|
sget-object v0, Lj$/time/temporal/s;->a:Lj$/time/h;
|
|
|
|
if-eq p1, v0, :cond_2
|
|
|
|
.line 1061
|
|
sget-object v0, Lj$/time/temporal/s;->e:Lj$/time/h;
|
|
|
|
if-eq p1, v0, :cond_2
|
|
|
|
sget-object v0, Lj$/time/temporal/s;->d:Lj$/time/h;
|
|
|
|
if-eq p1, v0, :cond_2
|
|
|
|
.line 1062
|
|
sget-object v0, Lj$/time/temporal/s;->f:Lj$/time/h;
|
|
|
|
if-eq p1, v0, :cond_2
|
|
|
|
sget-object v0, Lj$/time/temporal/s;->g:Lj$/time/h;
|
|
|
|
if-ne p1, v0, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
.line 1065
|
|
:cond_1
|
|
invoke-virtual {p1, p0}, Lj$/time/h;->d(Lj$/time/temporal/n;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
:cond_2
|
|
:goto_0
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final equals(Ljava/lang/Object;)Z
|
|
.locals 7
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-ne p0, p1, :cond_0
|
|
|
|
return v0
|
|
|
|
.line 1302
|
|
:cond_0
|
|
instance-of v1, p1, Lj$/time/Instant;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 1303
|
|
check-cast p1, Lj$/time/Instant;
|
|
|
|
.line 1304
|
|
iget-wide v3, p0, Lj$/time/Instant;->a:J
|
|
|
|
iget-wide v5, p1, Lj$/time/Instant;->a:J
|
|
|
|
cmp-long v1, v3, v5
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
iget v1, p0, Lj$/time/Instant;->b:I
|
|
|
|
iget p1, p1, Lj$/time/Instant;->b:I
|
|
|
|
if-ne v1, p1, :cond_1
|
|
|
|
return v0
|
|
|
|
:cond_1
|
|
return v2
|
|
.end method
|
|
|
|
.method public final g(Lj$/time/temporal/r;)I
|
|
.locals 4
|
|
|
|
.line 559
|
|
instance-of v0, p1, Lj$/time/temporal/a;
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
.line 560
|
|
sget-object v0, Lj$/time/e;->a:[I
|
|
|
|
move-object v1, p1
|
|
|
|
check-cast v1, Lj$/time/temporal/a;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result v1
|
|
|
|
aget v0, v0, v1
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eq v0, v1, :cond_3
|
|
|
|
const/4 v1, 0x2
|
|
|
|
if-eq v0, v1, :cond_2
|
|
|
|
const/4 v1, 0x3
|
|
|
|
if-eq v0, v1, :cond_1
|
|
|
|
const/4 v1, 0x4
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 564
|
|
:cond_0
|
|
sget-object v0, Lj$/time/temporal/a;->INSTANT_SECONDS:Lj$/time/temporal/a;
|
|
|
|
iget-wide v1, p0, Lj$/time/Instant;->a:J
|
|
|
|
.line 669
|
|
iget-object v3, v0, Lj$/time/temporal/a;->b:Lj$/time/temporal/v;
|
|
|
|
.line 732
|
|
invoke-virtual {v3, v1, v2, v0}, Lj$/time/temporal/v;->a(JLj$/time/temporal/r;)I
|
|
|
|
.line 566
|
|
:goto_0
|
|
new-instance v0, Lj$/time/temporal/u;
|
|
|
|
const-string v1, "Unsupported field: "
|
|
|
|
.line 0
|
|
invoke-static {v1, p1}, Lj$/time/c;->a(Ljava/lang/String;Lj$/time/temporal/r;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
.line 88
|
|
invoke-direct {v0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 566
|
|
throw v0
|
|
|
|
.line 563
|
|
:cond_1
|
|
iget p1, p0, Lj$/time/Instant;->b:I
|
|
|
|
const v0, 0xf4240
|
|
|
|
div-int/2addr p1, v0
|
|
|
|
return p1
|
|
|
|
.line 562
|
|
:cond_2
|
|
iget p1, p0, Lj$/time/Instant;->b:I
|
|
|
|
div-int/lit16 p1, p1, 0x3e8
|
|
|
|
return p1
|
|
|
|
.line 561
|
|
:cond_3
|
|
iget p1, p0, Lj$/time/Instant;->b:I
|
|
|
|
return p1
|
|
|
|
.line 527
|
|
:cond_4
|
|
invoke-static {p0, p1}, Lj$/time/temporal/s;->d(Lj$/time/temporal/n;Lj$/time/temporal/r;)Lj$/time/temporal/v;
|
|
|
|
move-result-object v0
|
|
|
|
.line 568
|
|
invoke-interface {p1, p0}, Lj$/time/temporal/r;->i(Lj$/time/temporal/n;)J
|
|
|
|
move-result-wide v1
|
|
|
|
invoke-virtual {v0, v1, v2, p1}, Lj$/time/temporal/v;->a(JLj$/time/temporal/r;)I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public getEpochSecond()J
|
|
.locals 2
|
|
|
|
.line 619
|
|
iget-wide v0, p0, Lj$/time/Instant;->a:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public getNano()I
|
|
.locals 1
|
|
|
|
.line 632
|
|
iget v0, p0, Lj$/time/Instant;->b:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final h(Lj$/time/g;)Lj$/time/temporal/m;
|
|
.locals 0
|
|
|
|
.line 1592
|
|
invoke-static {p1, p0}, Lj$/com/android/tools/r8/a;->a(Lj$/time/chrono/b;Lj$/time/temporal/m;)Lj$/time/temporal/m;
|
|
|
|
move-result-object p1
|
|
|
|
.line 656
|
|
check-cast p1, Lj$/time/Instant;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final hashCode()I
|
|
.locals 4
|
|
|
|
.line 1317
|
|
iget-wide v0, p0, Lj$/time/Instant;->a:J
|
|
|
|
const/16 v2, 0x20
|
|
|
|
ushr-long v2, v0, v2
|
|
|
|
xor-long/2addr v0, v2
|
|
|
|
long-to-int v0, v0
|
|
|
|
iget v1, p0, Lj$/time/Instant;->b:I
|
|
|
|
mul-int/lit8 v1, v1, 0x33
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
return v1
|
|
.end method
|
|
|
|
.method public final i(Lj$/time/temporal/r;)Lj$/time/temporal/v;
|
|
.locals 0
|
|
|
|
.line 527
|
|
invoke-static {p0, p1}, Lj$/time/temporal/s;->d(Lj$/time/temporal/n;Lj$/time/temporal/r;)Lj$/time/temporal/v;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final l(Lj$/time/temporal/m;)Lj$/time/temporal/m;
|
|
.locals 3
|
|
|
|
.line 1095
|
|
sget-object v0, Lj$/time/temporal/a;->INSTANT_SECONDS:Lj$/time/temporal/a;
|
|
|
|
iget-wide v1, p0, Lj$/time/Instant;->a:J
|
|
|
|
invoke-interface {p1, v1, v2, v0}, Lj$/time/temporal/m;->a(JLj$/time/temporal/r;)Lj$/time/temporal/m;
|
|
|
|
move-result-object p1
|
|
|
|
sget-object v0, Lj$/time/temporal/a;->NANO_OF_SECOND:Lj$/time/temporal/a;
|
|
|
|
iget v1, p0, Lj$/time/Instant;->b:I
|
|
|
|
int-to-long v1, v1
|
|
|
|
invoke-interface {p1, v1, v2, v0}, Lj$/time/temporal/m;->a(JLj$/time/temporal/r;)Lj$/time/temporal/m;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public toEpochMilli()J
|
|
.locals 7
|
|
|
|
.line 1232
|
|
iget-wide v0, p0, Lj$/time/Instant;->a:J
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
cmp-long v2, v0, v2
|
|
|
|
const v3, 0xf4240
|
|
|
|
const/16 v4, 0x3e8
|
|
|
|
if-gez v2, :cond_0
|
|
|
|
iget v2, p0, Lj$/time/Instant;->b:I
|
|
|
|
if-lez v2, :cond_0
|
|
|
|
const-wide/16 v5, 0x1
|
|
|
|
add-long/2addr v0, v5
|
|
|
|
int-to-long v5, v4
|
|
|
|
.line 0
|
|
invoke-static {v0, v1, v5, v6}, Lj$/com/android/tools/r8/a;->O(JJ)J
|
|
|
|
move-result-wide v0
|
|
|
|
.line 1234
|
|
iget v2, p0, Lj$/time/Instant;->b:I
|
|
|
|
div-int/2addr v2, v3
|
|
|
|
sub-int/2addr v2, v4
|
|
|
|
int-to-long v2, v2
|
|
|
|
.line 1235
|
|
invoke-static {v0, v1, v2, v3}, Lj$/com/android/tools/r8/a;->I(JJ)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
|
|
:cond_0
|
|
int-to-long v4, v4
|
|
|
|
.line 0
|
|
invoke-static {v0, v1, v4, v5}, Lj$/com/android/tools/r8/a;->O(JJ)J
|
|
|
|
move-result-wide v0
|
|
|
|
.line 1238
|
|
iget v2, p0, Lj$/time/Instant;->b:I
|
|
|
|
div-int/2addr v2, v3
|
|
|
|
int-to-long v2, v2
|
|
|
|
invoke-static {v0, v1, v2, v3}, Lj$/com/android/tools/r8/a;->I(JJ)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
.locals 4
|
|
|
|
.line 1330
|
|
sget-object v0, Lj$/time/format/DateTimeFormatter;->g:Lj$/time/format/DateTimeFormatter;
|
|
|
|
.line 1769
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
const/16 v2, 0x20
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(I)V
|
|
|
|
.line 1791
|
|
iget-object v2, v0, Lj$/time/format/DateTimeFormatter;->a:Lj$/time/format/d;
|
|
|
|
.line 1791
|
|
const-string v3, "temporal"
|
|
|
|
invoke-static {p0, v3}, Lj$/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
.line 1792
|
|
const-string v3, "appendable"
|
|
|
|
invoke-static {v1, v3}, Lj$/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
.line 1794
|
|
:try_start_0
|
|
new-instance v3, Lj$/time/format/y;
|
|
|
|
invoke-direct {v3, p0, v0}, Lj$/time/format/y;-><init>(Lj$/time/Instant;Lj$/time/format/DateTimeFormatter;)V
|
|
|
|
.line 1796
|
|
invoke-virtual {v2, v3, v1}, Lj$/time/format/d;->d(Lj$/time/format/y;Ljava/lang/StringBuilder;)Z
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.line 1771
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
.line 1804
|
|
new-instance v1, Lj$/time/b;
|
|
|
|
invoke-virtual {v0}, Ljava/io/IOException;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
.line 98
|
|
invoke-direct {v1, v2, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
.line 1804
|
|
throw v1
|
|
.end method
|
|
|
|
.method public final u(JLj$/time/temporal/b;)Lj$/time/temporal/m;
|
|
.locals 2
|
|
|
|
const-wide/high16 v0, -0x8000000000000000L
|
|
|
|
cmp-long v0, p1, v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-wide p1, 0x7fffffffffffffffL
|
|
|
|
.line 979
|
|
invoke-virtual {p0, p1, p2, p3}, Lj$/time/Instant;->N(JLj$/time/temporal/t;)Lj$/time/Instant;
|
|
|
|
move-result-object p1
|
|
|
|
const-wide/16 v0, 0x1
|
|
|
|
invoke-virtual {p1, v0, v1, p3}, Lj$/time/Instant;->N(JLj$/time/temporal/t;)Lj$/time/Instant;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
neg-long p1, p1
|
|
|
|
invoke-virtual {p0, p1, p2, p3}, Lj$/time/Instant;->N(JLj$/time/temporal/t;)Lj$/time/Instant;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final y(Lj$/time/temporal/r;)J
|
|
.locals 2
|
|
|
|
.line 596
|
|
instance-of v0, p1, Lj$/time/temporal/a;
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
.line 597
|
|
sget-object v0, Lj$/time/e;->a:[I
|
|
|
|
move-object v1, p1
|
|
|
|
check-cast v1, Lj$/time/temporal/a;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result v1
|
|
|
|
aget v0, v0, v1
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eq v0, v1, :cond_3
|
|
|
|
const/4 v1, 0x2
|
|
|
|
if-eq v0, v1, :cond_2
|
|
|
|
const/4 v1, 0x3
|
|
|
|
if-eq v0, v1, :cond_1
|
|
|
|
const/4 v1, 0x4
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
.line 601
|
|
iget-wide v0, p0, Lj$/time/Instant;->a:J
|
|
|
|
return-wide v0
|
|
|
|
.line 603
|
|
:cond_0
|
|
new-instance v0, Lj$/time/temporal/u;
|
|
|
|
const-string v1, "Unsupported field: "
|
|
|
|
.line 0
|
|
invoke-static {v1, p1}, Lj$/time/c;->a(Ljava/lang/String;Lj$/time/temporal/r;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
.line 88
|
|
invoke-direct {v0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 603
|
|
throw v0
|
|
|
|
.line 600
|
|
:cond_1
|
|
iget p1, p0, Lj$/time/Instant;->b:I
|
|
|
|
const v0, 0xf4240
|
|
|
|
div-int/2addr p1, v0
|
|
|
|
:goto_0
|
|
int-to-long v0, p1
|
|
|
|
return-wide v0
|
|
|
|
.line 599
|
|
:cond_2
|
|
iget p1, p0, Lj$/time/Instant;->b:I
|
|
|
|
div-int/lit16 p1, p1, 0x3e8
|
|
|
|
goto :goto_0
|
|
|
|
.line 598
|
|
:cond_3
|
|
iget p1, p0, Lj$/time/Instant;->b:I
|
|
|
|
goto :goto_0
|
|
|
|
.line 605
|
|
:cond_4
|
|
invoke-interface {p1, p0}, Lj$/time/temporal/r;->i(Lj$/time/temporal/n;)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|