导航菜单

页面标题

页面副标题

All File Recovery v1.0.2 - C1078j4.java 源代码

正在查看: All File Recovery v1.0.2 应用的 C1078j4.java JAVA 源代码文件

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


package r3;

import G8.p0;
import X1.d0;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.media.session.MediaSession;
import android.net.Uri;
import android.os.Bundle;
import android.os.IBinder;
import android.os.Looper;
import android.os.RemoteException;
import androidx.annotation.Nullable;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Objects;
import r3.AbstractServiceC1184v3;
import r3.C1078j4;
import r3.g8;
import s3.o;

@J8.f
public class C1078j4 {
    public static final Object b = new Object();

    @l.A("STATIC_LOCK")
    public static final HashMap<String, C1078j4> c = new HashMap<>();
    public final Y4 a;

    @l.U(31)
    public static final class b {
        public static boolean a(PendingIntent pendingIntent) {
            boolean isActivity;
            isActivity = pendingIntent.isActivity();
            return isActivity;
        }
    }

    public static final class c extends d<C1078j4, c, e> {

        public class a implements e {
        }

        public c(Context context, X1.d0 d0Var) {
            super(context, d0Var, new a());
        }

        @Override
        public C1078j4 a() {
            if (this.h == null) {
                this.h = new C1001b(new d2.t(this.a));
            }
            Context context = this.a;
            String str = this.c;
            X1.d0 d0Var = this.b;
            PendingIntent pendingIntent = this.e;
            v8.M2<C1010c> m2 = this.j;
            v8.M2<C1010c> m22 = this.k;
            v8.M2<C1010c> m23 = this.l;
            CallbackT callbackt = this.d;
            Bundle bundle = this.f;
            Bundle bundle2 = this.g;
            a2.h hVar = this.h;
            hVar.getClass();
            return new C1078j4(context, str, d0Var, pendingIntent, m2, m22, m23, callbackt, bundle, bundle2, hVar, this.i, this.m, 0);
        }

        @Override
        @a2.i0
        public c b(a2.h hVar) {
            hVar.getClass();
            this.h = hVar;
            return this;
        }

        @Override
        public c c(e eVar) {
            eVar.getClass();
            this.d = eVar;
            return this;
        }

        @Override
        @a2.i0
        public c d(List list) {
            this.l = v8.M2.o(list);
            return this;
        }

        @Override
        @a2.i0
        @J8.a
        public c e(List list) {
            this.j = v8.M2.o(list);
            return this;
        }

        @Override
        public c f(Bundle bundle) {
            super.f(bundle);
            return this;
        }

        @Override
        public c g(String str) {
            str.getClass();
            this.c = str;
            return this;
        }

        @Override
        @a2.i0
        @J8.a
        public c h(List list) {
            this.k = v8.M2.o(list);
            return this;
        }

        @Override
        @a2.i0
        public c i(boolean z) {
            this.m = z;
            return this;
        }

        @Override
        public c j(PendingIntent pendingIntent) {
            super.j(pendingIntent);
            return this;
        }

        @Override
        public c k(Bundle bundle) {
            super.k(bundle);
            return this;
        }

        @Override
        @a2.i0
        public c l(boolean z) {
            this.i = z;
            return this;
        }

        @a2.i0
        public c m(a2.h hVar) {
            hVar.getClass();
            this.h = hVar;
            return this;
        }

        public c n(e eVar) {
            eVar.getClass();
            this.d = eVar;
            return this;
        }

        @a2.i0
        public c o(List<C1010c> list) {
            this.l = v8.M2.o(list);
            return this;
        }

        @a2.i0
        @J8.a
        public c p(List<C1010c> list) {
            this.j = v8.M2.o(list);
            return this;
        }

        public c q(Bundle bundle) {
            super.f(bundle);
            return this;
        }

        public c r(String str) {
            str.getClass();
            this.c = str;
            return this;
        }

        @a2.i0
        @J8.a
        public c s(List<C1010c> list) {
            this.k = v8.M2.o(list);
            return this;
        }

        @a2.i0
        public c t(boolean z) {
            this.m = z;
            return this;
        }

        public c u(PendingIntent pendingIntent) {
            super.j(pendingIntent);
            return this;
        }

