package androidx.datastore.preferences.protobuf;

/* loaded from: classes.dex */
abstract class d {

    /* renamed from: a, reason: collision with root package name */
    private static final Class f4033a = a("libcore.io.Memory");

    /* renamed from: b, reason: collision with root package name */
    private static final boolean f4034b;

    static {
        f4034b = a("org.robolectric.Robolectric") != null;
    }

    private static Class a(String str) {
        try {
            return Class.forName(str);
        } catch (Throwable unused) {
            return null;
        }
    }

    /* JADX INFO: Access modifiers changed from: package-private */
    public static Class b() {
        return f4033a;
    }

    /* JADX INFO: Access modifiers changed from: package-private */
    public static boolean c() {
        return (f4033a == null || f4034b) ? false : true;
    }
}
