af$b.smali
.class final Lio/openinstall/sdk/af$b;
.super Ljava/lang/Object;
# interfaces
.implements Landroid/content/ServiceConnection;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/openinstall/sdk/af;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1a
name = "b"
.end annotation
# instance fields
.field a:Z
.field private final b:Ljava/util/concurrent/LinkedBlockingQueue;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/LinkedBlockingQueue<",
"Landroid/os/IBinder;",
">;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method private constructor <init>()V
.registers 3
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
iput-boolean v0, p0, Lio/openinstall/sdk/af$b;->a: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/openinstall/sdk/af$b;->b:Ljava/util/concurrent/LinkedBlockingQueue;
return-void
.end method
.method synthetic constructor <init>(Lio/openinstall/sdk/ag;)V
.registers 2
invoke-direct {p0}, Lio/openinstall/sdk/af$b;-><init>()V
return-void
.end method
# virtual methods
.method public a()Landroid/os/IBinder;
.registers 5
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/InterruptedException;
}
.end annotation
iget-boolean v0, p0, Lio/openinstall/sdk/af$b;->a:Z
if-nez v0, :cond_14
const/4 v0, 0x1
iput-boolean v0, p0, Lio/openinstall/sdk/af$b;->a:Z
iget-object v0, p0, Lio/openinstall/sdk/af$b;->b:Ljava/util/concurrent/LinkedBlockingQueue;
const-wide/16 v1, 0x3
sget-object v3, Ljava/util/concurrent/TimeUnit;->SECONDS: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;
return-object v0
:cond_14
new-instance v0, Ljava/lang/IllegalStateException;
invoke-direct {v0}, Ljava/lang/IllegalStateException;-><init>()V
throw v0
.end method
.method public onServiceConnected(Landroid/content/ComponentName;Landroid/os/IBinder;)V
.registers 4
:try_start_0
iget-object v0, p0, Lio/openinstall/sdk/af$b;->b:Ljava/util/concurrent/LinkedBlockingQueue;
invoke-virtual {v0, p2}, Ljava/util/concurrent/LinkedBlockingQueue;->put(Ljava/lang/Object;)V
:try_end_5
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_5} :catch_6
goto :goto_7
:catch_6
move-exception v0
:goto_7
return-void
.end method
.method public onServiceDisconnected(Landroid/content/ComponentName;)V
.registers 2
return-void
.end method