        public c v(Bundle bundle) {
            super.k(bundle);
            return this;
        }

        @a2.i0
        public c w(boolean z) {
            this.i = z;
            return this;
        }
    }

    public static abstract class d<SessionT extends C1078j4, BuilderT extends d<SessionT, BuilderT, CallbackT>, CallbackT extends e> {
        public final Context a;
        public final X1.d0 b;
        public String c;
        public CallbackT d;

        @Nullable
        public PendingIntent e;
        public Bundle f;
        public Bundle g;
        public a2.h h;
        public boolean i;
        public v8.M2<C1010c> j;
        public v8.M2<C1010c> k;
        public v8.M2<C1010c> l;
        public boolean m;

        public d(Context context, X1.d0 d0Var, CallbackT callbackt) {
            context.getClass();
            this.a = context;
            d0Var.getClass();
            this.b = d0Var;
            a2.a.a(d0Var.B0());
            this.c = "";
            this.d = callbackt;
            this.f = new Bundle();
            this.g = new Bundle();
            this.j = v8.M2.w();
            v8.M2<C1010c> m2 = v8.n4.f;
            this.k = m2;
            this.i = true;
            this.m = true;
            this.l = m2;
        }

        public abstract SessionT a();

        @J8.a
        public BuilderT b(a2.h hVar) {
            hVar.getClass();
            this.h = hVar;
            return this;
        }

        @J8.a
        public BuilderT c(CallbackT callbackt) {
            callbackt.getClass();
            this.d = callbackt;
            return this;
        }

        @J8.a
        public BuilderT d(List<C1010c> list) {
            this.l = v8.M2.o(list);
            return this;
        }

        @J8.a
        public BuilderT e(List<C1010c> list) {
            this.j = v8.M2.o(list);
            return this;
        }

        @J8.a
        public BuilderT f(Bundle bundle) {
            bundle.getClass();
            this.f = new Bundle(bundle);
            return this;
        }

        @J8.a
        public BuilderT g(String str) {
            str.getClass();
            this.c = str;
            return this;
        }

        @J8.a
        public BuilderT h(List<C1010c> list) {
            this.k = v8.M2.o(list);
            return this;
        }

        @J8.a
        public BuilderT i(boolean z) {
            this.m = z;
            return this;
        }

        @J8.a
        public BuilderT j(PendingIntent pendingIntent) {
            boolean isActivity;
            if (a2.u0.a >= 31) {
                isActivity = pendingIntent.isActivity();
                a2.a.a(isActivity);
            }
            pendingIntent.getClass();
            this.e = pendingIntent;
            return this;
        }

        @J8.a
        public BuilderT k(Bundle bundle) {
            bundle.getClass();
            this.g = new Bundle(bundle);
            return this;
        }

        @J8.a
        public BuilderT l(boolean z) {
            this.i = z;
            return this;
        }
    }

    public static final class f {

        @a2.i0
        public static final g8 h;

        @a2.i0
        public static final g8 i;

        @a2.i0
        public static final d0.c j;
        public final boolean a;
        public final g8 b;
        public final d0.c c;

        @Nullable
        @a2.i0
        public final v8.M2<C1010c> d;

        @Nullable
        @a2.i0
        public final v8.M2<C1010c> e;

        @Nullable
        @a2.i0
        public final Bundle f;

        @Nullable
        @a2.i0
        public final PendingIntent g;

        @a2.i0
        public static class a {
            public g8 a;
            public d0.c b = f.j;

            @Nullable
            public v8.M2<C1010c> c;

            @Nullable
            public v8.M2<C1010c> d;

            @Nullable
            public Bundle e;

            @Nullable
            public PendingIntent f;

            public a(C1078j4 c1078j4) {
                this.a = c1078j4 instanceof AbstractServiceC1184v3.c ? f.i : f.h;
            }

            public f a() {
                return new f(true, this.a, this.b, this.c, this.d, this.e, this.f);
            }

            @J8.a
            public a b(d0.c cVar) {
                cVar.getClass();
                this.b = cVar;
                return this;
            }

            @J8.a
            public a c(g8 g8Var) {
                g8Var.getClass();
                this.a = g8Var;
                return this;
            }

