导航菜单

页面标题

页面副标题

万能钥匙 v1.1.23 - C3071u0.java 源代码

正在查看: 万能钥匙 v1.1.23 应用的 C3071u0.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package lg0;

import ah0.l;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.ActivityManager;
import android.app.AlarmManager;
import android.app.AppOpsManager;
import android.app.NotificationManager;
import android.app.usage.NetworkStatsManager;
import android.app.usage.UsageStatsManager;
import android.bluetooth.BluetoothManager;
import android.content.ClipboardManager;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.hardware.SensorManager;
import android.location.LocationManager;
import android.media.AudioManager;
import android.net.ConnectivityManager;
import android.net.Uri;
import android.net.wifi.WifiManager;
import android.os.PowerManager;
import android.telephony.TelephonyManager;
import android.view.WindowManager;
import androidx.annotation.RequiresApi;
import com.meituan.robust.ChangeQuickRedirect;
import com.meituan.robust.PatchProxy;
import com.meituan.robust.PatchProxyResult;
import java.util.List;
import kotlin.Metadata;
import kotlin.jvm.internal.n;
import kotlin.jvm.internal.p;
import lg0.C3204a;
import lg0.C3205a0;
import lg0.C3207b;
import lg0.C3209c;
import lg0.C3210d;
import lg0.C3211e;
import lg0.C3212f;
import lg0.C3213g;
import lg0.C3220j;
import lg0.C3224m;
import lg0.C3225n;
import lg0.C3226o;
import lg0.C3228q;
import lg0.C3229r;
import lg0.C3231t;
import lg0.C3233v;
import lg0.C3236y;

