tmap/smali/l1/b.smali
2022-06-10 21:38:30 +09:00

355 lines
5.6 KiB
Smali

.class public final Ll1/b;
.super Ljava/lang/Object;
.source "CancellationSignal.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Ll1/b$a;
}
.end annotation
# instance fields
.field public a:Z
.field public b:Ll1/b$a;
.field public c:Ljava/lang/Object;
.field public d:Z
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a()V
.locals 3
.line 1
monitor-enter p0
.line 2
:try_start_0
iget-boolean v0, p0, Ll1/b;->a:Z
if-eqz v0, :cond_0
.line 3
monitor-exit p0
return-void
:cond_0
const/4 v0, 0x1
.line 4
iput-boolean v0, p0, Ll1/b;->a:Z
.line 5
iput-boolean v0, p0, Ll1/b;->d:Z
.line 6
iget-object v0, p0, Ll1/b;->b:Ll1/b$a;
.line 7
iget-object v1, p0, Ll1/b;->c:Ljava/lang/Object;
.line 8
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_3
const/4 v2, 0x0
if-eqz v0, :cond_1
.line 9
:try_start_1
invoke-interface {v0}, Ll1/b$a;->onCancel()V
goto :goto_0
:catchall_0
move-exception v0
goto :goto_1
:cond_1
:goto_0
if-eqz v1, :cond_2
.line 10
check-cast v1, Landroid/os/CancellationSignal;
invoke-virtual {v1}, Landroid/os/CancellationSignal;->cancel()V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
goto :goto_2
.line 11
:goto_1
monitor-enter p0
.line 12
:try_start_2
iput-boolean v2, p0, Ll1/b;->d:Z
.line 13
invoke-virtual {p0}, Ljava/lang/Object;->notifyAll()V
.line 14
monitor-exit p0
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
.line 15
throw v0
:catchall_1
move-exception v0
.line 16
:try_start_3
monitor-exit p0
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_1
throw v0
.line 17
:cond_2
:goto_2
monitor-enter p0
.line 18
:try_start_4
iput-boolean v2, p0, Ll1/b;->d:Z
.line 19
invoke-virtual {p0}, Ljava/lang/Object;->notifyAll()V
.line 20
monitor-exit p0
return-void
:catchall_2
move-exception v0
monitor-exit p0
:try_end_4
.catchall {:try_start_4 .. :try_end_4} :catchall_2
throw v0
:catchall_3
move-exception v0
.line 21
:try_start_5
monitor-exit p0
:try_end_5
.catchall {:try_start_5 .. :try_end_5} :catchall_3
throw v0
.end method
.method public b()Ljava/lang/Object;
.locals 2
.annotation build Landroidx/annotation/Nullable;
.end annotation
.line 1
monitor-enter p0
.line 2
:try_start_0
iget-object v0, p0, Ll1/b;->c:Ljava/lang/Object;
if-nez v0, :cond_0
.line 3
new-instance v0, Landroid/os/CancellationSignal;
invoke-direct {v0}, Landroid/os/CancellationSignal;-><init>()V
iput-object v0, p0, Ll1/b;->c:Ljava/lang/Object;
.line 4
iget-boolean v1, p0, Ll1/b;->a:Z
if-eqz v1, :cond_0
.line 5
move-object v1, v0
check-cast v1, Landroid/os/CancellationSignal;
invoke-virtual {v0}, Landroid/os/CancellationSignal;->cancel()V
.line 6
:cond_0
iget-object v0, p0, Ll1/b;->c:Ljava/lang/Object;
monitor-exit p0
return-object v0
:catchall_0
move-exception v0
.line 7
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v0
.end method
.method public c()Z
.locals 1
.line 1
monitor-enter p0
.line 2
:try_start_0
iget-boolean v0, p0, Ll1/b;->a:Z
monitor-exit p0
return v0
:catchall_0
move-exception v0
.line 3
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v0
.end method
.method public d(Ll1/b$a;)V
.locals 1
.param p1 # Ll1/b$a;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.line 1
monitor-enter p0
.line 2
:try_start_0
invoke-virtual {p0}, Ll1/b;->f()V
.line 3
iget-object v0, p0, Ll1/b;->b:Ll1/b$a;
if-ne v0, p1, :cond_0
.line 4
monitor-exit p0
return-void
.line 5
:cond_0
iput-object p1, p0, Ll1/b;->b:Ll1/b$a;
.line 6
iget-boolean v0, p0, Ll1/b;->a:Z
if-eqz v0, :cond_2
if-nez p1, :cond_1
goto :goto_0
.line 7
:cond_1
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 8
invoke-interface {p1}, Ll1/b$a;->onCancel()V
return-void
.line 9
:cond_2
:goto_0
:try_start_1
monitor-exit p0
return-void
:catchall_0
move-exception p1
.line 10
monitor-exit p0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw p1
.end method
.method public e()V
.locals 1
.line 1
invoke-virtual {p0}, Ll1/b;->c()Z
move-result v0
if-nez v0, :cond_0
return-void
.line 2
:cond_0
new-instance v0, Landroidx/core/os/OperationCanceledException;
invoke-direct {v0}, Landroidx/core/os/OperationCanceledException;-><init>()V
throw v0
.end method
.method public final f()V
.locals 1
.line 1
:catch_0
:goto_0
iget-boolean v0, p0, Ll1/b;->d:Z
if-eqz v0, :cond_0
.line 2
:try_start_0
invoke-virtual {p0}, Ljava/lang/Object;->wait()V
:try_end_0
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:cond_0
return-void
.end method