Skip to content

Commit

Permalink
Upload updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mochangming committed Feb 1, 2016
1 parent 3fc885e commit 9d6d1e4
Show file tree
Hide file tree
Showing 4 changed files with 227 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
23 changes: 23 additions & 0 deletions services.jar.out/smali/com/android/server/TelephonyRegistry.smali
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 9d6d1e4

Please sign in to comment.