* 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>
1089 lines
23 KiB
Smali
1089 lines
23 KiB
Smali
.class public abstract Lj$/util/stream/a;
|
|
.super Lj$/util/stream/v3;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lj$/util/stream/BaseStream;
|
|
|
|
|
|
# instance fields
|
|
.field public final h:Lj$/util/stream/a;
|
|
|
|
.field public final i:Lj$/util/stream/a;
|
|
|
|
.field public final j:I
|
|
|
|
.field public final k:Lj$/util/stream/a;
|
|
|
|
.field public l:I
|
|
|
|
.field public m:I
|
|
|
|
.field public n:Lj$/util/Spliterator;
|
|
|
|
.field public o:Ljava/util/function/Supplier;
|
|
|
|
.field public p:Z
|
|
|
|
.field public final q:Z
|
|
|
|
.field public r:Ljava/lang/Runnable;
|
|
|
|
.field public s:Z
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.line 72
|
|
const-class v0, Lj$/util/stream/a;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lj$/util/Spliterator;IZ)V
|
|
.locals 1
|
|
|
|
.line 55
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 182
|
|
iput-object v0, p0, Lj$/util/stream/a;->i:Lj$/util/stream/a;
|
|
|
|
.line 183
|
|
iput-object p1, p0, Lj$/util/stream/a;->n:Lj$/util/Spliterator;
|
|
|
|
.line 184
|
|
iput-object p0, p0, Lj$/util/stream/a;->h:Lj$/util/stream/a;
|
|
|
|
.line 185
|
|
sget p1, Lj$/util/stream/c7;->g:I
|
|
|
|
and-int/2addr p1, p2
|
|
|
|
iput p1, p0, Lj$/util/stream/a;->j:I
|
|
|
|
shl-int/lit8 p1, p1, 0x1
|
|
|
|
not-int p1, p1
|
|
|
|
.line 188
|
|
sget p2, Lj$/util/stream/c7;->l:I
|
|
|
|
and-int/2addr p1, p2
|
|
|
|
iput p1, p0, Lj$/util/stream/a;->m:I
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 189
|
|
iput p1, p0, Lj$/util/stream/a;->l:I
|
|
|
|
.line 190
|
|
iput-boolean p3, p0, Lj$/util/stream/a;->s:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lj$/util/stream/a;I)V
|
|
.locals 2
|
|
|
|
.line 55
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 202
|
|
iget-boolean v0, p1, Lj$/util/stream/a;->p:Z
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 204
|
|
iput-boolean v0, p1, Lj$/util/stream/a;->p:Z
|
|
|
|
.line 205
|
|
iput-object p0, p1, Lj$/util/stream/a;->k:Lj$/util/stream/a;
|
|
|
|
.line 207
|
|
iput-object p1, p0, Lj$/util/stream/a;->i:Lj$/util/stream/a;
|
|
|
|
.line 208
|
|
sget v1, Lj$/util/stream/c7;->h:I
|
|
|
|
and-int/2addr v1, p2
|
|
|
|
iput v1, p0, Lj$/util/stream/a;->j:I
|
|
|
|
.line 209
|
|
iget v1, p1, Lj$/util/stream/a;->m:I
|
|
|
|
invoke-static {p2, v1}, Lj$/util/stream/c7;->d(II)I
|
|
|
|
move-result p2
|
|
|
|
iput p2, p0, Lj$/util/stream/a;->m:I
|
|
|
|
.line 210
|
|
iget-object p2, p1, Lj$/util/stream/a;->h:Lj$/util/stream/a;
|
|
|
|
iput-object p2, p0, Lj$/util/stream/a;->h:Lj$/util/stream/a;
|
|
|
|
.line 211
|
|
invoke-virtual {p0}, Lj$/util/stream/a;->G0()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 212
|
|
iput-boolean v0, p2, Lj$/util/stream/a;->q:Z
|
|
|
|
.line 213
|
|
:cond_0
|
|
iget p1, p1, Lj$/util/stream/a;->l:I
|
|
|
|
add-int/2addr p1, v0
|
|
|
|
iput p1, p0, Lj$/util/stream/a;->l:I
|
|
|
|
return-void
|
|
|
|
.line 203
|
|
:cond_1
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
const-string p2, "stream has already been operated upon or closed"
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/util/function/Supplier;IZ)V
|
|
.locals 1
|
|
|
|
.line 55
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 161
|
|
iput-object v0, p0, Lj$/util/stream/a;->i:Lj$/util/stream/a;
|
|
|
|
.line 162
|
|
iput-object p1, p0, Lj$/util/stream/a;->o:Ljava/util/function/Supplier;
|
|
|
|
.line 163
|
|
iput-object p0, p0, Lj$/util/stream/a;->h:Lj$/util/stream/a;
|
|
|
|
.line 164
|
|
sget p1, Lj$/util/stream/c7;->g:I
|
|
|
|
and-int/2addr p1, p2
|
|
|
|
iput p1, p0, Lj$/util/stream/a;->j:I
|
|
|
|
shl-int/lit8 p1, p1, 0x1
|
|
|
|
not-int p1, p1
|
|
|
|
.line 167
|
|
sget p2, Lj$/util/stream/c7;->l:I
|
|
|
|
and-int/2addr p1, p2
|
|
|
|
iput p1, p0, Lj$/util/stream/a;->m:I
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 168
|
|
iput p1, p0, Lj$/util/stream/a;->l:I
|
|
|
|
.line 169
|
|
iput-boolean p3, p0, Lj$/util/stream/a;->s:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public abstract A0(Lj$/util/stream/a;Lj$/util/Spliterator;ZLjava/util/function/IntFunction;)Lj$/util/stream/c2;
|
|
.end method
|
|
|
|
.method public abstract B0(Lj$/util/Spliterator;Lj$/util/stream/n5;)Z
|
|
.end method
|
|
|
|
.method public abstract C0()Lj$/util/stream/d7;
|
|
.end method
|
|
|
|
.method public abstract D0(Ljava/util/function/Supplier;)Lj$/util/Spliterator;
|
|
.end method
|
|
|
|
.method public E0(Lj$/util/stream/v3;Lj$/util/Spliterator;Ljava/util/function/IntFunction;)Lj$/util/stream/c2;
|
|
.locals 0
|
|
|
|
.line 684
|
|
new-instance p1, Ljava/lang/UnsupportedOperationException;
|
|
|
|
const-string p2, "Parallel evaluation is not supported"
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public F0(Lj$/util/stream/a;Lj$/util/Spliterator;)Lj$/util/Spliterator;
|
|
.locals 2
|
|
|
|
.line 710
|
|
new-instance v0, Lj$/time/h;
|
|
|
|
const/16 v1, 0xb
|
|
|
|
.line 0
|
|
invoke-direct {v0, v1}, Lj$/time/h;-><init>(I)V
|
|
|
|
.line 710
|
|
invoke-virtual {p0, p1, p2, v0}, Lj$/util/stream/a;->E0(Lj$/util/stream/v3;Lj$/util/Spliterator;Ljava/util/function/IntFunction;)Lj$/util/stream/c2;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p1}, Lj$/util/stream/c2;->spliterator()Lj$/util/Spliterator;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public abstract G0()Z
|
|
.end method
|
|
|
|
.method public abstract H0(ILj$/util/stream/n5;)Lj$/util/stream/n5;
|
|
.end method
|
|
|
|
.method public final I0(I)Lj$/util/Spliterator;
|
|
.locals 6
|
|
|
|
.line 400
|
|
iget-object v0, p0, Lj$/util/stream/a;->h:Lj$/util/stream/a;
|
|
|
|
iget-object v1, v0, Lj$/util/stream/a;->n:Lj$/util/Spliterator;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 402
|
|
iput-object v2, v0, Lj$/util/stream/a;->n:Lj$/util/Spliterator;
|
|
|
|
goto :goto_0
|
|
|
|
.line 404
|
|
:cond_0
|
|
iget-object v0, v0, Lj$/util/stream/a;->o:Ljava/util/function/Supplier;
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
.line 405
|
|
invoke-interface {v0}, Ljava/util/function/Supplier;->get()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
move-object v1, v0
|
|
|
|
check-cast v1, Lj$/util/Spliterator;
|
|
|
|
.line 406
|
|
iget-object v0, p0, Lj$/util/stream/a;->h:Lj$/util/stream/a;
|
|
|
|
iput-object v2, v0, Lj$/util/stream/a;->o:Ljava/util/function/Supplier;
|
|
|
|
.line 373
|
|
:goto_0
|
|
iget-object v0, p0, Lj$/util/stream/a;->h:Lj$/util/stream/a;
|
|
|
|
iget-boolean v2, v0, Lj$/util/stream/a;->s:Z
|
|
|
|
if-eqz v2, :cond_4
|
|
|
|
.line 412
|
|
iget-boolean v2, v0, Lj$/util/stream/a;->q:Z
|
|
|
|
if-eqz v2, :cond_4
|
|
|
|
.line 417
|
|
iget-object v2, v0, Lj$/util/stream/a;->k:Lj$/util/stream/a;
|
|
|
|
const/4 v3, 0x1
|
|
|
|
:goto_1
|
|
if-eq v0, p0, :cond_4
|
|
|
|
.line 421
|
|
iget v4, v2, Lj$/util/stream/a;->j:I
|
|
|
|
.line 422
|
|
invoke-virtual {v2}, Lj$/util/stream/a;->G0()Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_3
|
|
|
|
.line 425
|
|
sget-object v3, Lj$/util/stream/c7;->SHORT_CIRCUIT:Lj$/util/stream/c7;
|
|
|
|
invoke-virtual {v3, v4}, Lj$/util/stream/c7;->i(I)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
.line 431
|
|
sget v3, Lj$/util/stream/c7;->u:I
|
|
|
|
not-int v3, v3
|
|
|
|
and-int/2addr v4, v3
|
|
|
|
.line 434
|
|
:cond_1
|
|
invoke-virtual {v2, v0, v1}, Lj$/util/stream/a;->F0(Lj$/util/stream/a;Lj$/util/Spliterator;)Lj$/util/Spliterator;
|
|
|
|
move-result-object v1
|
|
|
|
const/16 v3, 0x40
|
|
|
|
.line 438
|
|
invoke-interface {v1, v3}, Lj$/util/Spliterator;->hasCharacteristics(I)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
.line 439
|
|
sget v3, Lj$/util/stream/c7;->t:I
|
|
|
|
not-int v3, v3
|
|
|
|
and-int/2addr v3, v4
|
|
|
|
sget v4, Lj$/util/stream/c7;->s:I
|
|
|
|
:goto_2
|
|
or-int/2addr v3, v4
|
|
|
|
move v4, v3
|
|
|
|
goto :goto_3
|
|
|
|
.line 440
|
|
:cond_2
|
|
sget v3, Lj$/util/stream/c7;->s:I
|
|
|
|
not-int v3, v3
|
|
|
|
and-int/2addr v3, v4
|
|
|
|
sget v4, Lj$/util/stream/c7;->t:I
|
|
|
|
goto :goto_2
|
|
|
|
:goto_3
|
|
const/4 v3, 0x0
|
|
|
|
:cond_3
|
|
add-int/lit8 v5, v3, 0x1
|
|
|
|
.line 442
|
|
iput v3, v2, Lj$/util/stream/a;->l:I
|
|
|
|
.line 443
|
|
iget v0, v0, Lj$/util/stream/a;->m:I
|
|
|
|
invoke-static {v4, v0}, Lj$/util/stream/c7;->d(II)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, v2, Lj$/util/stream/a;->m:I
|
|
|
|
.line 419
|
|
iget-object v0, v2, Lj$/util/stream/a;->k:Lj$/util/stream/a;
|
|
|
|
move-object v3, v2
|
|
|
|
move-object v2, v0
|
|
|
|
move-object v0, v3
|
|
|
|
move v3, v5
|
|
|
|
goto :goto_1
|
|
|
|
:cond_4
|
|
if-eqz p1, :cond_5
|
|
|
|
.line 449
|
|
iget v0, p0, Lj$/util/stream/a;->m:I
|
|
|
|
invoke-static {p1, v0}, Lj$/util/stream/c7;->d(II)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lj$/util/stream/a;->m:I
|
|
|
|
:cond_5
|
|
return-object v1
|
|
|
|
.line 409
|
|
:cond_6
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v0, "source already consumed or closed"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final J0()Lj$/util/Spliterator;
|
|
.locals 3
|
|
|
|
.line 275
|
|
iget-object v0, p0, Lj$/util/stream/a;->h:Lj$/util/stream/a;
|
|
|
|
if-ne p0, v0, :cond_3
|
|
|
|
.line 278
|
|
iget-boolean v1, p0, Lj$/util/stream/a;->p:Z
|
|
|
|
if-nez v1, :cond_2
|
|
|
|
const/4 v1, 0x1
|
|
|
|
.line 280
|
|
iput-boolean v1, p0, Lj$/util/stream/a;->p:Z
|
|
|
|
.line 282
|
|
iget-object v1, v0, Lj$/util/stream/a;->n:Lj$/util/Spliterator;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 285
|
|
iput-object v2, v0, Lj$/util/stream/a;->n:Lj$/util/Spliterator;
|
|
|
|
return-object v1
|
|
|
|
.line 288
|
|
:cond_0
|
|
iget-object v0, v0, Lj$/util/stream/a;->o:Ljava/util/function/Supplier;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 290
|
|
invoke-interface {v0}, Ljava/util/function/Supplier;->get()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lj$/util/Spliterator;
|
|
|
|
.line 291
|
|
iget-object v1, p0, Lj$/util/stream/a;->h:Lj$/util/stream/a;
|
|
|
|
iput-object v2, v1, Lj$/util/stream/a;->o:Ljava/util/function/Supplier;
|
|
|
|
return-object v0
|
|
|
|
.line 295
|
|
:cond_1
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v1, "source already consumed or closed"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
.line 279
|
|
:cond_2
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v1, "stream has already been operated upon or closed"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
.line 276
|
|
:cond_3
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
invoke-direct {v0}, Ljava/lang/IllegalStateException;-><init>()V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public abstract K0(Lj$/util/stream/a;Ljava/util/function/Supplier;Z)Lj$/util/Spliterator;
|
|
.end method
|
|
|
|
.method public final c0(Lj$/util/Spliterator;Lj$/util/stream/n5;)V
|
|
.locals 2
|
|
|
|
.line 480
|
|
invoke-static {p2}, Lj$/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 482
|
|
sget-object v0, Lj$/util/stream/c7;->SHORT_CIRCUIT:Lj$/util/stream/c7;
|
|
|
|
.line 509
|
|
iget v1, p0, Lj$/util/stream/a;->m:I
|
|
|
|
.line 482
|
|
invoke-virtual {v0, v1}, Lj$/util/stream/c7;->i(I)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 483
|
|
invoke-interface {p1}, Lj$/util/Spliterator;->getExactSizeIfKnown()J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-interface {p2, v0, v1}, Lj$/util/stream/n5;->c(J)V
|
|
|
|
.line 484
|
|
invoke-interface {p1, p2}, Lj$/util/Spliterator;->forEachRemaining(Ljava/util/function/Consumer;)V
|
|
|
|
.line 485
|
|
invoke-interface {p2}, Lj$/util/stream/n5;->end()V
|
|
|
|
return-void
|
|
|
|
.line 488
|
|
:cond_0
|
|
invoke-virtual {p0, p1, p2}, Lj$/util/stream/a;->d0(Lj$/util/Spliterator;Lj$/util/stream/n5;)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final close()V
|
|
.locals 3
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 317
|
|
iput-boolean v0, p0, Lj$/util/stream/a;->p:Z
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 318
|
|
iput-object v0, p0, Lj$/util/stream/a;->o:Ljava/util/function/Supplier;
|
|
|
|
.line 319
|
|
iput-object v0, p0, Lj$/util/stream/a;->n:Lj$/util/Spliterator;
|
|
|
|
.line 320
|
|
iget-object v1, p0, Lj$/util/stream/a;->h:Lj$/util/stream/a;
|
|
|
|
iget-object v2, v1, Lj$/util/stream/a;->r:Ljava/lang/Runnable;
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 322
|
|
iput-object v0, v1, Lj$/util/stream/a;->r:Ljava/lang/Runnable;
|
|
|
|
.line 323
|
|
invoke-interface {v2}, Ljava/lang/Runnable;->run()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final d0(Lj$/util/Spliterator;Lj$/util/stream/n5;)Z
|
|
.locals 3
|
|
|
|
move-object v0, p0
|
|
|
|
.line 497
|
|
:goto_0
|
|
iget v1, v0, Lj$/util/stream/a;->l:I
|
|
|
|
if-lez v1, :cond_0
|
|
|
|
.line 498
|
|
iget-object v0, v0, Lj$/util/stream/a;->i:Lj$/util/stream/a;
|
|
|
|
goto :goto_0
|
|
|
|
.line 501
|
|
:cond_0
|
|
invoke-interface {p1}, Lj$/util/Spliterator;->getExactSizeIfKnown()J
|
|
|
|
move-result-wide v1
|
|
|
|
invoke-interface {p2, v1, v2}, Lj$/util/stream/n5;->c(J)V
|
|
|
|
.line 502
|
|
invoke-virtual {v0, p1, p2}, Lj$/util/stream/a;->B0(Lj$/util/Spliterator;Lj$/util/stream/n5;)Z
|
|
|
|
move-result p1
|
|
|
|
.line 503
|
|
invoke-interface {p2}, Lj$/util/stream/n5;->end()V
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final g0(Lj$/util/Spliterator;ZLjava/util/function/IntFunction;)Lj$/util/stream/c2;
|
|
.locals 2
|
|
|
|
.line 373
|
|
iget-object v0, p0, Lj$/util/stream/a;->h:Lj$/util/stream/a;
|
|
|
|
iget-boolean v0, v0, Lj$/util/stream/a;->s:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 545
|
|
invoke-virtual {p0, p0, p1, p2, p3}, Lj$/util/stream/a;->A0(Lj$/util/stream/a;Lj$/util/Spliterator;ZLjava/util/function/IntFunction;)Lj$/util/stream/c2;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 549
|
|
:cond_0
|
|
invoke-virtual {p0, p1}, Lj$/util/stream/a;->h0(Lj$/util/Spliterator;)J
|
|
|
|
move-result-wide v0
|
|
|
|
.line 548
|
|
invoke-virtual {p0, v0, v1, p3}, Lj$/util/stream/v3;->s0(JLjava/util/function/IntFunction;)Lj$/util/stream/u1;
|
|
|
|
move-result-object p2
|
|
|
|
.line 550
|
|
invoke-virtual {p0, p1, p2}, Lj$/util/stream/a;->v0(Lj$/util/Spliterator;Lj$/util/stream/n5;)Lj$/util/stream/n5;
|
|
|
|
invoke-interface {p2}, Lj$/util/stream/u1;->build()Lj$/util/stream/c2;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final h0(Lj$/util/Spliterator;)J
|
|
.locals 2
|
|
|
|
.line 469
|
|
sget-object v0, Lj$/util/stream/c7;->SIZED:Lj$/util/stream/c7;
|
|
|
|
.line 509
|
|
iget v1, p0, Lj$/util/stream/a;->m:I
|
|
|
|
.line 469
|
|
invoke-virtual {v0, v1}, Lj$/util/stream/c7;->i(I)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-interface {p1}, Lj$/util/Spliterator;->getExactSizeIfKnown()J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
|
|
:cond_0
|
|
const-wide/16 v0, -0x1
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final isParallel()Z
|
|
.locals 1
|
|
|
|
.line 373
|
|
iget-object v0, p0, Lj$/util/stream/a;->h:Lj$/util/stream/a;
|
|
|
|
iget-boolean v0, v0, Lj$/util/stream/a;->s:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final onClose(Ljava/lang/Runnable;)Lj$/util/stream/BaseStream;
|
|
.locals 3
|
|
|
|
.line 330
|
|
iget-boolean v0, p0, Lj$/util/stream/a;->p:Z
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 332
|
|
invoke-static {p1}, Lj$/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 333
|
|
iget-object v0, p0, Lj$/util/stream/a;->h:Lj$/util/stream/a;
|
|
|
|
iget-object v1, v0, Lj$/util/stream/a;->r:Ljava/lang/Runnable;
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 836
|
|
:cond_0
|
|
new-instance v2, Lj$/util/stream/m8;
|
|
|
|
invoke-direct {v2, v1, p1}, Lj$/util/stream/m8;-><init>(Ljava/lang/Runnable;Ljava/lang/Runnable;)V
|
|
|
|
move-object p1, v2
|
|
|
|
.line 337
|
|
:goto_0
|
|
iput-object p1, v0, Lj$/util/stream/a;->r:Ljava/lang/Runnable;
|
|
|
|
return-object p0
|
|
|
|
.line 331
|
|
:cond_1
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v0, "stream has already been operated upon or closed"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final parallel()Lj$/util/stream/BaseStream;
|
|
.locals 2
|
|
|
|
.line 311
|
|
iget-object v0, p0, Lj$/util/stream/a;->h:Lj$/util/stream/a;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
iput-boolean v1, v0, Lj$/util/stream/a;->s:Z
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final sequential()Lj$/util/stream/BaseStream;
|
|
.locals 2
|
|
|
|
.line 304
|
|
iget-object v0, p0, Lj$/util/stream/a;->h:Lj$/util/stream/a;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iput-boolean v1, v0, Lj$/util/stream/a;->s:Z
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public spliterator()Lj$/util/Spliterator;
|
|
.locals 3
|
|
|
|
.line 345
|
|
iget-boolean v0, p0, Lj$/util/stream/a;->p:Z
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 347
|
|
iput-boolean v0, p0, Lj$/util/stream/a;->p:Z
|
|
|
|
.line 349
|
|
iget-object v0, p0, Lj$/util/stream/a;->h:Lj$/util/stream/a;
|
|
|
|
if-ne p0, v0, :cond_2
|
|
|
|
.line 350
|
|
iget-object v1, v0, Lj$/util/stream/a;->n:Lj$/util/Spliterator;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 353
|
|
iput-object v2, v0, Lj$/util/stream/a;->n:Lj$/util/Spliterator;
|
|
|
|
return-object v1
|
|
|
|
.line 356
|
|
:cond_0
|
|
iget-object v1, v0, Lj$/util/stream/a;->o:Ljava/util/function/Supplier;
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 359
|
|
iput-object v2, v0, Lj$/util/stream/a;->o:Ljava/util/function/Supplier;
|
|
|
|
.line 360
|
|
invoke-virtual {p0, v1}, Lj$/util/stream/a;->D0(Ljava/util/function/Supplier;)Lj$/util/Spliterator;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
|
|
.line 363
|
|
:cond_1
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v1, "source already consumed or closed"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
.line 367
|
|
:cond_2
|
|
new-instance v1, Lj$/util/p;
|
|
|
|
const/4 v2, 0x2
|
|
|
|
invoke-direct {v1, v2, p0}, Lj$/util/p;-><init>(ILjava/lang/Object;)V
|
|
|
|
.line 373
|
|
iget-boolean v0, v0, Lj$/util/stream/a;->s:Z
|
|
|
|
.line 367
|
|
invoke-virtual {p0, p0, v1, v0}, Lj$/util/stream/a;->K0(Lj$/util/stream/a;Ljava/util/function/Supplier;Z)Lj$/util/Spliterator;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
|
|
.line 346
|
|
:cond_3
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v1, "stream has already been operated upon or closed"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final v0(Lj$/util/Spliterator;Lj$/util/stream/n5;)Lj$/util/stream/n5;
|
|
.locals 1
|
|
|
|
.line 474
|
|
invoke-static {p2}, Lj$/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lj$/util/stream/n5;
|
|
|
|
invoke-virtual {p0, v0}, Lj$/util/stream/a;->w0(Lj$/util/stream/n5;)Lj$/util/stream/n5;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p0, p1, v0}, Lj$/util/stream/a;->c0(Lj$/util/Spliterator;Lj$/util/stream/n5;)V
|
|
|
|
return-object p2
|
|
.end method
|
|
|
|
.method public final w0(Lj$/util/stream/n5;)Lj$/util/stream/n5;
|
|
.locals 2
|
|
|
|
.line 519
|
|
invoke-static {p1}, Lj$/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-object v0, p0
|
|
|
|
.line 521
|
|
:goto_0
|
|
iget v1, v0, Lj$/util/stream/a;->l:I
|
|
|
|
if-lez v1, :cond_0
|
|
|
|
.line 522
|
|
iget-object v1, v0, Lj$/util/stream/a;->i:Lj$/util/stream/a;
|
|
|
|
iget v1, v1, Lj$/util/stream/a;->m:I
|
|
|
|
invoke-virtual {v0, v1, p1}, Lj$/util/stream/a;->H0(ILj$/util/stream/n5;)Lj$/util/stream/n5;
|
|
|
|
move-result-object p1
|
|
|
|
.line 521
|
|
iget-object v0, v0, Lj$/util/stream/a;->i:Lj$/util/stream/a;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final x0(Lj$/util/Spliterator;)Lj$/util/Spliterator;
|
|
.locals 2
|
|
|
|
.line 530
|
|
iget v0, p0, Lj$/util/stream/a;->l:I
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-object p1
|
|
|
|
.line 534
|
|
:cond_0
|
|
new-instance v0, Lj$/util/p;
|
|
|
|
const/4 v1, 0x3
|
|
|
|
invoke-direct {v0, v1, p1}, Lj$/util/p;-><init>(ILjava/lang/Object;)V
|
|
|
|
.line 373
|
|
iget-object p1, p0, Lj$/util/stream/a;->h:Lj$/util/stream/a;
|
|
|
|
iget-boolean p1, p1, Lj$/util/stream/a;->s:Z
|
|
|
|
.line 534
|
|
invoke-virtual {p0, p0, v0, p1}, Lj$/util/stream/a;->K0(Lj$/util/stream/a;Ljava/util/function/Supplier;Z)Lj$/util/Spliterator;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final y0(Lj$/util/stream/n8;)Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
.line 228
|
|
iget-boolean v0, p0, Lj$/util/stream/a;->p:Z
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 230
|
|
iput-boolean v0, p0, Lj$/util/stream/a;->p:Z
|
|
|
|
.line 373
|
|
iget-object v0, p0, Lj$/util/stream/a;->h:Lj$/util/stream/a;
|
|
|
|
iget-boolean v0, v0, Lj$/util/stream/a;->s:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 233
|
|
invoke-interface {p1}, Lj$/util/stream/n8;->v()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0, v0}, Lj$/util/stream/a;->I0(I)Lj$/util/Spliterator;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {p1, p0, v0}, Lj$/util/stream/n8;->i(Lj$/util/stream/v3;Lj$/util/Spliterator;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 234
|
|
:cond_0
|
|
invoke-interface {p1}, Lj$/util/stream/n8;->v()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0, v0}, Lj$/util/stream/a;->I0(I)Lj$/util/Spliterator;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {p1, p0, v0}, Lj$/util/stream/n8;->f(Lj$/util/stream/a;Lj$/util/Spliterator;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 229
|
|
:cond_1
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v0, "stream has already been operated upon or closed"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final z0(Ljava/util/function/IntFunction;)Lj$/util/stream/c2;
|
|
.locals 3
|
|
|
|
.line 245
|
|
iget-boolean v0, p0, Lj$/util/stream/a;->p:Z
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 247
|
|
iput-boolean v0, p0, Lj$/util/stream/a;->p:Z
|
|
|
|
.line 373
|
|
iget-object v1, p0, Lj$/util/stream/a;->h:Lj$/util/stream/a;
|
|
|
|
iget-boolean v1, v1, Lj$/util/stream/a;->s:Z
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 251
|
|
iget-object v1, p0, Lj$/util/stream/a;->i:Lj$/util/stream/a;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
invoke-virtual {p0}, Lj$/util/stream/a;->G0()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 256
|
|
iput v2, p0, Lj$/util/stream/a;->l:I
|
|
|
|
.line 257
|
|
iget-object v0, p0, Lj$/util/stream/a;->i:Lj$/util/stream/a;
|
|
|
|
invoke-virtual {v0, v2}, Lj$/util/stream/a;->I0(I)Lj$/util/Spliterator;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p0, v0, v1, p1}, Lj$/util/stream/a;->E0(Lj$/util/stream/v3;Lj$/util/Spliterator;Ljava/util/function/IntFunction;)Lj$/util/stream/c2;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 260
|
|
:cond_0
|
|
invoke-virtual {p0, v2}, Lj$/util/stream/a;->I0(I)Lj$/util/Spliterator;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p0, v1, v0, p1}, Lj$/util/stream/a;->g0(Lj$/util/Spliterator;ZLjava/util/function/IntFunction;)Lj$/util/stream/c2;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 246
|
|
:cond_1
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v0, "stream has already been operated upon or closed"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|