539 lines
14 KiB
Smali
539 lines
14 KiB
Smali
.class public abstract Landroid/support/customtabs/ICustomTabsService$Stub;
|
|
.super Landroid/os/Binder;
|
|
.source "ICustomTabsService.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/support/customtabs/ICustomTabsService;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroid/support/customtabs/ICustomTabsService;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x409
|
|
name = "Stub"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroid/support/customtabs/ICustomTabsService$Stub$Proxy;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final DESCRIPTOR:Ljava/lang/String; = "android.support.customtabs.ICustomTabsService"
|
|
|
|
.field public static final TRANSACTION_extraCommand:I = 0x5
|
|
|
|
.field public static final TRANSACTION_mayLaunchUrl:I = 0x4
|
|
|
|
.field public static final TRANSACTION_newSession:I = 0x3
|
|
|
|
.field public static final TRANSACTION_postMessage:I = 0x8
|
|
|
|
.field public static final TRANSACTION_requestPostMessageChannel:I = 0x7
|
|
|
|
.field public static final TRANSACTION_updateVisuals:I = 0x6
|
|
|
|
.field public static final TRANSACTION_validateRelationship:I = 0x9
|
|
|
|
.field public static final TRANSACTION_warmup:I = 0x2
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Landroid/os/Binder;-><init>()V
|
|
|
|
const-string v0, "android.support.customtabs.ICustomTabsService"
|
|
|
|
.line 2
|
|
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;)Landroid/support/customtabs/ICustomTabsService;
|
|
.locals 2
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-string v0, "android.support.customtabs.ICustomTabsService"
|
|
|
|
.line 1
|
|
invoke-interface {p0, v0}, Landroid/os/IBinder;->queryLocalInterface(Ljava/lang/String;)Landroid/os/IInterface;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 2
|
|
instance-of v1, v0, Landroid/support/customtabs/ICustomTabsService;
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 3
|
|
check-cast v0, Landroid/support/customtabs/ICustomTabsService;
|
|
|
|
return-object v0
|
|
|
|
.line 4
|
|
:cond_1
|
|
new-instance v0, Landroid/support/customtabs/ICustomTabsService$Stub$Proxy;
|
|
|
|
invoke-direct {v0, p0}, Landroid/support/customtabs/ICustomTabsService$Stub$Proxy;-><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 v0, 0x5f4e5446
|
|
|
|
const-string v1, "android.support.customtabs.ICustomTabsService"
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-eq p1, v0, :cond_9
|
|
|
|
const/4 v0, 0x0
|
|
|
|
packed-switch p1, :pswitch_data_0
|
|
|
|
.line 1
|
|
invoke-super {p0, p1, p2, p3, p4}, Landroid/os/Binder;->onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
|
|
.line 2
|
|
:pswitch_0
|
|
invoke-virtual {p2, v1}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
|
|
|
|
.line 3
|
|
invoke-virtual {p2}, Landroid/os/Parcel;->readStrongBinder()Landroid/os/IBinder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Landroid/support/customtabs/ICustomTabsCallback$Stub;->asInterface(Landroid/os/IBinder;)Landroid/support/customtabs/ICustomTabsCallback;
|
|
|
|
move-result-object p1
|
|
|
|
.line 4
|
|
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
|
|
|
move-result p4
|
|
|
|
.line 5
|
|
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 6
|
|
sget-object v1, Landroid/net/Uri;->CREATOR:Landroid/os/Parcelable$Creator;
|
|
|
|
invoke-interface {v1, p2}, Landroid/os/Parcelable$Creator;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroid/net/Uri;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object v1, v0
|
|
|
|
.line 7
|
|
:goto_0
|
|
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
.line 8
|
|
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 v0, p2
|
|
|
|
check-cast v0, Landroid/os/Bundle;
|
|
|
|
.line 9
|
|
:cond_1
|
|
invoke-interface {p0, p1, p4, v1, v0}, Landroid/support/customtabs/ICustomTabsService;->validateRelationship(Landroid/support/customtabs/ICustomTabsCallback;ILandroid/net/Uri;Landroid/os/Bundle;)Z
|
|
|
|
move-result p1
|
|
|
|
.line 10
|
|
invoke-virtual {p3}, Landroid/os/Parcel;->writeNoException()V
|
|
|
|
.line 11
|
|
invoke-virtual {p3, p1}, Landroid/os/Parcel;->writeInt(I)V
|
|
|
|
return v2
|
|
|
|
.line 12
|
|
:pswitch_1
|
|
invoke-virtual {p2, v1}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
|
|
|
|
.line 13
|
|
invoke-virtual {p2}, Landroid/os/Parcel;->readStrongBinder()Landroid/os/IBinder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Landroid/support/customtabs/ICustomTabsCallback$Stub;->asInterface(Landroid/os/IBinder;)Landroid/support/customtabs/ICustomTabsCallback;
|
|
|
|
move-result-object p1
|
|
|
|
.line 14
|
|
invoke-virtual {p2}, Landroid/os/Parcel;->readString()Ljava/lang/String;
|
|
|
|
move-result-object p4
|
|
|
|
.line 15
|
|
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 16
|
|
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 v0, p2
|
|
|
|
check-cast v0, Landroid/os/Bundle;
|
|
|
|
.line 17
|
|
:cond_2
|
|
invoke-interface {p0, p1, p4, v0}, Landroid/support/customtabs/ICustomTabsService;->postMessage(Landroid/support/customtabs/ICustomTabsCallback;Ljava/lang/String;Landroid/os/Bundle;)I
|
|
|
|
move-result p1
|
|
|
|
.line 18
|
|
invoke-virtual {p3}, Landroid/os/Parcel;->writeNoException()V
|
|
|
|
.line 19
|
|
invoke-virtual {p3, p1}, Landroid/os/Parcel;->writeInt(I)V
|
|
|
|
return v2
|
|
|
|
.line 20
|
|
:pswitch_2
|
|
invoke-virtual {p2, v1}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
|
|
|
|
.line 21
|
|
invoke-virtual {p2}, Landroid/os/Parcel;->readStrongBinder()Landroid/os/IBinder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Landroid/support/customtabs/ICustomTabsCallback$Stub;->asInterface(Landroid/os/IBinder;)Landroid/support/customtabs/ICustomTabsCallback;
|
|
|
|
move-result-object p1
|
|
|
|
.line 22
|
|
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
|
|
|
move-result p4
|
|
|
|
if-eqz p4, :cond_3
|
|
|
|
.line 23
|
|
sget-object p4, Landroid/net/Uri;->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 v0, p2
|
|
|
|
check-cast v0, Landroid/net/Uri;
|
|
|
|
.line 24
|
|
:cond_3
|
|
invoke-interface {p0, p1, v0}, Landroid/support/customtabs/ICustomTabsService;->requestPostMessageChannel(Landroid/support/customtabs/ICustomTabsCallback;Landroid/net/Uri;)Z
|
|
|
|
move-result p1
|
|
|
|
.line 25
|
|
invoke-virtual {p3}, Landroid/os/Parcel;->writeNoException()V
|
|
|
|
.line 26
|
|
invoke-virtual {p3, p1}, Landroid/os/Parcel;->writeInt(I)V
|
|
|
|
return v2
|
|
|
|
.line 27
|
|
:pswitch_3
|
|
invoke-virtual {p2, v1}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
|
|
|
|
.line 28
|
|
invoke-virtual {p2}, Landroid/os/Parcel;->readStrongBinder()Landroid/os/IBinder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Landroid/support/customtabs/ICustomTabsCallback$Stub;->asInterface(Landroid/os/IBinder;)Landroid/support/customtabs/ICustomTabsCallback;
|
|
|
|
move-result-object p1
|
|
|
|
.line 29
|
|
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
|
|
|
move-result p4
|
|
|
|
if-eqz p4, :cond_4
|
|
|
|
.line 30
|
|
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 v0, p2
|
|
|
|
check-cast v0, Landroid/os/Bundle;
|
|
|
|
.line 31
|
|
:cond_4
|
|
invoke-interface {p0, p1, v0}, Landroid/support/customtabs/ICustomTabsService;->updateVisuals(Landroid/support/customtabs/ICustomTabsCallback;Landroid/os/Bundle;)Z
|
|
|
|
move-result p1
|
|
|
|
.line 32
|
|
invoke-virtual {p3}, Landroid/os/Parcel;->writeNoException()V
|
|
|
|
.line 33
|
|
invoke-virtual {p3, p1}, Landroid/os/Parcel;->writeInt(I)V
|
|
|
|
return v2
|
|
|
|
.line 34
|
|
:pswitch_4
|
|
invoke-virtual {p2, v1}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
|
|
|
|
.line 35
|
|
invoke-virtual {p2}, Landroid/os/Parcel;->readString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
.line 36
|
|
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
|
|
|
move-result p4
|
|
|
|
if-eqz p4, :cond_5
|
|
|
|
.line 37
|
|
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 v0, p2
|
|
|
|
check-cast v0, Landroid/os/Bundle;
|
|
|
|
.line 38
|
|
:cond_5
|
|
invoke-interface {p0, p1, v0}, Landroid/support/customtabs/ICustomTabsService;->extraCommand(Ljava/lang/String;Landroid/os/Bundle;)Landroid/os/Bundle;
|
|
|
|
move-result-object p1
|
|
|
|
.line 39
|
|
invoke-virtual {p3}, Landroid/os/Parcel;->writeNoException()V
|
|
|
|
if-eqz p1, :cond_6
|
|
|
|
.line 40
|
|
invoke-virtual {p3, v2}, Landroid/os/Parcel;->writeInt(I)V
|
|
|
|
.line 41
|
|
invoke-virtual {p1, p3, v2}, Landroid/os/Bundle;->writeToParcel(Landroid/os/Parcel;I)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_6
|
|
const/4 p1, 0x0
|
|
|
|
.line 42
|
|
invoke-virtual {p3, p1}, Landroid/os/Parcel;->writeInt(I)V
|
|
|
|
:goto_1
|
|
return v2
|
|
|
|
.line 43
|
|
:pswitch_5
|
|
invoke-virtual {p2, v1}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
|
|
|
|
.line 44
|
|
invoke-virtual {p2}, Landroid/os/Parcel;->readStrongBinder()Landroid/os/IBinder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Landroid/support/customtabs/ICustomTabsCallback$Stub;->asInterface(Landroid/os/IBinder;)Landroid/support/customtabs/ICustomTabsCallback;
|
|
|
|
move-result-object p1
|
|
|
|
.line 45
|
|
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
|
|
|
move-result p4
|
|
|
|
if-eqz p4, :cond_7
|
|
|
|
.line 46
|
|
sget-object p4, Landroid/net/Uri;->CREATOR:Landroid/os/Parcelable$Creator;
|
|
|
|
invoke-interface {p4, p2}, Landroid/os/Parcelable$Creator;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
|
|
|
|
move-result-object p4
|
|
|
|
check-cast p4, Landroid/net/Uri;
|
|
|
|
goto :goto_2
|
|
|
|
:cond_7
|
|
move-object p4, v0
|
|
|
|
.line 47
|
|
:goto_2
|
|
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_8
|
|
|
|
.line 48
|
|
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 v0
|
|
|
|
check-cast v0, Landroid/os/Bundle;
|
|
|
|
.line 49
|
|
:cond_8
|
|
sget-object v1, Landroid/os/Bundle;->CREATOR:Landroid/os/Parcelable$Creator;
|
|
|
|
invoke-virtual {p2, v1}, Landroid/os/Parcel;->createTypedArrayList(Landroid/os/Parcelable$Creator;)Ljava/util/ArrayList;
|
|
|
|
move-result-object p2
|
|
|
|
.line 50
|
|
invoke-interface {p0, p1, p4, v0, p2}, Landroid/support/customtabs/ICustomTabsService;->mayLaunchUrl(Landroid/support/customtabs/ICustomTabsCallback;Landroid/net/Uri;Landroid/os/Bundle;Ljava/util/List;)Z
|
|
|
|
move-result p1
|
|
|
|
.line 51
|
|
invoke-virtual {p3}, Landroid/os/Parcel;->writeNoException()V
|
|
|
|
.line 52
|
|
invoke-virtual {p3, p1}, Landroid/os/Parcel;->writeInt(I)V
|
|
|
|
return v2
|
|
|
|
.line 53
|
|
:pswitch_6
|
|
invoke-virtual {p2, v1}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
|
|
|
|
.line 54
|
|
invoke-virtual {p2}, Landroid/os/Parcel;->readStrongBinder()Landroid/os/IBinder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1}, Landroid/support/customtabs/ICustomTabsCallback$Stub;->asInterface(Landroid/os/IBinder;)Landroid/support/customtabs/ICustomTabsCallback;
|
|
|
|
move-result-object p1
|
|
|
|
.line 55
|
|
invoke-interface {p0, p1}, Landroid/support/customtabs/ICustomTabsService;->newSession(Landroid/support/customtabs/ICustomTabsCallback;)Z
|
|
|
|
move-result p1
|
|
|
|
.line 56
|
|
invoke-virtual {p3}, Landroid/os/Parcel;->writeNoException()V
|
|
|
|
.line 57
|
|
invoke-virtual {p3, p1}, Landroid/os/Parcel;->writeInt(I)V
|
|
|
|
return v2
|
|
|
|
.line 58
|
|
:pswitch_7
|
|
invoke-virtual {p2, v1}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
|
|
|
|
.line 59
|
|
invoke-virtual {p2}, Landroid/os/Parcel;->readLong()J
|
|
|
|
move-result-wide p1
|
|
|
|
.line 60
|
|
invoke-interface {p0, p1, p2}, Landroid/support/customtabs/ICustomTabsService;->warmup(J)Z
|
|
|
|
move-result p1
|
|
|
|
.line 61
|
|
invoke-virtual {p3}, Landroid/os/Parcel;->writeNoException()V
|
|
|
|
.line 62
|
|
invoke-virtual {p3, p1}, Landroid/os/Parcel;->writeInt(I)V
|
|
|
|
return v2
|
|
|
|
.line 63
|
|
:cond_9
|
|
invoke-virtual {p3, v1}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
|
|
|
|
return v2
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x2
|
|
:pswitch_7
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|