383 lines
8.9 KiB
Smali
383 lines
8.9 KiB
Smali
|
|
.class Lcom/iflytek/speech/aidl/ITextUnderstander$Stub$Proxy;
|
||
|
|
.super Ljava/lang/Object;
|
||
|
|
.source "SourceFile"
|
||
|
|
|
||
|
|
# interfaces
|
||
|
|
.implements Lcom/iflytek/speech/aidl/ITextUnderstander;
|
||
|
|
|
||
|
|
|
||
|
|
# annotations
|
||
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
|
value = Lcom/iflytek/speech/aidl/ITextUnderstander$Stub;
|
||
|
|
.end annotation
|
||
|
|
|
||
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
|
accessFlags = 0xa
|
||
|
|
name = "Proxy"
|
||
|
|
.end annotation
|
||
|
|
|
||
|
|
|
||
|
|
# static fields
|
||
|
|
.field public static sDefaultImpl:Lcom/iflytek/speech/aidl/ITextUnderstander;
|
||
|
|
|
||
|
|
|
||
|
|
# instance fields
|
||
|
|
.field private mRemote:Landroid/os/IBinder;
|
||
|
|
|
||
|
|
|
||
|
|
# direct methods
|
||
|
|
.method constructor <init>(Landroid/os/IBinder;)V
|
||
|
|
.locals 0
|
||
|
|
|
||
|
|
.line 1
|
||
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
|
||
|
|
.line 2
|
||
|
|
iput-object p1, p0, Lcom/iflytek/speech/aidl/ITextUnderstander$Stub$Proxy;->mRemote:Landroid/os/IBinder;
|
||
|
|
|
||
|
|
return-void
|
||
|
|
.end method
|
||
|
|
|
||
|
|
|
||
|
|
# virtual methods
|
||
|
|
.method public asBinder()Landroid/os/IBinder;
|
||
|
|
.locals 1
|
||
|
|
|
||
|
|
.line 1
|
||
|
|
iget-object v0, p0, Lcom/iflytek/speech/aidl/ITextUnderstander$Stub$Proxy;->mRemote:Landroid/os/IBinder;
|
||
|
|
|
||
|
|
return-object v0
|
||
|
|
.end method
|
||
|
|
|
||
|
|
.method public cancel(Lcom/iflytek/speech/TextUnderstanderListener;)V
|
||
|
|
.locals 5
|
||
|
|
.annotation system Ldalvik/annotation/Throws;
|
||
|
|
value = {
|
||
|
|
Landroid/os/RemoteException;
|
||
|
|
}
|
||
|
|
.end annotation
|
||
|
|
|
||
|
|
.line 1
|
||
|
|
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
|
||
|
|
|
||
|
|
move-result-object v0
|
||
|
|
|
||
|
|
.line 2
|
||
|
|
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
|
||
|
|
|
||
|
|
move-result-object v1
|
||
|
|
|
||
|
|
:try_start_0
|
||
|
|
const-string v2, "com.iflytek.speech.aidl.ITextUnderstander"
|
||
|
|
|
||
|
|
.line 4
|
||
|
|
invoke-virtual {v0, v2}, Landroid/os/Parcel;->writeInterfaceToken(Ljava/lang/String;)V
|
||
|
|
|
||
|
|
if-eqz p1, :cond_0
|
||
|
|
|
||
|
|
.line 5
|
||
|
|
invoke-interface {p1}, Landroid/os/IInterface;->asBinder()Landroid/os/IBinder;
|
||
|
|
|
||
|
|
move-result-object v2
|
||
|
|
|
||
|
|
goto :goto_0
|
||
|
|
|
||
|
|
:cond_0
|
||
|
|
const/4 v2, 0x0
|
||
|
|
|
||
|
|
:goto_0
|
||
|
|
invoke-virtual {v0, v2}, Landroid/os/Parcel;->writeStrongBinder(Landroid/os/IBinder;)V
|
||
|
|
|
||
|
|
.line 6
|
||
|
|
iget-object v2, p0, Lcom/iflytek/speech/aidl/ITextUnderstander$Stub$Proxy;->mRemote:Landroid/os/IBinder;
|
||
|
|
|
||
|
|
const/4 v3, 0x2
|
||
|
|
|
||
|
|
const/4 v4, 0x0
|
||
|
|
|
||
|
|
invoke-interface {v2, v3, v0, v1, v4}, Landroid/os/IBinder;->transact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
|
||
|
|
|
||
|
|
move-result v2
|
||
|
|
|
||
|
|
if-nez v2, :cond_1
|
||
|
|
|
||
|
|
.line 7
|
||
|
|
invoke-static {}, Lcom/iflytek/speech/aidl/ITextUnderstander$Stub;->getDefaultImpl()Lcom/iflytek/speech/aidl/ITextUnderstander;
|
||
|
|
|
||
|
|
move-result-object v2
|
||
|
|
|
||
|
|
if-eqz v2, :cond_1
|
||
|
|
|
||
|
|
.line 8
|
||
|
|
invoke-static {}, Lcom/iflytek/speech/aidl/ITextUnderstander$Stub;->getDefaultImpl()Lcom/iflytek/speech/aidl/ITextUnderstander;
|
||
|
|
|
||
|
|
move-result-object v2
|
||
|
|
|
||
|
|
invoke-interface {v2, p1}, Lcom/iflytek/speech/aidl/ITextUnderstander;->cancel(Lcom/iflytek/speech/TextUnderstanderListener;)V
|
||
|
|
:try_end_0
|
||
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||
|
|
|
||
|
|
.line 14
|
||
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
|
||
|
|
|
||
|
|
.line 15
|
||
|
|
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
|
||
|
|
|
||
|
|
return-void
|
||
|
|
|
||
|
|
.line 16
|
||
|
|
:cond_1
|
||
|
|
:try_start_1
|
||
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->readException()V
|
||
|
|
:try_end_1
|
||
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||
|
|
|
||
|
|
.line 19
|
||
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
|
||
|
|
|
||
|
|
.line 20
|
||
|
|
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
|
||
|
|
|
||
|
|
return-void
|
||
|
|
|
||
|
|
:catchall_0
|
||
|
|
move-exception p1
|
||
|
|
|
||
|
|
.line 21
|
||
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
|
||
|
|
|
||
|
|
.line 22
|
||
|
|
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
|
||
|
|
|
||
|
|
.line 23
|
||
|
|
throw p1
|
||
|
|
.end method
|
||
|
|
|
||
|
|
.method public getInterfaceDescriptor()Ljava/lang/String;
|
||
|
|
.locals 1
|
||
|
|
|
||
|
|
const-string v0, "com.iflytek.speech.aidl.ITextUnderstander"
|
||
|
|
|
||
|
|
return-object v0
|
||
|
|
.end method
|
||
|
|
|
||
|
|
.method public isUnderstanding()Z
|
||
|
|
.locals 5
|
||
|
|
.annotation system Ldalvik/annotation/Throws;
|
||
|
|
value = {
|
||
|
|
Landroid/os/RemoteException;
|
||
|
|
}
|
||
|
|
.end annotation
|
||
|
|
|
||
|
|
.line 1
|
||
|
|
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
|
||
|
|
|
||
|
|
move-result-object v0
|
||
|
|
|
||
|
|
.line 2
|
||
|
|
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
|
||
|
|
|
||
|
|
move-result-object v1
|
||
|
|
|
||
|
|
:try_start_0
|
||
|
|
const-string v2, "com.iflytek.speech.aidl.ITextUnderstander"
|
||
|
|
|
||
|
|
.line 5
|
||
|
|
invoke-virtual {v0, v2}, Landroid/os/Parcel;->writeInterfaceToken(Ljava/lang/String;)V
|
||
|
|
|
||
|
|
.line 6
|
||
|
|
iget-object v2, p0, Lcom/iflytek/speech/aidl/ITextUnderstander$Stub$Proxy;->mRemote:Landroid/os/IBinder;
|
||
|
|
|
||
|
|
const/4 v3, 0x3
|
||
|
|
|
||
|
|
const/4 v4, 0x0
|
||
|
|
|
||
|
|
invoke-interface {v2, v3, v0, v1, v4}, Landroid/os/IBinder;->transact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
|
||
|
|
|
||
|
|
move-result v2
|
||
|
|
|
||
|
|
if-nez v2, :cond_0
|
||
|
|
|
||
|
|
.line 7
|
||
|
|
invoke-static {}, Lcom/iflytek/speech/aidl/ITextUnderstander$Stub;->getDefaultImpl()Lcom/iflytek/speech/aidl/ITextUnderstander;
|
||
|
|
|
||
|
|
move-result-object v2
|
||
|
|
|
||
|
|
if-eqz v2, :cond_0
|
||
|
|
|
||
|
|
.line 8
|
||
|
|
invoke-static {}, Lcom/iflytek/speech/aidl/ITextUnderstander$Stub;->getDefaultImpl()Lcom/iflytek/speech/aidl/ITextUnderstander;
|
||
|
|
|
||
|
|
move-result-object v2
|
||
|
|
|
||
|
|
invoke-interface {v2}, Lcom/iflytek/speech/aidl/ITextUnderstander;->isUnderstanding()Z
|
||
|
|
|
||
|
|
move-result v2
|
||
|
|
:try_end_0
|
||
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||
|
|
|
||
|
|
.line 14
|
||
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
|
||
|
|
|
||
|
|
.line 15
|
||
|
|
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
|
||
|
|
|
||
|
|
return v2
|
||
|
|
|
||
|
|
.line 16
|
||
|
|
:cond_0
|
||
|
|
:try_start_1
|
||
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->readException()V
|
||
|
|
|
||
|
|
.line 17
|
||
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->readInt()I
|
||
|
|
|
||
|
|
move-result v2
|
||
|
|
:try_end_1
|
||
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||
|
|
|
||
|
|
if-eqz v2, :cond_1
|
||
|
|
|
||
|
|
const/4 v4, 0x1
|
||
|
|
|
||
|
|
.line 20
|
||
|
|
:cond_1
|
||
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
|
||
|
|
|
||
|
|
.line 21
|
||
|
|
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
|
||
|
|
|
||
|
|
return v4
|
||
|
|
|
||
|
|
:catchall_0
|
||
|
|
move-exception v2
|
||
|
|
|
||
|
|
.line 22
|
||
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
|
||
|
|
|
||
|
|
.line 23
|
||
|
|
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
|
||
|
|
|
||
|
|
.line 24
|
||
|
|
throw v2
|
||
|
|
.end method
|
||
|
|
|
||
|
|
.method public understandText(Landroid/content/Intent;Lcom/iflytek/speech/TextUnderstanderListener;)V
|
||
|
|
.locals 5
|
||
|
|
.annotation system Ldalvik/annotation/Throws;
|
||
|
|
value = {
|
||
|
|
Landroid/os/RemoteException;
|
||
|
|
}
|
||
|
|
.end annotation
|
||
|
|
|
||
|
|
.line 1
|
||
|
|
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
|
||
|
|
|
||
|
|
move-result-object v0
|
||
|
|
|
||
|
|
.line 2
|
||
|
|
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
|
||
|
|
|
||
|
|
move-result-object v1
|
||
|
|
|
||
|
|
:try_start_0
|
||
|
|
const-string v2, "com.iflytek.speech.aidl.ITextUnderstander"
|
||
|
|
|
||
|
|
.line 4
|
||
|
|
invoke-virtual {v0, v2}, Landroid/os/Parcel;->writeInterfaceToken(Ljava/lang/String;)V
|
||
|
|
|
||
|
|
const/4 v2, 0x1
|
||
|
|
|
||
|
|
const/4 v3, 0x0
|
||
|
|
|
||
|
|
if-eqz p1, :cond_0
|
||
|
|
|
||
|
|
.line 6
|
||
|
|
invoke-virtual {v0, v2}, Landroid/os/Parcel;->writeInt(I)V
|
||
|
|
|
||
|
|
.line 7
|
||
|
|
invoke-virtual {p1, v0, v3}, Landroid/content/Intent;->writeToParcel(Landroid/os/Parcel;I)V
|
||
|
|
|
||
|
|
goto :goto_0
|
||
|
|
|
||
|
|
.line 10
|
||
|
|
:cond_0
|
||
|
|
invoke-virtual {v0, v3}, Landroid/os/Parcel;->writeInt(I)V
|
||
|
|
|
||
|
|
:goto_0
|
||
|
|
if-eqz p2, :cond_1
|
||
|
|
|
||
|
|
.line 12
|
||
|
|
invoke-interface {p2}, Landroid/os/IInterface;->asBinder()Landroid/os/IBinder;
|
||
|
|
|
||
|
|
move-result-object v4
|
||
|
|
|
||
|
|
goto :goto_1
|
||
|
|
|
||
|
|
:cond_1
|
||
|
|
const/4 v4, 0x0
|
||
|
|
|
||
|
|
:goto_1
|
||
|
|
invoke-virtual {v0, v4}, Landroid/os/Parcel;->writeStrongBinder(Landroid/os/IBinder;)V
|
||
|
|
|
||
|
|
.line 13
|
||
|
|
iget-object v4, p0, Lcom/iflytek/speech/aidl/ITextUnderstander$Stub$Proxy;->mRemote:Landroid/os/IBinder;
|
||
|
|
|
||
|
|
invoke-interface {v4, v2, v0, v1, v3}, Landroid/os/IBinder;->transact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
|
||
|
|
|
||
|
|
move-result v2
|
||
|
|
|
||
|
|
if-nez v2, :cond_2
|
||
|
|
|
||
|
|
.line 14
|
||
|
|
invoke-static {}, Lcom/iflytek/speech/aidl/ITextUnderstander$Stub;->getDefaultImpl()Lcom/iflytek/speech/aidl/ITextUnderstander;
|
||
|
|
|
||
|
|
move-result-object v2
|
||
|
|
|
||
|
|
if-eqz v2, :cond_2
|
||
|
|
|
||
|
|
.line 15
|
||
|
|
invoke-static {}, Lcom/iflytek/speech/aidl/ITextUnderstander$Stub;->getDefaultImpl()Lcom/iflytek/speech/aidl/ITextUnderstander;
|
||
|
|
|
||
|
|
move-result-object v2
|
||
|
|
|
||
|
|
invoke-interface {v2, p1, p2}, Lcom/iflytek/speech/aidl/ITextUnderstander;->understandText(Landroid/content/Intent;Lcom/iflytek/speech/TextUnderstanderListener;)V
|
||
|
|
:try_end_0
|
||
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||
|
|
|
||
|
|
.line 21
|
||
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
|
||
|
|
|
||
|
|
.line 22
|
||
|
|
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
|
||
|
|
|
||
|
|
return-void
|
||
|
|
|
||
|
|
.line 23
|
||
|
|
:cond_2
|
||
|
|
:try_start_1
|
||
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->readException()V
|
||
|
|
:try_end_1
|
||
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||
|
|
|
||
|
|
.line 26
|
||
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
|
||
|
|
|
||
|
|
.line 27
|
||
|
|
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
|
||
|
|
|
||
|
|
return-void
|
||
|
|
|
||
|
|
:catchall_0
|
||
|
|
move-exception p1
|
||
|
|
|
||
|
|
.line 28
|
||
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
|
||
|
|
|
||
|
|
.line 29
|
||
|
|
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
|
||
|
|
|
||
|
|
.line 30
|
||
|
|
throw p1
|
||
|
|
.end method
|