            @J8.a
            public a d(@Nullable List<C1010c> list) {
                this.c = list == null ? null : v8.M2.o(list);
                return this;
            }

            @J8.a
            public a e(@Nullable List<C1010c> list) {
                this.d = list == null ? null : v8.M2.o(list);
                return this;
            }

            @J8.a
            public a f(@Nullable PendingIntent pendingIntent) {
                this.f = pendingIntent;
                return this;
            }

            @J8.a
            public a g(Bundle bundle) {
                this.e = bundle;
                return this;
            }
        }

        static {
            g8.b bVar = new g8.b();
            List<Integer> list = f8.f;
            bVar.f(list);
            h = bVar.h();
            g8.b bVar2 = new g8.b();
            bVar2.f(f8.n);
            bVar2.f(list);
            i = bVar2.h();
            d0.c.a aVar = new d0.c.a();
            aVar.d();
            j = aVar.f();
        }

        public static f a(g8 g8Var, d0.c cVar) {
            return new f(true, g8Var, cVar, null, null, null, null);
        }

        public static f b() {
            g8 g8Var = g8.c;
            d0.c cVar = d0.c.b;
            v8.M2 m2 = v8.n4.f;
            return new f(false, g8Var, cVar, m2, m2, Bundle.EMPTY, null);
        }

        public f(boolean z, g8 g8Var, d0.c cVar, @Nullable v8.M2<C1010c> m2, @Nullable v8.M2<C1010c> m22, @Nullable Bundle bundle, @Nullable PendingIntent pendingIntent) {
            this.a = z;
            this.b = g8Var;
            this.c = cVar;
            this.d = m2;
            this.e = m22;
            this.f = bundle;
            this.g = pendingIntent;
        }
    }

    public static final class h {
        public static final int h = 0;

        @a2.i0
        public static final int i = 0;
        public static final String j = "android.media.session.MediaController";
        public final o.e a;
        public final int b;
        public final int c;
        public final boolean d;

        @Nullable
        public final g e;
        public final Bundle f;
        public final int g;

        public h(o.e eVar, int i2, int i3, boolean z, @Nullable g gVar, Bundle bundle, int i6) {
            this.a = eVar;
            this.b = i2;
            this.c = i3;
            this.d = z;
            this.e = gVar;
            this.f = bundle;
            this.g = i6;
        }

        public static h a() {
            return new h(new o.e("android.media.session.MediaController", -1, -1), 0, 0, false, null, Bundle.EMPTY, 0);
        }

        @l.i0(otherwise = 2)
        public static h b(String str, int i2, int i3, int i6, int i7, boolean z, Bundle bundle) {
            return new h(new o.e(str, i2, i3), i6, i7, z, null, bundle, 0);
        }

        public Bundle c() {
            return new Bundle(this.f);
        }

        @Nullable
        public g d() {
            return this.e;
        }

        public int e() {
            return this.b;
        }

        public boolean equals(@Nullable Object obj) {
            if (!(obj instanceof h)) {
                return false;
            }
            if (this == obj) {
                return true;
            }
            h hVar = (h) obj;
            g gVar = this.e;
            return (gVar == null && hVar.e == null) ? this.a.equals(hVar.a) : Objects.equals(gVar, hVar.e);
        }

        @a2.i0
        public int f() {
            return this.c;
        }

        @a2.i0
        public int g() {
            return this.g;
        }

        public String h() {
            return this.a.a.getPackageName();
        }

        public int hashCode() {
            return Objects.hash(this.e, this.a);
        }

        public o.e i() {
            return this.a;
        }

        public int j() {
            return this.a.a.a();
        }

        @a2.i0
        public boolean k() {
            return this.d;
        }

        public String toString() {
            return "ControllerInfo {pkg=" + this.a.a.getPackageName() + ", uid=" + this.a.a.a() + "}";
        }
    }

    public interface i {
        boolean a(C1078j4 c1078j4);

        void b(C1078j4 c1078j4);
    }

    @a2.i0
    public static final class j {
        public final v8.M2<X1.N> a;
        public final int b;
        public final long c;

        public j(List<X1.N> list, int i, long j) {
            this.a = v8.M2.o(list);
            this.b = i;
            this.c = j;
        }

