197 lines
4.4 KiB
Smali
197 lines
4.4 KiB
Smali
.class public abstract Lt/a/a/c$a;
|
|
.super Landroid/os/Binder;
|
|
.source "IPostMessageService.java"
|
|
|
|
# interfaces
|
|
.implements Lt/a/a/c;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lt/a/a/c;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x409
|
|
name = "a"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lt/a/a/c$a$a;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final DESCRIPTOR:Ljava/lang/String; = "android.support.customtabs.IPostMessageService"
|
|
|
|
.field public static final TRANSACTION_onMessageChannelReady:I = 0x2
|
|
|
|
.field public static final TRANSACTION_onPostMessage:I = 0x3
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Landroid/os/Binder;-><init>()V
|
|
|
|
const-string v0, "android.support.customtabs.IPostMessageService"
|
|
|
|
invoke-virtual {p0, p0, v0}, Landroid/os/Binder;->attachInterface(Landroid/os/IInterface;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static asInterface(Landroid/os/IBinder;)Lt/a/a/c;
|
|
.locals 2
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-string v0, "android.support.customtabs.IPostMessageService"
|
|
|
|
invoke-interface {p0, v0}, Landroid/os/IBinder;->queryLocalInterface(Ljava/lang/String;)Landroid/os/IInterface;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
instance-of v1, v0, Lt/a/a/c;
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
check-cast v0, Lt/a/a/c;
|
|
|
|
return-object v0
|
|
|
|
:cond_1
|
|
new-instance v0, Lt/a/a/c$a$a;
|
|
|
|
invoke-direct {v0, p0}, Lt/a/a/c$a$a;-><init>(Landroid/os/IBinder;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public asBinder()Landroid/os/IBinder;
|
|
.locals 0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Landroid/os/RemoteException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x2
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
const-string v3, "android.support.customtabs.IPostMessageService"
|
|
|
|
if-eq p1, v0, :cond_3
|
|
|
|
const/4 v0, 0x3
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
const v0, 0x5f4e5446
|
|
|
|
if-eq p1, v0, :cond_0
|
|
|
|
invoke-super {p0, p1, p2, p3, p4}, Landroid/os/Binder;->onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p3, v3}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
|
|
|
|
return v2
|
|
|
|
:cond_1
|
|
invoke-virtual {p2, v3}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p2}, Landroid/os/Parcel;->readStrongBinder()Landroid/os/IBinder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lt/a/a/a$a;->asInterface(Landroid/os/IBinder;)Lt/a/a/a;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p2}, Landroid/os/Parcel;->readString()Ljava/lang/String;
|
|
|
|
move-result-object p4
|
|
|
|
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
sget-object v0, Landroid/os/Bundle;->CREATOR:Landroid/os/Parcelable$Creator;
|
|
|
|
invoke-interface {v0, p2}, Landroid/os/Parcelable$Creator;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
move-object v1, p2
|
|
|
|
check-cast v1, Landroid/os/Bundle;
|
|
|
|
:cond_2
|
|
invoke-interface {p0, p1, p4, v1}, Lt/a/a/c;->onPostMessage(Lt/a/a/a;Ljava/lang/String;Landroid/os/Bundle;)V
|
|
|
|
invoke-virtual {p3}, Landroid/os/Parcel;->writeNoException()V
|
|
|
|
return v2
|
|
|
|
:cond_3
|
|
invoke-virtual {p2, v3}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p2}, Landroid/os/Parcel;->readStrongBinder()Landroid/os/IBinder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Lt/a/a/a$a;->asInterface(Landroid/os/IBinder;)Lt/a/a/a;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
|
|
|
move-result p4
|
|
|
|
if-eqz p4, :cond_4
|
|
|
|
sget-object p4, Landroid/os/Bundle;->CREATOR:Landroid/os/Parcelable$Creator;
|
|
|
|
invoke-interface {p4, p2}, Landroid/os/Parcelable$Creator;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
move-object v1, p2
|
|
|
|
check-cast v1, Landroid/os/Bundle;
|
|
|
|
:cond_4
|
|
invoke-interface {p0, p1, v1}, Lt/a/a/c;->onMessageChannelReady(Lt/a/a/a;Landroid/os/Bundle;)V
|
|
|
|
invoke-virtual {p3}, Landroid/os/Parcel;->writeNoException()V
|
|
|
|
return v2
|
|
.end method
|