133 lines
3.3 KiB
Smali
133 lines
3.3 KiB
Smali
.class final Lio/fabric/sdk/android/a/b/e$a;
|
|
.super Ljava/lang/Object;
|
|
.source "AdvertisingInfoServiceStrategy.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/content/ServiceConnection;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lio/fabric/sdk/android/a/b/e;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x18
|
|
name = "a"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private bbZ:Z
|
|
|
|
.field private final bca:Ljava/util/concurrent/LinkedBlockingQueue;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/concurrent/LinkedBlockingQueue<",
|
|
"Landroid/os/IBinder;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 2
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-boolean v0, p0, Lio/fabric/sdk/android/a/b/e$a;->bbZ:Z
|
|
|
|
new-instance v0, Ljava/util/concurrent/LinkedBlockingQueue;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-direct {v0, v1}, Ljava/util/concurrent/LinkedBlockingQueue;-><init>(I)V
|
|
|
|
iput-object v0, p0, Lio/fabric/sdk/android/a/b/e$a;->bca:Ljava/util/concurrent/LinkedBlockingQueue;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method synthetic constructor <init>(B)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Lio/fabric/sdk/android/a/b/e$a;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getBinder()Landroid/os/IBinder;
|
|
.locals 4
|
|
|
|
iget-boolean v0, p0, Lio/fabric/sdk/android/a/b/e$a;->bbZ:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-static {}, Lio/fabric/sdk/android/c;->Cx()Lio/fabric/sdk/android/l;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "Fabric"
|
|
|
|
const-string v2, "getBinder already called"
|
|
|
|
invoke-interface {v0, v1, v2}, Lio/fabric/sdk/android/l;->e(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
:cond_0
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p0, Lio/fabric/sdk/android/a/b/e$a;->bbZ:Z
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Lio/fabric/sdk/android/a/b/e$a;->bca:Ljava/util/concurrent/LinkedBlockingQueue;
|
|
|
|
const-wide/16 v1, 0xc8
|
|
|
|
sget-object v3, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
|
|
|
invoke-virtual {v0, v1, v2, v3}, Ljava/util/concurrent/LinkedBlockingQueue;->poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/os/IBinder;
|
|
:try_end_0
|
|
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object v0
|
|
|
|
:catch_0
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final onServiceConnected(Landroid/content/ComponentName;Landroid/os/IBinder;)V
|
|
.locals 0
|
|
|
|
:try_start_0
|
|
iget-object p1, p0, Lio/fabric/sdk/android/a/b/e$a;->bca:Ljava/util/concurrent/LinkedBlockingQueue;
|
|
|
|
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
|
|
|
|
:catch_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onServiceDisconnected(Landroid/content/ComponentName;)V
|
|
.locals 0
|
|
|
|
iget-object p1, p0, Lio/fabric/sdk/android/a/b/e$a;->bca:Ljava/util/concurrent/LinkedBlockingQueue;
|
|
|
|
invoke-virtual {p1}, Ljava/util/concurrent/LinkedBlockingQueue;->clear()V
|
|
|
|
return-void
|
|
.end method
|