88 lines
2.2 KiB
Smali
88 lines
2.2 KiB
Smali
.class public final Lcom/google/vr/dynamite/client/a;
|
|
.super Lcom/google/ar/core/dependencies/c;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lcom/google/vr/dynamite/client/ILoadedInstanceCreator;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/os/IBinder;)V
|
|
.locals 1
|
|
|
|
const-string v0, "com.google.vr.dynamite.client.ILoadedInstanceCreator"
|
|
|
|
.line 1
|
|
invoke-direct {p0, p1, v0}, Lcom/google/ar/core/dependencies/c;-><init>(Landroid/os/IBinder;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final newNativeLibraryLoader(Lcom/google/vr/dynamite/client/IObjectWrapper;Lcom/google/vr/dynamite/client/IObjectWrapper;)Lcom/google/vr/dynamite/client/INativeLibraryLoader;
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lcom/google/ar/core/dependencies/c;->a()Landroid/os/Parcel;
|
|
|
|
move-result-object v0
|
|
|
|
.line 2
|
|
invoke-static {v0, p1}, Lcom/google/ar/core/dependencies/e;->d(Landroid/os/Parcel;Landroid/os/IInterface;)V
|
|
|
|
.line 3
|
|
invoke-static {v0, p2}, Lcom/google/ar/core/dependencies/e;->d(Landroid/os/Parcel;Landroid/os/IInterface;)V
|
|
|
|
const/4 p1, 0x1
|
|
|
|
.line 4
|
|
invoke-virtual {p0, p1, v0}, Lcom/google/ar/core/dependencies/c;->b(ILandroid/os/Parcel;)Landroid/os/Parcel;
|
|
|
|
move-result-object p1
|
|
|
|
.line 5
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->readStrongBinder()Landroid/os/IBinder;
|
|
|
|
move-result-object p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
const/4 p2, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-string v0, "com.google.vr.dynamite.client.INativeLibraryLoader"
|
|
|
|
.line 6
|
|
invoke-interface {p2, v0}, Landroid/os/IBinder;->queryLocalInterface(Ljava/lang/String;)Landroid/os/IInterface;
|
|
|
|
move-result-object v0
|
|
|
|
.line 7
|
|
instance-of v1, v0, Lcom/google/vr/dynamite/client/INativeLibraryLoader;
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 8
|
|
move-object p2, v0
|
|
|
|
check-cast p2, Lcom/google/vr/dynamite/client/INativeLibraryLoader;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
new-instance v0, Lcom/google/vr/dynamite/client/b;
|
|
|
|
invoke-direct {v0, p2}, Lcom/google/vr/dynamite/client/b;-><init>(Landroid/os/IBinder;)V
|
|
|
|
move-object p2, v0
|
|
|
|
.line 9
|
|
:goto_0
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->recycle()V
|
|
|
|
return-object p2
|
|
.end method
|