RetrofitFactory$1.smali

.class final Lcom/sandboxol/common/retrofit/RetrofitFactory$1;
.super Ljava/lang/Object;
.source "RetrofitFactory.java"

# interfaces
.implements Lokhttp3/logging/HttpLoggingInterceptor$Logger;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/sandboxol/common/retrofit/RetrofitFactory;->getHttpLoggingInterceptor()Lokhttp3/Interceptor;
.end annotation

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


# direct methods
.method constructor <init>()V
    .registers 1

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

    return-void
.end method


# virtual methods
.method public log(Ljava/lang/String;)V
    .registers 8

    .line 1
    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v0

    sget v1, Lcom/sandboxol/common/retrofit/RetrofitFactory;->NO_OF_LOG_CHAR:I

    const-string v2, "debug_net"

    if-le v0, v1, :cond_46

    const/4 v0, 0x0

    .line 2
    :goto_b
    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v1

    sget v3, Lcom/sandboxol/common/retrofit/RetrofitFactory;->NO_OF_LOG_CHAR:I

    div-int/2addr v1, v3

    if-ge v0, v1, :cond_4d

    mul-int v1, v0, v3

    add-int/2addr v1, v3

    .line 3
    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v3

    if-ge v1, v3, :cond_30

    .line 4
    invoke-static {v2}, Lcom/apkfuns/logutils/c;->a(Ljava/lang/String;)Lcom/apkfuns/logutils/e;

    move-result-object v1

    sget v3, Lcom/sandboxol/common/retrofit/RetrofitFactory;->NO_OF_LOG_CHAR:I

    mul-int v4, v0, v3

    mul-int v5, v0, v3

    add-int/2addr v5, v3

    invoke-virtual {p1, v4, v5}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v3

    invoke-interface {v1, v3}, Lcom/apkfuns/logutils/e;->c(Ljava/lang/Object;)V

    goto :goto_43

    .line 5
    :cond_30
    invoke-static {v2}, Lcom/apkfuns/logutils/c;->a(Ljava/lang/String;)Lcom/apkfuns/logutils/e;

    move-result-object v1

    sget v3, Lcom/sandboxol/common/retrofit/RetrofitFactory;->NO_OF_LOG_CHAR:I

    mul-int v3, v3, v0

    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v4

    invoke-virtual {p1, v3, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v3

    invoke-interface {v1, v3}, Lcom/apkfuns/logutils/e;->c(Ljava/lang/Object;)V

    :goto_43
    add-int/lit8 v0, v0, 0x1

    goto :goto_b

    .line 6
    :cond_46
    invoke-static {v2}, Lcom/apkfuns/logutils/c;->a(Ljava/lang/String;)Lcom/apkfuns/logutils/e;

    move-result-object v0

    invoke-interface {v0, p1}, Lcom/apkfuns/logutils/e;->c(Ljava/lang/Object;)V

    :cond_4d
    return-void
.end method