        public boolean equals(@Nullable Object obj) {
            if (this == obj) {
                return true;
            }
            if (!(obj instanceof j)) {
                return false;
            }
            j jVar = (j) obj;
            return this.a.equals(jVar.a) && this.b == jVar.b && this.c == jVar.c;
        }

        public int hashCode() {
            return E8.n.l(this.c) + (((this.a.hashCode() * 31) + this.b) * 31);
        }
    }

    public C1078j4(Context context, String str, X1.d0 d0Var, @Nullable PendingIntent pendingIntent, v8.M2<C1010c> m2, v8.M2<C1010c> m22, v8.M2<C1010c> m23, e eVar, Bundle bundle, Bundle bundle2, a2.h hVar, boolean z, boolean z2, int i2) {
        synchronized (b) {
            HashMap<String, C1078j4> hashMap = c;
            if (hashMap.containsKey(str)) {
                throw new IllegalStateException("Session ID must be unique. ID=" + str);
            }
            hashMap.put(str, this);
        }
        this.a = c(context, str, d0Var, pendingIntent, m2, m22, m23, eVar, bundle, bundle2, hVar, z, z2, i2);
    }

    @Nullable
    public static C1078j4 o(Uri uri) {
        synchronized (b) {
            try {
                for (C1078j4 c1078j4 : c.values()) {
                    if (Objects.equals(c1078j4.a.B0(), uri)) {
                        return c1078j4;
                    }
                }
                return null;
            } catch (Throwable th) {
                throw th;
            }
        }
    }

    public final void A() {
        try {
            synchronized (b) {
                c.remove(this.a.q0());
            }
            this.a.b1();
        } catch (Exception unused) {
        }
    }

    public final G8.u0<j8> B(h hVar, f8 f8Var, Bundle bundle) {
        hVar.getClass();
        f8Var.getClass();
        bundle.getClass();
        a2.a.b(f8Var.a == 0, "command must be a custom command");
        return this.a.e1(hVar, f8Var, bundle);
    }

    @a2.i0
    public final void C(h hVar, h8 h8Var) {
        this.a.f1(hVar, h8Var);
    }

    @a2.i0
    public final void D(h8 h8Var) {
        this.a.g1(h8Var);
    }

    public final void E(h hVar, g8 g8Var, d0.c cVar) {
        a2.a.h(hVar, "controller must not be null");
        a2.a.h(g8Var, "sessionCommands must not be null");
        a2.a.h(cVar, "playerCommands must not be null");
        this.a.h1(hVar, g8Var, cVar);
    }

    @J8.a
    public final G8.u0<j8> F(h hVar, List<C1010c> list) {
        a2.a.h(hVar, "controller must not be null");
        a2.a.h(list, "layout must not be null");
        return this.a.j1(hVar, v8.M2.o(list));
    }

    public final void G(List<C1010c> list) {
        a2.a.h(list, "layout must not be null");
        this.a.k1(v8.M2.o(list));
    }

    public final void H(long j2) {
        this.a.l1(j2);
    }

    public final void I(i iVar) {
        this.a.p1(iVar);
    }

    @a2.i0
    @J8.a
    public final G8.u0<j8> J(h hVar, List<C1010c> list) {
        a2.a.h(hVar, "controller must not be null");
        a2.a.h(list, "media button preferences must not be null");
        return this.a.n1(hVar, v8.M2.o(list));
    }

    @a2.i0
    public final void K(List<C1010c> list) {
        a2.a.h(list, "media button preferences must not be null");
        this.a.o1(v8.M2.o(list));
    }

    public final void L(X1.d0 d0Var) {
        d0Var.getClass();
        a2.a.a(d0Var.B0());
        a2.a.a(d0Var.X0() == n().X0());
        a2.a.i(d0Var.X0() == Looper.myLooper());
        this.a.q1(d0Var);
    }

    @a2.i0
    public final void M(@Nullable PendingIntent pendingIntent) {
        boolean isActivity;
        if (a2.u0.a >= 31 && pendingIntent != null) {
            isActivity = pendingIntent.isActivity();
            a2.a.a(isActivity);
        }
        this.a.s1(pendingIntent);
    }

