c.smali

.class public final Lsg/bigo/live/support64/controllers/micconnect/ipc/c;
.super Ljava/lang/Object;
.source "SourceFile"


# static fields
.field private static a:Landroid/os/Handler;


# direct methods
.method static constructor <clinit>()V
    .registers 2

    .line 26
    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/controllers/micconnect/ipc/c;->a:Landroid/os/Handler;

    return-void
.end method

.method public constructor <init>()V
    .registers 1

    .line 23
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static a(I)I
    .registers 3

    .line 467
    :try_start_0
    invoke-static {}, Lsg/bigo/live/support64/controllers/micconnect/ipc/c;->c()Lsg/bigo/live/support64/controllers/micconnect/ipc/IMicconnectManager;

    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/4 v1, 0x0

    if-nez v0, :cond_a

    return v1

    .line 475
    :cond_a
    :try_start_a
    invoke-interface {v0, p0}, Lsg/bigo/live/support64/controllers/micconnect/ipc/IMicconnectManager;->a(I)I

    move-result p0
    :try_end_e
    .catch Landroid/os/RemoteException; {:try_start_a .. :try_end_e} :catch_f

    return p0

    :catch_f
    return v1
.end method

.method public static a()V
    .registers 1

    .line 449
    :try_start_0
    invoke-static {}, Lsg/bigo/live/support64/controllers/micconnect/ipc/c;->c()Lsg/bigo/live/support64/controllers/micconnect/ipc/IMicconnectManager;

    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 457
    :cond_9
    :try_start_9
    invoke-interface {v0}, Lsg/bigo/live/support64/controllers/micconnect/ipc/IMicconnectManager;->a()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 a(II)V
    .registers 3

    .line 86
    :try_start_0
    invoke-static {}, Lsg/bigo/live/support64/controllers/micconnect/ipc/c;->c()Lsg/bigo/live/support64/controllers/micconnect/ipc/IMicconnectManager;

    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 94
    :cond_9
    :try_start_9
    invoke-interface {v0, p0, p1}, Lsg/bigo/live/support64/controllers/micconnect/ipc/IMicconnectManager;->a(II)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 a(IJI)V
    .registers 6

    .line 119
    new-instance v0, Ljava/lang/Throwable;

    invoke-direct {v0}, Ljava/lang/Throwable;-><init>()V

    invoke-static {v0}, Landroid/util/Log;->getStackTraceString(Ljava/lang/Throwable;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "MicconnectLet"

    invoke-static {v1, v0}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 122
    :try_start_e
    invoke-static {}, Lsg/bigo/live/support64/controllers/micconnect/ipc/c;->c()Lsg/bigo/live/support64/controllers/micconnect/ipc/IMicconnectManager;

    move-result-object v0
    :try_end_12
    .catch Ljava/lang/Exception; {:try_start_e .. :try_end_12} :catch_13

    goto :goto_14

    :catch_13
    const/4 v0, 0x0

    :goto_14
    if-nez v0, :cond_17

    return-void

    :cond_17
    int-to-byte p3, p3

    .line 130
    :try_start_18
    invoke-interface {v0, p0, p1, p2, p3}, Lsg/bigo/live/support64/controllers/micconnect/ipc/IMicconnectManager;->a(IJB)V
    :try_end_1b
    .catch Landroid/os/RemoteException; {:try_start_18 .. :try_end_1b} :catch_1b

    :catch_1b
    return-void
.end method

.method public static a(IJJ)V
    .registers 12

    .line 69
    :try_start_0
    invoke-static {}, Lsg/bigo/live/support64/controllers/micconnect/ipc/c;->c()Lsg/bigo/live/support64/controllers/micconnect/ipc/IMicconnectManager;

    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_8

    :catch_6
    const/4 v0, 0x0

    goto :goto_4

    :goto_8
    if-nez v1, :cond_b

    return-void

    :cond_b
    move v2, p0

    move-wide v3, p1

    move-wide v5, p3

    .line 77
    :try_start_e
    invoke-interface/range {v1 .. v6}, Lsg/bigo/live/support64/controllers/micconnect/ipc/IMicconnectManager;->a(IJJ)V
    :try_end_11
    .catch Landroid/os/RemoteException; {:try_start_e .. :try_end_11} :catch_11

    :catch_11
    return-void
.end method

.method public static a(IJJLsg/bigo/live/support64/ipc/f;)V
    .registers 14

    .line 52
    :try_start_0
    invoke-static {}, Lsg/bigo/live/support64/controllers/micconnect/ipc/c;->c()Lsg/bigo/live/support64/controllers/micconnect/ipc/IMicconnectManager;

    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_8

    :catch_6
    const/4 v0, 0x0

    goto :goto_4

    :goto_8
    if-nez v1, :cond_b

    return-void

    .line 60
    :cond_b
    :try_start_b
    new-instance v7, Lsg/bigo/live/support64/ipc/n;

    invoke-direct {v7, p5}, Lsg/bigo/live/support64/ipc/n;-><init>(Lsg/bigo/live/support64/ipc/f;)V

    move v2, p0

    move-wide v3, p1

    move-wide v5, p3

    invoke-interface/range {v1 .. v7}, Lsg/bigo/live/support64/controllers/micconnect/ipc/IMicconnectManager;->a(IJJLsg/bigo/live/support64/ipc/f;)V
    :try_end_16
    .catch Landroid/os/RemoteException; {:try_start_b .. :try_end_16} :catch_16

    :catch_16
    return-void
.end method

.method public static a(ILsg/bigo/live/support64/controllers/micconnect/MicconnectInfo;)V
    .registers 3

    .line 361
    :try_start_0
    invoke-static {}, Lsg/bigo/live/support64/controllers/micconnect/ipc/c;->c()Lsg/bigo/live/support64/controllers/micconnect/ipc/IMicconnectManager;

    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 369
    :cond_9
    :try_start_9
    invoke-interface {v0, p0, p1}, Lsg/bigo/live/support64/controllers/micconnect/ipc/IMicconnectManager;->a(ILsg/bigo/live/support64/controllers/micconnect/MicconnectInfo;)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 a(IZ)V
    .registers 3

    .line 104
    :try_start_0
    invoke-static {}, Lsg/bigo/live/support64/controllers/micconnect/ipc/c;->c()Lsg/bigo/live/support64/controllers/micconnect/ipc/IMicconnectManager;

    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 112
    :cond_9
    :try_start_9
    invoke-interface {v0, p0, p1}, Lsg/bigo/live/support64/controllers/micconnect/ipc/IMicconnectManager;->a(IZ)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 a(JLsg/bigo/live/support64/ipc/f;)V
    .registers 5

    .line 378
    :try_start_0
    invoke-static {}, Lsg/bigo/live/support64/controllers/micconnect/ipc/c;->c()Lsg/bigo/live/support64/controllers/micconnect/ipc/IMicconnectManager;

    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 386
    :cond_9
    :try_start_9
    new-instance v1, Lsg/bigo/live/support64/ipc/n;

    invoke-direct {v1, p2}, Lsg/bigo/live/support64/ipc/n;-><init>(Lsg/bigo/live/support64/ipc/f;)V

    invoke-interface {v0, p0, p1, v1}, Lsg/bigo/live/support64/controllers/micconnect/ipc/IMicconnectManager;->a(JLsg/bigo/live/support64/ipc/f;)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(Lsg/bigo/live/support64/controllers/micconnect/ipc/a;)V
    .registers 4

    const-string v0, "MicconnectLet"

    const-string v1, "enter MicconnectLet setMicconnectListener"

    .line 137
    invoke-static {v0, v1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 140
    :try_start_7
    invoke-static {}, Lsg/bigo/live/support64/controllers/micconnect/ipc/c;->c()Lsg/bigo/live/support64/controllers/micconnect/ipc/IMicconnectManager;

    move-result-object v1
    :try_end_b
    .catch Ljava/lang/Exception; {:try_start_7 .. :try_end_b} :catch_c

    goto :goto_d

    :catch_c
    const/4 v1, 0x0

    :goto_d
    if-nez v1, :cond_15

    const-string p0, "setMicconnectListener but manager is Null."

    .line 145
    invoke-static {v0, p0}, Lsg/bigo/log/TraceLog;->e(Ljava/lang/String;Ljava/lang/String;)I

    return-void

    .line 149
    :cond_15
    :try_start_15
    new-instance v2, Lsg/bigo/live/support64/controllers/micconnect/ipc/c$1;

    invoke-direct {v2, p0}, Lsg/bigo/live/support64/controllers/micconnect/ipc/c$1;-><init>(Lsg/bigo/live/support64/controllers/micconnect/ipc/a;)V

    invoke-interface {v1, v2}, Lsg/bigo/live/support64/controllers/micconnect/ipc/IMicconnectManager;->a(Lsg/bigo/live/support64/controllers/micconnect/ipc/a;)V
    :try_end_1d
    .catch Landroid/os/RemoteException; {:try_start_15 .. :try_end_1d} :catch_1e

    goto :goto_24

    :catch_1e
    move-exception p0

    const-string v1, "MicconnectLet setMicconnectListener ==> "

    .line 353
    invoke-static {v0, v1, p0}, Lsg/bigo/log/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    :goto_24
    const-string p0, "exit MicconnectLet setMicconnectListener"

    .line 355
    invoke-static {v0, p0}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    return-void
.end method

.method public static a(SIJJIILsg/bigo/live/support64/ipc/h;)V
    .registers 20

    .line 35
    :try_start_0
    invoke-static {}, Lsg/bigo/live/support64/controllers/micconnect/ipc/c;->c()Lsg/bigo/live/support64/controllers/micconnect/ipc/IMicconnectManager;

    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_8

    :catch_6
    const/4 v0, 0x0

    goto :goto_4

    :goto_8
    if-nez v1, :cond_b

    return-void

    .line 43
    :cond_b
    :try_start_b
    new-instance v10, Lsg/bigo/live/support64/ipc/p;

    move-object/from16 v0, p8

    invoke-direct {v10, v0}, Lsg/bigo/live/support64/ipc/p;-><init>(Lsg/bigo/live/support64/ipc/h;)V

    move v2, p0

    move v3, p1

    move-wide v4, p2

    move-wide v6, p4

    move/from16 v8, p6

    move/from16 v9, p7

    invoke-interface/range {v1 .. v10}, Lsg/bigo/live/support64/controllers/micconnect/ipc/IMicconnectManager;->a(IIJJIILsg/bigo/live/support64/ipc/h;)V
    :try_end_1d
    .catch Landroid/os/RemoteException; {:try_start_b .. :try_end_1d} :catch_1d

    :catch_1d
    return-void
.end method

.method static synthetic b()Landroid/os/Handler;
    .registers 1

    .line 23
    sget-object v0, Lsg/bigo/live/support64/controllers/micconnect/ipc/c;->a:Landroid/os/Handler;

    return-object v0
.end method

.method public static b(JLsg/bigo/live/support64/ipc/f;)V
    .registers 5

    .line 395
    :try_start_0
    invoke-static {}, Lsg/bigo/live/support64/controllers/micconnect/ipc/c;->c()Lsg/bigo/live/support64/controllers/micconnect/ipc/IMicconnectManager;

    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 403
    :cond_9
    :try_start_9
    new-instance v1, Lsg/bigo/live/support64/ipc/n;

    invoke-direct {v1, p2}, Lsg/bigo/live/support64/ipc/n;-><init>(Lsg/bigo/live/support64/ipc/f;)V

    invoke-interface {v0, p0, p1}, Lsg/bigo/live/support64/controllers/micconnect/ipc/IMicconnectManager;->a(J)V
    :try_end_11
    .catch Landroid/os/RemoteException; {:try_start_9 .. :try_end_11} :catch_11

    :catch_11
    return-void
.end method

.method private static c()Lsg/bigo/live/support64/controllers/micconnect/ipc/IMicconnectManager;
    .registers 1

    .line 29
    const-class v0, Lsg/bigo/live/support64/controllers/micconnect/ipc/IMicconnectManager;

    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/controllers/micconnect/ipc/IMicconnectManager;

    return-object v0
.end method