IResultReceiver$Stub.smali 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. .class public abstract Landroid/support/v4/os/IResultReceiver$Stub;
  2. .super Landroid/os/Binder;
  3. .source "IResultReceiver.java"
  4. # interfaces
  5. .implements Landroid/support/v4/os/IResultReceiver;
  6. # annotations
  7. .annotation system Ldalvik/annotation/EnclosingClass;
  8. value = Landroid/support/v4/os/IResultReceiver;
  9. .end annotation
  10. .annotation system Ldalvik/annotation/InnerClass;
  11. accessFlags = 0x409
  12. name = "Stub"
  13. .end annotation
  14. .annotation system Ldalvik/annotation/MemberClasses;
  15. value = {
  16. Landroid/support/v4/os/IResultReceiver$Stub$Proxy;
  17. }
  18. .end annotation
  19. # static fields
  20. .field private static final DESCRIPTOR:Ljava/lang/String; = "android.support.v4.os.IResultReceiver"
  21. .field static final TRANSACTION_send:I = 0x1
  22. # direct methods
  23. .method public constructor <init>()V
  24. .locals 1
  25. .prologue
  26. .line 15
  27. invoke-direct {p0}, Landroid/os/Binder;-><init>()V
  28. .line 16
  29. const-string v0, "android.support.v4.os.IResultReceiver"
  30. invoke-virtual {p0, p0, v0}, Landroid/support/v4/os/IResultReceiver$Stub;->attachInterface(Landroid/os/IInterface;Ljava/lang/String;)V
  31. .line 17
  32. return-void
  33. .end method
  34. .method public static asInterface(Landroid/os/IBinder;)Landroid/support/v4/os/IResultReceiver;
  35. .locals 2
  36. .param p0, "obj" # Landroid/os/IBinder;
  37. .prologue
  38. .line 24
  39. if-nez p0, :cond_0
  40. .line 25
  41. const/4 v0, 0x0
  42. .line 31
  43. :goto_0
  44. return-object v0
  45. .line 27
  46. :cond_0
  47. const-string v1, "android.support.v4.os.IResultReceiver"
  48. invoke-interface {p0, v1}, Landroid/os/IBinder;->queryLocalInterface(Ljava/lang/String;)Landroid/os/IInterface;
  49. move-result-object v0
  50. .line 28
  51. .local v0, "iin":Landroid/os/IInterface;
  52. if-eqz v0, :cond_1
  53. instance-of v1, v0, Landroid/support/v4/os/IResultReceiver;
  54. if-eqz v1, :cond_1
  55. .line 29
  56. check-cast v0, Landroid/support/v4/os/IResultReceiver;
  57. goto :goto_0
  58. .line 31
  59. :cond_1
  60. new-instance v0, Landroid/support/v4/os/IResultReceiver$Stub$Proxy;
  61. .end local v0 # "iin":Landroid/os/IInterface;
  62. invoke-direct {v0, p0}, Landroid/support/v4/os/IResultReceiver$Stub$Proxy;-><init>(Landroid/os/IBinder;)V
  63. goto :goto_0
  64. .end method
  65. # virtual methods
  66. .method public asBinder()Landroid/os/IBinder;
  67. .locals 0
  68. .prologue
  69. .line 35
  70. return-object p0
  71. .end method
  72. .method public onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
  73. .locals 4
  74. .param p1, "code" # I
  75. .param p2, "data" # Landroid/os/Parcel;
  76. .param p3, "reply" # Landroid/os/Parcel;
  77. .param p4, "flags" # I
  78. .annotation system Ldalvik/annotation/Throws;
  79. value = {
  80. Landroid/os/RemoteException;
  81. }
  82. .end annotation
  83. .prologue
  84. const/4 v2, 0x1
  85. .line 39
  86. sparse-switch p1, :sswitch_data_0
  87. .line 62
  88. invoke-super {p0, p1, p2, p3, p4}, Landroid/os/Binder;->onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
  89. move-result v2
  90. :goto_0
  91. return v2
  92. .line 43
  93. :sswitch_0
  94. const-string v3, "android.support.v4.os.IResultReceiver"
  95. invoke-virtual {p3, v3}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
  96. goto :goto_0
  97. .line 48
  98. :sswitch_1
  99. const-string v3, "android.support.v4.os.IResultReceiver"
  100. invoke-virtual {p2, v3}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
  101. .line 50
  102. invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
  103. move-result v0
  104. .line 52
  105. .local v0, "_arg0":I
  106. invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
  107. move-result v3
  108. if-eqz v3, :cond_0
  109. .line 53
  110. sget-object v3, Landroid/os/Bundle;->CREATOR:Landroid/os/Parcelable$Creator;
  111. invoke-interface {v3, p2}, Landroid/os/Parcelable$Creator;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
  112. move-result-object v1
  113. check-cast v1, Landroid/os/Bundle;
  114. .line 58
  115. .local v1, "_arg1":Landroid/os/Bundle;
  116. :goto_1
  117. invoke-virtual {p0, v0, v1}, Landroid/support/v4/os/IResultReceiver$Stub;->send(ILandroid/os/Bundle;)V
  118. goto :goto_0
  119. .line 56
  120. .end local v1 # "_arg1":Landroid/os/Bundle;
  121. :cond_0
  122. const/4 v1, 0x0
  123. .restart local v1 # "_arg1":Landroid/os/Bundle;
  124. goto :goto_1
  125. .line 39
  126. :sswitch_data_0
  127. .sparse-switch
  128. 0x1 -> :sswitch_1
  129. 0x5f4e5446 -> :sswitch_0
  130. .end sparse-switch
  131. .end method