v.smali
7.7 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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
.class public final Lb/v;
.super Lb/b0;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lb/v$a;,
Lb/v$b;
}
.end annotation
# static fields
.field public static final a:Lb/u;
.field public static final b:Lb/u;
.field public static final c:[B
.field public static final d:[B
.field public static final e:[B
# instance fields
.field public final f:Lc/i;
.field public final g:Lb/u;
.field public final h:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lb/v$b;",
">;"
}
.end annotation
.end field
.field public i:J
# direct methods
.method public static constructor <clinit>()V
.locals 2
const-string v0, "multipart/mixed"
invoke-static {v0}, Lb/u;->a(Ljava/lang/String;)Lb/u;
move-result-object v0
sput-object v0, Lb/v;->a:Lb/u;
const-string v0, "multipart/alternative"
invoke-static {v0}, Lb/u;->a(Ljava/lang/String;)Lb/u;
const-string v0, "multipart/digest"
invoke-static {v0}, Lb/u;->a(Ljava/lang/String;)Lb/u;
const-string v0, "multipart/parallel"
invoke-static {v0}, Lb/u;->a(Ljava/lang/String;)Lb/u;
const-string v0, "multipart/form-data"
invoke-static {v0}, Lb/u;->a(Ljava/lang/String;)Lb/u;
move-result-object v0
sput-object v0, Lb/v;->b:Lb/u;
const/4 v0, 0x2
new-array v1, v0, [B
fill-array-data v1, :array_0
sput-object v1, Lb/v;->c:[B
new-array v1, v0, [B
fill-array-data v1, :array_1
sput-object v1, Lb/v;->d:[B
new-array v0, v0, [B
fill-array-data v0, :array_2
sput-object v0, Lb/v;->e:[B
return-void
:array_0
.array-data 1
0x3at
0x20t
.end array-data
nop
:array_1
.array-data 1
0xdt
0xat
.end array-data
nop
:array_2
.array-data 1
0x2dt
0x2dt
.end array-data
.end method
.method public constructor <init>(Lc/i;Lb/u;Ljava/util/List;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lc/i;",
"Lb/u;",
"Ljava/util/List<",
"Lb/v$b;",
">;)V"
}
.end annotation
invoke-direct {p0}, Lb/b0;-><init>()V
const-wide/16 v0, -0x1
iput-wide v0, p0, Lb/v;->i:J
iput-object p1, p0, Lb/v;->f:Lc/i;
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string p2, "; boundary="
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Lc/i;->f()Ljava/lang/String;
move-result-object p1
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-static {p1}, Lb/u;->a(Ljava/lang/String;)Lb/u;
move-result-object p1
iput-object p1, p0, Lb/v;->g:Lb/u;
invoke-static {p3}, Lb/h0/c;->a(Ljava/util/List;)Ljava/util/List;
move-result-object p1
iput-object p1, p0, Lb/v;->h:Ljava/util/List;
return-void
.end method
# virtual methods
.method public a()J
.locals 4
iget-wide v0, p0, Lb/v;->i:J
const-wide/16 v2, -0x1
cmp-long v2, v0, v2
if-eqz v2, :cond_0
return-wide v0
:cond_0
const/4 v0, 0x0
const/4 v1, 0x1
invoke-virtual {p0, v0, v1}, Lb/v;->a(Lc/g;Z)J
move-result-wide v0
iput-wide v0, p0, Lb/v;->i:J
return-wide v0
.end method
.method public final a(Lc/g;Z)J
.locals 13
.param p1 # Lc/g;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
if-eqz p2, :cond_0
new-instance p1, Lc/f;
invoke-direct {p1}, Lc/f;-><init>()V
move-object v0, p1
goto :goto_0
:cond_0
const/4 v0, 0x0
move-object v12, v0
move-object v0, p1
move-object p1, v12
:goto_0
iget-object v1, p0, Lb/v;->h:Ljava/util/List;
invoke-interface {v1}, Ljava/util/List;->size()I
move-result v1
const/4 v2, 0x0
const-wide/16 v3, 0x0
move-wide v4, v3
move v3, v2
:goto_1
if-ge v3, v1, :cond_6
iget-object v6, p0, Lb/v;->h:Ljava/util/List;
invoke-interface {v6, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v6
check-cast v6, Lb/v$b;
iget-object v7, v6, Lb/v$b;->a:Lb/r;
iget-object v6, v6, Lb/v$b;->b:Lb/b0;
sget-object v8, Lb/v;->e:[B
invoke-interface {v0, v8}, Lc/g;->a([B)Lc/g;
iget-object v8, p0, Lb/v;->f:Lc/i;
invoke-interface {v0, v8}, Lc/g;->a(Lc/i;)Lc/g;
sget-object v8, Lb/v;->d:[B
invoke-interface {v0, v8}, Lc/g;->a([B)Lc/g;
if-eqz v7, :cond_1
invoke-virtual {v7}, Lb/r;->b()I
move-result v8
move v9, v2
:goto_2
if-ge v9, v8, :cond_1
invoke-virtual {v7, v9}, Lb/r;->a(I)Ljava/lang/String;
move-result-object v10
invoke-interface {v0, v10}, Lc/g;->a(Ljava/lang/String;)Lc/g;
move-result-object v10
sget-object v11, Lb/v;->c:[B
invoke-interface {v10, v11}, Lc/g;->a([B)Lc/g;
move-result-object v10
invoke-virtual {v7, v9}, Lb/r;->b(I)Ljava/lang/String;
move-result-object v11
invoke-interface {v10, v11}, Lc/g;->a(Ljava/lang/String;)Lc/g;
move-result-object v10
sget-object v11, Lb/v;->d:[B
invoke-interface {v10, v11}, Lc/g;->a([B)Lc/g;
add-int/lit8 v9, v9, 0x1
goto :goto_2
:cond_1
invoke-virtual {v6}, Lb/b0;->b()Lb/u;
move-result-object v7
if-eqz v7, :cond_2
const-string v8, "Content-Type: "
invoke-interface {v0, v8}, Lc/g;->a(Ljava/lang/String;)Lc/g;
move-result-object v8
.line 1
iget-object v7, v7, Lb/u;->c:Ljava/lang/String;
.line 2
invoke-interface {v8, v7}, Lc/g;->a(Ljava/lang/String;)Lc/g;
move-result-object v7
sget-object v8, Lb/v;->d:[B
invoke-interface {v7, v8}, Lc/g;->a([B)Lc/g;
:cond_2
invoke-virtual {v6}, Lb/b0;->a()J
move-result-wide v7
const-wide/16 v9, -0x1
cmp-long v11, v7, v9
if-eqz v11, :cond_3
const-string v9, "Content-Length: "
invoke-interface {v0, v9}, Lc/g;->a(Ljava/lang/String;)Lc/g;
move-result-object v9
invoke-interface {v9, v7, v8}, Lc/g;->d(J)Lc/g;
move-result-object v9
sget-object v10, Lb/v;->d:[B
invoke-interface {v9, v10}, Lc/g;->a([B)Lc/g;
goto :goto_3
:cond_3
if-eqz p2, :cond_4
invoke-virtual {p1}, Lc/f;->a()V
return-wide v9
:cond_4
:goto_3
sget-object v9, Lb/v;->d:[B
invoke-interface {v0, v9}, Lc/g;->a([B)Lc/g;
if-eqz p2, :cond_5
add-long/2addr v4, v7
goto :goto_4
:cond_5
invoke-virtual {v6, v0}, Lb/b0;->a(Lc/g;)V
:goto_4
invoke-interface {v0, v9}, Lc/g;->a([B)Lc/g;
add-int/lit8 v3, v3, 0x1
goto/16 :goto_1
:cond_6
sget-object v1, Lb/v;->e:[B
invoke-interface {v0, v1}, Lc/g;->a([B)Lc/g;
iget-object v2, p0, Lb/v;->f:Lc/i;
invoke-interface {v0, v2}, Lc/g;->a(Lc/i;)Lc/g;
invoke-interface {v0, v1}, Lc/g;->a([B)Lc/g;
sget-object v1, Lb/v;->d:[B
invoke-interface {v0, v1}, Lc/g;->a([B)Lc/g;
if-eqz p2, :cond_7
.line 3
iget-wide v0, p1, Lc/f;->c:J
add-long/2addr v4, v0
.line 4
invoke-virtual {p1}, Lc/f;->a()V
:cond_7
return-wide v4
.end method
.method public a(Lc/g;)V
.locals 1
const/4 v0, 0x0
invoke-virtual {p0, p1, v0}, Lb/v;->a(Lc/g;Z)J
return-void
.end method
.method public b()Lb/u;
.locals 1
iget-object v0, p0, Lb/v;->g:Lb/u;
return-object v0
.end method