    @a2.i0
    public final void N(h hVar, @Nullable PendingIntent pendingIntent) {
        boolean isActivity;
        if (a2.u0.a >= 31 && pendingIntent != null) {
            isActivity = pendingIntent.isActivity();
            a2.a.a(isActivity);
        }
        this.a.t1(hVar, pendingIntent);
    }

    public final void O(Bundle bundle) {
        this.a.u1(new Bundle(bundle));
    }

    public final void P(h hVar, Bundle bundle) {
        a2.a.h(hVar, "controller must not be null");
        this.a.v1(hVar, new Bundle(bundle));
    }

    @l.i0
    public final void Q(long j2) {
        this.a.w1(j2);
    }

    public final void a(f8 f8Var, Bundle bundle) {
        f8Var.getClass();
        bundle.getClass();
        a2.a.b(f8Var.a == 0, "command must be a custom command");
        this.a.X(f8Var, bundle);
    }

    public final void b() {
        this.a.a0();
    }

    public Y4 c(Context context, String str, X1.d0 d0Var, @Nullable PendingIntent pendingIntent, v8.M2<C1010c> m2, v8.M2<C1010c> m22, v8.M2<C1010c> m23, e eVar, Bundle bundle, Bundle bundle2, a2.h hVar, boolean z, boolean z2, int i2) {
        return new Y4(this, context, str, d0Var, pendingIntent, m2, m22, m23, eVar, bundle, bundle2, hVar, z, z2);
    }

    @a2.i0
    public final a2.h d() {
        return this.a.k0();
    }

    public final List<h> e() {
        return this.a.m0();
    }

    @Nullable
    public final h f() {
        return this.a.o0();
    }

    @a2.i0
    public v8.M2<C1010c> g() {
        return this.a.p0();
    }

    public final String h() {
        return this.a.q0();
    }

    public Y4 i() {
        return this.a;
    }

    @Nullable
    public final IBinder j() {
        return this.a.s0();
    }

    @a2.i0
    public v8.M2<C1010c> k() {
        return this.a.t0();
    }

    @Nullable
    @a2.i0
    public h l() {
        return this.a.u0();
    }

    @a2.i0
    public final MediaSession.Token m() {
        return (MediaSession.Token) this.a.x0().i().b;
    }

    public final X1.d0 n() {
        return ((X1.A) this.a.v0()).b1;
    }

    @Nullable
    public final PendingIntent p() {
        return this.a.w0();
    }

    public final s3.n q() {
        return this.a.x0();
    }

    public Bundle r() {
        return this.a.y0();
    }

    @a2.i0
    public final boolean s() {
        return this.a.x1();
    }

    public final m8 t() {
        return this.a.A0();
    }

    @l.i0
    public final Uri u() {
        return this.a.B0();
    }

    public final void v(InterfaceC1180v interfaceC1180v, h hVar) {
        this.a.b0(interfaceC1180v, hVar);
    }

    @a2.i0
    public final boolean w(h hVar) {
        return this.a.E0(hVar);
    }

    @a2.i0
    public final boolean x(h hVar) {
        return this.a.F0(hVar);
    }

    @a2.i0
    public boolean y(h hVar) {
        return this.a.H0(hVar);
    }

    public final boolean z() {
        return this.a.J0();
    }

    public interface g {
        default void I(int i) throws RemoteException {
        }

        default void b(int i) throws RemoteException {
        }

        default void B(int i, long j) throws RemoteException {
        }

        default void C(int i, h8 h8Var) throws RemoteException {
        }

        default void D(int i, X1.U u) throws RemoteException {
        }

        default void E(int i, X1.T1 t1) throws RemoteException {
        }

        default void F(int i, float f) throws RemoteException {
        }

        default void H(int i, int i2) throws RemoteException {
        }

        default void J(int i, X1.c0 c0Var) throws RemoteException {
        }

        default void M(int i, X1.p pVar) throws RemoteException {
        }

        default void N(int i, boolean z) throws RemoteException {
        }

        default void a(int i, X1.O1 o1) throws RemoteException {
        }

        default void c(int i, X1.d dVar) throws RemoteException {
        }

        default void d(int i, d0.c cVar) throws RemoteException {
        }

        default void e(int i, j8 j8Var) throws RemoteException {
        }