@Metadata(d1 = {"\u0000¸\u0001\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010 \n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\b\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0004\u001a#\u0010\u0005\u001a\u00020\u0003*\u00020\u00002\u0006\u0010\u0002\u001a\u00020\u00012\b\b\u0002\u0010\u0004\u001a\u00020\u0003¢\u0006\u0004\b\u0005\u0010\u0006\u001a)\u0010\t\u001a\u00020\u0003*\u00020\u00002\f\u0010\b\u001a\b\u0012\u0004\u0012\u00020\u00010\u00072\b\b\u0002\u0010\u0004\u001a\u00020\u0003¢\u0006\u0004\b\t\u0010\n\u001a\u001b\u0010\f\u001a\u0004\u0018\u00010\u000b*\u00020\u00002\u0006\u0010\u0002\u001a\u00020\u0001¢\u0006\u0004\b\f\u0010\r\u001a\u001f\u0010\u0012\u001a\u0004\u0018\u00010\u00012\u0006\u0010\u000f\u001a\u00020\u000e2\u0006\u0010\u0011\u001a\u00020\u0010¢\u0006\u0004\b\u0012\u0010\u0013\u001a\u0017\u0010\u0015\u001a\u0004\u0018\u00010\u00012\u0006\u0010\u0014\u001a\u00020\u000e¢\u0006\u0004\b\u0015\u0010\u0016\"\u0015\u0010\u001a\u001a\u00020\u0017*\u00020\u00008G¢\u0006\u0006\u001a\u0004\b\u0018\u0010\u0019\"\u0015\u0010\u001e\u001a\u00020\u001b*\u00020\u00008G¢\u0006\u0006\u001a\u0004\b\u001c\u0010\u001d\"\u0015\u0010\"\u001a\u00020\u001f*\u00020\u00008F¢\u0006\u0006\u001a\u0004\b \u0010!\"\u0015\u0010&\u001a\u00020#*\u00020\u00008F¢\u0006\u0006\u001a\u0004\b$\u0010%\"\u0015\u0010*\u001a\u00020'*\u00020\u00008F¢\u0006\u0006\u001a\u0004\b(\u0010)\"\u0015\u0010.\u001a\u00020+*\u00020\u00008F¢\u0006\u0006\u001a\u0004\b,\u0010-\"\u0015\u00102\u001a\u00020/*\u00020\u00008F¢\u0006\u0006\u001a\u0004\b0\u00101\"\u0015\u00106\u001a\u000203*\u00020\u00008F¢\u0006\u0006\u001a\u0004\b4\u00105\"\u0015\u0010:\u001a\u000207*\u00020\u00008F¢\u0006\u0006\u001a\u0004\b8\u00109\"\u0015\u0010>\u001a\u00020;*\u00020\u00008F¢\u0006\u0006\u001a\u0004\b<\u0010=\"\u0015\u0010B\u001a\u00020?*\u00020\u00008F¢\u0006\u0006\u001a\u0004\b@\u0010A\"\u0015\u0010F\u001a\u00020C*\u00020\u00008F¢\u0006\u0006\u001a\u0004\bD\u0010E\"\u0015\u0010J\u001a\u00020G*\u00020\u00008F¢\u0006\u0006\u001a\u0004\bH\u0010I\"\u0015\u0010N\u001a\u00020K*\u00020\u00008F¢\u0006\u0006\u001a\u0004\bL\u0010M\"\u0015\u0010R\u001a\u00020O*\u00020\u00008F¢\u0006\u0006\u001a\u0004\bP\u0010Q\"\u0015\u0010V\u001a\u00020S*\u00020\u00008F¢\u0006\u0006\u001a\u0004\bT\u0010U\"\u0017\u0010Z\u001a\u0004\u0018\u00010W*\u00020\u00008G¢\u0006\u0006\u001a\u0004\bX\u0010Y¨\u0006["}, d2 = {"Landroid/content/Context;", "Landroid/content/Intent;", "intent", "", "noAnimator", "v", "(Landroid/content/Context;Landroid/content/Intent;Z)Z", "", "intents", "t", "(Landroid/content/Context;Ljava/util/List;Z)Z", "Landroid/content/ComponentName;", "x", "(Landroid/content/Context;Landroid/content/Intent;)Landroid/content/ComponentName;", "", "action", "", "flag", "a", "(Ljava/lang/String;I)Landroid/content/Intent;", "data", "b", "(Ljava/lang/String;)Landroid/content/Intent;", "Lss/c;", "e", "(Landroid/content/Context;)Lss/c;", "appOpsManager", "Lss/m;", "k", "(Landroid/content/Context;)Lss/m;", "networkStatsManager", "Lss/t;", "p", "(Landroid/content/Context;)Lss/t;", "telephonyManager", "Lss/g;", "i", "(Landroid/content/Context;)Lss/g;", "connectivityManager", "Lss/a;", "c", "(Landroid/content/Context;)Lss/a;", "activityManager", "Lss/f;", "h", "(Landroid/content/Context;)Lss/f;", "clipboardManager", "Lss/y;", "r", "(Landroid/content/Context;)Lss/y;", "wifiManager", "Lss/o;", "m", "(Landroid/content/Context;)Lss/o;", "powerManager", "Lss/e;", "g", "(Landroid/content/Context;)Lss/e;", "bluetoothManager", "Lss/d;", "f", "(Landroid/content/Context;)Lss/d;", "audioManager", "Lss/v;", "q", "(Landroid/content/Context;)Lss/v;", "usageStatsManager", "Lss/a0;", "s", "(Landroid/content/Context;)Lss/a0;", "windowManager", "Lss/q;", "n", "(Landroid/content/Context;)Lss/q;", "sensorManager", "Lss/j;", "j", "(Landroid/content/Context;)Lss/j;", "locationManager", "Lss/n;", "l", "(Landroid/content/Context;)Lss/n;", "notificationManager", "Lss/b;", "d", "(Landroid/content/Context;)Lss/b;", "alarmManager", "Lss/r;", "o", "(Landroid/content/Context;)Lss/r;", "statusBarManager", "lib-kernel_release"}, k = 2, mv = {1, 8, 0}, xi = 48)
public final class C3071u0 {
    public static ChangeQuickRedirect changeQuickRedirect;

