e$a.smali

.class Lbr/com/topaz/heartbeat/token/e$a;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lbr/com/topaz/heartbeat/x/c$a;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lbr/com/topaz/heartbeat/token/e;->run()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lbr/com/topaz/heartbeat/token/e;


# direct methods
.method constructor <init>(Lbr/com/topaz/heartbeat/token/e;)V
    .registers 2

    iput-object p1, p0, Lbr/com/topaz/heartbeat/token/e$a;->a:Lbr/com/topaz/heartbeat/token/e;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(I[B)V
    .registers 4

    iget-object p1, p0, Lbr/com/topaz/heartbeat/token/e$a;->a:Lbr/com/topaz/heartbeat/token/e;

    invoke-static {p1}, Lbr/com/topaz/heartbeat/token/e;->b(Lbr/com/topaz/heartbeat/token/e;)Lbr/com/topaz/heartbeat/crypto/MidCryptImpl;

    move-result-object p1

    iget-object v0, p0, Lbr/com/topaz/heartbeat/token/e$a;->a:Lbr/com/topaz/heartbeat/token/e;

    invoke-static {v0}, Lbr/com/topaz/heartbeat/token/e;->a(Lbr/com/topaz/heartbeat/token/e;)Lbr/com/topaz/heartbeat/k/l;

    move-result-object v0

    invoke-virtual {v0}, Lbr/com/topaz/heartbeat/k/l;->a()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->getBytes()[B

    move-result-object v0

    invoke-virtual {p1, v0}, Lbr/com/topaz/heartbeat/crypto/MidCryptImpl;->a([B)Ljava/lang/String;

    move-result-object p1

    iget-object v0, p0, Lbr/com/topaz/heartbeat/token/e$a;->a:Lbr/com/topaz/heartbeat/token/e;

    invoke-static {v0}, Lbr/com/topaz/heartbeat/token/e;->c(Lbr/com/topaz/heartbeat/token/e;)Lbr/com/topaz/heartbeat/k/h0;

    move-result-object v0

    invoke-interface {v0, p1, p2}, Lbr/com/topaz/heartbeat/k/h0;->b(Ljava/lang/String;[B)V

    iget-object p1, p0, Lbr/com/topaz/heartbeat/token/e$a;->a:Lbr/com/topaz/heartbeat/token/e;

    invoke-static {p1}, Lbr/com/topaz/heartbeat/token/e;->d(Lbr/com/topaz/heartbeat/token/e;)Lbr/com/topaz/heartbeat/token/e$b;

    move-result-object p1

    invoke-interface {p1}, Lbr/com/topaz/heartbeat/token/e$b;->onSuccess()V

    return-void
.end method

.method public onFailure(I)V
    .registers 3

    iget-object v0, p0, Lbr/com/topaz/heartbeat/token/e$a;->a:Lbr/com/topaz/heartbeat/token/e;

    invoke-static {v0}, Lbr/com/topaz/heartbeat/token/e;->d(Lbr/com/topaz/heartbeat/token/e;)Lbr/com/topaz/heartbeat/token/e$b;

    move-result-object v0

    invoke-interface {v0, p1}, Lbr/com/topaz/heartbeat/token/e$b;->onFailure(I)V

    return-void
.end method