.class Lcom/glu/plugins/gluanalytics/util/GoogleAdvertisingIDUtil$GoogleAdvertisingServiceConnection; .super Ljava/lang/Object; .source "SourceFile" # interfaces .implements Landroid/content/ServiceConnection; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/glu/plugins/gluanalytics/util/GoogleAdvertisingIDUtil; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x9 name = "GoogleAdvertisingServiceConnection" .end annotation # instance fields .field private final mBinderQueue:Ljava/util/concurrent/BlockingQueue; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/concurrent/BlockingQueue<", "Landroid/os/IBinder;", ">;" } .end annotation .end field .field mConsumed:Z # direct methods .method public constructor ()V .locals 1 .line 165 invoke-direct {p0}, Ljava/lang/Object;->()V .line 166 new-instance v0, Ljava/util/concurrent/LinkedBlockingQueue; invoke-direct {v0}, Ljava/util/concurrent/LinkedBlockingQueue;->()V iput-object v0, p0, Lcom/glu/plugins/gluanalytics/util/GoogleAdvertisingIDUtil$GoogleAdvertisingServiceConnection;->mBinderQueue:Ljava/util/concurrent/BlockingQueue; const/4 v0, 0x0 iput-boolean v0, p0, Lcom/glu/plugins/gluanalytics/util/GoogleAdvertisingIDUtil$GoogleAdvertisingServiceConnection;->mConsumed:Z return-void .end method # virtual methods .method public getBinder()Landroid/os/IBinder; .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/lang/InterruptedException; } .end annotation iget-boolean v0, p0, Lcom/glu/plugins/gluanalytics/util/GoogleAdvertisingIDUtil$GoogleAdvertisingServiceConnection;->mConsumed:Z if-nez v0, :cond_0 const/4 v0, 0x1 iput-boolean v0, p0, Lcom/glu/plugins/gluanalytics/util/GoogleAdvertisingIDUtil$GoogleAdvertisingServiceConnection;->mConsumed:Z iget-object v0, p0, Lcom/glu/plugins/gluanalytics/util/GoogleAdvertisingIDUtil$GoogleAdvertisingServiceConnection;->mBinderQueue:Ljava/util/concurrent/BlockingQueue; .line 189 invoke-interface {v0}, Ljava/util/concurrent/BlockingQueue;->take()Ljava/lang/Object; move-result-object v0 check-cast v0, Landroid/os/IBinder; return-object v0 .line 186 :cond_0 new-instance v0, Ljava/lang/IllegalStateException; invoke-direct {v0}, Ljava/lang/IllegalStateException;->()V throw v0 .end method .method public onServiceConnected(Landroid/content/ComponentName;Landroid/os/IBinder;)V .locals 0 :try_start_0 iget-object p1, p0, Lcom/glu/plugins/gluanalytics/util/GoogleAdvertisingIDUtil$GoogleAdvertisingServiceConnection;->mBinderQueue:Ljava/util/concurrent/BlockingQueue; .line 173 invoke-interface {p1, p2}, Ljava/util/concurrent/BlockingQueue;->put(Ljava/lang/Object;)V :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 :catchall_0 return-void .end method .method public onServiceDisconnected(Landroid/content/ComponentName;)V .locals 0 return-void .end method