.class public Lcom/iflytek/speech/SpeakerVerifierAidl; .super Lcom/iflytek/speech/SpeechModuleAidl; .source "SourceFile" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/iflytek/speech/SpeakerVerifierAidl$DownloadListener;, Lcom/iflytek/speech/SpeakerVerifierAidl$PassWord; } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Lcom/iflytek/speech/SpeechModuleAidl<", "Lcom/iflytek/speech/aidl/ISpeakerVerifier;", ">;" } .end annotation # static fields .field public static IVP_PARAM_CONSISTTHRESHOLD:Ljava/lang/String; = "consistThreshold" .field public static IVP_PARAM_DTW_CHECK_THRESHOLD:Ljava/lang/String; = "checkThreshold" .field public static IVP_SENTENCE_CNT:Ljava/lang/String; = "count" .field public static USER_NAME:Ljava/lang/String; = "name" .field public static VID:Ljava/lang/String; = "vid" # instance fields .field private final TAG:Ljava/lang/String; # direct methods .method static constructor ()V .locals 0 return-void .end method .method public constructor (Landroid/content/Context;Lcom/iflytek/cloud/InitListener;)V .locals 1 const-string v0, "com.iflytek.vflynote.speakerverify" .line 1 invoke-direct {p0, p1, p2, v0}, Lcom/iflytek/speech/SpeechModuleAidl;->(Landroid/content/Context;Lcom/iflytek/cloud/InitListener;Ljava/lang/String;)V const-string p1, "SpeakerVerifier" .line 2 iput-object p1, p0, Lcom/iflytek/speech/SpeakerVerifierAidl;->TAG:Ljava/lang/String; return-void .end method # virtual methods .method public bridge synthetic destory()Z .locals 1 .line 1 invoke-super {p0}, Lcom/iflytek/speech/SpeechModuleAidl;->destory()Z move-result v0 return v0 .end method .method public endSpeak()V .locals 2 :try_start_0 const-string v0, "SpeakerVerifier" const-string v1, "SpeakerVerifier | endSpeak" .line 1 invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I .line 2 iget-object v0, p0, Lcom/iflytek/speech/SpeechModuleAidl;->mService:Landroid/os/IInterface; check-cast v0, Lcom/iflytek/speech/aidl/ISpeakerVerifier; invoke-interface {v0}, Lcom/iflytek/speech/aidl/ISpeakerVerifier;->endSpeak()V :try_end_0 .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_1 .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0 goto :goto_0 :catch_0 move-exception v0 .line 6 invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V goto :goto_0 :catch_1 move-exception v0 .line 7 invoke-static {v0}, Lcom/iflytek/cloud/msc/util/log/DebugLog;->LogE(Ljava/lang/Throwable;)V :goto_0 return-void .end method .method public bridge synthetic getIntent()Landroid/content/Intent; .locals 1 .line 1 invoke-super {p0}, Lcom/iflytek/speech/SpeechModuleAidl;->getIntent()Landroid/content/Intent; move-result-object v0 return-object v0 .end method .method public getParameter(Ljava/lang/String;)Ljava/lang/String; .locals 0 const/4 p1, 0x0 return-object p1 .end method .method public getPasswordList(Landroid/content/Context;Lcom/iflytek/speech/SpeakerVerifierAidl$DownloadListener;Ljava/lang/String;)I .locals 0 const/4 p1, 0x0 return p1 .end method .method public identify(Ljava/lang/String;Ljava/lang/String;Lcom/iflytek/speech/VerifierListener;)I .locals 0 const/4 p1, 0x0 return p1 .end method .method public bridge synthetic isActionInstalled(Landroid/content/Context;Ljava/lang/String;)Z .locals 0 .line 1 invoke-super {p0, p1, p2}, Lcom/iflytek/speech/SpeechModuleAidl;->isActionInstalled(Landroid/content/Context;Ljava/lang/String;)Z move-result p1 return p1 .end method .method public bridge synthetic isAvailable()Z .locals 1 .line 1 invoke-super {p0}, Lcom/iflytek/speech/SpeechModuleAidl;->isAvailable()Z move-result v0 return v0 .end method .method public register(Ljava/lang/String;Ljava/lang/String;Lcom/iflytek/speech/VerifierListener;)I .locals 2 const-string v0, "SpeakerVerifier" const-string v1, "SpeakerVerifier | register" .line 1 invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I .line 2 iget-object v0, p0, Lcom/iflytek/speech/SpeechModuleAidl;->mService:Landroid/os/IInterface; if-nez v0, :cond_0 const/16 p1, 0x520b return p1 :cond_0 if-nez p3, :cond_1 const/16 p1, 0x4e2c return p1 .line 7 :cond_1 :try_start_0 check-cast v0, Lcom/iflytek/speech/aidl/ISpeakerVerifier; invoke-interface {v0, p1, p2, p3}, Lcom/iflytek/speech/aidl/ISpeakerVerifier;->register(Ljava/lang/String;Ljava/lang/String;Lcom/iflytek/speech/VerifierListener;)I :try_end_0 .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_1 .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0 const/4 p1, 0x0 return p1 :catch_0 move-exception p1 .line 12 invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V goto :goto_0 :catch_1 move-exception p1 .line 13 invoke-static {p1}, Lcom/iflytek/cloud/msc/util/log/DebugLog;->LogE(Ljava/lang/Throwable;)V :goto_0 const/16 p1, 0x520c return p1 .end method .method public setParameter(Ljava/lang/String;Ljava/lang/String;)I .locals 0 const/4 p1, 0x0 return p1 .end method .method public stopSpeak()V .locals 2 :try_start_0 const-string v0, "SpeakerVerifier" const-string v1, "SpeakerVerifier | stopSpeak" .line 1 invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I .line 2 iget-object v0, p0, Lcom/iflytek/speech/SpeechModuleAidl;->mService:Landroid/os/IInterface; check-cast v0, Lcom/iflytek/speech/aidl/ISpeakerVerifier; invoke-interface {v0}, Lcom/iflytek/speech/aidl/ISpeakerVerifier;->stopSpeak()V :try_end_0 .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_1 .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0 goto :goto_0 :catch_0 move-exception v0 .line 6 invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V goto :goto_0 :catch_1 move-exception v0 .line 7 invoke-static {v0}, Lcom/iflytek/cloud/msc/util/log/DebugLog;->LogE(Ljava/lang/Throwable;)V :goto_0 return-void .end method .method public verify(Ljava/lang/String;Ljava/lang/String;Lcom/iflytek/speech/VerifierListener;)I .locals 2 const-string v0, "SpeakerVerifier" const-string v1, "SpeakerVerifier | verify" .line 1 invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I .line 2 iget-object v0, p0, Lcom/iflytek/speech/SpeechModuleAidl;->mService:Landroid/os/IInterface; if-nez v0, :cond_0 const/16 p1, 0x520b return p1 :cond_0 if-nez p3, :cond_1 const/16 p1, 0x4e2c return p1 .line 7 :cond_1 :try_start_0 check-cast v0, Lcom/iflytek/speech/aidl/ISpeakerVerifier; invoke-interface {v0, p1, p2, p3}, Lcom/iflytek/speech/aidl/ISpeakerVerifier;->verify(Ljava/lang/String;Ljava/lang/String;Lcom/iflytek/speech/VerifierListener;)I :try_end_0 .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_1 .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0 const/4 p1, 0x0 return p1 :catch_0 move-exception p1 .line 12 invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V goto :goto_0 :catch_1 move-exception p1 .line 13 invoke-static {p1}, Lcom/iflytek/cloud/msc/util/log/DebugLog;->LogE(Ljava/lang/Throwable;)V :goto_0 const/16 p1, 0x520c return p1 .end method