2021-12-17 21:59:34 +00:00
|
|
|
|
package b.i.a.f.e;
|
2021-08-03 07:33:18 +00:00
|
|
|
|
|
2022-01-13 08:07:50 +00:00
|
|
|
|
import android.content.Context;
|
2021-08-03 07:33:18 +00:00
|
|
|
|
import android.os.IBinder;
|
2022-01-13 08:07:50 +00:00
|
|
|
|
import android.os.IInterface;
|
|
|
|
|
import android.os.RemoteException;
|
|
|
|
|
import android.util.Log;
|
|
|
|
|
import b.i.a.f.e.k.c0;
|
|
|
|
|
import b.i.a.f.e.k.d0;
|
|
|
|
|
import b.i.a.f.e.k.e0;
|
|
|
|
|
import b.i.a.f.f.b;
|
|
|
|
|
import com.google.android.gms.common.zzs;
|
|
|
|
|
import com.google.android.gms.dynamite.DynamiteModule;
|
|
|
|
|
import java.util.Objects;
|
|
|
|
|
/* compiled from: com.google.android.gms:play-services-basement@@17.6.0 */
|
|
|
|
|
public final class b0 {
|
|
|
|
|
public static final z a = new v(x.i("0\u0004C0\u0003+ \u0003\u0002\u0001\u0002\u0002\t\u0000ÂàFdJ00"));
|
|
|
|
|
|
|
|
|
|
/* renamed from: b reason: collision with root package name */
|
2022-01-21 08:24:42 +00:00
|
|
|
|
public static final z f1340b = new w(x.i("0\u0004¨0\u0003 \u0003\u0002\u0001\u0002\u0002\t\u0000Õ
¸l}ÓNõ0"));
|
2022-01-13 08:07:50 +00:00
|
|
|
|
public static volatile e0 c;
|
|
|
|
|
public static final Object d = new Object();
|
|
|
|
|
public static Context e;
|
|
|
|
|
|
|
|
|
|
static {
|
|
|
|
|
new t(x.i("0\u0005È0\u0003° \u0003\u0002\u0001\u0002\u0002\u0014\u0010e\bsù/Qí"));
|
|
|
|
|
new u(x.i("0\u0006\u00040\u0003ì \u0003\u0002\u0001\u0002\u0002\u0014\u0003£²×árÊkì"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static void a() throws DynamiteModule.LoadingException {
|
|
|
|
|
e0 e0Var;
|
|
|
|
|
if (c == null) {
|
|
|
|
|
Objects.requireNonNull(e, "null reference");
|
|
|
|
|
synchronized (d) {
|
|
|
|
|
try {
|
|
|
|
|
if (c == null) {
|
2022-01-22 08:57:18 +00:00
|
|
|
|
IBinder b2 = DynamiteModule.c(e, DynamiteModule.f2975b, "com.google.android.gms.googlecertificates").b("com.google.android.gms.common.GoogleCertificatesImpl");
|
2022-01-13 08:07:50 +00:00
|
|
|
|
int i = d0.a;
|
|
|
|
|
if (b2 == null) {
|
|
|
|
|
e0Var = null;
|
|
|
|
|
} else {
|
|
|
|
|
IInterface queryLocalInterface = b2.queryLocalInterface("com.google.android.gms.common.internal.IGoogleCertificatesApi");
|
|
|
|
|
e0Var = queryLocalInterface instanceof e0 ? (e0) queryLocalInterface : new c0(b2);
|
|
|
|
|
}
|
|
|
|
|
c = e0Var;
|
|
|
|
|
}
|
|
|
|
|
} catch (Throwable th) {
|
|
|
|
|
throw th;
|
|
|
|
|
}
|
2021-08-03 07:33:18 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-01-13 08:07:50 +00:00
|
|
|
|
public static g0 b(String str, x xVar, boolean z2, boolean z3) {
|
|
|
|
|
try {
|
|
|
|
|
a();
|
|
|
|
|
Objects.requireNonNull(e, "null reference");
|
|
|
|
|
try {
|
|
|
|
|
return c.V(new zzs(str, xVar, z2, z3), new b(e.getPackageManager())) ? g0.a : new f0(new s(z2, str, xVar));
|
|
|
|
|
} catch (RemoteException e2) {
|
|
|
|
|
Log.e("GoogleCertificates", "Failed to get Google certificates from remote", e2);
|
|
|
|
|
return g0.c("module call", e2);
|
|
|
|
|
}
|
|
|
|
|
} catch (DynamiteModule.LoadingException e3) {
|
|
|
|
|
Log.e("GoogleCertificates", "Failed to get Google certificates from remote", e3);
|
|
|
|
|
String valueOf = String.valueOf(e3.getMessage());
|
|
|
|
|
return g0.c(valueOf.length() != 0 ? "module init: ".concat(valueOf) : new String("module init: "), e3);
|
|
|
|
|
}
|
2021-08-03 07:33:18 +00:00
|
|
|
|
}
|
|
|
|
|
}
|