what-the-bank/sources/com/huawei/hms/hatool/a1.java

117 lines
2.6 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.huawei.hms.hatool;
import java.util.Map;
/* loaded from: classes2.dex */
public abstract class a1 {
public static String o(String str, String str2) {
s0 h = h(str, str2);
return h != null ? h.p() : "";
}
public static String n(String str, String str2) {
s0 h = h(str, str2);
return h != null ? h.m() : "";
}
public static String m(String str, String str2) {
s0 h = h(str, str2);
return h != null ? h.q() : "";
}
public static String l(String str, String str2) {
s0 h = h(str, str2);
return h != null ? h.o() : "";
}
public static int k(String str, String str2) {
s0 h = h(str, str2);
if (h != null) {
return h.b();
}
return 10;
}
public static long j(String str, String str2) {
s0 h = h(str, str2);
if (h != null) {
return h.l();
}
return 0L;
}
public static Map<String, String> i(String str, String str2) {
s0 h = h(str, str2);
if (h != null) {
return h.k();
}
return null;
}
private static s0 h(String str, String str2) {
l1 a = s.c().a(str);
if (a == null) {
return null;
}
if (!"alltype".equals(str2)) {
return a.a(str2);
}
s0 a2 = a.a("oper");
return a2 == null ? a.a("maint") : a2;
}
public static String g(String str, String str2) {
s0 h = h(str, str2);
return h != null ? h.n() : "";
}
public static String f(String str, String str2) {
s0 h = h(str, str2);
return h != null ? h.h() : "";
}
public static boolean e(String str, String str2) {
s0 h = h(str, str2);
if (h != null) {
return h.i();
}
return false;
}
public static String d(String str, String str2) {
s0 h = h(str, str2);
return h != null ? h.f() : "";
}
public static boolean c(String str, String str2) {
s0 h = h(str, str2);
if (h != null) {
return h.g();
}
return true;
}
public static int b(String str, String str2) {
s0 h = h(str, str2);
if (h != null) {
return h.d();
}
return 7;
}
public static boolean a(String str, String str2) {
s0 h = h(str, str2);
if (h != null) {
return h.a();
}
return true;
}
public static void a(String str, String str2, long j) {
s0 h = h(str, str2);
if (h != null) {
h.a(j);
}
}
}