Changes of com.discord v1204
This commit is contained in:
parent
3a1c655a31
commit
841ce1180e
17614 changed files with 1364134 additions and 1309304 deletions
|
@ -1,11 +0,0 @@
|
|||
.class public interface abstract Lf/l/a/a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Clock.kt"
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract a()J
|
||||
.end method
|
||||
|
||||
.method public abstract b()J
|
||||
.end method
|
397
com.discord/smali_classes2/f/l/a/a/a$a.smali
Normal file
397
com.discord/smali_classes2/f/l/a/a/a$a.smali
Normal file
|
@ -0,0 +1,397 @@
|
|||
.class public abstract Lf/l/a/a/a$a;
|
||||
.super Landroid/os/Binder;
|
||||
.source "ISACallback.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lf/l/a/a/a;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lf/l/a/a/a;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x409
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Landroid/os/Binder;-><init>()V
|
||||
|
||||
const-string v0, "com.msc.sa.aidl.ISACallback"
|
||||
|
||||
invoke-virtual {p0, p0, v0}, Landroid/os/Binder;->attachInterface(Landroid/os/IInterface;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.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/4 v1, 0x1
|
||||
|
||||
const-string v2, "com.msc.sa.aidl.ISACallback"
|
||||
|
||||
if-eq p1, v0, :cond_10
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
packed-switch p1, :pswitch_data_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
|
||||
|
||||
:pswitch_0
|
||||
invoke-virtual {p2, v2}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p1
|
||||
|
||||
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p4
|
||||
|
||||
if-eqz p4, :cond_0
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p4
|
||||
|
||||
if-eqz p4, :cond_1
|
||||
|
||||
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;
|
||||
|
||||
:cond_1
|
||||
invoke-interface {p0, p1, v3, v0}, Lf/l/a/a/a;->y(IZLandroid/os/Bundle;)V
|
||||
|
||||
invoke-virtual {p3}, Landroid/os/Parcel;->writeNoException()V
|
||||
|
||||
return v1
|
||||
|
||||
:pswitch_1
|
||||
invoke-virtual {p2, v2}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p1
|
||||
|
||||
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p4
|
||||
|
||||
if-eqz p4, :cond_2
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
:cond_2
|
||||
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p4
|
||||
|
||||
if-eqz p4, :cond_3
|
||||
|
||||
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;
|
||||
|
||||
:cond_3
|
||||
invoke-interface {p0, p1, v3, v0}, Lf/l/a/a/a;->o0(IZLandroid/os/Bundle;)V
|
||||
|
||||
invoke-virtual {p3}, Landroid/os/Parcel;->writeNoException()V
|
||||
|
||||
return v1
|
||||
|
||||
:pswitch_2
|
||||
invoke-virtual {p2, v2}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p1
|
||||
|
||||
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p4
|
||||
|
||||
if-eqz p4, :cond_4
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
:cond_4
|
||||
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p4
|
||||
|
||||
if-eqz p4, :cond_5
|
||||
|
||||
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;
|
||||
|
||||
:cond_5
|
||||
invoke-interface {p0, p1, v3, v0}, Lf/l/a/a/a;->m(IZLandroid/os/Bundle;)V
|
||||
|
||||
invoke-virtual {p3}, Landroid/os/Parcel;->writeNoException()V
|
||||
|
||||
return v1
|
||||
|
||||
:pswitch_3
|
||||
invoke-virtual {p2, v2}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p1
|
||||
|
||||
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p4
|
||||
|
||||
if-eqz p4, :cond_6
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
:cond_6
|
||||
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p4
|
||||
|
||||
if-eqz p4, :cond_7
|
||||
|
||||
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;
|
||||
|
||||
:cond_7
|
||||
invoke-interface {p0, p1, v3, v0}, Lf/l/a/a/a;->k0(IZLandroid/os/Bundle;)V
|
||||
|
||||
invoke-virtual {p3}, Landroid/os/Parcel;->writeNoException()V
|
||||
|
||||
return v1
|
||||
|
||||
:pswitch_4
|
||||
invoke-virtual {p2, v2}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p1
|
||||
|
||||
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p4
|
||||
|
||||
if-eqz p4, :cond_8
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
:cond_8
|
||||
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p4
|
||||
|
||||
if-eqz p4, :cond_9
|
||||
|
||||
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;
|
||||
|
||||
:cond_9
|
||||
invoke-interface {p0, p1, v3, v0}, Lf/l/a/a/a;->v(IZLandroid/os/Bundle;)V
|
||||
|
||||
invoke-virtual {p3}, Landroid/os/Parcel;->writeNoException()V
|
||||
|
||||
return v1
|
||||
|
||||
:pswitch_5
|
||||
invoke-virtual {p2, v2}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p1
|
||||
|
||||
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p4
|
||||
|
||||
if-eqz p4, :cond_a
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
:cond_a
|
||||
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p4
|
||||
|
||||
if-eqz p4, :cond_b
|
||||
|
||||
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;
|
||||
|
||||
:cond_b
|
||||
invoke-interface {p0, p1, v3, v0}, Lf/l/a/a/a;->p0(IZLandroid/os/Bundle;)V
|
||||
|
||||
invoke-virtual {p3}, Landroid/os/Parcel;->writeNoException()V
|
||||
|
||||
return v1
|
||||
|
||||
:pswitch_6
|
||||
invoke-virtual {p2, v2}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p1
|
||||
|
||||
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p4
|
||||
|
||||
if-eqz p4, :cond_c
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
:cond_c
|
||||
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p4
|
||||
|
||||
if-eqz p4, :cond_d
|
||||
|
||||
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;
|
||||
|
||||
:cond_d
|
||||
invoke-interface {p0, p1, v3, v0}, Lf/l/a/a/a;->W(IZLandroid/os/Bundle;)V
|
||||
|
||||
invoke-virtual {p3}, Landroid/os/Parcel;->writeNoException()V
|
||||
|
||||
return v1
|
||||
|
||||
:pswitch_7
|
||||
invoke-virtual {p2, v2}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p1
|
||||
|
||||
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p4
|
||||
|
||||
if-eqz p4, :cond_e
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
:cond_e
|
||||
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p4
|
||||
|
||||
if-eqz p4, :cond_f
|
||||
|
||||
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;
|
||||
|
||||
:cond_f
|
||||
invoke-interface {p0, p1, v3, v0}, Lf/l/a/a/a;->V(IZLandroid/os/Bundle;)V
|
||||
|
||||
invoke-virtual {p3}, Landroid/os/Parcel;->writeNoException()V
|
||||
|
||||
return v1
|
||||
|
||||
:cond_10
|
||||
invoke-virtual {p3, v2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
|
||||
|
||||
return v1
|
||||
|
||||
:pswitch_data_0
|
||||
.packed-switch 0x1
|
||||
:pswitch_7
|
||||
:pswitch_6
|
||||
:pswitch_5
|
||||
:pswitch_4
|
||||
:pswitch_3
|
||||
:pswitch_2
|
||||
:pswitch_1
|
||||
:pswitch_0
|
||||
.end packed-switch
|
||||
.end method
|
80
com.discord/smali_classes2/f/l/a/a/a.smali
Normal file
80
com.discord/smali_classes2/f/l/a/a/a.smali
Normal file
|
@ -0,0 +1,80 @@
|
|||
.class public interface abstract Lf/l/a/a/a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ISACallback.java"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/os/IInterface;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lf/l/a/a/a$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract V(IZLandroid/os/Bundle;)V
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Landroid/os/RemoteException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract W(IZLandroid/os/Bundle;)V
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Landroid/os/RemoteException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract k0(IZLandroid/os/Bundle;)V
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Landroid/os/RemoteException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract m(IZLandroid/os/Bundle;)V
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Landroid/os/RemoteException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract o0(IZLandroid/os/Bundle;)V
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Landroid/os/RemoteException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract p0(IZLandroid/os/Bundle;)V
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Landroid/os/RemoteException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract v(IZLandroid/os/Bundle;)V
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Landroid/os/RemoteException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract y(IZLandroid/os/Bundle;)V
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Landroid/os/RemoteException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
187
com.discord/smali_classes2/f/l/a/a/b$a$a.smali
Normal file
187
com.discord/smali_classes2/f/l/a/a/b$a$a.smali
Normal file
|
@ -0,0 +1,187 @@
|
|||
.class public Lf/l/a/a/b$a$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ISAService.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lf/l/a/a/b;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lf/l/a/a/b$a;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public a:Landroid/os/IBinder;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroid/os/IBinder;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/l/a/a/b$a$a;->a:Landroid/os/IBinder;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public R(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lf/l/a/a/a;)Ljava/lang/String;
|
||||
.locals 3
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Landroid/os/RemoteException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
:try_start_0
|
||||
const-string v2, "com.msc.sa.aidl.ISAService"
|
||||
|
||||
invoke-virtual {v0, v2}, Landroid/os/Parcel;->writeInterfaceToken(Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v0, p1}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v0, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v0, p3}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
|
||||
|
||||
if-eqz p4, :cond_0
|
||||
|
||||
invoke-interface {p4}, Landroid/os/IInterface;->asBinder()Landroid/os/IBinder;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
invoke-virtual {v0, p1}, Landroid/os/Parcel;->writeStrongBinder(Landroid/os/IBinder;)V
|
||||
|
||||
iget-object p1, p0, Lf/l/a/a/b$a$a;->a:Landroid/os/IBinder;
|
||||
|
||||
const/4 p2, 0x1
|
||||
|
||||
const/4 p3, 0x0
|
||||
|
||||
invoke-interface {p1, p2, v0, v1, p3}, Landroid/os/IBinder;->transact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
|
||||
|
||||
invoke-virtual {v1}, Landroid/os/Parcel;->readException()V
|
||||
|
||||
invoke-virtual {v1}, Landroid/os/Parcel;->readString()Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
: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-object p1
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
|
||||
|
||||
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public asBinder()Landroid/os/IBinder;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lf/l/a/a/b$a$a;->a:Landroid/os/IBinder;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public g0(ILjava/lang/String;Landroid/os/Bundle;)Z
|
||||
.locals 3
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Landroid/os/RemoteException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
:try_start_0
|
||||
const-string v2, "com.msc.sa.aidl.ISAService"
|
||||
|
||||
invoke-virtual {v0, v2}, Landroid/os/Parcel;->writeInterfaceToken(Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v0, p1}, Landroid/os/Parcel;->writeInt(I)V
|
||||
|
||||
invoke-virtual {v0, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
invoke-virtual {v0, p1}, Landroid/os/Parcel;->writeInt(I)V
|
||||
|
||||
const/4 p2, 0x0
|
||||
|
||||
invoke-virtual {p3, v0, p2}, Landroid/os/Bundle;->writeToParcel(Landroid/os/Parcel;I)V
|
||||
|
||||
iget-object p3, p0, Lf/l/a/a/b$a$a;->a:Landroid/os/IBinder;
|
||||
|
||||
const/4 v2, 0x6
|
||||
|
||||
invoke-interface {p3, v2, v0, v1, p2}, Landroid/os/IBinder;->transact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
|
||||
|
||||
invoke-virtual {v1}, Landroid/os/Parcel;->readException()V
|
||||
|
||||
invoke-virtual {v1}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p3
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
if-eqz p3, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
|
||||
|
||||
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
|
||||
|
||||
return p1
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
|
||||
|
||||
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
|
||||
|
||||
throw p1
|
||||
.end method
|
59
com.discord/smali_classes2/f/l/a/a/b$a.smali
Normal file
59
com.discord/smali_classes2/f/l/a/a/b$a.smali
Normal file
|
@ -0,0 +1,59 @@
|
|||
.class public abstract Lf/l/a/a/b$a;
|
||||
.super Landroid/os/Binder;
|
||||
.source "ISAService.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lf/l/a/a/b;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lf/l/a/a/b;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x409
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lf/l/a/a/b$a$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static g(Landroid/os/IBinder;)Lf/l/a/a/b;
|
||||
.locals 2
|
||||
|
||||
if-nez p0, :cond_0
|
||||
|
||||
const/4 p0, 0x0
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_0
|
||||
const-string v0, "com.msc.sa.aidl.ISAService"
|
||||
|
||||
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, Lf/l/a/a/b;
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
check-cast v0, Lf/l/a/a/b;
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_1
|
||||
new-instance v0, Lf/l/a/a/b$a$a;
|
||||
|
||||
invoke-direct {v0, p0}, Lf/l/a/a/b$a$a;-><init>(Landroid/os/IBinder;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
32
com.discord/smali_classes2/f/l/a/a/b.smali
Normal file
32
com.discord/smali_classes2/f/l/a/a/b.smali
Normal file
|
@ -0,0 +1,32 @@
|
|||
.class public interface abstract Lf/l/a/a/b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ISAService.java"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/os/IInterface;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lf/l/a/a/b$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract R(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lf/l/a/a/a;)Ljava/lang/String;
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Landroid/os/RemoteException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract g0(ILjava/lang/String;Landroid/os/Bundle;)Z
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Landroid/os/RemoteException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
|
@ -1,89 +0,0 @@
|
|||
.class public final Lf/l/a/b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "DefaultParam.kt"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final a:Ljava/util/List;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/List<",
|
||||
"Ljava/lang/String;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public static final b:J
|
||||
|
||||
.field public static final c:J
|
||||
|
||||
.field public static final d:J
|
||||
|
||||
.field public static final e:Lf/l/a/b;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 5
|
||||
|
||||
new-instance v0, Lf/l/a/b;
|
||||
|
||||
invoke-direct {v0}, Lf/l/a/b;-><init>()V
|
||||
|
||||
sput-object v0, Lf/l/a/b;->e:Lf/l/a/b;
|
||||
|
||||
const-string v0, "2.us.pool.ntp.org"
|
||||
|
||||
const-string v1, "1.us.pool.ntp.org"
|
||||
|
||||
const-string v2, "0.us.pool.ntp.org"
|
||||
|
||||
filled-new-array {v0, v1, v2}, [Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0}, Lf/i/a/b/i1/e;->listOf1([Ljava/lang/Object;)Ljava/util/List;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
sput-object v0, Lf/l/a/b;->a:Ljava/util/List;
|
||||
|
||||
sget-object v0, Ljava/util/concurrent/TimeUnit;->MINUTES:Ljava/util/concurrent/TimeUnit;
|
||||
|
||||
const-wide/16 v1, 0x1
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
sput-wide v3, Lf/l/a/b;->b:J
|
||||
|
||||
sget-object v0, Ljava/util/concurrent/TimeUnit;->MINUTES:Ljava/util/concurrent/TimeUnit;
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
sput-wide v0, Lf/l/a/b;->c:J
|
||||
|
||||
sget-object v0, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
|
||||
|
||||
const-wide/16 v1, 0x6
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
sput-wide v0, Lf/l/a/b;->d:J
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,144 +0,0 @@
|
|||
.class public final Lf/l/a/c;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Clock.kt"
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:J
|
||||
|
||||
.field public final b:Ljava/lang/Long;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(JLjava/lang/Long;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-wide p1, p0, Lf/l/a/c;->a:J
|
||||
|
||||
iput-object p3, p0, Lf/l/a/c;->b:Ljava/lang/Long;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public equals(Ljava/lang/Object;)Z
|
||||
.locals 7
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
if-eq p0, p1, :cond_2
|
||||
|
||||
instance-of v1, p1, Lf/l/a/c;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
check-cast p1, Lf/l/a/c;
|
||||
|
||||
iget-wide v3, p0, Lf/l/a/c;->a:J
|
||||
|
||||
iget-wide v5, p1, Lf/l/a/c;->a:J
|
||||
|
||||
cmp-long v1, v3, v5
|
||||
|
||||
if-nez v1, :cond_0
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
iget-object v1, p0, Lf/l/a/c;->b:Ljava/lang/Long;
|
||||
|
||||
iget-object p1, p1, Lf/l/a/c;->b:Ljava/lang/Long;
|
||||
|
||||
invoke-static {v1, p1}, Li0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
return v2
|
||||
|
||||
:cond_2
|
||||
:goto_1
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public hashCode()I
|
||||
.locals 4
|
||||
|
||||
iget-wide v0, p0, Lf/l/a/c;->a:J
|
||||
|
||||
const/16 v2, 0x20
|
||||
|
||||
ushr-long v2, v0, v2
|
||||
|
||||
xor-long/2addr v0, v2
|
||||
|
||||
long-to-int v1, v0
|
||||
|
||||
mul-int/lit8 v1, v1, 0x1f
|
||||
|
||||
iget-object v0, p0, Lf/l/a/c;->b:Ljava/lang/Long;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
|
||||
|
||||
move-result v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
add-int/2addr v1, v0
|
||||
|
||||
return v1
|
||||
.end method
|
||||
|
||||
.method public toString()Ljava/lang/String;
|
||||
.locals 3
|
||||
|
||||
const-string v0, "KronosTime(posixTimeMs="
|
||||
|
||||
invoke-static {v0}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-wide v1, p0, Lf/l/a/c;->a:J
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ", timeSinceLastNtpSyncMs="
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget-object v1, p0, Lf/l/a/c;->b:Ljava/lang/Long;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, ")"
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,14 +0,0 @@
|
|||
.class public interface abstract Lf/l/a/d;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SyncListener.kt"
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract a(Ljava/lang/String;)V
|
||||
.end method
|
||||
|
||||
.method public abstract b(JJ)V
|
||||
.end method
|
||||
|
||||
.method public abstract c(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
.end method
|
|
@ -1,26 +0,0 @@
|
|||
.class public interface abstract Lf/l/a/e;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SyncResponseCache.kt"
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract a(J)V
|
||||
.end method
|
||||
|
||||
.method public abstract b(J)V
|
||||
.end method
|
||||
|
||||
.method public abstract c()J
|
||||
.end method
|
||||
|
||||
.method public abstract clear()V
|
||||
.end method
|
||||
|
||||
.method public abstract d()J
|
||||
.end method
|
||||
|
||||
.method public abstract e()J
|
||||
.end method
|
||||
|
||||
.method public abstract f(J)V
|
||||
.end method
|
|
@ -1,38 +0,0 @@
|
|||
.class public final Lf/l/a/f/a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "AndroidSystemClock.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lf/l/a/a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()J
|
||||
.locals 2
|
||||
|
||||
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
return-wide v0
|
||||
.end method
|
||||
|
||||
.method public b()J
|
||||
.locals 2
|
||||
|
||||
invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
return-wide v0
|
||||
.end method
|
|
@ -1,82 +0,0 @@
|
|||
.class public final Lf/l/a/f/b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "KronosClockImpl.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lcom/lyft/kronos/KronosClock;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Lf/l/a/f/d/h;
|
||||
|
||||
.field public final b:Lf/l/a/a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/l/a/f/d/h;Lf/l/a/a;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/l/a/f/b;->a:Lf/l/a/f/d/h;
|
||||
|
||||
iput-object p2, p0, Lf/l/a/f/b;->b:Lf/l/a/a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()J
|
||||
.locals 2
|
||||
|
||||
invoke-virtual {p0}, Lf/l/a/f/b;->c()Lf/l/a/c;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-wide v0, v0, Lf/l/a/c;->a:J
|
||||
|
||||
return-wide v0
|
||||
.end method
|
||||
|
||||
.method public b()J
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lf/l/a/f/b;->b:Lf/l/a/a;
|
||||
|
||||
invoke-interface {v0}, Lf/l/a/a;->b()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
return-wide v0
|
||||
.end method
|
||||
|
||||
.method public c()Lf/l/a/c;
|
||||
.locals 4
|
||||
|
||||
iget-object v0, p0, Lf/l/a/f/b;->a:Lf/l/a/f/d/h;
|
||||
|
||||
invoke-interface {v0}, Lf/l/a/f/d/h;->a()Lf/l/a/c;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Lf/l/a/c;
|
||||
|
||||
iget-object v1, p0, Lf/l/a/f/b;->b:Lf/l/a/a;
|
||||
|
||||
invoke-interface {v1}, Lf/l/a/a;->a()J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
invoke-direct {v0, v1, v2, v3}, Lf/l/a/c;-><init>(JLjava/lang/Long;)V
|
||||
|
||||
:goto_0
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,150 +0,0 @@
|
|||
.class public final Lf/l/a/f/c;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SharedPreferenceSyncResponseCache.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lf/l/a/e;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Landroid/content/SharedPreferences;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroid/content/SharedPreferences;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/l/a/f/c;->a:Landroid/content/SharedPreferences;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a(J)V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lf/l/a/f/c;->a:Landroid/content/SharedPreferences;
|
||||
|
||||
invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "com.lyft.kronos.cached_elapsed_time"
|
||||
|
||||
invoke-interface {v0, v1, p1, p2}, Landroid/content/SharedPreferences$Editor;->putLong(Ljava/lang/String;J)Landroid/content/SharedPreferences$Editor;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->apply()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public b(J)V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lf/l/a/f/c;->a:Landroid/content/SharedPreferences;
|
||||
|
||||
invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "com.lyft.kronos.cached_offset"
|
||||
|
||||
invoke-interface {v0, v1, p1, p2}, Landroid/content/SharedPreferences$Editor;->putLong(Ljava/lang/String;J)Landroid/content/SharedPreferences$Editor;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->apply()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public c()J
|
||||
.locals 4
|
||||
|
||||
iget-object v0, p0, Lf/l/a/f/c;->a:Landroid/content/SharedPreferences;
|
||||
|
||||
const-string v1, "com.lyft.kronos.cached_elapsed_time"
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
invoke-interface {v0, v1, v2, v3}, Landroid/content/SharedPreferences;->getLong(Ljava/lang/String;J)J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
return-wide v0
|
||||
.end method
|
||||
|
||||
.method public clear()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lf/l/a/f/c;->a:Landroid/content/SharedPreferences;
|
||||
|
||||
invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->clear()Landroid/content/SharedPreferences$Editor;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->apply()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public d()J
|
||||
.locals 4
|
||||
|
||||
iget-object v0, p0, Lf/l/a/f/c;->a:Landroid/content/SharedPreferences;
|
||||
|
||||
const-string v1, "com.lyft.kronos.cached_offset"
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
invoke-interface {v0, v1, v2, v3}, Landroid/content/SharedPreferences;->getLong(Ljava/lang/String;J)J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
return-wide v0
|
||||
.end method
|
||||
|
||||
.method public e()J
|
||||
.locals 4
|
||||
|
||||
iget-object v0, p0, Lf/l/a/f/c;->a:Landroid/content/SharedPreferences;
|
||||
|
||||
const-string v1, "com.lyft.kronos.cached_current_time"
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
invoke-interface {v0, v1, v2, v3}, Landroid/content/SharedPreferences;->getLong(Ljava/lang/String;J)J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
return-wide v0
|
||||
.end method
|
||||
|
||||
.method public f(J)V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lf/l/a/f/c;->a:Landroid/content/SharedPreferences;
|
||||
|
||||
invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "com.lyft.kronos.cached_current_time"
|
||||
|
||||
invoke-interface {v0, v1, p1, p2}, Landroid/content/SharedPreferences$Editor;->putLong(Ljava/lang/String;J)Landroid/content/SharedPreferences$Editor;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->apply()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,19 +0,0 @@
|
|||
.class public interface abstract Lf/l/a/f/d/a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "DatagramFactory.kt"
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract a([B)Ljava/net/DatagramPacket;
|
||||
.end method
|
||||
|
||||
.method public abstract b([BLjava/net/InetAddress;I)Ljava/net/DatagramPacket;
|
||||
.end method
|
||||
|
||||
.method public abstract c()Ljava/net/DatagramSocket;
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/net/SocketException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
|
@ -1,79 +0,0 @@
|
|||
.class public final Lf/l/a/f/d/b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "DatagramFactory.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lf/l/a/f/d/a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a([B)Ljava/net/DatagramPacket;
|
||||
.locals 2
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
new-instance v0, Ljava/net/DatagramPacket;
|
||||
|
||||
array-length v1, p1
|
||||
|
||||
invoke-direct {v0, p1, v1}, Ljava/net/DatagramPacket;-><init>([BI)V
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
const-string p1, "buffer"
|
||||
|
||||
invoke-static {p1}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public b([BLjava/net/InetAddress;I)Ljava/net/DatagramPacket;
|
||||
.locals 2
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
new-instance v0, Ljava/net/DatagramPacket;
|
||||
|
||||
array-length v1, p1
|
||||
|
||||
invoke-direct {v0, p1, v1, p2, p3}, Ljava/net/DatagramPacket;-><init>([BILjava/net/InetAddress;I)V
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
const-string p1, "address"
|
||||
|
||||
invoke-static {p1}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public c()Ljava/net/DatagramSocket;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/net/SocketException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
new-instance v0, Ljava/net/DatagramSocket;
|
||||
|
||||
invoke-direct {v0}, Ljava/net/DatagramSocket;-><init>()V
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,13 +0,0 @@
|
|||
.class public interface abstract Lf/l/a/f/d/c;
|
||||
.super Ljava/lang/Object;
|
||||
.source "DnsResolver.kt"
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract a(Ljava/lang/String;)Ljava/net/InetAddress;
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/net/UnknownHostException;
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
|
@ -1,48 +0,0 @@
|
|||
.class public final Lf/l/a/f/d/d;
|
||||
.super Ljava/lang/Object;
|
||||
.source "DnsResolver.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lf/l/a/f/d/c;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a(Ljava/lang/String;)Ljava/net/InetAddress;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/net/UnknownHostException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-static {p1}, Ljava/net/InetAddress;->getByName(Ljava/lang/String;)Ljava/net/InetAddress;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string v0, "InetAddress.getByName(host)"
|
||||
|
||||
invoke-static {p1, v0}, Li0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
const-string p1, "host"
|
||||
|
||||
invoke-static {p1}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
|
@ -1,24 +0,0 @@
|
|||
.class public Lf/l/a/f/d/e$a;
|
||||
.super Ljava/io/IOException;
|
||||
.source "SntpClient.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lf/l/a/f/d/e;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0, p1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,68 +0,0 @@
|
|||
.class public final Lf/l/a/f/d/e$b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SntpClient.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lf/l/a/f/d/e;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "b"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:J
|
||||
|
||||
.field public final b:J
|
||||
|
||||
.field public final c:J
|
||||
|
||||
.field public final d:Lf/l/a/a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(JJJLf/l/a/a;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-wide p1, p0, Lf/l/a/f/d/e$b;->a:J
|
||||
|
||||
iput-wide p3, p0, Lf/l/a/f/d/e$b;->b:J
|
||||
|
||||
iput-wide p5, p0, Lf/l/a/f/d/e$b;->c:J
|
||||
|
||||
iput-object p7, p0, Lf/l/a/f/d/e$b;->d:Lf/l/a/a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()J
|
||||
.locals 6
|
||||
|
||||
iget-wide v0, p0, Lf/l/a/f/d/e$b;->a:J
|
||||
|
||||
iget-wide v2, p0, Lf/l/a/f/d/e$b;->c:J
|
||||
|
||||
add-long/2addr v0, v2
|
||||
|
||||
iget-object v2, p0, Lf/l/a/f/d/e$b;->d:Lf/l/a/a;
|
||||
|
||||
invoke-interface {v2}, Lf/l/a/a;->b()J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
iget-wide v4, p0, Lf/l/a/f/d/e$b;->b:J
|
||||
|
||||
sub-long/2addr v2, v4
|
||||
|
||||
add-long/2addr v0, v2
|
||||
|
||||
return-wide v0
|
||||
.end method
|
|
@ -1,522 +0,0 @@
|
|||
.class public Lf/l/a/f/d/e;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SntpClient.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lf/l/a/f/d/e$b;,
|
||||
Lf/l/a/f/d/e$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Lf/l/a/a;
|
||||
|
||||
.field public final b:Lf/l/a/f/d/c;
|
||||
|
||||
.field public final c:Lf/l/a/f/d/a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/l/a/a;Lf/l/a/f/d/c;Lf/l/a/f/d/a;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/l/a/f/d/e;->a:Lf/l/a/a;
|
||||
|
||||
iput-object p2, p0, Lf/l/a/f/d/e;->b:Lf/l/a/f/d/c;
|
||||
|
||||
iput-object p3, p0, Lf/l/a/f/d/e;->c:Lf/l/a/f/d/a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static a(BBIJ)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Lf/l/a/f/d/e$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x3
|
||||
|
||||
if-eq p0, v0, :cond_4
|
||||
|
||||
const/4 p0, 0x4
|
||||
|
||||
if-eq p1, p0, :cond_1
|
||||
|
||||
const/4 p0, 0x5
|
||||
|
||||
if-ne p1, p0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
new-instance p0, Lf/l/a/f/d/e$a;
|
||||
|
||||
const-string p2, "untrusted mode: "
|
||||
|
||||
invoke-static {p2, p1}, Lf/e/b/a/a;->h(Ljava/lang/String;I)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-direct {p0, p1}, Lf/l/a/f/d/e$a;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p0
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
if-eqz p2, :cond_3
|
||||
|
||||
const/16 p0, 0xf
|
||||
|
||||
if-gt p2, p0, :cond_3
|
||||
|
||||
const-wide/16 p0, 0x0
|
||||
|
||||
cmp-long p2, p3, p0
|
||||
|
||||
if-eqz p2, :cond_2
|
||||
|
||||
return-void
|
||||
|
||||
:cond_2
|
||||
new-instance p0, Lf/l/a/f/d/e$a;
|
||||
|
||||
const-string p1, "zero transmitTime"
|
||||
|
||||
invoke-direct {p0, p1}, Lf/l/a/f/d/e$a;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p0
|
||||
|
||||
:cond_3
|
||||
new-instance p0, Lf/l/a/f/d/e$a;
|
||||
|
||||
const-string p1, "untrusted stratum: "
|
||||
|
||||
invoke-static {p1, p2}, Lf/e/b/a/a;->h(Ljava/lang/String;I)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-direct {p0, p1}, Lf/l/a/f/d/e$a;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p0
|
||||
|
||||
:cond_4
|
||||
new-instance p0, Lf/l/a/f/d/e$a;
|
||||
|
||||
const-string p1, "unsynchronized server"
|
||||
|
||||
invoke-direct {p0, p1}, Lf/l/a/f/d/e$a;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p0
|
||||
.end method
|
||||
|
||||
.method public static b([BI)J
|
||||
.locals 5
|
||||
|
||||
aget-byte v0, p0, p1
|
||||
|
||||
add-int/lit8 v1, p1, 0x1
|
||||
|
||||
aget-byte v1, p0, v1
|
||||
|
||||
add-int/lit8 v2, p1, 0x2
|
||||
|
||||
aget-byte v2, p0, v2
|
||||
|
||||
add-int/lit8 p1, p1, 0x3
|
||||
|
||||
aget-byte p0, p0, p1
|
||||
|
||||
and-int/lit16 p1, v0, 0x80
|
||||
|
||||
const/16 v3, 0x80
|
||||
|
||||
if-ne p1, v3, :cond_0
|
||||
|
||||
and-int/lit8 p1, v0, 0x7f
|
||||
|
||||
add-int/lit16 v0, p1, 0x80
|
||||
|
||||
:cond_0
|
||||
and-int/lit16 p1, v1, 0x80
|
||||
|
||||
if-ne p1, v3, :cond_1
|
||||
|
||||
and-int/lit8 p1, v1, 0x7f
|
||||
|
||||
add-int/lit16 v1, p1, 0x80
|
||||
|
||||
:cond_1
|
||||
and-int/lit16 p1, v2, 0x80
|
||||
|
||||
if-ne p1, v3, :cond_2
|
||||
|
||||
and-int/lit8 p1, v2, 0x7f
|
||||
|
||||
add-int/lit16 v2, p1, 0x80
|
||||
|
||||
:cond_2
|
||||
and-int/lit16 p1, p0, 0x80
|
||||
|
||||
if-ne p1, v3, :cond_3
|
||||
|
||||
and-int/lit8 p0, p0, 0x7f
|
||||
|
||||
add-int/2addr p0, v3
|
||||
|
||||
:cond_3
|
||||
int-to-long v3, v0
|
||||
|
||||
const/16 p1, 0x18
|
||||
|
||||
shl-long/2addr v3, p1
|
||||
|
||||
int-to-long v0, v1
|
||||
|
||||
const/16 p1, 0x10
|
||||
|
||||
shl-long/2addr v0, p1
|
||||
|
||||
add-long/2addr v3, v0
|
||||
|
||||
int-to-long v0, v2
|
||||
|
||||
const/16 p1, 0x8
|
||||
|
||||
shl-long/2addr v0, p1
|
||||
|
||||
add-long/2addr v3, v0
|
||||
|
||||
int-to-long p0, p0
|
||||
|
||||
add-long/2addr v3, p0
|
||||
|
||||
return-wide v3
|
||||
.end method
|
||||
|
||||
.method public static c([BI)J
|
||||
.locals 4
|
||||
|
||||
invoke-static {p0, p1}, Lf/l/a/f/d/e;->b([BI)J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
add-int/lit8 p1, p1, 0x4
|
||||
|
||||
invoke-static {p0, p1}, Lf/l/a/f/d/e;->b([BI)J
|
||||
|
||||
move-result-wide p0
|
||||
|
||||
const-wide v2, 0x83aa7e80L
|
||||
|
||||
sub-long/2addr v0, v2
|
||||
|
||||
const-wide/16 v2, 0x3e8
|
||||
|
||||
mul-long v0, v0, v2
|
||||
|
||||
mul-long p0, p0, v2
|
||||
|
||||
const-wide v2, 0x100000000L
|
||||
|
||||
div-long/2addr p0, v2
|
||||
|
||||
add-long/2addr p0, v0
|
||||
|
||||
return-wide p0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public d(Ljava/lang/String;Ljava/lang/Long;)Lf/l/a/f/d/e$b;
|
||||
.locals 30
|
||||
.annotation system Ldalvik/annotation/Throws;
|
||||
value = {
|
||||
Ljava/io/IOException;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
move-object/from16 v1, p0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, v1, Lf/l/a/f/d/e;->b:Lf/l/a/f/d/c;
|
||||
|
||||
move-object/from16 v3, p1
|
||||
|
||||
invoke-interface {v0, v3}, Lf/l/a/f/d/c;->a(Ljava/lang/String;)Ljava/net/InetAddress;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v3, v1, Lf/l/a/f/d/e;->c:Lf/l/a/f/d/a;
|
||||
|
||||
invoke-interface {v3}, Lf/l/a/f/d/a;->c()Ljava/net/DatagramSocket;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual/range {p2 .. p2}, Ljava/lang/Long;->intValue()I
|
||||
|
||||
move-result v3
|
||||
|
||||
invoke-virtual {v2, v3}, Ljava/net/DatagramSocket;->setSoTimeout(I)V
|
||||
|
||||
const/16 v3, 0x30
|
||||
|
||||
new-array v4, v3, [B
|
||||
|
||||
iget-object v5, v1, Lf/l/a/f/d/e;->c:Lf/l/a/f/d/a;
|
||||
|
||||
const/16 v6, 0x7b
|
||||
|
||||
invoke-interface {v5, v4, v0, v6}, Lf/l/a/f/d/a;->b([BLjava/net/InetAddress;I)Ljava/net/DatagramPacket;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const/16 v5, 0x1b
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
aput-byte v5, v4, v6
|
||||
|
||||
iget-object v5, v1, Lf/l/a/f/d/e;->a:Lf/l/a/a;
|
||||
|
||||
invoke-interface {v5}, Lf/l/a/a;->a()J
|
||||
|
||||
move-result-wide v7
|
||||
|
||||
iget-object v5, v1, Lf/l/a/f/d/e;->a:Lf/l/a/a;
|
||||
|
||||
invoke-interface {v5}, Lf/l/a/a;->b()J
|
||||
|
||||
move-result-wide v9
|
||||
|
||||
const-wide/16 v11, 0x3e8
|
||||
|
||||
div-long v13, v7, v11
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
invoke-static {v13, v14}, Ljava/lang/Long;->signum(J)I
|
||||
|
||||
mul-long v15, v13, v11
|
||||
|
||||
sub-long v15, v7, v15
|
||||
|
||||
const-wide v17, 0x83aa7e80L
|
||||
|
||||
add-long v13, v13, v17
|
||||
|
||||
const/16 v5, 0x29
|
||||
|
||||
const/16 v3, 0x18
|
||||
|
||||
shr-long v11, v13, v3
|
||||
|
||||
long-to-int v12, v11
|
||||
|
||||
int-to-byte v11, v12
|
||||
|
||||
const/16 v12, 0x28
|
||||
|
||||
:try_start_1
|
||||
aput-byte v11, v4, v12
|
||||
|
||||
const/16 v11, 0x2a
|
||||
|
||||
const/16 v19, 0x10
|
||||
|
||||
move-wide/from16 v20, v7
|
||||
|
||||
shr-long v6, v13, v19
|
||||
|
||||
long-to-int v7, v6
|
||||
|
||||
int-to-byte v6, v7
|
||||
|
||||
aput-byte v6, v4, v5
|
||||
|
||||
const/16 v5, 0x2b
|
||||
|
||||
const/16 v6, 0x8
|
||||
|
||||
shr-long v7, v13, v6
|
||||
|
||||
long-to-int v8, v7
|
||||
|
||||
int-to-byte v7, v8
|
||||
|
||||
aput-byte v7, v4, v11
|
||||
|
||||
const/16 v7, 0x2c
|
||||
|
||||
const/4 v8, 0x0
|
||||
|
||||
shr-long/2addr v13, v8
|
||||
|
||||
long-to-int v8, v13
|
||||
|
||||
int-to-byte v8, v8
|
||||
|
||||
aput-byte v8, v4, v5
|
||||
|
||||
const-wide v13, 0x100000000L
|
||||
|
||||
mul-long v15, v15, v13
|
||||
|
||||
const-wide/16 v13, 0x3e8
|
||||
|
||||
div-long/2addr v15, v13
|
||||
|
||||
const/16 v5, 0x2d
|
||||
|
||||
shr-long v13, v15, v3
|
||||
|
||||
long-to-int v8, v13
|
||||
|
||||
int-to-byte v8, v8
|
||||
|
||||
aput-byte v8, v4, v7
|
||||
|
||||
const/16 v7, 0x2e
|
||||
|
||||
shr-long v13, v15, v19
|
||||
|
||||
long-to-int v8, v13
|
||||
|
||||
int-to-byte v8, v8
|
||||
|
||||
aput-byte v8, v4, v5
|
||||
|
||||
const/16 v5, 0x2f
|
||||
|
||||
shr-long v13, v15, v6
|
||||
|
||||
long-to-int v6, v13
|
||||
|
||||
int-to-byte v6, v6
|
||||
|
||||
aput-byte v6, v4, v7
|
||||
|
||||
invoke-static {}, Ljava/lang/Math;->random()D
|
||||
|
||||
move-result-wide v6
|
||||
|
||||
const-wide v13, 0x406fe00000000000L # 255.0
|
||||
|
||||
mul-double v6, v6, v13
|
||||
|
||||
double-to-int v6, v6
|
||||
|
||||
int-to-byte v6, v6
|
||||
|
||||
aput-byte v6, v4, v5
|
||||
|
||||
invoke-virtual {v2, v0}, Ljava/net/DatagramSocket;->send(Ljava/net/DatagramPacket;)V
|
||||
|
||||
const/16 v0, 0x30
|
||||
|
||||
invoke-static {v4, v0}, Ljava/util/Arrays;->copyOf([BI)[B
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v4, v1, Lf/l/a/f/d/e;->c:Lf/l/a/f/d/a;
|
||||
|
||||
invoke-interface {v4, v0}, Lf/l/a/f/d/a;->a([B)Ljava/net/DatagramPacket;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
invoke-virtual {v2, v4}, Ljava/net/DatagramSocket;->receive(Ljava/net/DatagramPacket;)V
|
||||
|
||||
iget-object v4, v1, Lf/l/a/f/d/e;->a:Lf/l/a/a;
|
||||
|
||||
invoke-interface {v4}, Lf/l/a/a;->b()J
|
||||
|
||||
move-result-wide v25
|
||||
|
||||
sub-long v4, v25, v9
|
||||
|
||||
add-long v23, v4, v20
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
aget-byte v5, v0, v4
|
||||
|
||||
shr-int/lit8 v5, v5, 0x6
|
||||
|
||||
and-int/lit8 v5, v5, 0x3
|
||||
|
||||
int-to-byte v5, v5
|
||||
|
||||
aget-byte v4, v0, v4
|
||||
|
||||
and-int/lit8 v4, v4, 0x7
|
||||
|
||||
int-to-byte v4, v4
|
||||
|
||||
const/4 v6, 0x1
|
||||
|
||||
aget-byte v6, v0, v6
|
||||
|
||||
and-int/lit16 v6, v6, 0xff
|
||||
|
||||
invoke-static {v0, v3}, Lf/l/a/f/d/e;->c([BI)J
|
||||
|
||||
move-result-wide v7
|
||||
|
||||
const/16 v3, 0x20
|
||||
|
||||
invoke-static {v0, v3}, Lf/l/a/f/d/e;->c([BI)J
|
||||
|
||||
move-result-wide v9
|
||||
|
||||
invoke-static {v0, v12}, Lf/l/a/f/d/e;->c([BI)J
|
||||
|
||||
move-result-wide v11
|
||||
|
||||
invoke-static {v5, v4, v6, v11, v12}, Lf/l/a/f/d/e;->a(BBIJ)V
|
||||
|
||||
sub-long/2addr v9, v7
|
||||
|
||||
sub-long v11, v11, v23
|
||||
|
||||
add-long/2addr v11, v9
|
||||
|
||||
const-wide/16 v3, 0x2
|
||||
|
||||
div-long v27, v11, v3
|
||||
|
||||
new-instance v0, Lf/l/a/f/d/e$b;
|
||||
|
||||
iget-object v3, v1, Lf/l/a/f/d/e;->a:Lf/l/a/a;
|
||||
|
||||
move-object/from16 v22, v0
|
||||
|
||||
move-object/from16 v29, v3
|
||||
|
||||
invoke-direct/range {v22 .. v29}, Lf/l/a/f/d/e$b;-><init>(JJJLf/l/a/a;)V
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
invoke-virtual {v2}, Ljava/net/DatagramSocket;->close()V
|
||||
|
||||
return-object v0
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
if-eqz v2, :cond_0
|
||||
|
||||
invoke-virtual {v2}, Ljava/net/DatagramSocket;->close()V
|
||||
|
||||
:cond_0
|
||||
throw v0
|
||||
.end method
|
|
@ -1,14 +0,0 @@
|
|||
.class public interface abstract Lf/l/a/f/d/f;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SntpResponseCache.kt"
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract a(Lf/l/a/f/d/e$b;)V
|
||||
.end method
|
||||
|
||||
.method public abstract clear()V
|
||||
.end method
|
||||
|
||||
.method public abstract get()Lf/l/a/f/d/e$b;
|
||||
.end method
|
|
@ -1,106 +0,0 @@
|
|||
.class public final Lf/l/a/f/d/g;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SntpResponseCache.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lf/l/a/f/d/f;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Lf/l/a/e;
|
||||
|
||||
.field public final b:Lf/l/a/a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/l/a/e;Lf/l/a/a;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/l/a/f/d/g;->a:Lf/l/a/e;
|
||||
|
||||
iput-object p2, p0, Lf/l/a/f/d/g;->b:Lf/l/a/a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a(Lf/l/a/f/d/e$b;)V
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Lf/l/a/f/d/g;->a:Lf/l/a/e;
|
||||
|
||||
iget-wide v1, p1, Lf/l/a/f/d/e$b;->a:J
|
||||
|
||||
invoke-interface {v0, v1, v2}, Lf/l/a/e;->f(J)V
|
||||
|
||||
iget-object v0, p0, Lf/l/a/f/d/g;->a:Lf/l/a/e;
|
||||
|
||||
iget-wide v1, p1, Lf/l/a/f/d/e$b;->b:J
|
||||
|
||||
invoke-interface {v0, v1, v2}, Lf/l/a/e;->a(J)V
|
||||
|
||||
iget-object v0, p0, Lf/l/a/f/d/g;->a:Lf/l/a/e;
|
||||
|
||||
iget-wide v1, p1, Lf/l/a/f/d/e$b;->c:J
|
||||
|
||||
invoke-interface {v0, v1, v2}, Lf/l/a/e;->b(J)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public clear()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lf/l/a/f/d/g;->a:Lf/l/a/e;
|
||||
|
||||
invoke-interface {v0}, Lf/l/a/e;->clear()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public get()Lf/l/a/f/d/e$b;
|
||||
.locals 9
|
||||
|
||||
iget-object v0, p0, Lf/l/a/f/d/g;->a:Lf/l/a/e;
|
||||
|
||||
invoke-interface {v0}, Lf/l/a/e;->e()J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
iget-object v0, p0, Lf/l/a/f/d/g;->a:Lf/l/a/e;
|
||||
|
||||
invoke-interface {v0}, Lf/l/a/e;->c()J
|
||||
|
||||
move-result-wide v4
|
||||
|
||||
iget-object v0, p0, Lf/l/a/f/d/g;->a:Lf/l/a/e;
|
||||
|
||||
invoke-interface {v0}, Lf/l/a/e;->d()J
|
||||
|
||||
move-result-wide v6
|
||||
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
cmp-long v8, v4, v0
|
||||
|
||||
if-nez v8, :cond_0
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Lf/l/a/f/d/e$b;
|
||||
|
||||
iget-object v8, p0, Lf/l/a/f/d/g;->b:Lf/l/a/a;
|
||||
|
||||
move-object v1, v0
|
||||
|
||||
invoke-direct/range {v1 .. v8}, Lf/l/a/f/d/e$b;-><init>(JJJLf/l/a/a;)V
|
||||
|
||||
:goto_0
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,11 +0,0 @@
|
|||
.class public interface abstract Lf/l/a/f/d/h;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SntpService.kt"
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract a()Lf/l/a/c;
|
||||
.end method
|
||||
|
||||
.method public abstract b()V
|
||||
.end method
|
|
@ -1,137 +0,0 @@
|
|||
.class public final enum Lf/l/a/f/d/i$a;
|
||||
.super Ljava/lang/Enum;
|
||||
.source "SntpService.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lf/l/a/f/d/i;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x4019
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/lang/Enum<",
|
||||
"Lf/l/a/f/d/i$a;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final enum d:Lf/l/a/f/d/i$a;
|
||||
|
||||
.field public static final enum e:Lf/l/a/f/d/i$a;
|
||||
|
||||
.field public static final enum f:Lf/l/a/f/d/i$a;
|
||||
|
||||
.field public static final enum g:Lf/l/a/f/d/i$a;
|
||||
|
||||
.field public static final synthetic h:[Lf/l/a/f/d/i$a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 4
|
||||
|
||||
const/4 v0, 0x4
|
||||
|
||||
new-array v0, v0, [Lf/l/a/f/d/i$a;
|
||||
|
||||
new-instance v1, Lf/l/a/f/d/i$a;
|
||||
|
||||
const-string v2, "INIT"
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
invoke-direct {v1, v2, v3}, Lf/l/a/f/d/i$a;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v1, Lf/l/a/f/d/i$a;->d:Lf/l/a/f/d/i$a;
|
||||
|
||||
aput-object v1, v0, v3
|
||||
|
||||
new-instance v1, Lf/l/a/f/d/i$a;
|
||||
|
||||
const-string v2, "IDLE"
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
invoke-direct {v1, v2, v3}, Lf/l/a/f/d/i$a;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v1, Lf/l/a/f/d/i$a;->e:Lf/l/a/f/d/i$a;
|
||||
|
||||
aput-object v1, v0, v3
|
||||
|
||||
new-instance v1, Lf/l/a/f/d/i$a;
|
||||
|
||||
const-string v2, "SYNCING"
|
||||
|
||||
const/4 v3, 0x2
|
||||
|
||||
invoke-direct {v1, v2, v3}, Lf/l/a/f/d/i$a;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v1, Lf/l/a/f/d/i$a;->f:Lf/l/a/f/d/i$a;
|
||||
|
||||
aput-object v1, v0, v3
|
||||
|
||||
new-instance v1, Lf/l/a/f/d/i$a;
|
||||
|
||||
const-string v2, "STOPPED"
|
||||
|
||||
const/4 v3, 0x3
|
||||
|
||||
invoke-direct {v1, v2, v3}, Lf/l/a/f/d/i$a;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v1, Lf/l/a/f/d/i$a;->g:Lf/l/a/f/d/i$a;
|
||||
|
||||
aput-object v1, v0, v3
|
||||
|
||||
sput-object v0, Lf/l/a/f/d/i$a;->h:[Lf/l/a/f/d/i$a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Ljava/lang/String;I)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static valueOf(Ljava/lang/String;)Lf/l/a/f/d/i$a;
|
||||
.locals 1
|
||||
|
||||
const-class v0, Lf/l/a/f/d/i$a;
|
||||
|
||||
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
check-cast p0, Lf/l/a/f/d/i$a;
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static values()[Lf/l/a/f/d/i$a;
|
||||
.locals 1
|
||||
|
||||
sget-object v0, Lf/l/a/f/d/i$a;->h:[Lf/l/a/f/d/i$a;
|
||||
|
||||
invoke-virtual {v0}, [Lf/l/a/f/d/i$a;->clone()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, [Lf/l/a/f/d/i$a;
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,57 +0,0 @@
|
|||
.class public final Lf/l/a/f/d/i$b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SntpService.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/util/concurrent/ThreadFactory;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/l/a/f/d/i;-><init>(Lf/l/a/f/d/e;Lf/l/a/a;Lf/l/a/f/d/f;Lf/l/a/d;Ljava/util/List;JJJ)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final d:Lf/l/a/f/d/i$b;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/l/a/f/d/i$b;
|
||||
|
||||
invoke-direct {v0}, Lf/l/a/f/d/i$b;-><init>()V
|
||||
|
||||
sput-object v0, Lf/l/a/f/d/i$b;->d:Lf/l/a/f/d/i$b;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final newThread(Ljava/lang/Runnable;)Ljava/lang/Thread;
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/lang/Thread;
|
||||
|
||||
const-string v1, "kronos-android"
|
||||
|
||||
invoke-direct {v0, p1, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;Ljava/lang/String;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,248 +0,0 @@
|
|||
.class public final Lf/l/a/f/d/i$c;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SntpService.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/lang/Runnable;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lf/l/a/f/d/i;->b()V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lf/l/a/f/d/i;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/l/a/f/d/i;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lf/l/a/f/d/i$c;->d:Lf/l/a/f/d/i;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final run()V
|
||||
.locals 13
|
||||
|
||||
iget-object v0, p0, Lf/l/a/f/d/i$c;->d:Lf/l/a/f/d/i;
|
||||
|
||||
invoke-virtual {v0}, Lf/l/a/f/d/i;->c()V
|
||||
|
||||
iget-object v1, v0, Lf/l/a/f/d/i;->h:Ljava/util/List;
|
||||
|
||||
invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
:cond_0
|
||||
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v2
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
if-eqz v2, :cond_6
|
||||
|
||||
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
check-cast v2, Ljava/lang/String;
|
||||
|
||||
sget-object v4, Lf/l/a/f/d/i$a;->f:Lf/l/a/f/d/i$a;
|
||||
|
||||
sget-object v5, Lf/l/a/f/d/i$a;->e:Lf/l/a/f/d/i$a;
|
||||
|
||||
iget-object v6, v0, Lf/l/a/f/d/i;->a:Ljava/util/concurrent/atomic/AtomicReference;
|
||||
|
||||
invoke-virtual {v6, v4}, Ljava/util/concurrent/atomic/AtomicReference;->getAndSet(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
check-cast v6, Lf/l/a/f/d/i$a;
|
||||
|
||||
if-eq v6, v4, :cond_5
|
||||
|
||||
iget-object v4, v0, Lf/l/a/f/d/i;->e:Lf/l/a/a;
|
||||
|
||||
invoke-interface {v4}, Lf/l/a/a;->b()J
|
||||
|
||||
move-result-wide v6
|
||||
|
||||
iget-object v4, v0, Lf/l/a/f/d/i;->g:Lf/l/a/d;
|
||||
|
||||
if-eqz v4, :cond_1
|
||||
|
||||
invoke-interface {v4, v2}, Lf/l/a/d;->a(Ljava/lang/String;)V
|
||||
|
||||
:cond_1
|
||||
:try_start_0
|
||||
iget-object v4, v0, Lf/l/a/f/d/i;->d:Lf/l/a/f/d/e;
|
||||
|
||||
iget-wide v8, v0, Lf/l/a/f/d/i;->i:J
|
||||
|
||||
invoke-static {v8, v9}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v8
|
||||
|
||||
invoke-virtual {v4, v2, v8}, Lf/l/a/f/d/e;->d(Ljava/lang/String;Ljava/lang/Long;)Lf/l/a/f/d/e$b;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
const-string v8, "response"
|
||||
|
||||
invoke-static {v4, v8}, Li0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v4}, Lf/l/a/f/d/e$b;->a()J
|
||||
|
||||
move-result-wide v8
|
||||
|
||||
const-wide/16 v10, 0x0
|
||||
|
||||
cmp-long v12, v8, v10
|
||||
|
||||
if-ltz v12, :cond_3
|
||||
|
||||
iget-object v8, v0, Lf/l/a/f/d/i;->f:Lf/l/a/f/d/f;
|
||||
|
||||
invoke-interface {v8, v4}, Lf/l/a/f/d/f;->a(Lf/l/a/f/d/e$b;)V
|
||||
|
||||
iget-wide v8, v4, Lf/l/a/f/d/e$b;->c:J
|
||||
|
||||
iget-object v4, v0, Lf/l/a/f/d/i;->e:Lf/l/a/a;
|
||||
|
||||
invoke-interface {v4}, Lf/l/a/a;->b()J
|
||||
|
||||
move-result-wide v10
|
||||
|
||||
sub-long/2addr v10, v6
|
||||
|
||||
iget-object v4, v0, Lf/l/a/f/d/i;->g:Lf/l/a/d;
|
||||
|
||||
if-eqz v4, :cond_2
|
||||
|
||||
invoke-interface {v4, v8, v9, v10, v11}, Lf/l/a/d;->b(JJ)V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
:cond_2
|
||||
iget-object v2, v0, Lf/l/a/f/d/i;->a:Ljava/util/concurrent/atomic/AtomicReference;
|
||||
|
||||
invoke-virtual {v2, v5}, Ljava/util/concurrent/atomic/AtomicReference;->set(Ljava/lang/Object;)V
|
||||
|
||||
iget-object v2, v0, Lf/l/a/f/d/i;->b:Ljava/util/concurrent/atomic/AtomicLong;
|
||||
|
||||
iget-object v3, v0, Lf/l/a/f/d/i;->e:Lf/l/a/a;
|
||||
|
||||
invoke-interface {v3}, Lf/l/a/a;->b()J
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
invoke-virtual {v2, v3, v4}, Ljava/util/concurrent/atomic/AtomicLong;->set(J)V
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
:try_start_1
|
||||
new-instance v6, Lcom/lyft/kronos/internal/ntp/NTPSyncException;
|
||||
|
||||
new-instance v7, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v8, "Invalid time "
|
||||
|
||||
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v4}, Lf/l/a/f/d/e$b;->a()J
|
||||
|
||||
move-result-wide v8
|
||||
|
||||
invoke-virtual {v7, v8, v9}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v4, " received from "
|
||||
|
||||
invoke-virtual {v7, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v7, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
invoke-direct {v6, v4}, Lcom/lyft/kronos/internal/ntp/NTPSyncException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v6
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
:catchall_0
|
||||
move-exception v4
|
||||
|
||||
:try_start_2
|
||||
iget-object v6, v0, Lf/l/a/f/d/i;->g:Lf/l/a/d;
|
||||
|
||||
if-eqz v6, :cond_4
|
||||
|
||||
invoke-interface {v6, v2, v4}, Lf/l/a/d;->c(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
:try_end_2
|
||||
.catchall {:try_start_2 .. :try_end_2} :catchall_1
|
||||
|
||||
:cond_4
|
||||
iget-object v2, v0, Lf/l/a/f/d/i;->a:Ljava/util/concurrent/atomic/AtomicReference;
|
||||
|
||||
invoke-virtual {v2, v5}, Ljava/util/concurrent/atomic/AtomicReference;->set(Ljava/lang/Object;)V
|
||||
|
||||
iget-object v2, v0, Lf/l/a/f/d/i;->b:Ljava/util/concurrent/atomic/AtomicLong;
|
||||
|
||||
iget-object v4, v0, Lf/l/a/f/d/i;->e:Lf/l/a/a;
|
||||
|
||||
invoke-interface {v4}, Lf/l/a/a;->b()J
|
||||
|
||||
move-result-wide v4
|
||||
|
||||
invoke-virtual {v2, v4, v5}, Ljava/util/concurrent/atomic/AtomicLong;->set(J)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_1
|
||||
move-exception v1
|
||||
|
||||
iget-object v2, v0, Lf/l/a/f/d/i;->a:Ljava/util/concurrent/atomic/AtomicReference;
|
||||
|
||||
invoke-virtual {v2, v5}, Ljava/util/concurrent/atomic/AtomicReference;->set(Ljava/lang/Object;)V
|
||||
|
||||
iget-object v2, v0, Lf/l/a/f/d/i;->b:Ljava/util/concurrent/atomic/AtomicLong;
|
||||
|
||||
iget-object v0, v0, Lf/l/a/f/d/i;->e:Lf/l/a/a;
|
||||
|
||||
invoke-interface {v0}, Lf/l/a/a;->b()J
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
invoke-virtual {v2, v3, v4}, Ljava/util/concurrent/atomic/AtomicLong;->set(J)V
|
||||
|
||||
throw v1
|
||||
|
||||
:cond_5
|
||||
:goto_0
|
||||
if-eqz v3, :cond_0
|
||||
|
||||
:cond_6
|
||||
return-void
|
||||
.end method
|
|
@ -1,355 +0,0 @@
|
|||
.class public final Lf/l/a/f/d/i;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SntpService.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lf/l/a/f/d/h;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lf/l/a/f/d/i$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Ljava/util/concurrent/atomic/AtomicReference;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/concurrent/atomic/AtomicReference<",
|
||||
"Lf/l/a/f/d/i$a;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final b:Ljava/util/concurrent/atomic/AtomicLong;
|
||||
|
||||
.field public final c:Ljava/util/concurrent/ExecutorService;
|
||||
|
||||
.field public final d:Lf/l/a/f/d/e;
|
||||
|
||||
.field public final e:Lf/l/a/a;
|
||||
|
||||
.field public final f:Lf/l/a/f/d/f;
|
||||
|
||||
.field public final g:Lf/l/a/d;
|
||||
|
||||
.field public final h:Ljava/util/List;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/List<",
|
||||
"Ljava/lang/String;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final i:J
|
||||
|
||||
.field public final j:J
|
||||
|
||||
.field public final k:J
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf/l/a/f/d/e;Lf/l/a/a;Lf/l/a/f/d/f;Lf/l/a/d;Ljava/util/List;JJJ)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lf/l/a/f/d/e;",
|
||||
"Lf/l/a/a;",
|
||||
"Lf/l/a/f/d/f;",
|
||||
"Lf/l/a/d;",
|
||||
"Ljava/util/List<",
|
||||
"Ljava/lang/String;",
|
||||
">;JJJ)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
if-eqz p5, :cond_0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/l/a/f/d/i;->d:Lf/l/a/f/d/e;
|
||||
|
||||
iput-object p2, p0, Lf/l/a/f/d/i;->e:Lf/l/a/a;
|
||||
|
||||
iput-object p3, p0, Lf/l/a/f/d/i;->f:Lf/l/a/f/d/f;
|
||||
|
||||
iput-object p4, p0, Lf/l/a/f/d/i;->g:Lf/l/a/d;
|
||||
|
||||
iput-object p5, p0, Lf/l/a/f/d/i;->h:Ljava/util/List;
|
||||
|
||||
iput-wide p6, p0, Lf/l/a/f/d/i;->i:J
|
||||
|
||||
iput-wide p8, p0, Lf/l/a/f/d/i;->j:J
|
||||
|
||||
iput-wide p10, p0, Lf/l/a/f/d/i;->k:J
|
||||
|
||||
new-instance p1, Ljava/util/concurrent/atomic/AtomicReference;
|
||||
|
||||
sget-object p2, Lf/l/a/f/d/i$a;->d:Lf/l/a/f/d/i$a;
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/util/concurrent/atomic/AtomicReference;-><init>(Ljava/lang/Object;)V
|
||||
|
||||
iput-object p1, p0, Lf/l/a/f/d/i;->a:Ljava/util/concurrent/atomic/AtomicReference;
|
||||
|
||||
new-instance p1, Ljava/util/concurrent/atomic/AtomicLong;
|
||||
|
||||
const-wide/16 p2, 0x0
|
||||
|
||||
invoke-direct {p1, p2, p3}, Ljava/util/concurrent/atomic/AtomicLong;-><init>(J)V
|
||||
|
||||
iput-object p1, p0, Lf/l/a/f/d/i;->b:Ljava/util/concurrent/atomic/AtomicLong;
|
||||
|
||||
sget-object p1, Lf/l/a/f/d/i$b;->d:Lf/l/a/f/d/i$b;
|
||||
|
||||
invoke-static {p1}, Ljava/util/concurrent/Executors;->newSingleThreadExecutor(Ljava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ExecutorService;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iput-object p1, p0, Lf/l/a/f/d/i;->c:Ljava/util/concurrent/ExecutorService;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "ntpHosts"
|
||||
|
||||
invoke-static {p1}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()Lf/l/a/c;
|
||||
.locals 10
|
||||
|
||||
invoke-virtual {p0}, Lf/l/a/f/d/i;->c()V
|
||||
|
||||
iget-object v0, p0, Lf/l/a/f/d/i;->f:Lf/l/a/f/d/f;
|
||||
|
||||
invoke-interface {v0}, Lf/l/a/f/d/f;->get()Lf/l/a/f/d/e$b;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Lf/l/a/f/d/i;->a:Ljava/util/concurrent/atomic/AtomicReference;
|
||||
|
||||
sget-object v2, Lf/l/a/f/d/i$a;->d:Lf/l/a/f/d/i$a;
|
||||
|
||||
sget-object v3, Lf/l/a/f/d/i$a;->e:Lf/l/a/f/d/i$a;
|
||||
|
||||
invoke-virtual {v1, v2, v3}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
iget-wide v4, v0, Lf/l/a/f/d/e$b;->a:J
|
||||
|
||||
iget-wide v6, v0, Lf/l/a/f/d/e$b;->b:J
|
||||
|
||||
sub-long/2addr v4, v6
|
||||
|
||||
iget-object v1, v0, Lf/l/a/f/d/e$b;->d:Lf/l/a/a;
|
||||
|
||||
invoke-interface {v1}, Lf/l/a/a;->a()J
|
||||
|
||||
move-result-wide v6
|
||||
|
||||
iget-object v1, v0, Lf/l/a/f/d/e$b;->d:Lf/l/a/a;
|
||||
|
||||
invoke-interface {v1}, Lf/l/a/a;->b()J
|
||||
|
||||
move-result-wide v8
|
||||
|
||||
sub-long/2addr v6, v8
|
||||
|
||||
sub-long/2addr v4, v6
|
||||
|
||||
invoke-static {v4, v5}, Ljava/lang/Math;->abs(J)J
|
||||
|
||||
move-result-wide v4
|
||||
|
||||
const-wide/16 v6, 0x3e8
|
||||
|
||||
cmp-long v1, v4, v6
|
||||
|
||||
if-gez v1, :cond_0
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_0
|
||||
if-nez v1, :cond_1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_1
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-eqz v2, :cond_2
|
||||
|
||||
iget-object v0, p0, Lf/l/a/f/d/i;->f:Lf/l/a/f/d/f;
|
||||
|
||||
invoke-interface {v0}, Lf/l/a/f/d/f;->clear()V
|
||||
|
||||
move-object v0, v1
|
||||
|
||||
:cond_2
|
||||
if-nez v0, :cond_4
|
||||
|
||||
iget-object v0, p0, Lf/l/a/f/d/i;->e:Lf/l/a/a;
|
||||
|
||||
invoke-interface {v0}, Lf/l/a/a;->b()J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
iget-object v0, p0, Lf/l/a/f/d/i;->b:Ljava/util/concurrent/atomic/AtomicLong;
|
||||
|
||||
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
|
||||
|
||||
move-result-wide v4
|
||||
|
||||
sub-long/2addr v2, v4
|
||||
|
||||
iget-wide v4, p0, Lf/l/a/f/d/i;->j:J
|
||||
|
||||
cmp-long v0, v2, v4
|
||||
|
||||
if-ltz v0, :cond_3
|
||||
|
||||
invoke-virtual {p0}, Lf/l/a/f/d/i;->b()V
|
||||
|
||||
:cond_3
|
||||
return-object v1
|
||||
|
||||
:cond_4
|
||||
iget-object v1, v0, Lf/l/a/f/d/e$b;->d:Lf/l/a/a;
|
||||
|
||||
invoke-interface {v1}, Lf/l/a/a;->b()J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
iget-wide v3, v0, Lf/l/a/f/d/e$b;->b:J
|
||||
|
||||
sub-long/2addr v1, v3
|
||||
|
||||
iget-wide v3, p0, Lf/l/a/f/d/i;->k:J
|
||||
|
||||
cmp-long v5, v1, v3
|
||||
|
||||
if-ltz v5, :cond_5
|
||||
|
||||
iget-object v3, p0, Lf/l/a/f/d/i;->e:Lf/l/a/a;
|
||||
|
||||
invoke-interface {v3}, Lf/l/a/a;->b()J
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
iget-object v5, p0, Lf/l/a/f/d/i;->b:Ljava/util/concurrent/atomic/AtomicLong;
|
||||
|
||||
invoke-virtual {v5}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
|
||||
|
||||
move-result-wide v5
|
||||
|
||||
sub-long/2addr v3, v5
|
||||
|
||||
iget-wide v5, p0, Lf/l/a/f/d/i;->j:J
|
||||
|
||||
cmp-long v7, v3, v5
|
||||
|
||||
if-ltz v7, :cond_5
|
||||
|
||||
invoke-virtual {p0}, Lf/l/a/f/d/i;->b()V
|
||||
|
||||
:cond_5
|
||||
new-instance v3, Lf/l/a/c;
|
||||
|
||||
invoke-virtual {v0}, Lf/l/a/f/d/e$b;->a()J
|
||||
|
||||
move-result-wide v4
|
||||
|
||||
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-direct {v3, v4, v5, v0}, Lf/l/a/c;-><init>(JLjava/lang/Long;)V
|
||||
|
||||
return-object v3
|
||||
.end method
|
||||
|
||||
.method public b()V
|
||||
.locals 2
|
||||
|
||||
invoke-virtual {p0}, Lf/l/a/f/d/i;->c()V
|
||||
|
||||
iget-object v0, p0, Lf/l/a/f/d/i;->a:Ljava/util/concurrent/atomic/AtomicReference;
|
||||
|
||||
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Lf/l/a/f/d/i$a;
|
||||
|
||||
sget-object v1, Lf/l/a/f/d/i$a;->f:Lf/l/a/f/d/i$a;
|
||||
|
||||
if-eq v0, v1, :cond_0
|
||||
|
||||
iget-object v0, p0, Lf/l/a/f/d/i;->c:Ljava/util/concurrent/ExecutorService;
|
||||
|
||||
new-instance v1, Lf/l/a/f/d/i$c;
|
||||
|
||||
invoke-direct {v1, p0}, Lf/l/a/f/d/i$c;-><init>(Lf/l/a/f/d/i;)V
|
||||
|
||||
invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final c()V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lf/l/a/f/d/i;->a:Ljava/util/concurrent/atomic/AtomicReference;
|
||||
|
||||
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Lf/l/a/f/d/i$a;
|
||||
|
||||
sget-object v1, Lf/l/a/f/d/i$a;->g:Lf/l/a/f/d/i$a;
|
||||
|
||||
if-eq v0, v1, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v1, "Service already shutdown"
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
Loading…
Add table
Add a link
Reference in a new issue