126 lines
3.3 KiB
Smali
126 lines
3.3 KiB
Smali
.class public Ln9/a;
|
|
.super Lcom/skt/aicloud/mobile/service/net/http/api/nugu/NuguQueryBase;
|
|
.source "QueryGetRadioStreamingPath.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Ln9/a$a;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public i:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0, p1}, Lcom/skt/aicloud/mobile/service/net/http/api/nugu/NuguQueryBase;-><init>(Landroid/content/Context;)V
|
|
|
|
.line 2
|
|
iput-object p2, p0, Ln9/a;->i:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getExecutor()Lretrofit2/Call;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Lretrofit2/Call<",
|
|
"Lokhttp3/ResponseBody;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/skt/aicloud/mobile/service/net/http/api/nugu/NuguQueryBase;->c:Lcom/skt/aicloud/mobile/service/net/http/api/nugu/NuguServiceApiForHabilis;
|
|
|
|
iget-object v1, p0, Ln9/a;->i:Ljava/lang/String;
|
|
|
|
invoke-virtual {p0}, Ln9/a;->getHeaders()Ljava/util/Map;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-interface {v0, v1, v2}, Lcom/skt/aicloud/mobile/service/net/http/api/nugu/NuguServiceApiForHabilis;->getRadioStreamingPath(Ljava/lang/String;Ljava/util/Map;)Lretrofit2/Call;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getHeaders()Ljava/util/Map;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-super {p0}, Lcom/skt/aicloud/mobile/service/net/http/api/nugu/NuguQueryBase;->getHeaders()Ljava/util/Map;
|
|
|
|
move-result-object v0
|
|
|
|
.line 2
|
|
iget-object v1, p0, Lcom/skt/aicloud/mobile/service/net/http/api/nugu/NuguQueryBase;->d:Landroid/content/Context;
|
|
|
|
invoke-static {v1}, Lua/d;->d(Landroid/content/Context;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "Device-Id"
|
|
|
|
invoke-interface {v0, v2, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public parseResponse(Lokhttp3/Request;Lretrofit2/Response;Ljava/lang/String;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Lcom/google/gson/JsonSyntaxException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-super {p0, p1, p2, p3}, Lcom/skt/aicloud/mobile/service/net/http/api/nugu/NuguQueryBase;->parseResponse(Lokhttp3/Request;Lretrofit2/Response;Ljava/lang/String;)V
|
|
|
|
.line 2
|
|
new-instance p1, Lcom/google/gson/Gson;
|
|
|
|
invoke-direct {p1}, Lcom/google/gson/Gson;-><init>()V
|
|
|
|
const-class p2, Ln9/a$a;
|
|
|
|
invoke-virtual {p1, p3, p2}, Lcom/google/gson/Gson;->fromJson(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ln9/a$a;
|
|
|
|
.line 3
|
|
iget-object p2, p0, Lcom/skt/aicloud/mobile/service/net/http/api/nugu/NuguQueryBase;->e:Li9/d;
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 4
|
|
invoke-virtual {p2, p1}, Li9/d;->b(Ljava/lang/Object;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|