l.smali
2.0 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
.class public Lcom/uyumao/l;
.super Ljava/lang/Object;
# static fields
.field public static a:Lcom/uyumao/l;
# instance fields
.field public b:Ljava/util/concurrent/ExecutorService;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static a()Lcom/uyumao/l;
.locals 2
sget-object v0, Lcom/uyumao/l;->a:Lcom/uyumao/l;
if-nez v0, :cond_1
const-class v0, Lcom/uyumao/l;
monitor-enter v0
:try_start_0
sget-object v1, Lcom/uyumao/l;->a:Lcom/uyumao/l;
if-nez v1, :cond_0
new-instance v1, Lcom/uyumao/l;
invoke-direct {v1}, Lcom/uyumao/l;-><init>()V
sput-object v1, Lcom/uyumao/l;->a:Lcom/uyumao/l;
:cond_0
monitor-exit v0
goto :goto_0
:catchall_0
move-exception v1
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v1
:cond_1
:goto_0
sget-object v0, Lcom/uyumao/l;->a:Lcom/uyumao/l;
return-object v0
.end method
# virtual methods
.method public b()Ljava/util/concurrent/ExecutorService;
.locals 2
iget-object v0, p0, Lcom/uyumao/l;->b:Ljava/util/concurrent/ExecutorService;
if-nez v0, :cond_1
const-class v0, Lcom/uyumao/l;
monitor-enter v0
:try_start_0
iget-object v1, p0, Lcom/uyumao/l;->b:Ljava/util/concurrent/ExecutorService;
if-nez v1, :cond_0
invoke-static {}, Ljava/util/concurrent/Executors;->newSingleThreadExecutor()Ljava/util/concurrent/ExecutorService;
move-result-object v1
iput-object v1, p0, Lcom/uyumao/l;->b:Ljava/util/concurrent/ExecutorService;
:cond_0
monitor-exit v0
goto :goto_0
:catchall_0
move-exception v1
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v1
:cond_1
:goto_0
iget-object v0, p0, Lcom/uyumao/l;->b:Ljava/util/concurrent/ExecutorService;
return-object v0
.end method