class public Lua privatbank ap24 utils super Ljava lang Object static

 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
.class public Lua/privatbank/ap24/utils/j;
.super Ljava/lang/Object;
# static fields
.field public static final a:Ljava/lang/String; = "https://pin.privatbank.ua/pinblok/create?json={\"systemid\":\"id4\",\"pin\":\""
.field public static final b:Ljava/lang/String; = "https://qrapi.privatbank.ua/qrapi/check_qrapi?code="
.field public static final c:Ljava/lang/String; = "https://qrapi2.privatbank.ua/qrapi/check_qrapi?code="
.field public static final d:Ljava/lang/String; = "http://10.1.214.115:9080/qrapi/check_qrapi?code="
.field public static final e:Ljava/lang/String; = "http://10.1.214.115:9080/qrapi/check_qrapi?code="
.field public static final f:Ljava/lang/String; = "https://qrapi.privatbank.ua/qrapi/check_qrapi?code="
.field public static final g:Ljava/lang/String; = "https://qrapi2.privatbank.ua/qrapi/check_qrapi?code="
.field public static final h:Ljava/lang/String; = "http://smpp.privatbank.ua/"
.field public static final i:Ljava/lang/String; = "http://app-iapi-5.amazon.loc:9080/iapi2/"
.field public static final j:Ljava/lang/String; = "http://app-iapi-6.amazon.loc:9080/iapi2/"
.field public static final k:Ljava/lang/String; = "http://10.1.96.109:9080/iapi2/"
.field public static final l:Ljava/lang/String; = "https://napi.privatbank.ua/iapi2/"
.field public static final m:Ljava/lang/String; = "http://10.0.0.20:9080/iapi2/"
.field public static final n:Ljava/lang/String; = "http://10.1.214.139:9080/iapi2/"
.field public static o:Ljava/lang/String; = null
.field public static final p:Ljava/lang/String; = "http://api.2rock.fm:8088/?command="
.field private static q:Ljava/lang/String;
# direct methods
.method static constructor <clinit>()V
.locals 1
const-string v0, "https://napi.privatbank.ua/iapi2/"
sput-object v0, Lua/privatbank/ap24/utils/j;->o:Ljava/lang/String;
const-string v0, "http://10.0.0.203:8088/?command="
sput-object v0, Lua/privatbank/ap24/utils/j;->q:Ljava/lang/String;
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static a(Landroid/content/Context;)Z
.locals 1
const-string v0, "connectivity"
invoke-virtual {p0, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/net/ConnectivityManager;
invoke-virtual {v0}, Landroid/net/ConnectivityManager;->getActiveNetworkInfo()Landroid/net/NetworkInfo;
move-result-object v0
if-eqz v0, :cond_0
invoke-virtual {v0}, Landroid/net/NetworkInfo;->isConnectedOrConnecting()Z
move-result v0
if-eqz v0, :cond_0
const/4 v0, 0x1
:goto_0
return v0
:cond_0
const/4 v0, 0x0
goto :goto_0
.end method