apkfuckery/com.discord/smali/f/c/a/r0.smali

107 lines
2.5 KiB
Smali
Raw Normal View History

2020-11-21 21:10:53 +00:00
.class public final Lf/c/a/r0;
2020-11-12 02:11:44 +00:00
.super Ljava/lang/Object;
2020-11-21 21:10:53 +00:00
.source "GooglePlayServicesClient.java"
2020-11-12 02:11:44 +00:00
# interfaces
2020-11-21 21:10:53 +00:00
.implements Landroid/content/ServiceConnection;
2020-11-12 02:11:44 +00:00
# instance fields
2020-11-21 21:10:53 +00:00
.field public d:J
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
.field public e:Z
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
.field public final f:Ljava/util/concurrent/LinkedBlockingQueue;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/LinkedBlockingQueue<",
"Landroid/os/IBinder;",
">;"
}
.end annotation
.end field
2020-11-12 02:11:44 +00:00
# direct methods
2020-11-21 21:10:53 +00:00
.method public constructor <init>(J)V
2020-11-12 02:11:44 +00:00
.locals 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
2020-11-21 21:10:53 +00:00
iput-boolean v0, p0, Lf/c/a/r0;->e:Z
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
new-instance v0, Ljava/util/concurrent/LinkedBlockingQueue;
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
const/4 v1, 0x1
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
invoke-direct {v0, v1}, Ljava/util/concurrent/LinkedBlockingQueue;-><init>(I)V
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
iput-object v0, p0, Lf/c/a/r0;->f:Ljava/util/concurrent/LinkedBlockingQueue;
2020-11-14 03:19:56 +00:00
2020-11-21 21:10:53 +00:00
iput-wide p1, p0, Lf/c/a/r0;->d:J
2020-11-16 22:05:17 +00:00
return-void
2020-11-14 03:19:56 +00:00
.end method
2020-11-16 22:05:17 +00:00
2020-11-21 21:10:53 +00:00
# virtual methods
.method public a()Landroid/os/IBinder;
.locals 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/InterruptedException;
}
.end annotation
2020-11-16 22:05:17 +00:00
2020-11-21 21:10:53 +00:00
iget-boolean v0, p0, Lf/c/a/r0;->e:Z
2020-11-16 22:05:17 +00:00
2020-11-21 21:10:53 +00:00
if-nez v0, :cond_0
2020-11-16 22:05:17 +00:00
2020-11-21 21:10:53 +00:00
const/4 v0, 0x1
2020-11-16 22:05:17 +00:00
2020-11-21 21:10:53 +00:00
iput-boolean v0, p0, Lf/c/a/r0;->e:Z
2020-11-16 22:05:17 +00:00
2020-11-21 21:10:53 +00:00
iget-object v0, p0, Lf/c/a/r0;->f:Ljava/util/concurrent/LinkedBlockingQueue;
2020-11-16 22:05:17 +00:00
2020-11-21 21:10:53 +00:00
iget-wide v1, p0, Lf/c/a/r0;->d:J
2020-11-14 03:19:56 +00:00
2020-11-21 21:10:53 +00:00
sget-object v3, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
2020-11-16 22:05:17 +00:00
2020-11-21 21:10:53 +00:00
invoke-virtual {v0, v1, v2, v3}, Ljava/util/concurrent/LinkedBlockingQueue;->poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
2020-11-16 22:05:17 +00:00
2020-11-21 21:10:53 +00:00
move-result-object v0
2020-11-16 22:05:17 +00:00
2020-11-21 21:10:53 +00:00
check-cast v0, Landroid/os/IBinder;
2020-11-16 22:05:17 +00:00
2020-11-21 21:10:53 +00:00
return-object v0
2020-11-16 22:05:17 +00:00
:cond_0
2020-11-21 21:10:53 +00:00
new-instance v0, Ljava/lang/IllegalStateException;
2020-11-16 22:05:17 +00:00
2020-11-21 21:10:53 +00:00
invoke-direct {v0}, Ljava/lang/IllegalStateException;-><init>()V
2020-11-16 22:05:17 +00:00
2020-11-21 21:10:53 +00:00
throw v0
2020-11-16 22:05:17 +00:00
.end method
2020-11-21 21:10:53 +00:00
.method public onServiceConnected(Landroid/content/ComponentName;Landroid/os/IBinder;)V
.locals 0
2020-11-16 22:05:17 +00:00
:try_start_0
2020-11-21 21:10:53 +00:00
iget-object p1, p0, Lf/c/a/r0;->f:Ljava/util/concurrent/LinkedBlockingQueue;
2020-11-16 22:05:17 +00:00
2020-11-21 21:10:53 +00:00
invoke-virtual {p1, p2}, Ljava/util/concurrent/LinkedBlockingQueue;->put(Ljava/lang/Object;)V
2020-11-16 22:05:17 +00:00
:try_end_0
2020-11-21 21:10:53 +00:00
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
2020-11-16 22:05:17 +00:00
:catch_0
return-void
.end method
2020-11-21 21:10:53 +00:00
.method public onServiceDisconnected(Landroid/content/ComponentName;)V
.locals 0
2020-11-12 02:11:44 +00:00
return-void
.end method