i.smali
.class public Lcom/iflytek/thirdparty/i;
.super Lcom/iflytek/thirdparty/k;
.source "SourceFile"
# interfaces
.implements Lcom/iflytek/thirdparty/m$a;
.implements Lcom/iflytek/thirdparty/m$b;
# instance fields
.field private final A:Ljava/lang/String;
.field private final B:Ljava/lang/String;
.field private final C:Ljava/lang/String;
.field private final D:Ljava/lang/String;
.field private E:I
.field private F:Lcom/iflytek/thirdparty/m;
.field private final G:I
.field private final w:Ljava/lang/String;
.field private final x:I
.field private final y:I
.field private final z:Ljava/lang/String;
# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/iflytek/thirdparty/ad;Landroid/os/HandlerThread;)V
.registers 8
.prologue
const/4 v3, 0x0
.line 45
invoke-direct {p0, p1, p2, p3}, Lcom/iflytek/thirdparty/k;-><init>(Landroid/content/Context;Lcom/iflytek/thirdparty/ad;Landroid/os/HandlerThread;)V
.line 28
const-string v0, "ivw_caller"
iput-object v0, p0, Lcom/iflytek/thirdparty/i;->w:Ljava/lang/String;
.line 30
const/16 v0, 0x16
iput v0, p0, Lcom/iflytek/thirdparty/i;->x:I
.line 31
const/16 v0, 0x17
iput v0, p0, Lcom/iflytek/thirdparty/i;->y:I
.line 33
const-string v0, "sid"
iput-object v0, p0, Lcom/iflytek/thirdparty/i;->z:Ljava/lang/String;
.line 34
const-string v0, "msg"
iput-object v0, p0, Lcom/iflytek/thirdparty/i;->A:Ljava/lang/String;
.line 35
const-string v0, "arg1"
iput-object v0, p0, Lcom/iflytek/thirdparty/i;->B:Ljava/lang/String;
.line 36
const-string v0, "arg2"
iput-object v0, p0, Lcom/iflytek/thirdparty/i;->C:Ljava/lang/String;
.line 37
const-string v0, "result"
iput-object v0, p0, Lcom/iflytek/thirdparty/i;->D:Ljava/lang/String;
.line 39
iput v3, p0, Lcom/iflytek/thirdparty/i;->E:I
.line 41
const/4 v0, 0x0
iput-object v0, p0, Lcom/iflytek/thirdparty/i;->F:Lcom/iflytek/thirdparty/m;
.line 42
iput v3, p0, Lcom/iflytek/thirdparty/i;->G:I
.line 47
invoke-virtual {p0}, Lcom/iflytek/thirdparty/i;->getParam()Lcom/iflytek/thirdparty/ad;
move-result-object v0
const-string v1, "ivw_channel_num"
invoke-virtual {v0, v1, v3}, Lcom/iflytek/thirdparty/ad;->a(Ljava/lang/String;I)I
move-result v0
iput v0, p0, Lcom/iflytek/thirdparty/i;->E:I
.line 48
invoke-virtual {p0}, Lcom/iflytek/thirdparty/i;->getParam()Lcom/iflytek/thirdparty/ad;
move-result-object v0
const-string v1, "ivw_caller"
const-string v2, "1"
invoke-virtual {v0, v1, v2, v3}, Lcom/iflytek/thirdparty/ad;->a(Ljava/lang/String;Ljava/lang/String;Z)V
.line 50
invoke-static {}, Lcom/iflytek/thirdparty/m;->a()Lcom/iflytek/thirdparty/m;
move-result-object v0
iput-object v0, p0, Lcom/iflytek/thirdparty/i;->F:Lcom/iflytek/thirdparty/m;
.line 51
iget-object v0, p0, Lcom/iflytek/thirdparty/i;->F:Lcom/iflytek/thirdparty/m;
if-nez v0, :cond_5c
.line 52
invoke-virtual {p0}, Lcom/iflytek/thirdparty/i;->getParam()Lcom/iflytek/thirdparty/ad;
move-result-object v0
const-string v1, "aimic_init_param"
invoke-virtual {v0, v1}, Lcom/iflytek/thirdparty/ad;->d(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lcom/iflytek/thirdparty/m;->a(Ljava/lang/String;)Lcom/iflytek/thirdparty/m;
move-result-object v0
iput-object v0, p0, Lcom/iflytek/thirdparty/i;->F:Lcom/iflytek/thirdparty/m;
.line 55
:cond_5c
iget-object v0, p0, Lcom/iflytek/thirdparty/i;->F:Lcom/iflytek/thirdparty/m;
if-eqz v0, :cond_6a
.line 56
iget-object v0, p0, Lcom/iflytek/thirdparty/i;->F:Lcom/iflytek/thirdparty/m;
invoke-virtual {v0, p0}, Lcom/iflytek/thirdparty/m;->a(Lcom/iflytek/thirdparty/m$b;)V
.line 57
iget-object v0, p0, Lcom/iflytek/thirdparty/i;->F:Lcom/iflytek/thirdparty/m;
invoke-virtual {v0, p0}, Lcom/iflytek/thirdparty/m;->a(Lcom/iflytek/thirdparty/m$a;)V
.line 59
:cond_6a
return-void
.end method
.method private a(Lcom/iflytek/cloud/SpeechError;)Lcom/iflytek/cloud/SpeechError;
.registers 7
.prologue
.line 326
const-string v0, "AIMicEnd enter"
invoke-static {v0}, Lcom/iflytek/cloud/msc/util/log/DebugLog;->LogD(Ljava/lang/String;)V
.line 328
iget-object v0, p0, Lcom/iflytek/thirdparty/i;->F:Lcom/iflytek/thirdparty/m;
if-eqz v0, :cond_39
.line 329
iget-object v0, p0, Lcom/iflytek/thirdparty/i;->F:Lcom/iflytek/thirdparty/m;
invoke-virtual {v0, p0}, Lcom/iflytek/thirdparty/m;->b(Lcom/iflytek/thirdparty/m$b;)V
.line 330
iget-object v0, p0, Lcom/iflytek/thirdparty/i;->F:Lcom/iflytek/thirdparty/m;
invoke-virtual {v0, p0}, Lcom/iflytek/thirdparty/m;->b(Lcom/iflytek/thirdparty/m$a;)V
.line 331
iget-object v0, p0, Lcom/iflytek/thirdparty/i;->F:Lcom/iflytek/thirdparty/m;
invoke-virtual {v0}, Lcom/iflytek/thirdparty/m;->e()V
.line 333
const/4 v1, 0x0
.line 336
:try_start_19
const-string v0, "success"
.line 337
iget-boolean v2, p0, Lcom/iflytek/thirdparty/i;->mUserCancel:Z
if-eqz v2, :cond_3f
.line 338
const-string v0, "user abort"
.line 343
:cond_21
:goto_21
iget-object v2, p0, Lcom/iflytek/thirdparty/i;->F:Lcom/iflytek/thirdparty/m;
const-string v3, "ivw_sse"
invoke-virtual {v2, v3, v0}, Lcom/iflytek/thirdparty/m;->a(Ljava/lang/String;Ljava/lang/String;)I
:try_end_28
.catch Ljava/lang/UnsatisfiedLinkError; {:try_start_19 .. :try_end_28} :catch_59
.catch Ljava/lang/Throwable; {:try_start_19 .. :try_end_28} :catch_60
move-result v0
.line 352
:goto_29
if-nez p1, :cond_39
if-nez v1, :cond_2f
if-eqz v0, :cond_39
.line 353
:cond_2f
const-string v2, "AIMicEnd error!"
invoke-static {v2}, Lcom/iflytek/cloud/msc/util/log/DebugLog;->LogE(Ljava/lang/String;)V
.line 354
new-instance p1, Lcom/iflytek/cloud/SpeechError;
invoke-direct {p1, v1, v0}, Lcom/iflytek/cloud/SpeechError;-><init>(Ljava/lang/Throwable;I)V
.line 358
:cond_39
const-string v0, "AIMicEnd leave"
invoke-static {v0}, Lcom/iflytek/cloud/msc/util/log/DebugLog;->LogD(Ljava/lang/String;)V
.line 359
return-object p1
.line 339
:cond_3f
if-eqz p1, :cond_21
.line 340
:try_start_41
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "error"
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {p1}, Lcom/iflytek/cloud/SpeechError;->getErrorCode()I
move-result v2
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
:try_end_57
.catch Ljava/lang/UnsatisfiedLinkError; {:try_start_41 .. :try_end_57} :catch_59
.catch Ljava/lang/Throwable; {:try_start_41 .. :try_end_57} :catch_60
move-result-object v0
goto :goto_21
.line 344
:catch_59
move-exception v0
.line 346
const/16 v1, 0x4e35
move v4, v1
move-object v1, v0
move v0, v4
.line 350
goto :goto_29
.line 347
:catch_60
move-exception v0
.line 349
const/16 v1, 0x5207
move v4, v1
move-object v1, v0
move v0, v4
goto :goto_29
.end method
.method private b(Lcom/iflytek/cloud/SpeechError;)V
.registers 2
.prologue
.line 378
invoke-virtual {p0, p1}, Lcom/iflytek/thirdparty/i;->exit(Lcom/iflytek/cloud/SpeechError;)V
.line 379
return-void
.end method
.method private c(Landroid/os/Message;)V
.registers 9
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/iflytek/cloud/SpeechError;,
Ljava/lang/Throwable;
}
.end annotation
.prologue
const/4 v6, 0x4
const/4 v5, 0x0
.line 81
const-string v0, "proc_Wakeup_Angle enter"
invoke-static {v0}, Lcom/iflytek/cloud/msc/util/log/DebugLog;->LogD(Ljava/lang/String;)V
.line 83
const/4 v1, 0x0
.line 84
iget-object v0, p0, Lcom/iflytek/thirdparty/i;->b:Lcom/iflytek/cloud/WakeuperListener;
if-eqz v0, :cond_be
.line 85
invoke-virtual {p1}, Landroid/os/Message;->peekData()Landroid/os/Bundle;
move-result-object v2
.line 86
const-string v0, "msg"
invoke-virtual {v2, v0}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I
move-result v0
.line 89
:try_start_16
invoke-static {}, Lcom/iflytek/thirdparty/k$a;->values()[Lcom/iflytek/thirdparty/k$a;
move-result-object v3
aget-object v0, v3, v0
:try_end_1c
.catch Ljava/lang/Throwable; {:try_start_16 .. :try_end_1c} :catch_4b
.line 95
:goto_1c
const-string v3, "arg1"
invoke-virtual {v2, v3}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I
move-result v3
.line 97
sget-object v4, Lcom/iflytek/thirdparty/i$1;->a:[I
invoke-virtual {v0}, Lcom/iflytek/thirdparty/k$a;->ordinal()I
move-result v0
aget v0, v4, v0
packed-switch v0, :pswitch_data_ce
:cond_2d
move-object v0, v1
.line 133
:goto_2e
if-eqz v0, :cond_cc
.line 134
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "wakeup msg error: "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v0}, Lcom/iflytek/cloud/SpeechError;->getErrorCode()I
move-result v2
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-static {v1}, Lcom/iflytek/cloud/msc/util/log/DebugLog;->LogE(Ljava/lang/String;)V
.line 135
throw v0
.line 90
:catch_4b
move-exception v3
.line 91
new-instance v3, Ljava/lang/StringBuilder;
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
const-string v4, "warn: unmatched ivw message: "
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v3
invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lcom/iflytek/cloud/msc/util/log/DebugLog;->LogE(Ljava/lang/String;)V
.line 92
sget-object v0, Lcom/iflytek/thirdparty/k$a;->a:Lcom/iflytek/thirdparty/k$a;
goto :goto_1c
.line 99
:pswitch_65
invoke-virtual {p0, v2}, Lcom/iflytek/thirdparty/i;->a(Landroid/os/Bundle;)V
move-object v0, v1
.line 100
goto :goto_2e
.line 102
:pswitch_6a
new-instance v0, Lcom/iflytek/cloud/SpeechError;
invoke-direct {v0, v3}, Lcom/iflytek/cloud/SpeechError;-><init>(I)V
goto :goto_2e
.line 105
:pswitch_70
const/4 v0, 0x1
const-string v4, "result"
invoke-virtual {v2, v4}, Landroid/os/Bundle;->getByteArray(Ljava/lang/String;)[B
move-result-object v2
invoke-virtual {p0, v6, v3, v0, v2}, Lcom/iflytek/thirdparty/i;->obtainMessage(IIILjava/lang/Object;)Landroid/os/Message;
move-result-object v2
.line 106
invoke-virtual {p0, v6}, Lcom/iflytek/thirdparty/i;->hasMessages(I)Z
move-result v0
if-eqz v0, :cond_88
sget-object v0, Lcom/iflytek/thirdparty/s$a;->b:Lcom/iflytek/thirdparty/s$a;
.line 107
:goto_83
invoke-virtual {p0, v2, v0, v5, v5}, Lcom/iflytek/thirdparty/i;->sendMsg(Landroid/os/Message;Lcom/iflytek/thirdparty/s$a;ZI)V
move-object v0, v1
.line 108
goto :goto_2e
.line 106
:cond_88
sget-object v0, Lcom/iflytek/thirdparty/s$a;->a:Lcom/iflytek/thirdparty/s$a;
goto :goto_83
.line 110
:pswitch_8b
sget-object v0, Lcom/iflytek/thirdparty/ae$a;->d:Lcom/iflytek/thirdparty/ae$a;
invoke-virtual {v0}, Lcom/iflytek/thirdparty/ae$a;->ordinal()I
move-result v0
if-ne v0, v3, :cond_2d
.line 111
invoke-virtual {p0}, Lcom/iflytek/thirdparty/i;->d()V
move-object v0, v1
goto :goto_2e
.line 115
:pswitch_98
iget-object v0, p0, Lcom/iflytek/thirdparty/i;->b:Lcom/iflytek/cloud/WakeuperListener;
if-eqz v0, :cond_2d
.line 116
iget-object v0, p0, Lcom/iflytek/thirdparty/i;->b:Lcom/iflytek/cloud/WakeuperListener;
invoke-interface {v0, v3}, Lcom/iflytek/cloud/WakeuperListener;->onVolumeChanged(I)V
move-object v0, v1
goto :goto_2e
.line 120
:pswitch_a3
const/4 v0, 0x2
const-string v3, "result"
invoke-virtual {v2, v3}, Landroid/os/Bundle;->getByteArray(Ljava/lang/String;)[B
move-result-object v2
invoke-virtual {p0, v6, v5, v0, v2}, Lcom/iflytek/thirdparty/i;->obtainMessage(IIILjava/lang/Object;)Landroid/os/Message;
move-result-object v0
.line 121
sget-object v2, Lcom/iflytek/thirdparty/s$a;->a:Lcom/iflytek/thirdparty/s$a;
invoke-virtual {p0, v0, v2, v5, v5}, Lcom/iflytek/thirdparty/i;->sendMsg(Landroid/os/Message;Lcom/iflytek/thirdparty/s$a;ZI)V
move-object v0, v1
.line 122
goto/16 :goto_2e
.line 124
:pswitch_b6
const-string v0, "proc_Wakeup_Msg reset msg"
invoke-static {v0}, Lcom/iflytek/cloud/msc/util/log/DebugLog;->LogD(Ljava/lang/String;)V
move-object v0, v1
.line 125
goto/16 :goto_2e
.line 129
:cond_be
const-string v0, "proc_Wakeup_Angle error: listener is null"
invoke-static {v0}, Lcom/iflytek/cloud/msc/util/log/DebugLog;->LogE(Ljava/lang/String;)V
.line 130
new-instance v0, Lcom/iflytek/cloud/SpeechError;
const/16 v1, 0x5207
invoke-direct {v0, v1}, Lcom/iflytek/cloud/SpeechError;-><init>(I)V
goto/16 :goto_2e
.line 137
:cond_cc
return-void
.line 97
nop
:pswitch_data_ce
.packed-switch 0x1
:pswitch_65
:pswitch_6a
:pswitch_70
:pswitch_8b
:pswitch_98
:pswitch_a3
:pswitch_b6
.end packed-switch
.end method
.method private f()V
.registers 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.prologue
.line 181
invoke-virtual {p0}, Lcom/iflytek/thirdparty/i;->isRunning()Z
move-result v0
if-eqz v0, :cond_1b
.line 182
invoke-direct {p0}, Lcom/iflytek/thirdparty/i;->h()V
.line 184
invoke-virtual {p0}, Lcom/iflytek/thirdparty/i;->getStatus()Lcom/iflytek/thirdparty/s$b;
move-result-object v0
sget-object v1, Lcom/iflytek/thirdparty/s$b;->e:Lcom/iflytek/thirdparty/s$b;
if-eq v0, v1, :cond_1a
iget-object v0, p0, Lcom/iflytek/thirdparty/i;->b:Lcom/iflytek/cloud/WakeuperListener;
if-eqz v0, :cond_1a
.line 185
iget-object v0, p0, Lcom/iflytek/thirdparty/i;->b:Lcom/iflytek/cloud/WakeuperListener;
invoke-interface {v0}, Lcom/iflytek/cloud/WakeuperListener;->onBeginOfSpeech()V
.line 190
:cond_1a
:goto_1a
return-void
.line 188
:cond_1b
const-string v0, "It\'s not running while start aimic listening!"
invoke-static {v0}, Lcom/iflytek/cloud/msc/util/log/DebugLog;->LogD(Ljava/lang/String;)V
goto :goto_1a
.end method
.method private g()V
.registers 7
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/iflytek/cloud/SpeechError;,
Ljava/lang/Throwable;
}
.end annotation
.prologue
const/4 v0, 0x0
.line 271
.line 273
iget v1, p0, Lcom/iflytek/thirdparty/i;->E:I
if-gtz v1, :cond_2b
.line 274
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "Channel number "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget v1, p0, Lcom/iflytek/thirdparty/i;->E:I
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v0
const-string v1, " is less than 1 !"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lcom/iflytek/cloud/msc/util/log/DebugLog;->LogE(Ljava/lang/String;)V
.line 275
new-instance v0, Lcom/iflytek/cloud/SpeechError;
const/16 v1, 0x4e2c
invoke-direct {v0, v1}, Lcom/iflytek/cloud/SpeechError;-><init>(I)V
throw v0
.line 278
:cond_2b
iget-object v1, p0, Lcom/iflytek/thirdparty/i;->F:Lcom/iflytek/thirdparty/m;
if-nez v1, :cond_3c
.line 279
const-string v0, "create AIMIC failed!"
invoke-static {v0}, Lcom/iflytek/cloud/msc/util/log/DebugLog;->LogE(Ljava/lang/String;)V
.line 280
new-instance v0, Lcom/iflytek/cloud/SpeechError;
const/16 v1, 0x520b
invoke-direct {v0, v1}, Lcom/iflytek/cloud/SpeechError;-><init>(I)V
throw v0
.line 283
:cond_3c
iget-object v1, p0, Lcom/iflytek/thirdparty/i;->F:Lcom/iflytek/thirdparty/m;
invoke-static {}, Lcom/iflytek/cloud/Setting;->getShowLog()Z
move-result v2
invoke-static {}, Lcom/iflytek/cloud/Setting;->getLogLevel()Lcom/iflytek/cloud/Setting$LOG_LEVEL;
move-result-object v3
invoke-virtual {v3}, Lcom/iflytek/cloud/Setting$LOG_LEVEL;->ordinal()I
move-result v3
invoke-virtual {v1, v2, v3}, Lcom/iflytek/thirdparty/m;->a(ZI)V
.line 286
iget-object v1, p0, Lcom/iflytek/thirdparty/i;->F:Lcom/iflytek/thirdparty/m;
invoke-virtual {v1}, Lcom/iflytek/thirdparty/m;->c()I
move-result v1
.line 289
invoke-virtual {p0}, Lcom/iflytek/thirdparty/i;->getParam()Lcom/iflytek/thirdparty/ad;
move-result-object v2
invoke-virtual {v2}, Lcom/iflytek/thirdparty/ad;->c()Ljava/util/HashMap;
move-result-object v2
.line 290
new-instance v3, Ljava/lang/StringBuilder;
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
const-string v4, "AIMicBegin param count: "
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v3
invoke-virtual {v2}, Ljava/util/HashMap;->size()I
move-result v4
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v3
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v3
invoke-static {v3}, Lcom/iflytek/cloud/msc/util/log/DebugLog;->LogD(Ljava/lang/String;)V
.line 292
invoke-virtual {v2}, Ljava/util/HashMap;->entrySet()Ljava/util/Set;
move-result-object v2
invoke-interface {v2}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v4
move v2, v0
move v3, v1
.line 293
:goto_7f
invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_bf
if-nez v3, :cond_bf
.line 295
invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/Map$Entry;
.line 296
invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/String;
const-string v5, "aimic_ssb_"
invoke-virtual {v1, v5}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
move-result v1
if-eqz v1, :cond_118
.line 297
invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/String;
const-string v3, "aimic_ssb_"
invoke-virtual {v3}, Ljava/lang/String;->length()I
move-result v3
invoke-virtual {v1, v3}, Ljava/lang/String;->substring(I)Ljava/lang/String;
move-result-object v1
.line 298
iget-object v3, p0, Lcom/iflytek/thirdparty/i;->F:Lcom/iflytek/thirdparty/m;
invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/String;
invoke-virtual {v3, v1, v0}, Lcom/iflytek/thirdparty/m;->a(Ljava/lang/String;Ljava/lang/String;)I
move-result v1
.line 300
invoke-interface {v4}, Ljava/util/Iterator;->remove()V
.line 303
:goto_ba
add-int/lit8 v0, v2, 0x1
move v2, v0
move v3, v1
.line 304
goto :goto_7f
.line 305
:cond_bf
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "AIMicBegin for count: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lcom/iflytek/cloud/msc/util/log/DebugLog;->LogD(Ljava/lang/String;)V
.line 308
if-nez v3, :cond_116
.line 309
iget-object v0, p0, Lcom/iflytek/thirdparty/i;->F:Lcom/iflytek/thirdparty/m;
const-string v1, "ivw_thread_num"
iget v2, p0, Lcom/iflytek/thirdparty/i;->E:I
invoke-static {v2}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;
move-result-object v2
invoke-virtual {v0, v1, v2}, Lcom/iflytek/thirdparty/m;->a(Ljava/lang/String;Ljava/lang/String;)I
move-result v0
.line 312
:goto_e5
if-nez v0, :cond_f7
.line 314
iget-object v0, p0, Lcom/iflytek/thirdparty/i;->F:Lcom/iflytek/thirdparty/m;
const-string v1, "ivw_ssb"
iget-object v2, p0, Lcom/iflytek/thirdparty/i;->mContext:Landroid/content/Context;
iget-object v3, p0, Lcom/iflytek/thirdparty/i;->a:Ljava/lang/String;
.line 315
invoke-static {v2, v3, p0}, Lcom/iflytek/thirdparty/af;->b(Landroid/content/Context;Ljava/lang/String;Lcom/iflytek/thirdparty/s;)Ljava/lang/String;
move-result-object v2
.line 314
invoke-virtual {v0, v1, v2}, Lcom/iflytek/thirdparty/m;->a(Ljava/lang/String;Ljava/lang/String;)I
move-result v0
.line 319
:cond_f7
if-eqz v0, :cond_115
.line 320
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "aimic init error: "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-static {v1}, Lcom/iflytek/cloud/msc/util/log/DebugLog;->LogE(Ljava/lang/String;)V
.line 321
new-instance v1, Lcom/iflytek/cloud/SpeechError;
invoke-direct {v1, v0}, Lcom/iflytek/cloud/SpeechError;-><init>(I)V
throw v1
.line 323
:cond_115
return-void
:cond_116
move v0, v3
goto :goto_e5
:cond_118
move v1, v3
goto :goto_ba
.end method
.method private h()V
.registers 5
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/iflytek/cloud/SpeechError;
}
.end annotation
.prologue
const/4 v1, -0x3
.line 382
const/4 v0, 0x0
.line 383
invoke-virtual {p0}, Lcom/iflytek/thirdparty/i;->getParam()Lcom/iflytek/thirdparty/ad;
move-result-object v2
const-string v3, "alsa_card"
invoke-virtual {v2, v3}, Lcom/iflytek/thirdparty/ad;->d(Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
.line 384
invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v3
if-nez v3, :cond_1a
.line 385
iget-object v0, p0, Lcom/iflytek/thirdparty/i;->F:Lcom/iflytek/thirdparty/m;
const-string v3, "alsa_card"
invoke-virtual {v0, v3, v2}, Lcom/iflytek/thirdparty/m;->a(Ljava/lang/String;Ljava/lang/String;)I
move-result v0
.line 388
:cond_1a
invoke-virtual {p0}, Lcom/iflytek/thirdparty/i;->getParam()Lcom/iflytek/thirdparty/ad;
move-result-object v2
const-string v3, "alsa_rate"
invoke-virtual {v2, v3}, Lcom/iflytek/thirdparty/ad;->d(Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
.line 389
if-nez v0, :cond_34
invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v3
if-nez v3, :cond_34
.line 390
iget-object v0, p0, Lcom/iflytek/thirdparty/i;->F:Lcom/iflytek/thirdparty/m;
const-string v3, "alsa_rate"
invoke-virtual {v0, v3, v2}, Lcom/iflytek/thirdparty/m;->a(Ljava/lang/String;Ljava/lang/String;)I
move-result v0
.line 393
:cond_34
invoke-virtual {p0}, Lcom/iflytek/thirdparty/i;->getParam()Lcom/iflytek/thirdparty/ad;
move-result-object v2
const-string v3, "alsa_save"
invoke-virtual {v2, v3}, Lcom/iflytek/thirdparty/ad;->d(Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
.line 394
if-nez v0, :cond_4e
invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v3
if-nez v3, :cond_4e
.line 395
iget-object v0, p0, Lcom/iflytek/thirdparty/i;->F:Lcom/iflytek/thirdparty/m;
const-string v3, "alsa_save"
invoke-virtual {v0, v3, v2}, Lcom/iflytek/thirdparty/m;->a(Ljava/lang/String;Ljava/lang/String;)I
move-result v0
.line 398
:cond_4e
if-nez v0, :cond_61
.line 399
iget v0, p0, Lcom/iflytek/thirdparty/i;->d:I
if-ne v1, v0, :cond_87
move v0, v1
.line 400
:goto_55
iget-object v1, p0, Lcom/iflytek/thirdparty/i;->F:Lcom/iflytek/thirdparty/m;
const-string v2, "audio_source"
invoke-static {v0}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;
move-result-object v0
invoke-virtual {v1, v2, v0}, Lcom/iflytek/thirdparty/m;->a(Ljava/lang/String;Ljava/lang/String;)I
move-result v0
.line 403
:cond_61
if-nez v0, :cond_69
.line 404
iget-object v0, p0, Lcom/iflytek/thirdparty/i;->F:Lcom/iflytek/thirdparty/m;
invoke-virtual {v0}, Lcom/iflytek/thirdparty/m;->d()I
move-result v0
.line 407
:cond_69
if-eqz v0, :cond_89
.line 408
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "start aimic listening failed: "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-static {v1}, Lcom/iflytek/cloud/msc/util/log/DebugLog;->LogE(Ljava/lang/String;)V
.line 409
new-instance v1, Lcom/iflytek/cloud/SpeechError;
invoke-direct {v1, v0}, Lcom/iflytek/cloud/SpeechError;-><init>(I)V
throw v1
.line 399
:cond_87
const/4 v0, -0x1
goto :goto_55
.line 411
:cond_89
return-void
.end method
# virtual methods
.method public a([BII)I
.registers 6
.prologue
.line 204
const/16 v0, 0x55f1
.line 206
iget-object v1, p0, Lcom/iflytek/thirdparty/i;->F:Lcom/iflytek/thirdparty/m;
if-eqz v1, :cond_c
.line 207
iget-object v0, p0, Lcom/iflytek/thirdparty/i;->F:Lcom/iflytek/thirdparty/m;
invoke-virtual {v0, p1, p2, p3}, Lcom/iflytek/thirdparty/m;->a([BII)I
move-result v0
.line 210
:cond_c
return v0
.end method
.method protected a()V
.registers 5
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/iflytek/cloud/SpeechError;,
Ljava/lang/Throwable;
}
.end annotation
.prologue
const/4 v3, 0x0
.line 141
invoke-direct {p0}, Lcom/iflytek/thirdparty/i;->g()V
.line 142
sget-object v0, Lcom/iflytek/thirdparty/s$b;->c:Lcom/iflytek/thirdparty/s$b;
invoke-virtual {p0, v0}, Lcom/iflytek/thirdparty/i;->setStatus(Lcom/iflytek/thirdparty/s$b;)V
.line 144
iget-object v0, p0, Lcom/iflytek/thirdparty/i;->b:Lcom/iflytek/cloud/WakeuperListener;
if-eqz v0, :cond_15
.line 145
iget-object v0, p0, Lcom/iflytek/thirdparty/i;->b:Lcom/iflytek/cloud/WakeuperListener;
const/16 v1, 0x271a
const/4 v2, 0x0
invoke-interface {v0, v1, v3, v3, v2}, Lcom/iflytek/cloud/WakeuperListener;->onEvent(IIILandroid/os/Bundle;)V
.line 148
:cond_15
const/16 v0, 0x17
sget-object v1, Lcom/iflytek/thirdparty/s$a;->b:Lcom/iflytek/thirdparty/s$a;
const/4 v2, 0x1
invoke-virtual {p0, v0, v1, v2, v3}, Lcom/iflytek/thirdparty/i;->sendMsg(ILcom/iflytek/thirdparty/s$a;ZI)V
.line 149
return-void
.end method
.method public a(I)V
.registers 3
.prologue
.line 265
new-instance v0, Lcom/iflytek/cloud/SpeechError;
invoke-direct {v0, p1}, Lcom/iflytek/cloud/SpeechError;-><init>(I)V
invoke-virtual {p0, v0}, Lcom/iflytek/thirdparty/i;->onError(Lcom/iflytek/cloud/SpeechError;)V
.line 266
return-void
.end method
.method public a(III[BI[BI[BI)V
.registers 15
.prologue
.line 223
:try_start_0
new-instance v1, Landroid/os/Bundle;
invoke-direct {v1}, Landroid/os/Bundle;-><init>()V
.line 226
const/4 v0, 0x0
.line 227
sget-object v2, Lcom/iflytek/thirdparty/k$a;->b:Lcom/iflytek/thirdparty/k$a;
invoke-virtual {v2}, Lcom/iflytek/thirdparty/k$a;->ordinal()I
move-result v2
if-ne v2, p1, :cond_2d
.line 228
new-array v0, p9, [B
.line 229
const/4 v2, 0x0
const/4 v3, 0x0
array-length v4, v0
invoke-static {p8, v2, v0, v3, v4}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
.line 230
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string v3, "onWakeupMsg audio length:"
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v2
array-length v3, v0
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v2
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
invoke-static {v2}, Lcom/iflytek/cloud/msc/util/log/DebugLog;->LogD(Ljava/lang/String;)V
.line 233
:cond_2d
const-string v2, "ivw_audio"
invoke-virtual {v1, v2, v0}, Landroid/os/Bundle;->putByteArray(Ljava/lang/String;[B)V
.line 235
if-eqz p4, :cond_41
.line 236
new-array v0, p5, [B
.line 237
const/4 v2, 0x0
const/4 v3, 0x0
array-length v4, v0
invoke-static {p4, v2, v0, v3, v4}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
.line 238
const-string v2, "sid"
invoke-virtual {v1, v2, v0}, Landroid/os/Bundle;->putByteArray(Ljava/lang/String;[B)V
.line 241
:cond_41
if-eqz p6, :cond_50
.line 242
new-array v0, p7, [B
.line 243
const/4 v2, 0x0
const/4 v3, 0x0
array-length v4, v0
invoke-static {p6, v2, v0, v3, v4}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
.line 244
const-string v2, "result"
invoke-virtual {v1, v2, v0}, Landroid/os/Bundle;->putByteArray(Ljava/lang/String;[B)V
.line 246
:cond_50
const-string v0, "msg"
invoke-virtual {v1, v0, p1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
.line 247
const-string v0, "arg1"
invoke-virtual {v1, v0, p2}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
.line 248
const-string v0, "arg2"
invoke-virtual {v1, v0, p3}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
.line 251
const/16 v0, 0x16
invoke-virtual {p0, v0}, Lcom/iflytek/thirdparty/i;->obtainMessage(I)Landroid/os/Message;
move-result-object v2
.line 252
invoke-virtual {v2, v1}, Landroid/os/Message;->setData(Landroid/os/Bundle;)V
.line 253
const/16 v0, 0x16
invoke-virtual {p0, v0}, Lcom/iflytek/thirdparty/i;->hasMessages(I)Z
move-result v0
if-eqz v0, :cond_78
sget-object v0, Lcom/iflytek/thirdparty/s$a;->b:Lcom/iflytek/thirdparty/s$a;
.line 254
:goto_72
const/4 v1, 0x0
const/4 v3, 0x0
invoke-virtual {p0, v2, v0, v1, v3}, Lcom/iflytek/thirdparty/i;->sendMsg(Landroid/os/Message;Lcom/iflytek/thirdparty/s$a;ZI)V
.line 262
:goto_77
return-void
.line 253
:cond_78
sget-object v0, Lcom/iflytek/thirdparty/s$a;->a:Lcom/iflytek/thirdparty/s$a;
:try_end_7a
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_7a} :catch_7b
goto :goto_72
.line 255
:catch_7b
move-exception v0
.line 256
invoke-static {v0}, Lcom/iflytek/cloud/msc/util/log/DebugLog;->LogE(Ljava/lang/Throwable;)V
.line 257
invoke-static {}, Ljava/lang/System;->gc()V
.line 258
new-instance v0, Lcom/iflytek/cloud/SpeechError;
const/16 v1, 0x5207
invoke-direct {v0, v1}, Lcom/iflytek/cloud/SpeechError;-><init>(I)V
invoke-direct {p0, v0}, Lcom/iflytek/thirdparty/i;->b(Lcom/iflytek/cloud/SpeechError;)V
goto :goto_77
.end method
.method protected a(Landroid/os/Bundle;)V
.registers 7
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/iflytek/cloud/SpeechError;,
Ljava/lang/Throwable;
}
.end annotation
.prologue
const/4 v4, 0x4
const/4 v3, 0x0
.line 364
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/iflytek/thirdparty/i;->h:Z
.line 365
sget-object v0, Lcom/iflytek/thirdparty/t$a;->f:Lcom/iflytek/thirdparty/t$a;
.line 366
iget-boolean v1, p0, Lcom/iflytek/thirdparty/i;->i:Z
if-nez v1, :cond_15
const-string v1, "oneshot"
iget-object v2, p0, Lcom/iflytek/thirdparty/i;->a:Ljava/lang/String;
invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_17
.line 367
:cond_15
sget-object v0, Lcom/iflytek/thirdparty/t$a;->a:Lcom/iflytek/thirdparty/t$a;
.line 370
:cond_17
invoke-virtual {v0}, Lcom/iflytek/thirdparty/t$a;->ordinal()I
move-result v0
const-string v1, "result"
invoke-virtual {p1, v1}, Landroid/os/Bundle;->getByteArray(Ljava/lang/String;)[B
move-result-object v1
invoke-virtual {p0, v4, v0, v3, v1}, Lcom/iflytek/thirdparty/i;->obtainMessage(IIILjava/lang/Object;)Landroid/os/Message;
move-result-object v1
.line 371
invoke-virtual {v1, p1}, Landroid/os/Message;->setData(Landroid/os/Bundle;)V
.line 373
invoke-virtual {p0, v4}, Lcom/iflytek/thirdparty/i;->hasMessages(I)Z
move-result v0
if-eqz v0, :cond_34
sget-object v0, Lcom/iflytek/thirdparty/s$a;->b:Lcom/iflytek/thirdparty/s$a;
.line 374
:goto_30
invoke-virtual {p0, v1, v0, v3, v3}, Lcom/iflytek/thirdparty/i;->sendMsg(Landroid/os/Message;Lcom/iflytek/thirdparty/s$a;ZI)V
.line 375
return-void
.line 373
:cond_34
sget-object v0, Lcom/iflytek/thirdparty/s$a;->a:Lcom/iflytek/thirdparty/s$a;
goto :goto_30
.end method
.method public a([BIILjava/lang/Object;)V
.registers 5
.prologue
.line 216
return-void
.end method
.method protected b()V
.registers 6
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.prologue
const/4 v4, 0x0
.line 157
const-string v0, "start connecting"
invoke-static {v0}, Lcom/iflytek/cloud/msc/util/log/DebugLog;->LogD(Ljava/lang/String;)V
.line 159
iput-boolean v4, p0, Lcom/iflytek/thirdparty/i;->h:Z
.line 160
invoke-virtual {p0}, Lcom/iflytek/thirdparty/i;->getParam()Lcom/iflytek/thirdparty/ad;
move-result-object v0
const-string v1, "record_read_rate"
const/16 v2, 0x28
invoke-virtual {v0, v1, v2}, Lcom/iflytek/thirdparty/ad;->a(Ljava/lang/String;I)I
move-result v0
.line 163
const/4 v1, -0x3
iget v2, p0, Lcom/iflytek/thirdparty/i;->d:I
if-ne v1, v2, :cond_2a
.line 164
iget-object v0, p0, Lcom/iflytek/thirdparty/i;->F:Lcom/iflytek/thirdparty/m;
if-nez v0, :cond_50
.line 165
const-string v0, "create AIMIC failed!"
invoke-static {v0}, Lcom/iflytek/cloud/msc/util/log/DebugLog;->LogE(Ljava/lang/String;)V
.line 166
new-instance v0, Lcom/iflytek/cloud/SpeechError;
const/16 v1, 0x520b
invoke-direct {v0, v1}, Lcom/iflytek/cloud/SpeechError;-><init>(I)V
throw v0
.line 168
:cond_2a
iget v1, p0, Lcom/iflytek/thirdparty/i;->d:I
const/4 v2, -0x1
if-eq v1, v2, :cond_50
invoke-virtual {p0}, Lcom/iflytek/thirdparty/i;->isRunning()Z
move-result v1
if-eqz v1, :cond_50
.line 169
const-string v1, "start record"
invoke-static {v1}, Lcom/iflytek/cloud/msc/util/log/DebugLog;->LogD(Ljava/lang/String;)V
.line 170
iget-object v1, p0, Lcom/iflytek/thirdparty/i;->f:Lcom/iflytek/cloud/record/PcmRecorder;
if-nez v1, :cond_50
.line 171
new-instance v1, Lcom/iflytek/cloud/record/PcmRecorder;
invoke-virtual {p0}, Lcom/iflytek/thirdparty/i;->getSampleRate()I
move-result v2
iget v3, p0, Lcom/iflytek/thirdparty/i;->d:I
invoke-direct {v1, v2, v0, v3}, Lcom/iflytek/cloud/record/PcmRecorder;-><init>(III)V
iput-object v1, p0, Lcom/iflytek/thirdparty/i;->f:Lcom/iflytek/cloud/record/PcmRecorder;
.line 172
iget-object v0, p0, Lcom/iflytek/thirdparty/i;->f:Lcom/iflytek/cloud/record/PcmRecorder;
invoke-virtual {v0, p0}, Lcom/iflytek/cloud/record/PcmRecorder;->startRecording(Lcom/iflytek/cloud/record/PcmRecorder$PcmRecordListener;)V
.line 177
:cond_50
const/4 v0, 0x1
sget-object v1, Lcom/iflytek/thirdparty/s$a;->a:Lcom/iflytek/thirdparty/s$a;
invoke-virtual {p0, v0, v1, v4, v4}, Lcom/iflytek/thirdparty/i;->sendMsg(ILcom/iflytek/thirdparty/s$a;ZI)V
.line 178
return-void
.end method
.method public b([BIILjava/lang/Object;)V
.registers 10
.prologue
.line 418
:try_start_0
new-instance v0, Landroid/os/Bundle;
invoke-direct {v0}, Landroid/os/Bundle;-><init>()V
.line 419
new-array v1, p2, [B
.line 420
const/4 v2, 0x0
const/4 v3, 0x0
invoke-static {p1, v2, v1, v3, p2}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
.line 421
const-string v2, "data"
invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putByteArray(Ljava/lang/String;[B)V
.line 422
iget-object v1, p0, Lcom/iflytek/thirdparty/i;->b:Lcom/iflytek/cloud/WakeuperListener;
const/16 v2, 0x520b
const/4 v3, 0x0
const/4 v4, 0x0
invoke-interface {v1, v2, v3, v4, v0}, Lcom/iflytek/cloud/WakeuperListener;->onEvent(IIILandroid/os/Bundle;)V
:try_end_1a
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_1a} :catch_1b
.line 427
:goto_1a
return-void
.line 423
:catch_1b
move-exception v0
.line 424
invoke-static {v0}, Lcom/iflytek/cloud/msc/util/log/DebugLog;->LogE(Ljava/lang/Throwable;)V
.line 425
new-instance v1, Lcom/iflytek/cloud/SpeechError;
const/16 v2, 0x5207
invoke-direct {v1, v0, v2}, Lcom/iflytek/cloud/SpeechError;-><init>(Ljava/lang/Throwable;I)V
invoke-virtual {p0, v1}, Lcom/iflytek/thirdparty/i;->onError(Lcom/iflytek/cloud/SpeechError;)V
goto :goto_1a
.end method
.method protected onEnd(Lcom/iflytek/cloud/SpeechError;)V
.registers 3
.prologue
.line 195
const-string v0, "Aimic Wakeuper onEnd enter"
invoke-static {v0}, Lcom/iflytek/cloud/msc/util/log/DebugLog;->LogD(Ljava/lang/String;)V
.line 197
invoke-direct {p0, p1}, Lcom/iflytek/thirdparty/i;->a(Lcom/iflytek/cloud/SpeechError;)Lcom/iflytek/cloud/SpeechError;
move-result-object v0
.line 199
invoke-super {p0, v0}, Lcom/iflytek/thirdparty/k;->onEnd(Lcom/iflytek/cloud/SpeechError;)V
.line 200
return-void
.end method
.method protected onMsgProcess(Landroid/os/Message;)V
.registers 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;,
Lcom/iflytek/cloud/SpeechError;
}
.end annotation
.prologue
.line 64
invoke-super {p0, p1}, Lcom/iflytek/thirdparty/k;->onMsgProcess(Landroid/os/Message;)V
.line 66
iget v0, p1, Landroid/os/Message;->what:I
packed-switch v0, :pswitch_data_12
.line 78
:goto_8
return-void
.line 68
:pswitch_9
invoke-direct {p0, p1}, Lcom/iflytek/thirdparty/i;->c(Landroid/os/Message;)V
goto :goto_8
.line 72
:pswitch_d
invoke-direct {p0}, Lcom/iflytek/thirdparty/i;->f()V
goto :goto_8
.line 66
nop
:pswitch_data_12
.packed-switch 0x16
:pswitch_9
:pswitch_d
.end packed-switch
.end method