ay.smali
2.4 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
.class public Lcom/umeng/analytics/pro/ay;
.super Ljava/lang/Object;
# interfaces
.implements Lcom/umeng/analytics/pro/au;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/umeng/analytics/pro/ay$b;,
Lcom/umeng/analytics/pro/ay$a;
}
.end annotation
# static fields
.field private static final a:Ljava/lang/String; = "com.uodis.opendevice.aidl.OpenDeviceIdentifierService"
.field private static final b:I = 0x1
.field private static final c:I = 0x2
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a(Landroid/content/Context;)Ljava/lang/String;
.locals 4
new-instance v0, Lcom/umeng/analytics/pro/ay$a;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lcom/umeng/analytics/pro/ay$a;-><init>(Lcom/umeng/analytics/pro/ay$1;)V
new-instance v2, Landroid/content/Intent;
const-string v3, "com.uodis.opendevice.OPENIDS_SERVICE"
invoke-direct {v2, v3}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
const-string v3, "com.huawei.hwid"
invoke-virtual {v2, v3}, Landroid/content/Intent;->setPackage(Ljava/lang/String;)Landroid/content/Intent;
const/4 v3, 0x1
invoke-virtual {p1, v2, v0, v3}, Landroid/content/Context;->bindService(Landroid/content/Intent;Landroid/content/ServiceConnection;I)Z
move-result v2
if-eqz v2, :cond_0
:try_start_0
new-instance v2, Lcom/umeng/analytics/pro/ay$b;
invoke-virtual {v0}, Lcom/umeng/analytics/pro/ay$a;->a()Landroid/os/IBinder;
move-result-object v3
invoke-direct {v2, v3}, Lcom/umeng/analytics/pro/ay$b;-><init>(Landroid/os/IBinder;)V
invoke-virtual {v2}, Lcom/umeng/analytics/pro/ay$b;->a()Ljava/lang/String;
move-result-object v1
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {p1, v0}, Landroid/content/Context;->unbindService(Landroid/content/ServiceConnection;)V
return-object v1
:catchall_0
move-exception v1
invoke-virtual {p1, v0}, Landroid/content/Context;->unbindService(Landroid/content/ServiceConnection;)V
throw v1
:catch_0
invoke-virtual {p1, v0}, Landroid/content/Context;->unbindService(Landroid/content/ServiceConnection;)V
:cond_0
return-object v1
.end method