package Q0;

import android.os.SystemProperties;
import okhttp3.HttpUrl;

/* JADX INFO: loaded from: classes.dex */
public abstract class d {
    private static boolean a() {
        return SystemProperties.get("persist.sys.change.mlg.name", "false").equals("true");
    }

    public static boolean b() {
        String str = SystemProperties.get("ro.product.manufacturer", HttpUrl.FRAGMENT_ENCODE_SET);
        return "Droidlogic".equals(str) || "Amlogic".equals(str) || a() || "Amlogic".equals(SystemProperties.get("ro.soc.manufacturer", HttpUrl.FRAGMENT_ENCODE_SET));
    }

    public static boolean c() {
        return d(true);
    }

    public static boolean d(boolean z2) {
        return f.b("persist.sys.opensdk.system", z2);
    }
}