    @Metadata(d1 = {"\u0000\b\n\u0000\n\u0002\u0018\u0002\n\u0000\u0010\u0000\u001a\u0004\u0018\u00010\u0001H\n¢\u0006\u0002\b\u0002"}, d2 = {"<anonymous>", "Landroid/content/Intent;", "invoke"}, k = 3, mv = {1, 8, 0}, xi = 48)
    public static final class a extends p implements ah0.a<Intent> {
        public static ChangeQuickRedirect changeQuickRedirect;
        public final String s;
        public final int t;

        public a(String str, int i) {
            super(0);
            this.s = str;
            this.t = i;
        }

        @Override
        public final Intent invoke() {
            PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 9676, new Class[0], Intent.class);
            return proxy.isSupported ? (Intent) proxy.result : Intent.parseUri(this.s, this.t);
        }

        @Override
        public Intent invoke() {
            PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 9677, new Class[0], Object.class);
            return proxy.isSupported ? proxy.result : invoke();
        }
    }

    @Metadata(d1 = {"\u0000\b\n\u0000\n\u0002\u0018\u0002\n\u0000\u0010\u0000\u001a\u0004\u0018\u00010\u0001H\n¢\u0006\u0002\b\u0002"}, d2 = {"<anonymous>", "Landroid/content/Intent;", "invoke"}, k = 3, mv = {1, 8, 0}, xi = 48)
    public static final class b extends p implements ah0.a<Intent> {
        public static ChangeQuickRedirect changeQuickRedirect;
        public final String s;

        public b(String str) {
            super(0);
            this.s = str;
        }

        @Override
        public final Intent invoke() {
            PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 9678, new Class[0], Intent.class);
            if (proxy.isSupported) {
                return (Intent) proxy.result;
            }
            Intent intent = new Intent();
            intent.setData(Uri.parse(this.s));
            return intent;
        }

        @Override
        public Intent invoke() {
            PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 9679, new Class[0], Object.class);
            return proxy.isSupported ? proxy.result : invoke();
        }
    }

    @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\u0010\u0000\u001a\u00020\u0001H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"<anonymous>", "", "invoke", "()Ljava/lang/Boolean;"}, k = 3, mv = {1, 8, 0}, xi = 48)
    public static final class c extends p implements ah0.a<Boolean> {
        public static ChangeQuickRedirect changeQuickRedirect;
        public final Context s;
        public final List<Intent> t;
        public final boolean u;

        @Metadata(d1 = {"\u0000\b\n\u0000\n\u0002\u0010\u0000\n\u0000\u0010\u0000\u001a\u0004\u0018\u00010\u0001H\n¢\u0006\u0002\b\u0002"}, d2 = {"<anonymous>", "", "invoke"}, k = 3, mv = {1, 8, 0}, xi = 48)
        public static final class a extends p implements ah0.a<Object> {
            public static ChangeQuickRedirect changeQuickRedirect;
            public final Context s;
            public final List<Intent> t;

            public a(Context context, List<? extends Intent> list) {
                super(0);
                this.s = context;
                this.t = list;
            }

            @Override
            public final Object invoke() {
                PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 9684, new Class[0], Object.class);
                if (proxy.isSupported) {
                    return proxy.result;
                }
                return "Activity已经无效 " + this.s + ",无法启动新的Activity: " + this.t;
            }
        }

        public c(Context context, List<? extends Intent> list, boolean z) {
            super(0);
            this.s = context;
            this.t = list;
            this.u = z;
        }

        @Override
        public final Boolean invoke() {
            PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 9682, new Class[0], Boolean.class);
            if (proxy.isSupported) {
                return (Boolean) proxy.result;
            }
            Context context = this.s;
            if (!(context instanceof Activity)) {
                for (Intent intent : this.t) {
                    if (!i4.a(intent.getFlags(), 268435456)) {
                        intent.setFlags(i4.b(intent.getFlags(), 268435456));
                    }
                }
            } else if (((Activity) context).isDestroyed() || ((Activity) this.s).isFinishing()) {
                h4.l().j(e4.b(), new a(this.s, this.t));
                return Boolean.valueOf(C3071u0.u(com.wifitutu.link.foundation.kernel.d.b(com.wifitutu.link.foundation.kernel.d.d()), this.t, false, 2, null));
            }
            this.s.startActivities((Intent[]) this.t.toArray(new Intent[0]));
            if (this.u) {
                Context context2 = this.s;
                Activity activity = context2 instanceof Activity ? (Activity) context2 : null;
                if (activity != null) {
                    activity.overridePendingTransition(0, 0);
                }
            }
            return Boolean.TRUE;
        }

        @Override
        public Boolean invoke() {
            PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 9683, new Class[0], Object.class);
            return proxy.isSupported ? proxy.result : invoke();
        }
    }

    @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\u0010\u0000\u001a\u00020\u0001H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"<anonymous>", "", "invoke", "()Ljava/lang/Boolean;"}, k = 3, mv = {1, 8, 0}, xi = 48)
    public static final class d extends p implements ah0.a<Boolean> {
        public static ChangeQuickRedirect changeQuickRedirect;
        public final Context s;
        public final Intent t;
        public final boolean u;

        @Metadata(d1 = {"\u0000\b\n\u0000\n\u0002\u0010\u0000\n\u0000\u0010\u0000\u001a\u0004\u0018\u00010\u0001H\n¢\u0006\u0002\b\u0002"}, d2 = {"<anonymous>", "", "invoke"}, k = 3, mv = {1, 8, 0}, xi = 48)
        public static final class a extends p implements ah0.a<Object> {
            public static ChangeQuickRedirect changeQuickRedirect;
            public final Context s;
            public final Intent t;

            public a(Context context, Intent intent) {
                super(0);
                this.s = context;
                this.t = intent;
            }

            @Override
            public final Object invoke() {
                PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 9687, new Class[0], Object.class);
                if (proxy.isSupported) {
                    return proxy.result;
                }
                return "Activity已经无效 " + this.s + ",无法启动新的Activity: " + this.t;
            }
        }

        public d(Context context, Intent intent, boolean z) {
            super(0);
            this.s = context;
            this.t = intent;
            this.u = z;
        }

        @Override
        public final Boolean invoke() {
            PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 9685, new Class[0], Boolean.class);
            if (proxy.isSupported) {
                return (Boolean) proxy.result;
            }
            Context context = this.s;
            if (context instanceof Activity) {
                if (((Activity) context).isDestroyed() || ((Activity) this.s).isFinishing()) {
                    h4.l().j(e4.b(), new a(this.s, this.t));
                    return Boolean.valueOf(C3071u0.w(com.wifitutu.link.foundation.kernel.d.b(com.wifitutu.link.foundation.kernel.d.d()), this.t, false, 2, null));
                }
            } else if (!i4.a(this.t.getFlags(), 268435456)) {
                Intent intent = this.t;
                intent.setFlags(i4.b(intent.getFlags(), 268435456));
            }
            this.s.startActivity(this.t);
            if (this.u) {
                Context context2 = this.s;
                Activity activity = context2 instanceof Activity ? (Activity) context2 : null;
                if (activity != null) {
                    activity.overridePendingTransition(0, 0);
                }
            }
            return Boolean.TRUE;
        }

        @Override
        public Boolean invoke() {
            PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 9686, new Class[0], Object.class);
            return proxy.isSupported ? proxy.result : invoke();
        }
    }

    @Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0001\u001a\u0004\u0018\u00010\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Landroid/content/ComponentName;", "a", "()Landroid/content/ComponentName;"}, k = 3, mv = {1, 8, 0})
    public static final class e extends p implements ah0.a<ComponentName> {
        public static ChangeQuickRedirect changeQuickRedirect;
        public final Context s;
        public final Intent t;

        public e(Context context, Intent intent) {
            super(0);
            this.s = context;
            this.t = intent;
        }

        public final ComponentName a() {
            PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 9690, new Class[0], ComponentName.class);
            return proxy.isSupported ? (ComponentName) proxy.result : this.s.startService(this.t);
        }

        @Override
        public ComponentName invoke() {
            PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 9691, new Class[0], Object.class);
            return proxy.isSupported ? proxy.result : a();
        }
    }

    @Metadata(d1 = {"\u0000\f\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u0001*\u00020\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"", "Lss/r;", "a", "(Ljava/lang/Object;)Lss/r;"}, k = 3, mv = {1, 8, 0})
    public static final class f extends p implements l<Object, C3229r> {
        public static ChangeQuickRedirect changeQuickRedirect;
        public static final f s = new f();

        public f() {
            super(1);
        }

        public final C3229r a(Object obj) {
            PatchProxyResult proxy = PatchProxy.proxy(new Object[]{obj}, this, changeQuickRedirect, false, 9692, new Class[]{Object.class}, C3229r.class);
            return proxy.isSupported ? (C3229r) proxy.result : new C3229r(obj);
        }

        @Override
        public C3229r invoke(Object obj) {
            PatchProxyResult proxy = PatchProxy.proxy(new Object[]{obj}, this, changeQuickRedirect, false, 9693, new Class[]{Object.class}, Object.class);
            return proxy.isSupported ? proxy.result : a(obj);
        }
    }

    public static final Intent a(String str, int i) {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[]{str, new Integer(i)}, (Object) null, changeQuickRedirect, true, 9674, new Class[]{String.class, Integer.TYPE}, Intent.class);
        return proxy.isSupported ? (Intent) proxy.result : (Intent) d6.j(null, new a(str, i));
    }

    public static final Intent b(String str) {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[]{str}, (Object) null, changeQuickRedirect, true, 9675, new Class[]{String.class}, Intent.class);
        return proxy.isSupported ? (Intent) proxy.result : (Intent) d6.j(null, new b(str));
    }

    public static final C3204a c(Context context) {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[]{context}, (Object) null, changeQuickRedirect, true, 9653, new Class[]{Context.class}, C3204a.class);
        if (proxy.isSupported) {
            return (C3204a) proxy.result;
        }
        Object systemService = context.getSystemService("activity");
        n.g(systemService, "null cannot be cast to non-null type android.app.ActivityManager");
        return new C3204a((ActivityManager) systemService);
    }

    public static final C3207b d(Context context) {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[]{context}, (Object) null, changeQuickRedirect, true, 9664, new Class[]{Context.class}, C3207b.class);
        if (proxy.isSupported) {
            return (C3207b) proxy.result;
        }
        Object systemService = context.getSystemService("alarm");
        n.g(systemService, "null cannot be cast to non-null type android.app.AlarmManager");
        return new C3207b((AlarmManager) systemService);
    }

    @RequiresApi(o80.l.SplitEditTextView_underlineNormalColor)
    public static final C3209c e(Context context) {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[]{context}, (Object) null, changeQuickRedirect, true, 9649, new Class[]{Context.class}, C3209c.class);
        if (proxy.isSupported) {
            return (C3209c) proxy.result;
        }
        Object systemService = context.getSystemService("appops");
        return new C3209c(systemService instanceof AppOpsManager ? (AppOpsManager) systemService : null);
    }

    public static final C3210d f(Context context) {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[]{context}, (Object) null, changeQuickRedirect, true, 9658, new Class[]{Context.class}, C3210d.class);
        if (proxy.isSupported) {
            return (C3210d) proxy.result;
        }
        Object systemService = context.getApplicationContext().getSystemService("audio");
        n.g(systemService, "null cannot be cast to non-null type android.media.AudioManager");
        return new C3210d((AudioManager) systemService);
    }

    public static final C3211e g(Context context) {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[]{context}, (Object) null, changeQuickRedirect, true, 9657, new Class[]{Context.class}, C3211e.class);
        if (proxy.isSupported) {
            return (C3211e) proxy.result;
        }
        Object systemService = context.getApplicationContext().getSystemService("bluetooth");
        return new C3211e(systemService instanceof BluetoothManager ? (BluetoothManager) systemService : null);
    }

    public static final C3212f h(Context context) {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[]{context}, (Object) null, changeQuickRedirect, true, 9654, new Class[]{Context.class}, C3212f.class);
        if (proxy.isSupported) {
            return (C3212f) proxy.result;
        }
        Object systemService = context.getSystemService("clipboard");
        n.g(systemService, "null cannot be cast to non-null type android.content.ClipboardManager");
        return new C3212f((ClipboardManager) systemService);
    }

    public static final C3213g i(Context context) {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[]{context}, (Object) null, changeQuickRedirect, true, 9652, new Class[]{Context.class}, C3213g.class);
        if (proxy.isSupported) {
            return (C3213g) proxy.result;
        }
        Object systemService = context.getSystemService("connectivity");
        n.g(systemService, "null cannot be cast to non-null type android.net.ConnectivityManager");
        return new C3213g((ConnectivityManager) systemService);
    }

    public static final C3220j j(Context context) {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[]{context}, (Object) null, changeQuickRedirect, true, 9662, new Class[]{Context.class}, C3220j.class);
        if (proxy.isSupported) {
            return (C3220j) proxy.result;
        }
        Object systemService = context.getSystemService("location");
        n.g(systemService, "null cannot be cast to non-null type android.location.LocationManager");
        return new C3220j((LocationManager) systemService);
    }

    @RequiresApi(23)
    public static final C3224m k(Context context) {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[]{context}, (Object) null, changeQuickRedirect, true, 9650, new Class[]{Context.class}, C3224m.class);
        if (proxy.isSupported) {
            return (C3224m) proxy.result;
        }
        Object systemService = context.getSystemService("netstats");
        n.g(systemService, "null cannot be cast to non-null type android.app.usage.NetworkStatsManager");
        return new C3224m((NetworkStatsManager) systemService);
    }

    public static final C3225n l(Context context) {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[]{context}, (Object) null, changeQuickRedirect, true, 9663, new Class[]{Context.class}, C3225n.class);
        if (proxy.isSupported) {
            return (C3225n) proxy.result;
        }
        Object systemService = context.getSystemService("notification");
        n.g(systemService, "null cannot be cast to non-null type android.app.NotificationManager");
        return new C3225n((NotificationManager) systemService);
    }

    public static final C3226o m(Context context) {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[]{context}, (Object) null, changeQuickRedirect, true, 9656, new Class[]{Context.class}, C3226o.class);
        if (proxy.isSupported) {
            return (C3226o) proxy.result;
        }
        Object systemService = context.getApplicationContext().getSystemService("power");
        return new C3226o(systemService instanceof PowerManager ? (PowerManager) systemService : null);
    }

    public static final C3228q n(Context context) {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[]{context}, (Object) null, changeQuickRedirect, true, 9661, new Class[]{Context.class}, C3228q.class);
        if (proxy.isSupported) {
            return (C3228q) proxy.result;
        }
        Object systemService = context.getSystemService("sensor");
        n.g(systemService, "null cannot be cast to non-null type android.hardware.SensorManager");
        return new C3228q((SensorManager) systemService);
    }

    @SuppressLint({"WrongConstant"})
    public static final C3229r o(Context context) {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[]{context}, (Object) null, changeQuickRedirect, true, 9665, new Class[]{Context.class}, C3229r.class);
        return proxy.isSupported ? (C3229r) proxy.result : (C3229r) d4.D(context.getSystemService("statusbar"), f.s);
    }

    public static final C3231t p(Context context) {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[]{context}, (Object) null, changeQuickRedirect, true, 9651, new Class[]{Context.class}, C3231t.class);
        if (proxy.isSupported) {
            return (C3231t) proxy.result;
        }
        Object systemService = context.getSystemService("phone");
        n.g(systemService, "null cannot be cast to non-null type android.telephony.TelephonyManager");
        return new C3231t((TelephonyManager) systemService);
    }

    public static final C3233v q(Context context) {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[]{context}, (Object) null, changeQuickRedirect, true, 9659, new Class[]{Context.class}, C3233v.class);
        if (proxy.isSupported) {
            return (C3233v) proxy.result;
        }
        Object systemService = context.getApplicationContext().getSystemService("usagestats");
        n.g(systemService, "null cannot be cast to non-null type android.app.usage.UsageStatsManager");
        return new C3233v((UsageStatsManager) systemService);
    }

    public static final C3236y r(Context context) {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[]{context}, (Object) null, changeQuickRedirect, true, 9655, new Class[]{Context.class}, C3236y.class);
        if (proxy.isSupported) {
            return (C3236y) proxy.result;
        }
        Object systemService = context.getApplicationContext().getSystemService("wifi");
        n.g(systemService, "null cannot be cast to non-null type android.net.wifi.WifiManager");
        return new C3236y((WifiManager) systemService);
    }

    public static final C3205a0 s(Context context) {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[]{context}, (Object) null, changeQuickRedirect, true, 9660, new Class[]{Context.class}, C3205a0.class);
        if (proxy.isSupported) {
            return (C3205a0) proxy.result;
        }
        Object systemService = context.getApplicationContext().getSystemService("window");
        n.g(systemService, "null cannot be cast to non-null type android.view.WindowManager");
        return new C3205a0((WindowManager) systemService);
    }

    public static final boolean t(Context context, List<? extends Intent> list, boolean z) {
        Object[] objArr = {context, list, new Byte(z ? (byte) 1 : (byte) 0)};
        ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect;
        Class cls = Boolean.TYPE;
        PatchProxyResult proxy = PatchProxy.proxy(objArr, (Object) null, changeQuickRedirect2, true, 9669, new Class[]{Context.class, List.class, cls}, cls);
        return proxy.isSupported ? ((Boolean) proxy.result).booleanValue() : ((Boolean) d6.j(Boolean.FALSE, new c(context, list, z))).booleanValue();
    }

    public static boolean u(Context context, List list, boolean z, int i, Object obj) {
        Object[] objArr = {context, list, new Byte(z ? (byte) 1 : (byte) 0), new Integer(i), obj};
        ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect;
        Class cls = Boolean.TYPE;
        PatchProxyResult proxy = PatchProxy.proxy(objArr, (Object) null, changeQuickRedirect2, true, 9670, new Class[]{Context.class, List.class, cls, Integer.TYPE, Object.class}, cls);
        if (proxy.isSupported) {
            return ((Boolean) proxy.result).booleanValue();
        }
        return t(context, list, (i & 2) == 0 ? z ? 1 : 0 : false);
    }

    public static final boolean v(Context context, Intent intent, boolean z) {
        Object[] objArr = {context, intent, new Byte(z ? (byte) 1 : (byte) 0)};
        ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect;
        Class cls = Boolean.TYPE;
        PatchProxyResult proxy = PatchProxy.proxy(objArr, (Object) null, changeQuickRedirect2, true, 9667, new Class[]{Context.class, Intent.class, cls}, cls);
        return proxy.isSupported ? ((Boolean) proxy.result).booleanValue() : ((Boolean) d6.j(Boolean.FALSE, new d(context, intent, z))).booleanValue();
    }

    public static boolean w(Context context, Intent intent, boolean z, int i, Object obj) {
        Object[] objArr = {context, intent, new Byte(z ? (byte) 1 : (byte) 0), new Integer(i), obj};
        ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect;
        Class cls = Boolean.TYPE;
        PatchProxyResult proxy = PatchProxy.proxy(objArr, (Object) null, changeQuickRedirect2, true, 9668, new Class[]{Context.class, Intent.class, cls, Integer.TYPE, Object.class}, cls);
        if (proxy.isSupported) {
            return ((Boolean) proxy.result).booleanValue();
        }
        return v(context, intent, (i & 2) == 0 ? z ? 1 : 0 : false);
    }

    public static final ComponentName x(Context context, Intent intent) {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[]{context, intent}, (Object) null, changeQuickRedirect, true, 9671, new Class[]{Context.class, Intent.class}, ComponentName.class);
        return proxy.isSupported ? (ComponentName) proxy.result : (ComponentName) d6.j(null, new e(context, intent));
    }
}