c.smali
3.9 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
.class public final Lcom/bytedance/dr/impl/c;
.super Lcom/bytedance/dr/impl/b;
.source ""
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/bytedance/dr/impl/b<",
"Lcom/bytedance/dr/aidl/f;",
">;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 1
const-string v0, "com.mdid.msa"
invoke-direct {p0, v0}, Lcom/bytedance/dr/impl/b;-><init>(Ljava/lang/String;)V
return-void
.end method
# virtual methods
.method public a(Landroid/content/Context;)Landroid/content/Intent;
.locals 3
new-instance v0, Landroid/content/Intent;
invoke-direct {v0}, Landroid/content/Intent;-><init>()V
const-string v1, "com.mdid.msa"
const-string v2, "com.mdid.msa.service.MsaIdService"
invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
const-string v1, "com.bun.msa.action.bindto.service"
invoke-virtual {v0, v1}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;
invoke-virtual {p1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
move-result-object p1
const-string v1, "com.bun.msa.param.pkgname"
invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
return-object v0
.end method
.method public a()Lcom/bytedance/bdtracker/d5$b;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/bytedance/bdtracker/d5$b<",
"Lcom/bytedance/dr/aidl/f;",
"Ljava/lang/String;",
">;"
}
.end annotation
new-instance v0, Lcom/bytedance/dr/impl/c$a;
invoke-direct {v0, p0}, Lcom/bytedance/dr/impl/c$a;-><init>(Lcom/bytedance/dr/impl/c;)V
return-object v0
.end method
.method public getName()Ljava/lang/String;
.locals 1
const-string v0, "Common"
return-object v0
.end method
.method public getOaid(Landroid/content/Context;)Lcom/bytedance/dr/OaidApi$a;
.locals 5
invoke-virtual {p1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
move-result-object v0
.line 1
new-instance v1, Landroid/content/Intent;
invoke-direct {v1}, Landroid/content/Intent;-><init>()V
const-string v2, "com.mdid.msa"
const-string v3, "com.mdid.msa.service.MsaKlService"
invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
const-string v2, "com.bun.msa.action.start.service"
invoke-virtual {v1, v2}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;
const-string v2, "com.bun.msa.param.pkgname"
invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
const/4 v0, 0x1
:try_start_0
const-string v2, "com.bun.msa.param.runinset"
invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
invoke-virtual {p1, v1}, Landroid/content/Context;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v1
invoke-static {}, Lcom/bytedance/applog/log/LoggerImpl;->global()Lcom/bytedance/applog/log/IAppLogLogger;
move-result-object v2
const/4 v3, 0x0
new-array v3, v3, [Ljava/lang/Object;
const-string v4, "startMsaklServer failed"
invoke-interface {v2, v0, v4, v1, v3}, Lcom/bytedance/applog/log/IAppLogLogger;->error(ILjava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V
.line 2
:goto_0
invoke-super {p0, p1}, Lcom/bytedance/dr/impl/b;->getOaid(Landroid/content/Context;)Lcom/bytedance/dr/OaidApi$a;
move-result-object p1
return-object p1
.end method