From 9d6d1e4e33e9c2a77f760720eb422f47b20bd446 Mon Sep 17 00:00:00 2001 From: mochangming Date: Mon, 1 Feb 2016 14:17:08 +0800 Subject: [PATCH] Upload updates --- .../ITelephonyRegistry$Stub$Proxy.smali | 135 ++++++++++++++++++ .../telephony/ITelephonyRegistry$Stub.smali | 54 ++++++- .../telephony/ITelephonyRegistry.smali | 16 +++ .../android/server/TelephonyRegistry.smali | 23 +++ 4 files changed, 227 insertions(+), 1 deletion(-) diff --git a/framework2.jar.out/smali/com/android/internal/telephony/ITelephonyRegistry$Stub$Proxy.smali b/framework2.jar.out/smali/com/android/internal/telephony/ITelephonyRegistry$Stub$Proxy.smali index 3a3c29f4..7d2cea70 100644 --- a/framework2.jar.out/smali/com/android/internal/telephony/ITelephonyRegistry$Stub$Proxy.smali +++ b/framework2.jar.out/smali/com/android/internal/telephony/ITelephonyRegistry$Stub$Proxy.smali @@ -917,3 +917,138 @@ throw v2 .end method + +.method public setMiuiTelephony(Lmiui/telephony/IMiuiTelephony;)V + .locals 5 + .param p1, "telephony" # Lmiui/telephony/IMiuiTelephony; + .annotation system Ldalvik/annotation/Throws; + value = { + Landroid/os/RemoteException; + } + .end annotation + + .prologue + invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel; + + move-result-object v0 + + .local v0, "_data":Landroid/os/Parcel; + invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel; + + move-result-object v1 + + .local v1, "_reply":Landroid/os/Parcel; + :try_start_0 + const-string v2, "com.android.internal.telephony.ITelephonyRegistry" + + invoke-virtual {v0, v2}, Landroid/os/Parcel;->writeInterfaceToken(Ljava/lang/String;)V + + if-eqz p1, :cond_0 + + invoke-interface {p1}, Lmiui/telephony/IMiuiTelephony;->asBinder()Landroid/os/IBinder; + + move-result-object v2 + + :goto_0 + invoke-virtual {v0, v2}, Landroid/os/Parcel;->writeStrongBinder(Landroid/os/IBinder;)V + + iget-object v2, p0, Lcom/android/internal/telephony/ITelephonyRegistry$Stub$Proxy;->mRemote:Landroid/os/IBinder; + + const/16 v3, 0xfe + + const/4 v4, 0x0 + + invoke-interface {v2, v3, v0, v1, v4}, Landroid/os/IBinder;->transact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z + + invoke-virtual {v1}, Landroid/os/Parcel;->readException()V + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V + + invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V + + return-void + + :cond_0 + const/4 v2, 0x0 + + goto :goto_0 + + :catchall_0 + move-exception v2 + + invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V + + invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V + + throw v2 +.end method + +.method public getMiuiTelephony()Lmiui/telephony/IMiuiTelephony; + .locals 6 + .annotation system Ldalvik/annotation/Throws; + value = { + Landroid/os/RemoteException; + } + .end annotation + + .prologue + invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel; + + move-result-object v0 + + .local v0, "_data":Landroid/os/Parcel; + invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel; + + move-result-object v1 + + .local v1, "_reply":Landroid/os/Parcel; + :try_start_0 + const-string v3, "com.android.internal.telephony.ITelephonyRegistry" + + invoke-virtual {v0, v3}, Landroid/os/Parcel;->writeInterfaceToken(Ljava/lang/String;)V + + iget-object v3, p0, Lcom/android/internal/telephony/ITelephonyRegistry$Stub$Proxy;->mRemote:Landroid/os/IBinder; + + const/16 v4, 0xff + + const/4 v5, 0x0 + + invoke-interface {v3, v4, v0, v1, v5}, Landroid/os/IBinder;->transact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z + + invoke-virtual {v1}, Landroid/os/Parcel;->readException()V + + .line 489 + invoke-virtual {v1}, Landroid/os/Parcel;->readStrongBinder()Landroid/os/IBinder; + + move-result-object v3 + + invoke-static {v3}, Lmiui/telephony/IMiuiTelephony$Stub;->asInterface(Landroid/os/IBinder;)Lmiui/telephony/IMiuiTelephony; + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + move-result-object v2 + + .line 492 + .local v2, "_result":Lmiui/telephony/IMiuiTelephony; + invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V + + .line 493 + invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V + + .line 495 + return-object v2 + + .line 492 + .end local v2 # "_result":Lmiui/telephony/IMiuiTelephony; + :catchall_0 + move-exception v3 + + invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V + + .line 493 + invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V + + throw v3 +.end method diff --git a/framework2.jar.out/smali/com/android/internal/telephony/ITelephonyRegistry$Stub.smali b/framework2.jar.out/smali/com/android/internal/telephony/ITelephonyRegistry$Stub.smali index 5b5a9b4e..62e6991c 100644 --- a/framework2.jar.out/smali/com/android/internal/telephony/ITelephonyRegistry$Stub.smali +++ b/framework2.jar.out/smali/com/android/internal/telephony/ITelephonyRegistry$Stub.smali @@ -607,7 +607,57 @@ goto/16 :goto_0 - nop + :sswitch_fe + const-string v0, "com.android.internal.telephony.ITelephonyRegistry" + + invoke-virtual {p2, v0}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V + + invoke-virtual {p2}, Landroid/os/Parcel;->readStrongBinder()Landroid/os/IBinder; + + move-result-object v0 + + invoke-static {v0}, Lmiui/telephony/IMiuiTelephony$Stub;->asInterface(Landroid/os/IBinder;)Lmiui/telephony/IMiuiTelephony; + + move-result-object v1 + + .local v1, "_arg0":Lmiui/telephony/IMiuiTelephony; + invoke-virtual {p0, v1}, Lcom/android/internal/telephony/ITelephonyRegistry$Stub;->setMiuiTelephony(Lmiui/telephony/IMiuiTelephony;)V + + invoke-virtual {p3}, Landroid/os/Parcel;->writeNoException()V + + const/4 v0, 0x1 + + goto/16 :goto_0 + + :sswitch_ff + const-string v0, "com.android.internal.telephony.ITelephonyRegistry" + + invoke-virtual {p2, v0}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V + + invoke-virtual {p0}, Lcom/android/internal/telephony/ITelephonyRegistry$Stub;->getMiuiTelephony()Lmiui/telephony/IMiuiTelephony; + + move-result-object v11 + + .local v11, "_result":Lmiui/telephony/IMiuiTelephony; + invoke-virtual {p3}, Landroid/os/Parcel;->writeNoException()V + + if-eqz v11, :cond_ff + + invoke-interface {v11}, Lmiui/telephony/IMiuiTelephony;->asBinder()Landroid/os/IBinder; + + move-result-object v0 + + :goto_ff + invoke-virtual {p3, v0}, Landroid/os/Parcel;->writeStrongBinder(Landroid/os/IBinder;)V + + const/4 v0, 0x1 + + goto/16 :goto_0 + + :cond_ff + const/4 v0, 0x0 + + goto :goto_ff :sswitch_data_0 .sparse-switch @@ -623,6 +673,8 @@ 0xa -> :sswitch_a 0xb -> :sswitch_b 0xc -> :sswitch_c + 0xfe -> :sswitch_fe + 0xff -> :sswitch_ff 0x5f4e5446 -> :sswitch_0 .end sparse-switch .end method diff --git a/framework2.jar.out/smali/com/android/internal/telephony/ITelephonyRegistry.smali b/framework2.jar.out/smali/com/android/internal/telephony/ITelephonyRegistry.smali index 9483091c..7bbd9c9a 100644 --- a/framework2.jar.out/smali/com/android/internal/telephony/ITelephonyRegistry.smali +++ b/framework2.jar.out/smali/com/android/internal/telephony/ITelephonyRegistry.smali @@ -120,3 +120,19 @@ } .end annotation .end method + +.method public abstract setMiuiTelephony(Lmiui/telephony/IMiuiTelephony;)V + .annotation system Ldalvik/annotation/Throws; + value = { + Landroid/os/RemoteException; + } + .end annotation +.end method + +.method public abstract getMiuiTelephony()Lmiui/telephony/IMiuiTelephony; + .annotation system Ldalvik/annotation/Throws; + value = { + Landroid/os/RemoteException; + } + .end annotation +.end method diff --git a/services.jar.out/smali/com/android/server/TelephonyRegistry.smali b/services.jar.out/smali/com/android/server/TelephonyRegistry.smali index aa4737b9..09836305 100644 --- a/services.jar.out/smali/com/android/server/TelephonyRegistry.smali +++ b/services.jar.out/smali/com/android/server/TelephonyRegistry.smali @@ -80,6 +80,8 @@ .field private mMessageWaiting:Z +.field private mMiuiTelephony:Lmiui/telephony/IMiuiTelephony; + .field private mOtaspMode:I .field private final mRecords:Ljava/util/ArrayList; @@ -195,6 +197,8 @@ iput-object v1, p0, Lcom/android/server/TelephonyRegistry;->mBroadcastReceiver:Landroid/content/BroadcastReceiver; + iput-object v3, p0, Lcom/android/server/TelephonyRegistry;->mMiuiTelephony:Lmiui/telephony/IMiuiTelephony; + invoke-static {}, Landroid/telephony/CellLocation;->getEmpty()Landroid/telephony/CellLocation; move-result-object v0 @@ -3179,3 +3183,22 @@ return-void .end method + +.method public setMiuiTelephony(Lmiui/telephony/IMiuiTelephony;)V + .locals 0 + .param p1, "telephony" # Lmiui/telephony/IMiuiTelephony; + + .prologue + iput-object p1, p0, Lcom/android/server/TelephonyRegistry;->mMiuiTelephony:Lmiui/telephony/IMiuiTelephony; + + return-void +.end method + +.method public getMiuiTelephony()Lmiui/telephony/IMiuiTelephony; + .locals 1 + + .prologue + iget-object v0, p0, Lcom/android/server/TelephonyRegistry;->mMiuiTelephony:Lmiui/telephony/IMiuiTelephony; + + return-object v0 +.end method