* 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>
1208 lines
23 KiB
Smali
1208 lines
23 KiB
Smali
.class public final Lokhttp3/internal/_UtilJvmKt;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000\u0002\n\u0000\u00a8\u0006\u0000"
|
|
}
|
|
d2 = {
|
|
"okhttp"
|
|
}
|
|
k = 0x2
|
|
mv = {
|
|
0x2,
|
|
0x2,
|
|
0x0
|
|
}
|
|
xi = 0x30
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/jvm/internal/SourceDebugExtension;
|
|
value = {
|
|
"SMAP\n-UtilJvm.kt\nKotlin\n*S Kotlin\n*F\n+ 1 -UtilJvm.kt\nokhttp3/internal/_UtilJvmKt\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n+ 3 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,355:1\n242#1:361\n242#1:362\n1#2:356\n1563#3:357\n1634#3,3:358\n*S KotlinDebug\n*F\n+ 1 -UtilJvm.kt\nokhttp3/internal/_UtilJvmKt\n*L\n260#1:361\n272#1:362\n131#1:357\n131#1:358,3\n*E\n"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final a:Ljava/util/TimeZone;
|
|
|
|
.field public static final b:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
const-string v0, "GMT"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {v0}, Lj$/util/DesugarTimeZone;->getTimeZone(Ljava/lang/String;)Ljava/util/TimeZone;
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object v0
|
|
|
|
.line 7
|
|
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
sput-object v0, Lokhttp3/internal/_UtilJvmKt;->a:Ljava/util/TimeZone;
|
|
|
|
.line 11
|
|
.line 12
|
|
const-class v0, Lokhttp3/OkHttpClient;
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result-object v0
|
|
|
|
.line 18
|
|
const-string v1, "getName(...)"
|
|
|
|
.line 19
|
|
.line 20
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
const-string v1, "okhttp3."
|
|
|
|
.line 24
|
|
.line 25
|
|
invoke-static {v0, v1}, Lkotlin/text/StringsKt;->A(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
move-result-object v0
|
|
|
|
.line 29
|
|
invoke-static {v0}, Lkotlin/text/StringsKt;->B(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result-object v0
|
|
|
|
.line 33
|
|
sput-object v0, Lokhttp3/internal/_UtilJvmKt;->b:Ljava/lang/String;
|
|
|
|
.line 34
|
|
.line 35
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final a(Lokhttp3/HttpUrl;Lokhttp3/HttpUrl;)Z
|
|
.locals 2
|
|
|
|
.line 1
|
|
const-string v0, "<this>"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const-string v0, "other"
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
iget-object v0, p0, Lokhttp3/HttpUrl;->d:Ljava/lang/String;
|
|
|
|
.line 12
|
|
.line 13
|
|
iget-object v1, p1, Lokhttp3/HttpUrl;->d:Ljava/lang/String;
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result v0
|
|
|
|
.line 19
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 20
|
|
.line 21
|
|
iget v0, p0, Lokhttp3/HttpUrl;->e:I
|
|
|
|
.line 22
|
|
.line 23
|
|
iget v1, p1, Lokhttp3/HttpUrl;->e:I
|
|
|
|
.line 24
|
|
.line 25
|
|
if-ne v0, v1, :cond_0
|
|
|
|
.line 26
|
|
.line 27
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->a:Ljava/lang/String;
|
|
|
|
.line 28
|
|
.line 29
|
|
iget-object p1, p1, Lokhttp3/HttpUrl;->a:Ljava/lang/String;
|
|
|
|
.line 30
|
|
.line 31
|
|
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
move-result p0
|
|
|
|
.line 35
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 36
|
|
.line 37
|
|
const/4 p0, 0x1
|
|
|
|
.line 38
|
|
return p0
|
|
|
|
.line 39
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
.line 40
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final b(Ljava/net/Socket;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
const-string v0, "<this>"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
:try_start_0
|
|
invoke-virtual {p0}, Ljava/net/Socket;->close()V
|
|
:try_end_0
|
|
.catch Ljava/lang/AssertionError; {:try_start_0 .. :try_end_0} :catch_2
|
|
.catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_0} :catch_1
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
:catch_0
|
|
return-void
|
|
|
|
.line 10
|
|
:catch_1
|
|
move-exception p0
|
|
|
|
.line 11
|
|
invoke-virtual {p0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result-object v0
|
|
|
|
.line 15
|
|
const-string v1, "bio == null"
|
|
|
|
.line 16
|
|
.line 17
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result v0
|
|
|
|
.line 21
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 22
|
|
.line 23
|
|
return-void
|
|
|
|
.line 24
|
|
:cond_0
|
|
throw p0
|
|
|
|
.line 25
|
|
:catch_2
|
|
move-exception p0
|
|
|
|
.line 26
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final varargs c(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
.locals 2
|
|
|
|
.line 1
|
|
const-string v0, "format"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const-string v0, "args"
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
sget-object v0, Lkotlin/jvm/internal/StringCompanionObject;->INSTANCE:Lkotlin/jvm/internal/StringCompanionObject;
|
|
|
|
.line 12
|
|
.line 13
|
|
sget-object v0, Ljava/util/Locale;->US:Ljava/util/Locale;
|
|
|
|
.line 14
|
|
.line 15
|
|
array-length v1, p1
|
|
|
|
.line 16
|
|
invoke-static {p1, v1}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
move-result-object p1
|
|
|
|
.line 20
|
|
array-length v1, p1
|
|
|
|
.line 21
|
|
invoke-static {p1, v1}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
move-result-object p1
|
|
|
|
.line 25
|
|
invoke-static {v0, p0, p1}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
move-result-object p0
|
|
|
|
.line 29
|
|
const-string p1, "format(...)"
|
|
|
|
.line 30
|
|
.line 31
|
|
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final d(Lokhttp3/Response;)J
|
|
.locals 4
|
|
|
|
.line 1
|
|
const-string v0, "<this>"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
iget-object p0, p0, Lokhttp3/Response;->j:Lokhttp3/Headers;
|
|
|
|
.line 7
|
|
.line 8
|
|
const-string v1, "Content-Length"
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-virtual {p0, v1}, Lokhttp3/Headers;->a(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result-object p0
|
|
|
|
.line 14
|
|
const-wide/16 v1, -0x1
|
|
|
|
.line 15
|
|
.line 16
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 17
|
|
.line 18
|
|
sget-object v3, Lokhttp3/internal/_UtilCommonKt;->a:[B
|
|
|
|
.line 19
|
|
.line 20
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
:try_start_0
|
|
invoke-static {p0}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result-wide v0
|
|
:try_end_0
|
|
.catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.line 27
|
|
return-wide v0
|
|
|
|
.line 28
|
|
:catch_0
|
|
:cond_0
|
|
return-wide v1
|
|
.end method
|
|
|
|
.method public static final e(Lokio/Source;I)Z
|
|
.locals 12
|
|
|
|
.line 1
|
|
sget-object v0, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
|
|
|
.line 2
|
|
.line 3
|
|
const-string v1, "<this>"
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-static {p0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
const-string v1, "timeUnit"
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result-wide v1
|
|
|
|
.line 17
|
|
invoke-interface {p0}, Lokio/Source;->timeout()Lokio/Timeout;
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result-object v3
|
|
|
|
.line 21
|
|
invoke-virtual {v3}, Lokio/Timeout;->e()Z
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
move-result v3
|
|
|
|
.line 25
|
|
const-wide v4, 0x7fffffffffffffffL
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
.line 30
|
|
if-eqz v3, :cond_0
|
|
|
|
.line 31
|
|
.line 32
|
|
invoke-interface {p0}, Lokio/Source;->timeout()Lokio/Timeout;
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
move-result-object v3
|
|
|
|
.line 36
|
|
invoke-virtual {v3}, Lokio/Timeout;->c()J
|
|
|
|
.line 37
|
|
.line 38
|
|
.line 39
|
|
move-result-wide v6
|
|
|
|
.line 40
|
|
sub-long/2addr v6, v1
|
|
|
|
.line 41
|
|
goto :goto_0
|
|
|
|
.line 42
|
|
:cond_0
|
|
move-wide v6, v4
|
|
|
|
.line 43
|
|
:goto_0
|
|
invoke-interface {p0}, Lokio/Source;->timeout()Lokio/Timeout;
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
move-result-object v3
|
|
|
|
.line 47
|
|
int-to-long v8, p1
|
|
|
|
.line 48
|
|
invoke-virtual {v0, v8, v9}, Ljava/util/concurrent/TimeUnit;->toNanos(J)J
|
|
|
|
.line 49
|
|
.line 50
|
|
.line 51
|
|
move-result-wide v8
|
|
|
|
.line 52
|
|
invoke-static {v6, v7, v8, v9}, Ljava/lang/Math;->min(JJ)J
|
|
|
|
.line 53
|
|
.line 54
|
|
.line 55
|
|
move-result-wide v8
|
|
|
|
.line 56
|
|
add-long/2addr v8, v1
|
|
|
|
.line 57
|
|
invoke-virtual {v3, v8, v9}, Lokio/Timeout;->d(J)Lokio/Timeout;
|
|
|
|
.line 58
|
|
.line 59
|
|
.line 60
|
|
:try_start_0
|
|
new-instance p1, Lokio/Buffer;
|
|
|
|
.line 61
|
|
.line 62
|
|
invoke-direct {p1}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 63
|
|
.line 64
|
|
.line 65
|
|
:goto_1
|
|
const-wide/16 v8, 0x2000
|
|
|
|
.line 66
|
|
.line 67
|
|
invoke-interface {p0, v8, v9, p1}, Lokio/Source;->p0(JLokio/Buffer;)J
|
|
|
|
.line 68
|
|
.line 69
|
|
.line 70
|
|
move-result-wide v8
|
|
|
|
.line 71
|
|
const-wide/16 v10, -0x1
|
|
|
|
.line 72
|
|
.line 73
|
|
cmp-long v0, v8, v10
|
|
|
|
.line 74
|
|
.line 75
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 76
|
|
.line 77
|
|
invoke-virtual {p1}, Lokio/Buffer;->a()V
|
|
:try_end_0
|
|
.catch Ljava/io/InterruptedIOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 78
|
|
.line 79
|
|
.line 80
|
|
goto :goto_1
|
|
|
|
.line 81
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 82
|
|
goto :goto_2
|
|
|
|
.line 83
|
|
:cond_1
|
|
cmp-long p1, v6, v4
|
|
|
|
.line 84
|
|
.line 85
|
|
const/4 v0, 0x1
|
|
|
|
.line 86
|
|
if-nez p1, :cond_2
|
|
|
|
.line 87
|
|
.line 88
|
|
invoke-interface {p0}, Lokio/Source;->timeout()Lokio/Timeout;
|
|
|
|
.line 89
|
|
.line 90
|
|
.line 91
|
|
move-result-object p0
|
|
|
|
.line 92
|
|
invoke-virtual {p0}, Lokio/Timeout;->a()Lokio/Timeout;
|
|
|
|
.line 93
|
|
.line 94
|
|
.line 95
|
|
return v0
|
|
|
|
.line 96
|
|
:cond_2
|
|
invoke-interface {p0}, Lokio/Source;->timeout()Lokio/Timeout;
|
|
|
|
.line 97
|
|
.line 98
|
|
.line 99
|
|
move-result-object p0
|
|
|
|
.line 100
|
|
add-long/2addr v1, v6
|
|
|
|
.line 101
|
|
invoke-virtual {p0, v1, v2}, Lokio/Timeout;->d(J)Lokio/Timeout;
|
|
|
|
.line 102
|
|
.line 103
|
|
.line 104
|
|
return v0
|
|
|
|
.line 105
|
|
:goto_2
|
|
cmp-long v0, v6, v4
|
|
|
|
.line 106
|
|
.line 107
|
|
if-nez v0, :cond_3
|
|
|
|
.line 108
|
|
.line 109
|
|
invoke-interface {p0}, Lokio/Source;->timeout()Lokio/Timeout;
|
|
|
|
.line 110
|
|
.line 111
|
|
.line 112
|
|
move-result-object p0
|
|
|
|
.line 113
|
|
invoke-virtual {p0}, Lokio/Timeout;->a()Lokio/Timeout;
|
|
|
|
.line 114
|
|
.line 115
|
|
.line 116
|
|
goto :goto_3
|
|
|
|
.line 117
|
|
:cond_3
|
|
invoke-interface {p0}, Lokio/Source;->timeout()Lokio/Timeout;
|
|
|
|
.line 118
|
|
.line 119
|
|
.line 120
|
|
move-result-object p0
|
|
|
|
.line 121
|
|
add-long/2addr v1, v6
|
|
|
|
.line 122
|
|
invoke-virtual {p0, v1, v2}, Lokio/Timeout;->d(J)Lokio/Timeout;
|
|
|
|
.line 123
|
|
.line 124
|
|
.line 125
|
|
:goto_3
|
|
throw p1
|
|
|
|
.line 126
|
|
:catch_0
|
|
cmp-long p1, v6, v4
|
|
|
|
.line 127
|
|
.line 128
|
|
if-nez p1, :cond_4
|
|
|
|
.line 129
|
|
.line 130
|
|
invoke-interface {p0}, Lokio/Source;->timeout()Lokio/Timeout;
|
|
|
|
.line 131
|
|
.line 132
|
|
.line 133
|
|
move-result-object p0
|
|
|
|
.line 134
|
|
invoke-virtual {p0}, Lokio/Timeout;->a()Lokio/Timeout;
|
|
|
|
.line 135
|
|
.line 136
|
|
.line 137
|
|
goto :goto_4
|
|
|
|
.line 138
|
|
:cond_4
|
|
invoke-interface {p0}, Lokio/Source;->timeout()Lokio/Timeout;
|
|
|
|
.line 139
|
|
.line 140
|
|
.line 141
|
|
move-result-object p0
|
|
|
|
.line 142
|
|
add-long/2addr v1, v6
|
|
|
|
.line 143
|
|
invoke-virtual {p0, v1, v2}, Lokio/Timeout;->d(J)Lokio/Timeout;
|
|
|
|
.line 144
|
|
.line 145
|
|
.line 146
|
|
:goto_4
|
|
const/4 p0, 0x0
|
|
|
|
.line 147
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final f(Ljava/util/List;)Lokhttp3/Headers;
|
|
.locals 3
|
|
|
|
.line 1
|
|
const-string v0, "<this>"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
new-instance v0, Lokhttp3/Headers$Builder;
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-direct {v0}, Lokhttp3/Headers$Builder;-><init>()V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
invoke-interface {p0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result-object p0
|
|
|
|
.line 15
|
|
:goto_0
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result v1
|
|
|
|
.line 19
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 20
|
|
.line 21
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
move-result-object v1
|
|
|
|
.line 25
|
|
check-cast v1, Lokhttp3/internal/http2/Header;
|
|
|
|
.line 26
|
|
.line 27
|
|
iget-object v2, v1, Lokhttp3/internal/http2/Header;->a:Lokio/ByteString;
|
|
|
|
.line 28
|
|
.line 29
|
|
iget-object v1, v1, Lokhttp3/internal/http2/Header;->b:Lokio/ByteString;
|
|
|
|
.line 30
|
|
.line 31
|
|
invoke-virtual {v2}, Lokio/ByteString;->s()Ljava/lang/String;
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
move-result-object v2
|
|
|
|
.line 35
|
|
invoke-virtual {v1}, Lokio/ByteString;->s()Ljava/lang/String;
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
move-result-object v1
|
|
|
|
.line 39
|
|
invoke-virtual {v0, v2, v1}, Lokhttp3/Headers$Builder;->a(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 40
|
|
.line 41
|
|
.line 42
|
|
goto :goto_0
|
|
|
|
.line 43
|
|
:cond_0
|
|
invoke-virtual {v0}, Lokhttp3/Headers$Builder;->b()Lokhttp3/Headers;
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
move-result-object p0
|
|
|
|
.line 47
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final g(Lokhttp3/HttpUrl;Z)Ljava/lang/String;
|
|
.locals 4
|
|
|
|
.line 1
|
|
const-string v0, "<this>"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
iget-object v0, p0, Lokhttp3/HttpUrl;->d:Ljava/lang/String;
|
|
|
|
.line 7
|
|
.line 8
|
|
iget v1, p0, Lokhttp3/HttpUrl;->e:I
|
|
|
|
.line 9
|
|
.line 10
|
|
const-string v2, ":"
|
|
|
|
.line 11
|
|
.line 12
|
|
invoke-static {v0, v2}, Lkotlin/text/StringsKt;->o(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
move-result v2
|
|
|
|
.line 16
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 17
|
|
.line 18
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
.line 19
|
|
.line 20
|
|
const-string v3, "["
|
|
|
|
.line 21
|
|
.line 22
|
|
invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
const/16 v0, 0x5d
|
|
|
|
.line 29
|
|
.line 30
|
|
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
move-result-object v0
|
|
|
|
.line 37
|
|
:cond_0
|
|
if-nez p1, :cond_2
|
|
|
|
.line 38
|
|
.line 39
|
|
iget-object p0, p0, Lokhttp3/HttpUrl;->a:Ljava/lang/String;
|
|
|
|
.line 40
|
|
.line 41
|
|
invoke-static {p0}, Lokhttp3/HttpUrl$Companion;->a(Ljava/lang/String;)I
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
move-result p0
|
|
|
|
.line 45
|
|
if-eq v1, p0, :cond_1
|
|
|
|
.line 46
|
|
.line 47
|
|
goto :goto_0
|
|
|
|
.line 48
|
|
:cond_1
|
|
return-object v0
|
|
|
|
.line 49
|
|
:cond_2
|
|
:goto_0
|
|
new-instance p0, Ljava/lang/StringBuilder;
|
|
|
|
.line 50
|
|
.line 51
|
|
invoke-direct {p0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
.line 52
|
|
.line 53
|
|
.line 54
|
|
invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 55
|
|
.line 56
|
|
.line 57
|
|
const/16 p1, 0x3a
|
|
|
|
.line 58
|
|
.line 59
|
|
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
.line 60
|
|
.line 61
|
|
.line 62
|
|
invoke-virtual {p0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
.line 63
|
|
.line 64
|
|
.line 65
|
|
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 66
|
|
.line 67
|
|
.line 68
|
|
move-result-object p0
|
|
|
|
.line 69
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final h(Ljava/util/List;)Ljava/util/List;
|
|
.locals 2
|
|
|
|
.line 1
|
|
const-string v0, "<this>"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
invoke-interface {p0}, Ljava/util/List;->isEmpty()Z
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result v0
|
|
|
|
.line 10
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 11
|
|
.line 12
|
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->emptyList()Ljava/util/List;
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
move-result-object p0
|
|
|
|
.line 16
|
|
return-object p0
|
|
|
|
.line 17
|
|
:cond_0
|
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result v0
|
|
|
|
.line 21
|
|
const/4 v1, 0x1
|
|
|
|
.line 22
|
|
if-ne v0, v1, :cond_1
|
|
|
|
.line 23
|
|
.line 24
|
|
const/4 v0, 0x0
|
|
|
|
.line 25
|
|
invoke-interface {p0, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
move-result-object p0
|
|
|
|
.line 29
|
|
invoke-static {p0}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result-object p0
|
|
|
|
.line 33
|
|
const-string v0, "singletonList(...)"
|
|
|
|
.line 34
|
|
.line 35
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
return-object p0
|
|
|
|
.line 39
|
|
:cond_1
|
|
invoke-interface {p0}, Ljava/util/Collection;->toArray()[Ljava/lang/Object;
|
|
|
|
.line 40
|
|
.line 41
|
|
.line 42
|
|
move-result-object p0
|
|
|
|
.line 43
|
|
const-string v0, "toArray(...)"
|
|
|
|
.line 44
|
|
.line 45
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 46
|
|
.line 47
|
|
.line 48
|
|
invoke-static {p0}, Lkotlin/collections/ArraysKt;->asList([Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
.line 49
|
|
.line 50
|
|
.line 51
|
|
move-result-object p0
|
|
|
|
.line 52
|
|
invoke-static {p0}, Lj$/util/DesugarCollections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
|
|
|
|
.line 53
|
|
.line 54
|
|
.line 55
|
|
move-result-object p0
|
|
|
|
.line 56
|
|
const-string v0, "unmodifiableList(...)"
|
|
|
|
.line 57
|
|
.line 58
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 59
|
|
.line 60
|
|
.line 61
|
|
const-string v0, "null cannot be cast to non-null type kotlin.collections.List<T of okhttp3.internal._UtilJvmKt.toImmutableList>"
|
|
|
|
.line 62
|
|
.line 63
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 64
|
|
.line 65
|
|
.line 66
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final i([Ljava/lang/Object;)Ljava/util/List;
|
|
.locals 2
|
|
|
|
.line 1
|
|
if-eqz p0, :cond_2
|
|
|
|
.line 2
|
|
.line 3
|
|
array-length v0, p0
|
|
|
|
.line 4
|
|
if-nez v0, :cond_0
|
|
|
|
.line 5
|
|
.line 6
|
|
goto :goto_0
|
|
|
|
.line 7
|
|
:cond_0
|
|
array-length v0, p0
|
|
|
|
.line 8
|
|
const/4 v1, 0x1
|
|
|
|
.line 9
|
|
if-ne v0, v1, :cond_1
|
|
|
|
.line 10
|
|
.line 11
|
|
const/4 v0, 0x0
|
|
|
|
.line 12
|
|
aget-object p0, p0, v0
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-static {p0}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result-object p0
|
|
|
|
.line 18
|
|
const-string v0, "singletonList(...)"
|
|
|
|
.line 19
|
|
.line 20
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
return-object p0
|
|
|
|
.line 24
|
|
:cond_1
|
|
invoke-virtual {p0}, Ljava/lang/Object;->clone()Ljava/lang/Object;
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
move-result-object p0
|
|
|
|
.line 28
|
|
check-cast p0, [Ljava/lang/Object;
|
|
|
|
.line 29
|
|
.line 30
|
|
invoke-static {p0}, Lkotlin/collections/ArraysKt;->asList([Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
move-result-object p0
|
|
|
|
.line 34
|
|
invoke-static {p0}, Lj$/util/DesugarCollections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
|
|
|
|
.line 35
|
|
.line 36
|
|
.line 37
|
|
move-result-object p0
|
|
|
|
.line 38
|
|
const-string v0, "unmodifiableList(...)"
|
|
|
|
.line 39
|
|
.line 40
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 41
|
|
.line 42
|
|
.line 43
|
|
return-object p0
|
|
|
|
.line 44
|
|
:cond_2
|
|
:goto_0
|
|
invoke-static {}, Lkotlin/collections/CollectionsKt;->emptyList()Ljava/util/List;
|
|
|
|
.line 45
|
|
.line 46
|
|
.line 47
|
|
move-result-object p0
|
|
|
|
.line 48
|
|
return-object p0
|
|
.end method
|