bkd.smali
.class public Ldxoptimizer/bkd;
.super Ljava/lang/Object;
.source "NetFlowRecomUtils.java"
# direct methods
.method public static a(J)F
.registers 4
.prologue
.line 71
const-wide/32 v0, 0x7d000000
cmp-long v0, p0, v0
if-lez v0, :cond_a
.line 72
const/high16 v0, 0x3f000000 # 0.5f
.line 78
:goto_9
return v0
.line 73
:cond_a
const-wide/32 v0, 0x3e800000
cmp-long v0, p0, v0
if-lez v0, :cond_14
.line 74
const/high16 v0, 0x3f800000 # 1.0f
goto :goto_9
.line 75
:cond_14
const-wide/32 v0, 0x1f400000
cmp-long v0, p0, v0
if-lez v0, :cond_1e
.line 76
const/high16 v0, 0x40000000 # 2.0f
goto :goto_9
.line 78
:cond_1e
const/high16 v0, 0x40a00000 # 5.0f
goto :goto_9
.end method
.method public static a(I)Z
.registers 3
.prologue
.line 99
invoke-static {}, Ldxoptimizer/bxl;->b()Z
move-result v0
.line 100
if-nez p0, :cond_8
if-eqz v0, :cond_e
:cond_8
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1c
if-lt v0, v1, :cond_10
:cond_e
const/4 v0, 0x1
:goto_f
return v0
:cond_10
const/4 v0, 0x0
goto :goto_f
.end method
.method private static a(JJ)Z
.registers 8
.prologue
const/4 v0, 0x0
.line 54
.line 56
const-wide/16 v2, 0x0
cmp-long v1, p0, v2
if-lez v1, :cond_19
.line 57
const/high16 v1, 0x3f800000 # 1.0f
long-to-float v2, p2
mul-float/2addr v1, v2
long-to-float v2, p0
div-float/2addr v1, v2
const/high16 v2, 0x42c80000 # 100.0f
mul-float/2addr v1, v2
.line 61
invoke-static {p0, p1}, Ldxoptimizer/bkd;->a(J)F
move-result v2
.line 62
cmpg-float v1, v1, v2
if-gtz v1, :cond_19
const/4 v0, 0x1
.line 67
:cond_19
return v0
.end method
.method public static a(Landroid/content/Context;I)Z
.registers 10
.prologue
const-wide/16 v6, 0x0
const/4 v1, 0x0
.line 25
.line 27
invoke-static {p0, v1, p1}, Ldxoptimizer/bip;->d(Landroid/content/Context;II)J
move-result-wide v2
.line 28
invoke-static {p0}, Ldxoptimizer/bgp;->a(Landroid/content/Context;)Ldxoptimizer/bgp;
move-result-object v0
invoke-virtual {v0, p1}, Ldxoptimizer/bgp;->a(I)Ljava/util/List;
move-result-object v0
.line 29
if-nez v0, :cond_13
move v0, v1
.line 40
:goto_12
return v0
.line 33
:cond_13
const/4 v4, 0x1
invoke-interface {v0, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Long;
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
move-result-wide v4
.line 34
cmp-long v0, v2, v6
if-lez v0, :cond_26
cmp-long v0, v4, v6
if-gtz v0, :cond_28
:cond_26
move v0, v1
.line 35
goto :goto_12
.line 38
:cond_28
sub-long v0, v2, v4
.line 39
invoke-static {v2, v3, v0, v1}, Ldxoptimizer/bkd;->a(JJ)Z
move-result v0
goto :goto_12
.end method
.method public static b(Landroid/content/Context;I)Z
.registers 5
.prologue
const/4 v0, 0x0
.line 83
invoke-static {p0, p1}, Ldxoptimizer/bjz;->b(Landroid/content/Context;I)Ljava/lang/String;
move-result-object v1
.line 84
invoke-static {v1}, Ldxoptimizer/bke;->a(Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
.line 85
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v2
if-eqz v2, :cond_10
.line 94
:cond_f
:goto_f
return v0
.line 89
:cond_10
invoke-static {v1}, Ljava/lang/Float;->valueOf(Ljava/lang/String;)Ljava/lang/Float;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Float;->floatValue()F
move-result v1
.line 93
const/high16 v2, 0x41200000 # 10.0f
invoke-static {p0, v2}, Ldxoptimizer/byy;->a(Landroid/content/Context;F)F
move-result v2
.line 94
cmpg-float v1, v1, v2
if-gez v1, :cond_f
const/4 v0, 0x1
goto :goto_f
.end method