d.smali
.class public final Lcom/masala/share/proto/b/d;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lsg/bigo/svcapi/IConfig;
# instance fields
.field private a:Landroid/content/Context;
.field private b:Lcom/masala/share/proto/b/h;
.field private final c:Lcom/masala/share/proto/b/a;
# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/masala/share/proto/b/h;)V
.registers 3
.line 27
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 28
iput-object p1, p0, Lcom/masala/share/proto/b/d;->a:Landroid/content/Context;
.line 29
iput-object p2, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 30
new-instance p1, Lcom/masala/share/proto/b/a;
invoke-direct {p1}, Lcom/masala/share/proto/b/a;-><init>()V
iput-object p1, p0, Lcom/masala/share/proto/b/d;->c:Lcom/masala/share/proto/b/a;
return-void
.end method
# virtual methods
.method public final adjustedClientTimeMillies()J
.registers 6
.line 202
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 21293
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
.line 202
iget v0, v0, Lcom/masala/share/proto/b/g;->h:I
if-lez v0, :cond_2c
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 22293
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
.line 202
iget-wide v0, v0, Lcom/masala/share/proto/b/g;->n:J
const-wide/16 v2, 0x0
cmp-long v4, v0, v2
if-lez v4, :cond_2c
.line 203
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 23293
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
.line 203
iget v0, v0, Lcom/masala/share/proto/b/g;->h:I
int-to-long v0, v0
const-wide/16 v2, 0x3e8
mul-long v0, v0, v2
invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
move-result-wide v2
add-long/2addr v0, v2
iget-object v2, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 24293
iget-object v2, v2, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
.line 203
iget-wide v2, v2, Lcom/masala/share/proto/b/g;->n:J
sub-long/2addr v0, v2
return-wide v0
.line 205
:cond_2c
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v0
return-wide v0
.end method
.method public final appId()I
.registers 2
const/16 v0, 0x3e
return v0
.end method
.method public final clientIp()I
.registers 2
.line 171
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 16256
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
iget v0, v0, Lcom/masala/share/proto/b/g;->j:I
return v0
.end method
.method public final clientTimestamp()I
.registers 2
.line 191
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 18293
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
.line 191
iget v0, v0, Lcom/masala/share/proto/b/g;->m:I
return v0
.end method
.method public final cookie()[B
.registers 2
.line 89
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
invoke-virtual {v0}, Lcom/masala/share/proto/b/h;->f()[B
move-result-object v0
return-object v0
.end method
.method public final delete()V
.registers 2
.line 225
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 26293
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
.line 225
invoke-virtual {v0}, Lcom/masala/share/proto/b/g;->b()V
return-void
.end method
.method public final deviceId()Ljava/lang/String;
.registers 2
.line 161
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 15261
iget-object v0, v0, Lcom/masala/share/proto/b/h;->b:Landroid/content/Context;
invoke-static {v0}, Lsg/bigo/sdk/network/i/e;->a(Landroid/content/Context;)Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public final extInfo()Ljava/lang/String;
.registers 2
.line 79
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 5180
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
iget-object v0, v0, Lcom/masala/share/proto/b/g;->l:Ljava/lang/String;
return-object v0
.end method
.method public final getAppStatus()Lsg/bigo/svcapi/IAppStatus;
.registers 2
.line 235
iget-object v0, p0, Lcom/masala/share/proto/b/d;->c:Lcom/masala/share/proto/b/a;
return-object v0
.end method
.method public final getAreaCode()I
.registers 2
const/4 v0, 0x0
return v0
.end method
.method public final getCountryCode()Ljava/lang/String;
.registers 2
const/4 v0, 0x0
return-object v0
.end method
.method public final getNetworkData()Lsg/bigo/svcapi/network/INetworkData;
.registers 2
.line 230
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 26322
iget-object v0, v0, Lcom/masala/share/proto/b/h;->e:Lcom/masala/share/proto/b/f;
return-object v0
.end method
.method public final isPending()Z
.registers 2
.line 251
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 28358
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
iget-boolean v0, v0, Lcom/masala/share/proto/b/g;->o:Z
return v0
.end method
.method public final isVisitor()Z
.registers 2
.line 107
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
invoke-virtual {v0}, Lcom/masala/share/proto/b/h;->g()Z
move-result v0
return v0
.end method
.method public final isVisitorServiceValid()Z
.registers 2
.line 117
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 9293
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
.line 117
iget-boolean v0, v0, Lcom/masala/share/proto/b/g;->q:Z
return v0
.end method
.method public final name()Ljava/lang/String;
.registers 2
.line 132
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 12185
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
iget-object v0, v0, Lcom/masala/share/proto/b/g;->d:Ljava/lang/String;
return-object v0
.end method
.method public final onAccountChanged(II)V
.registers 4
const-string p1, "yysdk-app"
const-string p2, "onAccountChanged"
.line 240
invoke-static {p1, p2}, Lsg/bigo/log/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
.line 241
iget-object p1, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 26328
iget-object p2, p1, Lcom/masala/share/proto/b/h;->a:Lcom/masala/share/proto/c;
if-eqz p2, :cond_12
.line 26329
iget-object p2, p1, Lcom/masala/share/proto/b/h;->a:Lcom/masala/share/proto/c;
invoke-interface {p2}, Lcom/masala/share/proto/c;->a()V
.line 27275
:cond_12
iget-object p2, p1, Lcom/masala/share/proto/b/h;->d:Lcom/masala/share/proto/b/b;
invoke-virtual {p2}, Lcom/masala/share/proto/b/b;->a()V
.line 28246
iget-object p2, p1, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
invoke-virtual {p2}, Lcom/masala/share/proto/b/g;->b()V
.line 28338
iget-object p1, p1, Lcom/masala/share/proto/b/h;->b:Landroid/content/Context;
const/4 p2, 0x0
const-string v0, "setting_save2srv_pref"
invoke-virtual {p1, v0, p2}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;
move-result-object p1
.line 28339
invoke-interface {p1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object p1
.line 28340
invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->clear()Landroid/content/SharedPreferences$Editor;
.line 28341
invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->apply()V
return-void
.end method
.method public final passwordMd5()Ljava/lang/String;
.registers 2
const/4 v0, 0x0
return-object v0
.end method
.method public final phoneNo()J
.registers 3
const-wide/16 v0, 0x0
return-wide v0
.end method
.method public final save()V
.registers 2
.line 220
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 25293
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
.line 220
invoke-virtual {v0}, Lcom/masala/share/proto/b/g;->a()V
return-void
.end method
.method public final serverTimestamp()I
.registers 2
.line 181
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 17266
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
iget v0, v0, Lcom/masala/share/proto/b/g;->h:I
return v0
.end method
.method public final setAppId(I)V
.registers 3
.line 40
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 1293
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
.line 40
iput p1, v0, Lcom/masala/share/proto/b/g;->i:I
return-void
.end method
.method public final setAreaCode(I)V
.registers 2
return-void
.end method
.method public final setClientIp(I)V
.registers 3
.line 176
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 16293
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
.line 176
iput p1, v0, Lcom/masala/share/proto/b/g;->j:I
return-void
.end method
.method public final setClientTimestamp(IJ)V
.registers 5
.line 196
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 19293
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
.line 196
iput p1, v0, Lcom/masala/share/proto/b/g;->m:I
.line 197
iget-object p1, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 20293
iget-object p1, p1, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
.line 197
iput-wide p2, p1, Lcom/masala/share/proto/b/g;->n:J
return-void
.end method
.method public final setCountryCode(Ljava/lang/String;)V
.registers 2
return-void
.end method
.method public final setDeviceId(Ljava/lang/String;)V
.registers 2
.line 166
new-instance p1, Ljava/lang/UnsupportedOperationException;
invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;-><init>()V
throw p1
.end method
.method public final setExtInfo(Ljava/lang/String;)V
.registers 3
.line 84
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 5293
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
.line 84
iput-object p1, v0, Lcom/masala/share/proto/b/g;->l:Ljava/lang/String;
return-void
.end method
.method public final setName(Ljava/lang/String;)V
.registers 3
.line 137
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 12293
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
.line 137
iput-object p1, v0, Lcom/masala/share/proto/b/g;->d:Ljava/lang/String;
return-void
.end method
.method public final setPasswordMd5(Ljava/lang/String;)V
.registers 2
return-void
.end method
.method public final setPending(Z)V
.registers 4
.line 246
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 28345
iget-object v1, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
iget-boolean v1, v1, Lcom/masala/share/proto/b/g;->o:Z
if-eq v1, p1, :cond_11
.line 28346
iget-object v1, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
iput-boolean p1, v1, Lcom/masala/share/proto/b/g;->o:Z
.line 28347
iget-object p1, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
invoke-virtual {p1}, Lcom/masala/share/proto/b/g;->a()V
:cond_11
return-void
.end method
.method public final setPhoneNo(J)V
.registers 3
return-void
.end method
.method public final setRegisterCookie([B)V
.registers 4
.line 94
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 6293
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
.line 94
iput-object p1, v0, Lcom/masala/share/proto/b/g;->f:[B
.line 95
invoke-virtual {p0}, Lcom/masala/share/proto/b/d;->isVisitor()Z
move-result v0
invoke-static {v0}, Lcom/masala/share/utils/e/a;->a(Z)V
.line 96
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "ConfigWrapper.setCookie:"
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
if-nez p1, :cond_19
const-string p1, "null"
goto :goto_1e
:cond_19
array-length p1, p1
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
:goto_1e
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
const-string v0, "yysdk-cookie"
invoke-static {v0, p1}, Lsg/bigo/log/TraceLog;->i(Ljava/lang/String;Ljava/lang/String;)I
return-void
.end method
.method public final setRegisterUid(I)V
.registers 5
.line 55
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 2293
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
.line 55
iput p1, v0, Lcom/masala/share/proto/b/g;->b:I
.line 57
iget-object v0, p0, Lcom/masala/share/proto/b/d;->a:Landroid/content/Context;
const-string v1, "pref_config_wrapper"
const/4 v2, 0x0
invoke-virtual {v0, v1, v2}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;
move-result-object v0
invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v0
const-string v1, "pref_key_uid"
invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;
move-result-object p1
invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->apply()V
return-void
.end method
.method public final setServerTimestamp(I)V
.registers 3
.line 186
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 17293
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
.line 186
iput p1, v0, Lcom/masala/share/proto/b/g;->h:I
return-void
.end method
.method public final setShortId(I)V
.registers 3
.line 74
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 4293
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
.line 74
iput p1, v0, Lcom/masala/share/proto/b/g;->k:I
return-void
.end method
.method public final setStatus(B)V
.registers 3
.line 147
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 14293
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
.line 147
iput-byte p1, v0, Lcom/masala/share/proto/b/g;->e:B
return-void
.end method
.method public final setThirdUserId(Ljava/lang/String;)V
.registers 2
return-void
.end method
.method public final setToken([B)V
.registers 3
.line 127
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 11293
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
.line 127
iput-object p1, v0, Lcom/masala/share/proto/b/g;->p:[B
return-void
.end method
.method public final setVisitorCookie([B)V
.registers 3
.line 101
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 7293
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
.line 101
iput-object p1, v0, Lcom/masala/share/proto/b/g;->g:[B
.line 102
invoke-virtual {p0}, Lcom/masala/share/proto/b/d;->isVisitor()Z
move-result p1
invoke-static {p1}, Lcom/masala/share/utils/e/a;->a(Z)V
return-void
.end method
.method public final setVisitorServiceValid(Z)V
.registers 3
.line 112
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 8293
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
.line 112
iput-boolean p1, v0, Lcom/masala/share/proto/b/g;->q:Z
return-void
.end method
.method public final setVisitorUid(I)V
.registers 5
.line 62
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 3293
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
.line 62
iput p1, v0, Lcom/masala/share/proto/b/g;->c:I
.line 64
iget-object v0, p0, Lcom/masala/share/proto/b/d;->a:Landroid/content/Context;
const-string v1, "pref_config_wrapper"
const/4 v2, 0x0
invoke-virtual {v0, v1, v2}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;
move-result-object v0
invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v0
const-string v1, "pref_key_uid"
invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;
move-result-object p1
invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->apply()V
return-void
.end method
.method public final shortId()I
.registers 2
.line 69
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 4175
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
iget v0, v0, Lcom/masala/share/proto/b/g;->k:I
return v0
.end method
.method public final status()B
.registers 2
.line 142
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 13293
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
.line 142
iget-byte v0, v0, Lcom/masala/share/proto/b/g;->e:B
return v0
.end method
.method public final thirdUserId()Ljava/lang/String;
.registers 2
const/4 v0, 0x0
return-object v0
.end method
.method public final token()[B
.registers 2
.line 122
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 10293
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
.line 122
iget-object v0, v0, Lcom/masala/share/proto/b/g;->p:[B
return-object v0
.end method
.method public final uid()I
.registers 2
.line 45
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
invoke-virtual {v0}, Lcom/masala/share/proto/b/h;->a()I
move-result v0
return v0
.end method
.method public final visitorUid()I
.registers 2
.line 50
iget-object v0, p0, Lcom/masala/share/proto/b/d;->b:Lcom/masala/share/proto/b/h;
.line 2165
iget-object v0, v0, Lcom/masala/share/proto/b/h;->c:Lcom/masala/share/proto/b/g;
iget v0, v0, Lcom/masala/share/proto/b/g;->c:I
return v0
.end method