166 lines
4.7 KiB
Smali
166 lines
4.7 KiB
Smali
.class public final Lcom/discord/utilities/voice/VoiceEngineForegroundService$Connection;
|
|
.super Ljava/lang/Object;
|
|
.source "VoiceEngineForegroundService.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/utilities/voice/VoiceEngineForegroundService;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "Connection"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final connection:Landroid/content/ServiceConnection;
|
|
|
|
.field public final context:Landroid/content/Context;
|
|
|
|
.field public isServiceBound:Z
|
|
|
|
.field public isUnbinding:Z
|
|
|
|
.field public service:Lcom/discord/utilities/voice/VoiceEngineForegroundService;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/discord/utilities/voice/VoiceEngineForegroundService$Connection;->context:Landroid/content/Context;
|
|
|
|
new-instance p1, Lcom/discord/utilities/voice/VoiceEngineForegroundService$Connection$connection$1;
|
|
|
|
invoke-direct {p1, p0}, Lcom/discord/utilities/voice/VoiceEngineForegroundService$Connection$connection$1;-><init>(Lcom/discord/utilities/voice/VoiceEngineForegroundService$Connection;)V
|
|
|
|
iput-object p1, p0, Lcom/discord/utilities/voice/VoiceEngineForegroundService$Connection;->connection:Landroid/content/ServiceConnection;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "context"
|
|
|
|
invoke-static {p1}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public static final synthetic access$getService$p(Lcom/discord/utilities/voice/VoiceEngineForegroundService$Connection;)Lcom/discord/utilities/voice/VoiceEngineForegroundService;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lcom/discord/utilities/voice/VoiceEngineForegroundService$Connection;->service:Lcom/discord/utilities/voice/VoiceEngineForegroundService;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$isServiceBound$p(Lcom/discord/utilities/voice/VoiceEngineForegroundService$Connection;)Z
|
|
.locals 0
|
|
|
|
iget-boolean p0, p0, Lcom/discord/utilities/voice/VoiceEngineForegroundService$Connection;->isServiceBound:Z
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$setService$p(Lcom/discord/utilities/voice/VoiceEngineForegroundService$Connection;Lcom/discord/utilities/voice/VoiceEngineForegroundService;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/utilities/voice/VoiceEngineForegroundService$Connection;->service:Lcom/discord/utilities/voice/VoiceEngineForegroundService;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic access$setServiceBound$p(Lcom/discord/utilities/voice/VoiceEngineForegroundService$Connection;Z)V
|
|
.locals 0
|
|
|
|
iput-boolean p1, p0, Lcom/discord/utilities/voice/VoiceEngineForegroundService$Connection;->isServiceBound:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getConnection()Landroid/content/ServiceConnection;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/utilities/voice/VoiceEngineForegroundService$Connection;->connection:Landroid/content/ServiceConnection;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getContext()Landroid/content/Context;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/utilities/voice/VoiceEngineForegroundService$Connection;->context:Landroid/content/Context;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getService()Lcom/discord/utilities/voice/VoiceEngineForegroundService;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/utilities/voice/VoiceEngineForegroundService$Connection;->service:Lcom/discord/utilities/voice/VoiceEngineForegroundService;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final isServiceBound()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/utilities/voice/VoiceEngineForegroundService$Connection;->isServiceBound:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final declared-synchronized isUnbinding()Z
|
|
.locals 1
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
iget-boolean v0, p0, Lcom/discord/utilities/voice/VoiceEngineForegroundService$Connection;->isUnbinding:Z
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
monitor-exit p0
|
|
|
|
return v0
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
monitor-exit p0
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final declared-synchronized setUnbinding(Z)V
|
|
.locals 0
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
iput-boolean p1, p0, Lcom/discord/utilities/voice/VoiceEngineForegroundService$Connection;->isUnbinding:Z
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
monitor-exit p0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
monitor-exit p0
|
|
|
|
throw p1
|
|
.end method
|