.class public Le/a$a; .super Ljava/lang/Object; .source "HoldingConnectionClient.java" # interfaces .implements Landroid/content/ServiceConnection; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Le/a; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x1 name = "a" .end annotation # instance fields .field public final a:Ljava/util/concurrent/BlockingQueue; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/concurrent/BlockingQueue<", "Landroid/os/IBinder;", ">;" } .end annotation .end field .field public final synthetic b:Le/a; # direct methods .method public constructor (Le/a;)V .locals 0 .line 1 iput-object p1, p0, Le/a$a;->b:Le/a; invoke-direct {p0}, Ljava/lang/Object;->()V .line 2 new-instance p1, Ljava/util/concurrent/LinkedBlockingQueue; invoke-direct {p1}, Ljava/util/concurrent/LinkedBlockingQueue;->()V iput-object p1, p0, Le/a$a;->a:Ljava/util/concurrent/BlockingQueue; return-void .end method # virtual methods .method public a()Landroid/os/IBinder; .locals 4 .annotation build Landroidx/annotation/NonNull; .end annotation .annotation build Landroidx/annotation/WorkerThread; .end annotation .annotation system Ldalvik/annotation/Throws; value = { Ljava/lang/InterruptedException;, Ljava/util/concurrent/TimeoutException; } .end annotation .line 1 iget-object v0, p0, Le/a$a;->a:Ljava/util/concurrent/BlockingQueue; sget-object v1, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit; const-wide/16 v2, 0xa .line 2 invoke-interface {v0, v2, v3, v1}, Ljava/util/concurrent/BlockingQueue;->poll(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; move-result-object v0 check-cast v0, Landroid/os/IBinder; if-eqz v0, :cond_0 return-object v0 .line 3 :cond_0 new-instance v0, Ljava/util/concurrent/TimeoutException; const-string v1, "Timed out waiting for the service connection" invoke-direct {v0, v1}, Ljava/util/concurrent/TimeoutException;->(Ljava/lang/String;)V throw v0 .end method .method public onServiceConnected(Landroid/content/ComponentName;Landroid/os/IBinder;)V .locals 0 .line 1 iget-object p1, p0, Le/a$a;->a:Ljava/util/concurrent/BlockingQueue; invoke-interface {p1, p2}, Ljava/util/concurrent/BlockingQueue;->add(Ljava/lang/Object;)Z return-void .end method .method public onServiceDisconnected(Landroid/content/ComponentName;)V .locals 0 .line 1 iget-object p1, p0, Le/a$a;->b:Le/a; invoke-virtual {p1}, Le/a;->b()V return-void .end method