        default void f(int i, List<C1010c> list) throws RemoteException {
        }

        default void h(int i, long j) throws RemoteException {
        }

        default void i(int i, int i2) throws RemoteException {
        }

        default void j(int i, @Nullable X1.b0 b0Var) throws RemoteException {
        }

        default void k(int i, List<C1010c> list) throws RemoteException {
        }

        default void p(int i, X1.U u) throws RemoteException {
        }

        default void q(int i, Bundle bundle) throws RemoteException {
        }

        default void s(int i, X1.K1 k1) throws RemoteException {
        }

        default void t(int i, B<?> b) throws RemoteException {
        }

        default void u(int i, boolean z) throws RemoteException {
        }

        default void w(int i, boolean z) throws RemoteException {
        }

        default void z(int i, @Nullable PendingIntent pendingIntent) throws RemoteException {
        }

        default void A(int i, f8 f8Var, Bundle bundle) throws RemoteException {
        }

        default void G(int i, @Nullable X1.N n, int i2) throws RemoteException {
        }

        default void K(int i, X1.F1 f1, int i2) throws RemoteException {
        }

        default void L(int i, int i2, @Nullable X1.b0 b0Var) throws RemoteException {
        }

        default void l(int i, g8 g8Var, d0.c cVar) throws RemoteException {
        }

        default void m(int i, boolean z, int i2) throws RemoteException {
        }

        default void n(int i, int i2, boolean z) throws RemoteException {
        }

        default void o(int i, @Nullable a8 a8Var, a8 a8Var2) throws RemoteException {
        }

        default void g(int i, String str, int i2, @Nullable AbstractServiceC1184v3.b bVar) throws RemoteException {
        }

        default void r(int i, String str, int i2, @Nullable AbstractServiceC1184v3.b bVar) throws RemoteException {
        }

        default void x(int i, d0.k kVar, d0.k kVar2, int i2) throws RemoteException {
        }

        default void v(int i, X7 x7, d0.c cVar, boolean z, boolean z2) throws RemoteException {
        }

        default void y(int i, i8 i8Var, boolean z, boolean z2, int i2) throws RemoteException {
        }
    }

    public interface e {
        @a2.i0
        default G8.u0<j> a(C1078j4 c1078j4, h hVar, List<X1.N> list, final int i, final long j) {
            return a2.u0.y2(m(c1078j4, hVar, list), new G8.w() {
                public final G8.u0 apply(Object obj) {
                    G8.u0 o;
                    o = G8.i0.o(new C1078j4.j((List) obj, i, j));
                    return o;
                }
            });
        }

        default G8.u0<j8> b(C1078j4 c1078j4, h hVar, f8 f8Var, Bundle bundle) {
            return G8.i0.o(new j8(-6));
        }

        default G8.u0<j8> d(C1078j4 c1078j4, h hVar, X1.h0 h0Var) {
            return G8.i0.o(new j8(-6));
        }

        @a2.i0
        default boolean e(C1078j4 c1078j4, h hVar, Intent intent) {
            return false;
        }

        @Deprecated
        default int f(C1078j4 c1078j4, h hVar, int i) {
            return 0;
        }

        @a2.i0
        default G8.u0<j> h(C1078j4 c1078j4, h hVar) {
            return new p0.b(new UnsupportedOperationException());
        }

        default G8.u0<j8> k(C1078j4 c1078j4, h hVar, String str, X1.h0 h0Var) {
            return G8.i0.o(new j8(-6));
        }

        default f l(C1078j4 c1078j4, h hVar) {
            return new f.a(c1078j4).a();
        }

        default G8.u0<List<X1.N>> m(C1078j4 c1078j4, h hVar, List<X1.N> list) {
            Iterator<X1.N> it = list.iterator();
            while (it.hasNext()) {
                if (it.next().b == null) {
                    return new p0.b(new UnsupportedOperationException());
                }
            }
            return G8.i0.o(list);
        }

        default void c(C1078j4 c1078j4, h hVar) {
        }

        default void p(C1078j4 c1078j4, h hVar) {
        }

        @a2.i0
        default void u(C1078j4 c1078j4, h hVar, d0.c cVar) {
        }
    }
}