r.smali
.class public final Lsg/bigo/live/support64/ipc/r;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field private static a:Lsg/bigo/live/support64/b/k;
.field private static b:Landroid/os/Handler;
# direct methods
.method static constructor <clinit>()V
.registers 2
.line 33
invoke-static {}, Lsg/bigo/live/support64/b/k;->a()Lsg/bigo/live/support64/b/k;
move-result-object v0
sput-object v0, Lsg/bigo/live/support64/ipc/r;->a:Lsg/bigo/live/support64/b/k;
.line 35
new-instance v0, Landroid/os/Handler;
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
move-result-object v1
invoke-direct {v0, v1}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
sput-object v0, Lsg/bigo/live/support64/ipc/r;->b:Landroid/os/Handler;
return-void
.end method
.method public constructor <init>()V
.registers 1
.line 29
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static a(JJLjava/lang/String;)I
.registers 12
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 318
invoke-static {}, Lsg/bigo/live/support64/ipc/r;->f()Lsg/bigo/live/support64/ipc/IRoomSessionManager;
move-result-object v0
const/4 v6, 0x1
if-nez v0, :cond_8
return v6
:cond_8
move-wide v1, p0
move-wide v3, p2
move-object v5, p4
.line 323
:try_start_b
invoke-interface/range {v0 .. v5}, Lsg/bigo/live/support64/ipc/IRoomSessionManager;->a(JJLjava/lang/String;)I
:try_end_e
.catch Landroid/os/RemoteException; {:try_start_b .. :try_end_e} :catch_10
const/4 p0, 0x0
return p0
:catch_10
return v6
.end method
.method public static a(J)J
.registers 2
return-wide p0
.end method
.method public static a()Lsg/bigo/live/support64/ipc/m;
.registers 2
const/4 v0, 0x0
.line 481
:try_start_1
invoke-static {}, Lsg/bigo/live/support64/ipc/r;->f()Lsg/bigo/live/support64/ipc/IRoomSessionManager;
move-result-object v1
:try_end_5
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_5} :catch_6
goto :goto_7
:catch_6
move-object v1, v0
:goto_7
if-nez v1, :cond_a
return-object v0
.line 491
:cond_a
:try_start_a
invoke-interface {v1}, Lsg/bigo/live/support64/ipc/IRoomSessionManager;->c()Lsg/bigo/live/support64/ipc/m;
move-result-object v0
:try_end_e
.catch Landroid/os/RemoteException; {:try_start_a .. :try_end_e} :catch_e
:catch_e
return-object v0
.end method
.method public static a(ILsg/bigo/live/support64/ipc/e;)V
.registers 4
.line 464
:try_start_0
invoke-static {}, Lsg/bigo/live/support64/ipc/r;->f()Lsg/bigo/live/support64/ipc/IRoomSessionManager;
move-result-object v0
:try_end_4
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_4} :catch_5
goto :goto_6
:catch_5
const/4 v0, 0x0
:goto_6
if-nez v0, :cond_9
return-void
.line 472
:cond_9
:try_start_9
new-instance v1, Lsg/bigo/live/support64/ipc/b;
invoke-direct {v1, p1}, Lsg/bigo/live/support64/ipc/b;-><init>(Lsg/bigo/live/support64/ipc/e;)V
invoke-interface {v0, p0, v1}, Lsg/bigo/live/support64/ipc/IRoomSessionManager;->a(ILsg/bigo/live/support64/ipc/e;)V
:try_end_11
.catch Landroid/os/RemoteException; {:try_start_9 .. :try_end_11} :catch_11
:catch_11
return-void
.end method
.method public static a(JLjava/lang/String;ILsg/bigo/live/support64/ipc/c;)V
.registers 12
.line 358
:try_start_0
invoke-static {}, Lsg/bigo/live/support64/ipc/r;->f()Lsg/bigo/live/support64/ipc/IRoomSessionManager;
move-result-object v0
:try_end_4
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_4} :catch_6
:goto_4
move-object v1, v0
goto :goto_10
:catch_6
move-exception v0
const-string v1, "RoomSessionLet"
const-string v2, "checkCanLive failed"
.line 360
invoke-static {v1, v2, v0}, Lsg/bigo/log/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
const/4 v0, 0x0
goto :goto_4
:goto_10
if-nez v1, :cond_13
return-void
.line 367
:cond_13
:try_start_13
new-instance v6, Lsg/bigo/live/support64/ipc/a;
invoke-direct {v6, p4}, Lsg/bigo/live/support64/ipc/a;-><init>(Lsg/bigo/live/support64/ipc/c;)V
move-wide v2, p0
move-object v4, p2
move v5, p3
invoke-interface/range {v1 .. v6}, Lsg/bigo/live/support64/ipc/IRoomSessionManager;->a(JLjava/lang/String;ILsg/bigo/live/support64/ipc/c;)V
:try_end_1e
.catch Landroid/os/RemoteException; {:try_start_13 .. :try_end_1e} :catch_1e
:catch_1e
return-void
.end method
.method public static a(JLsg/bigo/live/support64/ipc/j;)V
.registers 5
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 332
invoke-static {}, Lsg/bigo/live/support64/ipc/r;->f()Lsg/bigo/live/support64/ipc/IRoomSessionManager;
move-result-object v0
if-nez v0, :cond_b
const/4 p0, 0x1
.line 335
:try_start_7
invoke-interface {p2, p0}, Lsg/bigo/live/support64/ipc/j;->a(I)V
:try_end_a
.catch Landroid/os/RemoteException; {:try_start_7 .. :try_end_a} :catch_a
:catch_a
return-void
.line 343
:cond_b
:try_start_b
new-instance v1, Lsg/bigo/live/support64/ipc/q;
invoke-direct {v1, p2}, Lsg/bigo/live/support64/ipc/q;-><init>(Lsg/bigo/live/support64/ipc/j;)V
invoke-interface {v0, p0, p1, v1}, Lsg/bigo/live/support64/ipc/IRoomSessionManager;->a(JLsg/bigo/live/support64/ipc/j;)V
:try_end_13
.catch Landroid/os/RemoteException; {:try_start_b .. :try_end_13} :catch_13
:catch_13
return-void
.end method
.method public static a(JZLjava/lang/String;Z)V
.registers 11
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 274
invoke-static {}, Lsg/bigo/live/support64/ipc/r;->f()Lsg/bigo/live/support64/ipc/IRoomSessionManager;
move-result-object v0
if-nez v0, :cond_7
return-void
:cond_7
move-wide v1, p0
move v3, p2
move-object v4, p3
move v5, p4
.line 280
:try_start_b
invoke-interface/range {v0 .. v5}, Lsg/bigo/live/support64/ipc/IRoomSessionManager;->a(JZLjava/lang/String;Z)V
:try_end_e
.catch Landroid/os/RemoteException; {:try_start_b .. :try_end_e} :catch_e
:catch_e
return-void
.end method
.method public static a(Lsg/bigo/live/support64/ipc/RoomLoginInfo;)V
.registers 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 235
invoke-static {}, Lsg/bigo/live/support64/ipc/r;->f()Lsg/bigo/live/support64/ipc/IRoomSessionManager;
move-result-object v0
if-nez v0, :cond_7
return-void
.line 241
:cond_7
:try_start_7
invoke-interface {v0, p0}, Lsg/bigo/live/support64/ipc/IRoomSessionManager;->a(Lsg/bigo/live/support64/ipc/RoomLoginInfo;)V
:try_end_a
.catch Landroid/os/RemoteException; {:try_start_7 .. :try_end_a} :catch_a
:catch_a
return-void
.end method
.method public static a(Lsg/bigo/live/support64/ipc/g;)V
.registers 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 222
invoke-static {}, Lsg/bigo/live/support64/ipc/r;->f()Lsg/bigo/live/support64/ipc/IRoomSessionManager;
move-result-object v0
if-nez v0, :cond_7
return-void
.line 228
:cond_7
:try_start_7
new-instance v1, Lsg/bigo/live/support64/ipc/o;
invoke-direct {v1, p0}, Lsg/bigo/live/support64/ipc/o;-><init>(Lsg/bigo/live/support64/ipc/g;)V
invoke-interface {v0, v1}, Lsg/bigo/live/support64/ipc/IRoomSessionManager;->a(Lsg/bigo/live/support64/ipc/g;)V
:try_end_f
.catch Landroid/os/RemoteException; {:try_start_7 .. :try_end_f} :catch_f
:catch_f
return-void
.end method
.method public static a(Lsg/bigo/live/support64/ipc/k;)V
.registers 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 64
invoke-static {}, Lsg/bigo/live/support64/ipc/r;->f()Lsg/bigo/live/support64/ipc/IRoomSessionManager;
move-result-object v0
if-nez v0, :cond_e
.line 66
sget-object p0, Lsg/bigo/live/support64/s;->f:Ljava/lang/String;
const-string v0, "setRoomSessionListener error: mgr=null"
invoke-static {p0, v0}, Lsg/bigo/log/TraceLog;->i(Ljava/lang/String;Ljava/lang/String;)I
return-void
.line 71
:cond_e
:try_start_e
new-instance v1, Lsg/bigo/live/support64/ipc/r$1;
invoke-direct {v1, p0}, Lsg/bigo/live/support64/ipc/r$1;-><init>(Lsg/bigo/live/support64/ipc/k;)V
invoke-interface {v0, v1}, Lsg/bigo/live/support64/ipc/IRoomSessionManager;->a(Lsg/bigo/live/support64/ipc/k;)V
:try_end_16
.catch Landroid/os/RemoteException; {:try_start_e .. :try_end_16} :catch_17
return-void
.line 217
:catch_17
sget-object p0, Lsg/bigo/live/support64/s;->f:Ljava/lang/String;
const-string v0, "setRoomSessionListener error: catch exception."
invoke-static {p0, v0}, Lsg/bigo/log/TraceLog;->i(Ljava/lang/String;Ljava/lang/String;)I
return-void
.end method
.method public static a(Z)V
.registers 4
.line 584
:try_start_0
invoke-static {}, Lsg/bigo/live/support64/ipc/r;->f()Lsg/bigo/live/support64/ipc/IRoomSessionManager;
move-result-object v0
:try_end_4
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_4} :catch_5
goto :goto_e
:catch_5
move-exception v0
const-string v1, "RoomSessionLet"
const-string v2, "setMediaDirectorEnable failed"
.line 586
invoke-static {v1, v2, v0}, Lsg/bigo/log/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
const/4 v0, 0x0
:goto_e
if-nez v0, :cond_11
return-void
.line 593
:cond_11
:try_start_11
invoke-interface {v0, p0}, Lsg/bigo/live/support64/ipc/IRoomSessionManager;->a(Z)V
:try_end_14
.catch Landroid/os/RemoteException; {:try_start_11 .. :try_end_14} :catch_14
:catch_14
return-void
.end method
.method public static a([J)Z
.registers 4
.line 376
:try_start_0
invoke-static {}, Lsg/bigo/live/support64/ipc/r;->f()Lsg/bigo/live/support64/ipc/IRoomSessionManager;
move-result-object v0
:try_end_4
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_4} :catch_5
goto :goto_e
:catch_5
move-exception v0
const-string v1, "RoomSessionLet"
const-string v2, "forbidRoomUserTextChat failed"
.line 378
invoke-static {v1, v2, v0}, Lsg/bigo/log/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
const/4 v0, 0x0
:goto_e
const/4 v1, 0x0
if-nez v0, :cond_12
return v1
.line 385
:cond_12
:try_start_12
invoke-interface {v0, p0}, Lsg/bigo/live/support64/ipc/IRoomSessionManager;->a([J)V
:try_end_15
.catch Landroid/os/RemoteException; {:try_start_12 .. :try_end_15} :catch_17
const/4 p0, 0x1
return p0
:catch_17
return v1
.end method
.method public static b()Ljava/lang/String;
.registers 2
.line 501
:try_start_0
invoke-static {}, Lsg/bigo/live/support64/ipc/r;->f()Lsg/bigo/live/support64/ipc/IRoomSessionManager;
move-result-object v0
:try_end_4
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_4} :catch_5
goto :goto_6
:catch_5
const/4 v0, 0x0
:goto_6
const-string v1, ""
if-nez v0, :cond_b
return-object v1
.line 511
:cond_b
:try_start_b
invoke-interface {v0}, Lsg/bigo/live/support64/ipc/IRoomSessionManager;->c()Lsg/bigo/live/support64/ipc/m;
move-result-object v0
invoke-interface {v0}, Lsg/bigo/live/support64/ipc/m;->d()Ljava/lang/String;
move-result-object v0
:try_end_13
.catch Landroid/os/RemoteException; {:try_start_b .. :try_end_13} :catch_14
return-object v0
:catch_14
return-object v1
.end method
.method public static b(J)V
.registers 5
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 261
invoke-static {}, Lsg/bigo/live/support64/ipc/r;->f()Lsg/bigo/live/support64/ipc/IRoomSessionManager;
move-result-object v0
if-nez v0, :cond_7
return-void
:cond_7
const-wide/16 v1, 0x0
.line 267
:try_start_9
invoke-interface {v0, p0, p1, v1, v2}, Lsg/bigo/live/support64/ipc/IRoomSessionManager;->a(JJ)V
:try_end_c
.catch Landroid/os/RemoteException; {:try_start_9 .. :try_end_c} :catch_c
:catch_c
return-void
.end method
.method public static b(Z)V
.registers 2
.line 602
:try_start_0
invoke-static {}, Lsg/bigo/live/support64/ipc/r;->f()Lsg/bigo/live/support64/ipc/IRoomSessionManager;
move-result-object v0
:try_end_4
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_4} :catch_5
goto :goto_6
:catch_5
const/4 v0, 0x0
:goto_6
if-nez v0, :cond_9
return-void
.line 612
:cond_9
:try_start_9
invoke-interface {v0, p0}, Lsg/bigo/live/support64/ipc/IRoomSessionManager;->b(Z)V
:try_end_c
.catch Landroid/os/RemoteException; {:try_start_9 .. :try_end_c} :catch_c
:catch_c
return-void
.end method
.method public static c(J)V
.registers 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 292
invoke-static {}, Lsg/bigo/live/support64/ipc/r;->f()Lsg/bigo/live/support64/ipc/IRoomSessionManager;
move-result-object v0
if-nez v0, :cond_7
return-void
:cond_7
const/4 v1, 0x0
.line 298
:try_start_8
invoke-interface {v0, p0, p1, v1}, Lsg/bigo/live/support64/ipc/IRoomSessionManager;->a(JZ)V
:try_end_b
.catch Landroid/os/RemoteException; {:try_start_8 .. :try_end_b} :catch_b
:catch_b
return-void
.end method
.method public static c()Z
.registers 3
.line 564
:try_start_0
invoke-static {}, Lsg/bigo/live/support64/ipc/r;->f()Lsg/bigo/live/support64/ipc/IRoomSessionManager;
move-result-object v0
:try_end_4
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_4} :catch_5
goto :goto_e
:catch_5
move-exception v0
const-string v1, "RoomSessionLet"
const-string v2, "fetchMediaDirector failed"
.line 566
invoke-static {v1, v2, v0}, Lsg/bigo/log/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
const/4 v0, 0x0
:goto_e
const/4 v1, 0x0
if-nez v0, :cond_12
return v1
.line 573
:cond_12
:try_start_12
invoke-interface {v0}, Lsg/bigo/live/support64/ipc/IRoomSessionManager;->b()V
:try_end_15
.catch Landroid/os/RemoteException; {:try_start_12 .. :try_end_15} :catch_17
const/4 v0, 0x1
return v0
:catch_17
return v1
.end method
.method static synthetic d()Landroid/os/Handler;
.registers 1
.line 29
sget-object v0, Lsg/bigo/live/support64/ipc/r;->b:Landroid/os/Handler;
return-object v0
.end method
.method public static d(J)V
.registers 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 305
invoke-static {}, Lsg/bigo/live/support64/ipc/r;->f()Lsg/bigo/live/support64/ipc/IRoomSessionManager;
move-result-object v0
if-nez v0, :cond_7
return-void
.line 311
:cond_7
:try_start_7
invoke-interface {v0, p0, p1}, Lsg/bigo/live/support64/ipc/IRoomSessionManager;->a(J)V
:try_end_a
.catch Landroid/os/RemoteException; {:try_start_7 .. :try_end_a} :catch_a
:catch_a
return-void
.end method
.method static synthetic e()Lsg/bigo/live/support64/b/k;
.registers 1
.line 29
sget-object v0, Lsg/bigo/live/support64/ipc/r;->a:Lsg/bigo/live/support64/b/k;
return-object v0
.end method
.method public static e(J)V
.registers 4
.line 413
:try_start_0
invoke-static {}, Lsg/bigo/live/support64/ipc/r;->f()Lsg/bigo/live/support64/ipc/IRoomSessionManager;
move-result-object v0
:try_end_4
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_4} :catch_5
goto :goto_6
:catch_5
const/4 v0, 0x0
:goto_6
if-nez v0, :cond_9
return-void
:cond_9
const/16 v1, 0x2710
.line 421
:try_start_b
invoke-interface {v0, p0, p1, v1}, Lsg/bigo/live/support64/ipc/IRoomSessionManager;->a(JI)V
:try_end_e
.catch Landroid/os/RemoteException; {:try_start_b .. :try_end_e} :catch_e
:catch_e
return-void
.end method
.method private static f()Lsg/bigo/live/support64/ipc/IRoomSessionManager;
.registers 1
.line 42
const-class v0, Lsg/bigo/live/support64/ipc/IRoomSessionManager;
invoke-static {v0}, Lsg/bigo/live/support64/t;->a(Ljava/lang/Class;)Landroid/os/IInterface;
move-result-object v0
check-cast v0, Lsg/bigo/live/support64/ipc/IRoomSessionManager;
return-object v0
.end method
.method public static f(J)V
.registers 4
.line 430
:try_start_0
invoke-static {}, Lsg/bigo/live/support64/ipc/r;->f()Lsg/bigo/live/support64/ipc/IRoomSessionManager;
move-result-object v0
:try_end_4
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_4} :catch_5
goto :goto_6
:catch_5
const/4 v0, 0x0
:goto_6
if-nez v0, :cond_9
return-void
:cond_9
const/16 v1, 0x2710
.line 438
:try_start_b
invoke-interface {v0, p0, p1, v1}, Lsg/bigo/live/support64/ipc/IRoomSessionManager;->b(JI)V
:try_end_e
.catch Landroid/os/RemoteException; {:try_start_b .. :try_end_e} :catch_e
:catch_e
return-void
.end method