cx.smali
.class Lcom/bytedance/embedapplog/cx;
.super Lcom/bytedance/embedapplog/cw;
.source "SourceFile"
# direct methods
.method constructor <init>()V
.registers 3
.prologue
.line 17
const/4 v0, 0x1
const/4 v1, 0x0
invoke-direct {p0, v0, v1}, Lcom/bytedance/embedapplog/cw;-><init>(ZZ)V
.line 18
return-void
.end method
# virtual methods
.method protected a(Lorg/json/JSONObject;)Z
.registers 4
.annotation build Landroid/annotation/SuppressLint;
value = {
"MissingPermission"
}
.end annotation
.prologue
.line 23
const-string v0, "os"
const-string v1, "Android"
invoke-virtual {p1, v0, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
.line 24
const-string v0, "os_version"
sget-object v1, Landroid/os/Build$VERSION;->RELEASE:Ljava/lang/String;
invoke-virtual {p1, v0, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
.line 25
const-string v0, "os_api"
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
invoke-virtual {p1, v0, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
.line 26
const-string v0, "device_model"
sget-object v1, Landroid/os/Build;->MODEL:Ljava/lang/String;
invoke-virtual {p1, v0, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
.line 27
const-string v0, "device_brand"
sget-object v1, Landroid/os/Build;->BRAND:Ljava/lang/String;
invoke-virtual {p1, v0, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
.line 28
const-string v0, "device_manufacturer"
sget-object v1, Landroid/os/Build;->MANUFACTURER:Ljava/lang/String;
invoke-virtual {p1, v0, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
.line 29
const-string v0, "cpu_abi"
sget-object v1, Landroid/os/Build;->CPU_ABI:Ljava/lang/String;
invoke-virtual {p1, v0, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
.line 30
const-string v0, "build_serial"
sget-object v1, Landroid/os/Build;->SERIAL:Ljava/lang/String;
invoke-virtual {p1, v0, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
.line 31
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1a
if-lt v0, v1, :cond_47
.line 32
const-string v0, "build_serial"
invoke-static {}, Landroid/os/Build;->getSerial()Ljava/lang/String;
move-result-object v1
invoke-virtual {p1, v0, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
.line 34
:cond_47
const/4 v0, 0x1
return v0
.end method