166 lines
4.1 KiB
Smali
166 lines
4.1 KiB
Smali
.class Lcom/moji/api/service/APIBGService$1;
|
|
.super Lcom/moji/api/service/IAPIManagerInterface$Stub;
|
|
.source "APIBGService.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/moji/api/service/APIBGService;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Lcom/moji/api/service/APIBGService;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/api/service/APIBGService;)V
|
|
.locals 0
|
|
|
|
.line 18
|
|
iput-object p1, p0, Lcom/moji/api/service/APIBGService$1;->a:Lcom/moji/api/service/APIBGService;
|
|
|
|
invoke-direct {p0}, Lcom/moji/api/service/IAPIManagerInterface$Stub;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Landroid/os/RemoteException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 21
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const-string p1, ""
|
|
|
|
return-object p1
|
|
|
|
.line 24
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/moji/api/service/APIBGService$1;->a:Lcom/moji/api/service/APIBGService;
|
|
|
|
invoke-static {v0}, Lcom/moji/api/service/APIBGService;->a(Lcom/moji/api/service/APIBGService;)Ljava/util/concurrent/ConcurrentHashMap;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/concurrent/ConcurrentHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ljava/lang/String;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public a(Ljava/lang/String;Ljava/lang/String;)Z
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Landroid/os/RemoteException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 29
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 32
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/moji/api/service/APIBGService$1;->a:Lcom/moji/api/service/APIBGService;
|
|
|
|
invoke-static {v0}, Lcom/moji/api/service/APIBGService;->a(Lcom/moji/api/service/APIBGService;)Ljava/util/concurrent/ConcurrentHashMap;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p1, p2}, Ljava/util/concurrent/ConcurrentHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 33
|
|
iget-object p2, p0, Lcom/moji/api/service/APIBGService$1;->a:Lcom/moji/api/service/APIBGService;
|
|
|
|
invoke-static {p2}, Lcom/moji/api/service/APIBGService;->a(Lcom/moji/api/service/APIBGService;)Ljava/util/concurrent/ConcurrentHashMap;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p2, p1}, Ljava/util/concurrent/ConcurrentHashMap;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public b(Ljava/lang/String;)Z
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Landroid/os/RemoteException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 38
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
|
|
.line 41
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/moji/api/service/APIBGService$1;->a:Lcom/moji/api/service/APIBGService;
|
|
|
|
invoke-static {v0}, Lcom/moji/api/service/APIBGService;->a(Lcom/moji/api/service/APIBGService;)Ljava/util/concurrent/ConcurrentHashMap;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/concurrent/ConcurrentHashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ljava/lang/String;
|
|
|
|
.line 42
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result p1
|
|
|
|
xor-int/lit8 p1, p1, 0x1
|
|
|
|
return p1
|
|
.end method
|