1366 lines
34 KiB
Smali
1366 lines
34 KiB
Smali
.class public final enum Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
.super Ljava/lang/Enum;
|
|
.source "EmbeddedTTS.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Enum<",
|
|
"Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final synthetic $VALUES:[Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
.field public static final enum APMODE_ENABLED:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
.annotation runtime Lcom/google/gson/annotations/Expose;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final enum APP_CONNECTED:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
.annotation runtime Lcom/google/gson/annotations/Expose;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final enum BT_CONNECTED:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
.annotation runtime Lcom/google/gson/annotations/Expose;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final enum BT_CONNECTION_FAIL:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
.annotation runtime Lcom/google/gson/annotations/Expose;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final enum BT_DISCONNECTED:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
.annotation runtime Lcom/google/gson/annotations/Expose;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final enum BT_NOT_CONNECTED:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
.annotation runtime Lcom/google/gson/annotations/Expose;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final enum BT_OFF:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
.annotation runtime Lcom/google/gson/annotations/Expose;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final enum BT_ON:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
.annotation runtime Lcom/google/gson/annotations/Expose;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final enum BT_ON_READY_TO_CONNECT:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
.annotation runtime Lcom/google/gson/annotations/Expose;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final enum BT_PAIRING_MODE:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
.annotation runtime Lcom/google/gson/annotations/Expose;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final enum DEVICE_AUTH_FAILED:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
.annotation runtime Lcom/google/gson/annotations/Expose;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final enum HELLO_INITIALIZE_FIRST:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
.annotation runtime Lcom/google/gson/annotations/Expose;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final enum NETWORK_DELAYED_TRY_AGAIN:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
.annotation runtime Lcom/google/gson/annotations/Expose;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private static final RAW_FILE_NAMES:[Ljava/lang/String;
|
|
|
|
.field public static final enum READY_FOR_SERVICE:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
.annotation runtime Lcom/google/gson/annotations/Expose;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final enum SERVICE_ERROR_TRY_AGAIN:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
.annotation runtime Lcom/google/gson/annotations/Expose;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final enum SERVICE_NOT_CONNECTED_CHANGE_SETTING:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
.annotation runtime Lcom/google/gson/annotations/Expose;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final enum SERVICE_NOT_CONNECTED_INVALID_VERSION:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
.annotation runtime Lcom/google/gson/annotations/Expose;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private static final TAG:Ljava/lang/String;
|
|
|
|
.field private static final TEXT_IDS:[I
|
|
|
|
.field private static TTS_MAP:Ljava/util/Map;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/Integer;",
|
|
"Ljava/lang/Integer;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private static TTS_RAW_MAP:Ljava/util/Map;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/Integer;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final enum UNKNOWN:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
.annotation runtime Lcom/google/gson/annotations/Expose;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final enum USER_AUTH_FAILED:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
.annotation runtime Lcom/google/gson/annotations/Expose;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final enum WIFI_CONNECTION_FAILED_CHECK_SETTING:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
.annotation runtime Lcom/google/gson/annotations/Expose;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final enum WIFI_CONNECTION_FAILED_RETRY:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
.annotation runtime Lcom/google/gson/annotations/Expose;
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 47
|
|
|
|
.line 1
|
|
new-instance v0, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
const-string v1, "UNKNOWN"
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-direct {v0, v1, v2}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v0, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->UNKNOWN:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
.line 2
|
|
new-instance v1, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
const-string v3, "HELLO_INITIALIZE_FIRST"
|
|
|
|
const/4 v4, 0x1
|
|
|
|
invoke-direct {v1, v3, v4}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v1, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->HELLO_INITIALIZE_FIRST:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
.line 3
|
|
new-instance v3, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
const-string v5, "READY_FOR_SERVICE"
|
|
|
|
const/4 v6, 0x2
|
|
|
|
invoke-direct {v3, v5, v6}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v3, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->READY_FOR_SERVICE:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
.line 4
|
|
new-instance v5, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
const-string v7, "APP_CONNECTED"
|
|
|
|
const/4 v8, 0x3
|
|
|
|
invoke-direct {v5, v7, v8}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v5, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->APP_CONNECTED:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
.line 5
|
|
new-instance v7, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
const-string v9, "APMODE_ENABLED"
|
|
|
|
const/4 v10, 0x4
|
|
|
|
invoke-direct {v7, v9, v10}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v7, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->APMODE_ENABLED:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
.line 6
|
|
new-instance v9, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
const-string v11, "BT_ON"
|
|
|
|
const/4 v12, 0x5
|
|
|
|
invoke-direct {v9, v11, v12}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v9, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->BT_ON:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
.line 7
|
|
new-instance v11, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
const-string v13, "BT_ON_READY_TO_CONNECT"
|
|
|
|
const/4 v14, 0x6
|
|
|
|
invoke-direct {v11, v13, v14}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v11, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->BT_ON_READY_TO_CONNECT:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
.line 8
|
|
new-instance v13, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
const-string v15, "BT_NOT_CONNECTED"
|
|
|
|
const/4 v14, 0x7
|
|
|
|
invoke-direct {v13, v15, v14}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v13, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->BT_NOT_CONNECTED:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
.line 9
|
|
new-instance v15, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
const-string v14, "BT_CONNECTION_FAIL"
|
|
|
|
const/16 v12, 0x8
|
|
|
|
invoke-direct {v15, v14, v12}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v15, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->BT_CONNECTION_FAIL:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
.line 10
|
|
new-instance v14, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
const-string v12, "BT_PAIRING_MODE"
|
|
|
|
const/16 v10, 0x9
|
|
|
|
invoke-direct {v14, v12, v10}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v14, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->BT_PAIRING_MODE:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
.line 11
|
|
new-instance v12, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
const-string v10, "BT_CONNECTED"
|
|
|
|
const/16 v8, 0xa
|
|
|
|
invoke-direct {v12, v10, v8}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v12, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->BT_CONNECTED:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
.line 12
|
|
new-instance v10, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
const-string v8, "BT_DISCONNECTED"
|
|
|
|
const/16 v6, 0xb
|
|
|
|
invoke-direct {v10, v8, v6}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v10, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->BT_DISCONNECTED:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
.line 13
|
|
new-instance v8, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
const-string v6, "BT_OFF"
|
|
|
|
const/16 v4, 0xc
|
|
|
|
invoke-direct {v8, v6, v4}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v8, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->BT_OFF:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
.line 14
|
|
new-instance v6, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
const-string v4, "WIFI_CONNECTION_FAILED_RETRY"
|
|
|
|
const/16 v2, 0xd
|
|
|
|
invoke-direct {v6, v4, v2}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v6, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->WIFI_CONNECTION_FAILED_RETRY:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
.line 15
|
|
new-instance v4, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
const-string v2, "WIFI_CONNECTION_FAILED_CHECK_SETTING"
|
|
|
|
move-object/from16 v17, v6
|
|
|
|
const/16 v6, 0xe
|
|
|
|
invoke-direct {v4, v2, v6}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v4, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->WIFI_CONNECTION_FAILED_CHECK_SETTING:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
.line 16
|
|
new-instance v2, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
const-string v6, "SERVICE_NOT_CONNECTED_INVALID_VERSION"
|
|
|
|
move-object/from16 v18, v4
|
|
|
|
const/16 v4, 0xf
|
|
|
|
invoke-direct {v2, v6, v4}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v2, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->SERVICE_NOT_CONNECTED_INVALID_VERSION:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
.line 17
|
|
new-instance v6, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
const-string v4, "SERVICE_NOT_CONNECTED_CHANGE_SETTING"
|
|
|
|
move-object/from16 v19, v2
|
|
|
|
const/16 v2, 0x10
|
|
|
|
invoke-direct {v6, v4, v2}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v6, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->SERVICE_NOT_CONNECTED_CHANGE_SETTING:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
.line 18
|
|
new-instance v4, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
const-string v2, "SERVICE_ERROR_TRY_AGAIN"
|
|
|
|
move-object/from16 v20, v6
|
|
|
|
const/16 v6, 0x11
|
|
|
|
invoke-direct {v4, v2, v6}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v4, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->SERVICE_ERROR_TRY_AGAIN:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
.line 19
|
|
new-instance v2, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
const-string v6, "NETWORK_DELAYED_TRY_AGAIN"
|
|
|
|
move-object/from16 v21, v4
|
|
|
|
const/16 v4, 0x12
|
|
|
|
invoke-direct {v2, v6, v4}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v2, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->NETWORK_DELAYED_TRY_AGAIN:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
.line 20
|
|
new-instance v6, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
const-string v4, "USER_AUTH_FAILED"
|
|
|
|
move-object/from16 v22, v2
|
|
|
|
const/16 v2, 0x13
|
|
|
|
invoke-direct {v6, v4, v2}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v6, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->USER_AUTH_FAILED:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
.line 21
|
|
new-instance v4, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
const-string v2, "DEVICE_AUTH_FAILED"
|
|
|
|
move-object/from16 v23, v6
|
|
|
|
const/16 v6, 0x14
|
|
|
|
invoke-direct {v4, v2, v6}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;-><init>(Ljava/lang/String;I)V
|
|
|
|
sput-object v4, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->DEVICE_AUTH_FAILED:Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
const/16 v2, 0x15
|
|
|
|
new-array v6, v2, [Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
const/16 v16, 0x0
|
|
|
|
aput-object v0, v6, v16
|
|
|
|
const/4 v0, 0x1
|
|
|
|
aput-object v1, v6, v0
|
|
|
|
const/4 v0, 0x2
|
|
|
|
aput-object v3, v6, v0
|
|
|
|
const/4 v0, 0x3
|
|
|
|
aput-object v5, v6, v0
|
|
|
|
const/4 v0, 0x4
|
|
|
|
aput-object v7, v6, v0
|
|
|
|
const/4 v0, 0x5
|
|
|
|
aput-object v9, v6, v0
|
|
|
|
const/4 v0, 0x6
|
|
|
|
aput-object v11, v6, v0
|
|
|
|
const/4 v0, 0x7
|
|
|
|
aput-object v13, v6, v0
|
|
|
|
const/16 v0, 0x8
|
|
|
|
aput-object v15, v6, v0
|
|
|
|
const/16 v0, 0x9
|
|
|
|
aput-object v14, v6, v0
|
|
|
|
const/16 v0, 0xa
|
|
|
|
aput-object v12, v6, v0
|
|
|
|
const/16 v0, 0xb
|
|
|
|
aput-object v10, v6, v0
|
|
|
|
const/16 v0, 0xc
|
|
|
|
aput-object v8, v6, v0
|
|
|
|
const/16 v0, 0xd
|
|
|
|
aput-object v17, v6, v0
|
|
|
|
const/16 v0, 0xe
|
|
|
|
aput-object v18, v6, v0
|
|
|
|
const/16 v0, 0xf
|
|
|
|
aput-object v19, v6, v0
|
|
|
|
const/16 v0, 0x10
|
|
|
|
aput-object v20, v6, v0
|
|
|
|
const/16 v0, 0x11
|
|
|
|
aput-object v21, v6, v0
|
|
|
|
const/16 v0, 0x12
|
|
|
|
aput-object v22, v6, v0
|
|
|
|
const/16 v0, 0x13
|
|
|
|
aput-object v23, v6, v0
|
|
|
|
const/16 v0, 0x14
|
|
|
|
aput-object v4, v6, v0
|
|
|
|
.line 22
|
|
sput-object v6, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->$VALUES:[Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
const-string v24, "skl42001"
|
|
|
|
const-string v25, "skl42002"
|
|
|
|
const-string v26, "skl42002_0"
|
|
|
|
const-string v27, "skl42003"
|
|
|
|
const-string v28, "skl42004"
|
|
|
|
const-string v29, "skl42005"
|
|
|
|
const-string v30, "skl42006"
|
|
|
|
const-string v31, "skl42008"
|
|
|
|
const-string v32, "skl42012_modi"
|
|
|
|
const-string v33, "skl42013_0"
|
|
|
|
const-string v34, "skl42024"
|
|
|
|
const-string v35, "skl42026"
|
|
|
|
const-string v36, "skl42027"
|
|
|
|
const-string v37, "skl42028"
|
|
|
|
const-string v38, "skl42029"
|
|
|
|
const-string v39, "skl42030"
|
|
|
|
const-string v40, "skl42031"
|
|
|
|
const-string v41, "skl42032"
|
|
|
|
const-string v42, "skl42033"
|
|
|
|
const-string v43, "skl42041"
|
|
|
|
const-string v44, "skl42042"
|
|
|
|
const-string v45, "skl42043"
|
|
|
|
const-string v46, "skl42044"
|
|
|
|
.line 23
|
|
filled-new-array/range {v24 .. v46}, [Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->RAW_FILE_NAMES:[Ljava/lang/String;
|
|
|
|
const/16 v0, 0x17
|
|
|
|
new-array v0, v0, [I
|
|
|
|
.line 24
|
|
sget v1, Lcom/skt/aicloud/speaker/service/R$string;->skl42001:I
|
|
|
|
const/4 v3, 0x0
|
|
|
|
aput v1, v0, v3
|
|
|
|
sget v1, Lcom/skt/aicloud/speaker/service/R$string;->skl42002:I
|
|
|
|
const/4 v3, 0x1
|
|
|
|
aput v1, v0, v3
|
|
|
|
sget v1, Lcom/skt/aicloud/speaker/service/R$string;->skl42002_0:I
|
|
|
|
const/4 v3, 0x2
|
|
|
|
aput v1, v0, v3
|
|
|
|
sget v1, Lcom/skt/aicloud/speaker/service/R$string;->skl42003:I
|
|
|
|
const/4 v3, 0x3
|
|
|
|
aput v1, v0, v3
|
|
|
|
sget v1, Lcom/skt/aicloud/speaker/service/R$string;->skl42004:I
|
|
|
|
const/4 v3, 0x4
|
|
|
|
aput v1, v0, v3
|
|
|
|
sget v1, Lcom/skt/aicloud/speaker/service/R$string;->skl42005:I
|
|
|
|
const/4 v3, 0x5
|
|
|
|
aput v1, v0, v3
|
|
|
|
sget v1, Lcom/skt/aicloud/speaker/service/R$string;->skl42006:I
|
|
|
|
const/4 v3, 0x6
|
|
|
|
aput v1, v0, v3
|
|
|
|
sget v1, Lcom/skt/aicloud/speaker/service/R$string;->skl42008:I
|
|
|
|
const/4 v3, 0x7
|
|
|
|
aput v1, v0, v3
|
|
|
|
sget v1, Lcom/skt/aicloud/speaker/service/R$string;->skl42012:I
|
|
|
|
const/16 v3, 0x8
|
|
|
|
aput v1, v0, v3
|
|
|
|
sget v1, Lcom/skt/aicloud/speaker/service/R$string;->skl42013_0:I
|
|
|
|
const/16 v3, 0x9
|
|
|
|
aput v1, v0, v3
|
|
|
|
sget v1, Lcom/skt/aicloud/speaker/service/R$string;->skl42024:I
|
|
|
|
const/16 v3, 0xa
|
|
|
|
aput v1, v0, v3
|
|
|
|
sget v1, Lcom/skt/aicloud/speaker/service/R$string;->skl42026:I
|
|
|
|
const/16 v3, 0xb
|
|
|
|
aput v1, v0, v3
|
|
|
|
sget v1, Lcom/skt/aicloud/speaker/service/R$string;->skl42027:I
|
|
|
|
const/16 v3, 0xc
|
|
|
|
aput v1, v0, v3
|
|
|
|
sget v1, Lcom/skt/aicloud/speaker/service/R$string;->skl42028:I
|
|
|
|
const/16 v3, 0xd
|
|
|
|
aput v1, v0, v3
|
|
|
|
sget v1, Lcom/skt/aicloud/speaker/service/R$string;->skl42029:I
|
|
|
|
const/16 v3, 0xe
|
|
|
|
aput v1, v0, v3
|
|
|
|
sget v1, Lcom/skt/aicloud/speaker/service/R$string;->skl42030:I
|
|
|
|
const/16 v3, 0xf
|
|
|
|
aput v1, v0, v3
|
|
|
|
sget v1, Lcom/skt/aicloud/speaker/service/R$string;->skl42031:I
|
|
|
|
const/16 v3, 0x10
|
|
|
|
aput v1, v0, v3
|
|
|
|
sget v1, Lcom/skt/aicloud/speaker/service/R$string;->skl42032:I
|
|
|
|
const/16 v3, 0x11
|
|
|
|
aput v1, v0, v3
|
|
|
|
sget v1, Lcom/skt/aicloud/speaker/service/R$string;->skl42033:I
|
|
|
|
const/16 v3, 0x12
|
|
|
|
aput v1, v0, v3
|
|
|
|
sget v1, Lcom/skt/aicloud/speaker/service/R$string;->skl42041:I
|
|
|
|
const/16 v3, 0x13
|
|
|
|
aput v1, v0, v3
|
|
|
|
sget v1, Lcom/skt/aicloud/speaker/service/R$string;->skl42042:I
|
|
|
|
const/16 v3, 0x14
|
|
|
|
aput v1, v0, v3
|
|
|
|
sget v1, Lcom/skt/aicloud/speaker/service/R$string;->skl42043:I
|
|
|
|
aput v1, v0, v2
|
|
|
|
sget v1, Lcom/skt/aicloud/speaker/service/R$string;->skl42044:I
|
|
|
|
const/16 v2, 0x16
|
|
|
|
aput v1, v0, v2
|
|
|
|
sput-object v0, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->TEXT_IDS:[I
|
|
|
|
const-string v0, "EmbeddedTTS"
|
|
|
|
.line 25
|
|
sput-object v0, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->TAG:Ljava/lang/String;
|
|
|
|
.line 26
|
|
new-instance v0, Ljava/util/HashMap;
|
|
|
|
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
|
|
|
|
sput-object v0, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->TTS_RAW_MAP:Ljava/util/Map;
|
|
|
|
.line 27
|
|
new-instance v0, Ljava/util/HashMap;
|
|
|
|
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
|
|
|
|
sput-object v0, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->TTS_MAP:Ljava/util/Map;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>(Ljava/lang/String;I)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private static getApModeEnabled(Landroid/content/Context;)I
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-static {p0}, Lua/d;->d(Landroid/content/Context;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-string v0, "skl42028"
|
|
|
|
.line 2
|
|
invoke-static {p0, v0}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->getRawResId(Landroid/content/Context;Ljava/lang/String;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
const-string v0, "skl42032"
|
|
|
|
.line 3
|
|
invoke-static {p0, v0}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->getRawResId(Landroid/content/Context;Ljava/lang/String;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static getDescription(Landroid/content/Context;Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static {p0, p1}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->getSoundId(Landroid/content/Context;Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;)I
|
|
|
|
move-result p1
|
|
|
|
invoke-static {p0, p1}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->getSoundDescription(Landroid/content/Context;I)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static getHelloInitializeFirst(Landroid/content/Context;)I
|
|
.locals 1
|
|
|
|
const-string v0, "skl42033"
|
|
|
|
.line 1
|
|
invoke-static {p0, v0}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->getRawResId(Landroid/content/Context;Ljava/lang/String;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static getRawResId(Landroid/content/Context;Ljava/lang/String;)I
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
|
|
.line 2
|
|
:cond_0
|
|
sget-object v0, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->TTS_RAW_MAP:Ljava/util/Map;
|
|
|
|
invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/Integer;
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 3
|
|
invoke-static {p0, p1}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->getRawResIdbyName(Landroid/content/Context;Ljava/lang/String;)I
|
|
|
|
move-result p0
|
|
|
|
invoke-static {p0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v0
|
|
|
|
.line 4
|
|
sget-object p0, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->TTS_RAW_MAP:Ljava/util/Map;
|
|
|
|
invoke-interface {p0, p1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 5
|
|
:cond_1
|
|
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static getRawResIdbyName(Landroid/content/Context;Ljava/lang/String;)I
|
|
.locals 1
|
|
|
|
const-string v0, "raw"
|
|
|
|
.line 1
|
|
invoke-static {p0, v0, p1}, Lcom/skt/aicloud/mobile/service/util/f;->i(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static getSoundDescription(Landroid/content/Context;I)Ljava/lang/String;
|
|
.locals 2
|
|
|
|
.line 1
|
|
sget-object v0, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->TTS_MAP:Ljava/util/Map;
|
|
|
|
invoke-interface {v0}, Ljava/util/Map;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-static {p0}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->setTTSMap(Landroid/content/Context;)V
|
|
|
|
.line 3
|
|
:cond_0
|
|
sget-object v0, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->TTS_MAP:Ljava/util/Map;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 4
|
|
invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
.line 5
|
|
:cond_1
|
|
:try_start_0
|
|
sget-object v0, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->TTS_MAP:Ljava/util/Map;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/Integer;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result v0
|
|
|
|
.line 6
|
|
invoke-virtual {p0, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object p0
|
|
|
|
.line 7
|
|
:catch_0
|
|
invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static getSoundId(Landroid/content/Context;Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;)I
|
|
.locals 3
|
|
|
|
.line 1
|
|
sget-object v0, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS$a;->a:[I
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result v1
|
|
|
|
aget v1, v0, v1
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-eq v1, v2, :cond_5
|
|
|
|
const/4 v2, 0x2
|
|
|
|
if-eq v1, v2, :cond_4
|
|
|
|
.line 2
|
|
invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result v1
|
|
|
|
aget v1, v0, v1
|
|
|
|
const/4 v2, 0x3
|
|
|
|
if-eq v1, v2, :cond_3
|
|
|
|
const/4 v2, 0x4
|
|
|
|
if-eq v1, v2, :cond_2
|
|
|
|
.line 3
|
|
invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result v1
|
|
|
|
aget v1, v0, v1
|
|
|
|
const/4 v2, 0x5
|
|
|
|
if-eq v1, v2, :cond_1
|
|
|
|
const/4 v2, 0x6
|
|
|
|
if-eq v1, v2, :cond_0
|
|
|
|
.line 4
|
|
invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result v1
|
|
|
|
aget v1, v0, v1
|
|
|
|
packed-switch v1, :pswitch_data_0
|
|
|
|
.line 5
|
|
invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result p1
|
|
|
|
aget p1, v0, p1
|
|
|
|
packed-switch p1, :pswitch_data_1
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
|
|
:pswitch_0
|
|
const-string p1, "skl42006"
|
|
|
|
.line 6
|
|
invoke-static {p0, p1}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->getRawResId(Landroid/content/Context;Ljava/lang/String;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:pswitch_1
|
|
const-string p1, "skl42004"
|
|
|
|
.line 7
|
|
invoke-static {p0, p1}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->getRawResId(Landroid/content/Context;Ljava/lang/String;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:pswitch_2
|
|
const-string p1, "skl42001"
|
|
|
|
.line 8
|
|
invoke-static {p0, p1}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->getRawResId(Landroid/content/Context;Ljava/lang/String;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:pswitch_3
|
|
const-string p1, "skl42012_modi"
|
|
|
|
.line 9
|
|
invoke-static {p0, p1}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->getRawResId(Landroid/content/Context;Ljava/lang/String;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:pswitch_4
|
|
const-string p1, "skl42013_0"
|
|
|
|
.line 10
|
|
invoke-static {p0, p1}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->getRawResId(Landroid/content/Context;Ljava/lang/String;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:pswitch_5
|
|
const-string p1, "skl42005"
|
|
|
|
.line 11
|
|
invoke-static {p0, p1}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->getRawResId(Landroid/content/Context;Ljava/lang/String;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:pswitch_6
|
|
const-string p1, "skl42044"
|
|
|
|
.line 12
|
|
invoke-static {p0, p1}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->getRawResId(Landroid/content/Context;Ljava/lang/String;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:pswitch_7
|
|
const-string p1, "skl42002_0"
|
|
|
|
.line 13
|
|
invoke-static {p0, p1}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->getRawResId(Landroid/content/Context;Ljava/lang/String;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:pswitch_8
|
|
const-string p1, "skl42043"
|
|
|
|
.line 14
|
|
invoke-static {p0, p1}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->getRawResId(Landroid/content/Context;Ljava/lang/String;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:pswitch_9
|
|
const-string p1, "skl42042"
|
|
|
|
.line 15
|
|
invoke-static {p0, p1}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->getRawResId(Landroid/content/Context;Ljava/lang/String;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:pswitch_a
|
|
const-string p1, "skl42041"
|
|
|
|
.line 16
|
|
invoke-static {p0, p1}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->getRawResId(Landroid/content/Context;Ljava/lang/String;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:pswitch_b
|
|
const-string p1, "skl42031"
|
|
|
|
.line 17
|
|
invoke-static {p0, p1}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->getRawResId(Landroid/content/Context;Ljava/lang/String;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:pswitch_c
|
|
const-string p1, "skl42030"
|
|
|
|
.line 18
|
|
invoke-static {p0, p1}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->getRawResId(Landroid/content/Context;Ljava/lang/String;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:pswitch_d
|
|
const-string p1, "skl42029"
|
|
|
|
.line 19
|
|
invoke-static {p0, p1}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->getRawResId(Landroid/content/Context;Ljava/lang/String;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
const-string p1, "skl42027"
|
|
|
|
.line 20
|
|
invoke-static {p0, p1}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->getRawResId(Landroid/content/Context;Ljava/lang/String;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:cond_1
|
|
const-string p1, "skl42026"
|
|
|
|
.line 21
|
|
invoke-static {p0, p1}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->getRawResId(Landroid/content/Context;Ljava/lang/String;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:cond_2
|
|
const-string p1, "skl42024"
|
|
|
|
.line 22
|
|
invoke-static {p0, p1}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->getRawResId(Landroid/content/Context;Ljava/lang/String;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
.line 23
|
|
:cond_3
|
|
invoke-static {p0}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->getApModeEnabled(Landroid/content/Context;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:cond_4
|
|
const-string p1, "skl42008"
|
|
|
|
.line 24
|
|
invoke-static {p0, p1}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->getRawResId(Landroid/content/Context;Ljava/lang/String;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
.line 25
|
|
:cond_5
|
|
invoke-static {p0}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->getHelloInitializeFirst(Landroid/content/Context;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x7
|
|
:pswitch_7
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
|
|
:pswitch_data_1
|
|
.packed-switch 0xf
|
|
:pswitch_d
|
|
:pswitch_c
|
|
:pswitch_b
|
|
:pswitch_a
|
|
:pswitch_9
|
|
:pswitch_8
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method private static setTTSMap(Landroid/content/Context;)V
|
|
.locals 4
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 1
|
|
:goto_0
|
|
sget-object v1, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->RAW_FILE_NAMES:[Ljava/lang/String;
|
|
|
|
array-length v2, v1
|
|
|
|
if-ge v0, v2, :cond_1
|
|
|
|
.line 2
|
|
aget-object v1, v1, v0
|
|
|
|
invoke-static {p0, v1}, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->getRawResIdbyName(Landroid/content/Context;Ljava/lang/String;)I
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 3
|
|
sget-object v2, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->TTS_MAP:Ljava/util/Map;
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-interface {v2, v3}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
.line 4
|
|
sget-object v2, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->TTS_MAP:Ljava/util/Map;
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
sget-object v3, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->TEXT_IDS:[I
|
|
|
|
aget v3, v3, v0
|
|
|
|
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-interface {v2, v1, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
:cond_0
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public static valueOf(Ljava/lang/String;)Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
.locals 1
|
|
|
|
.line 1
|
|
const-class v0, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static values()[Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget-object v0, Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->$VALUES:[Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
invoke-virtual {v0}, [Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;->clone()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [Lcom/skt/aicloud/speaker/service/tts/EmbeddedTTS;
|
|
|
|
return-object v0
|
|
.end method
|