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

107 lines
2.5 KiB
Smali
Raw Normal View History

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