package androidx.work.multiprocess;

import a6.i;
import android.content.Context;
import androidx.work.multiprocess.b;
import androidx.work.multiprocess.d;
import i6.o;
import java.util.List;
import java.util.UUID;
import java.util.concurrent.Executor;
import l6.k;
import l6.l;
import z5.n;

/* loaded from: classes.dex */
public class g extends b.a {

    /* renamed from: f, reason: collision with root package name */
    static byte[] f6090f = new byte[0];

    /* renamed from: e, reason: collision with root package name */
    private final i f6091e;

    /* loaded from: classes.dex */
    class a extends androidx.work.multiprocess.d {
        a(Executor executor, androidx.work.multiprocess.c cVar, ek.d dVar) {
            super(executor, cVar, dVar);
        }

        @Override // androidx.work.multiprocess.d
        /* renamed from: c, reason: merged with bridge method [inline-methods] */
        public byte[] b(n.b.c cVar) {
            return g.f6090f;
        }
    }

    /* loaded from: classes.dex */
    class b extends androidx.work.multiprocess.d {
        b(Executor executor, androidx.work.multiprocess.c cVar, ek.d dVar) {
            super(executor, cVar, dVar);
        }

        @Override // androidx.work.multiprocess.d
        /* renamed from: c, reason: merged with bridge method [inline-methods] */
        public byte[] b(n.b.c cVar) {
            return g.f6090f;
        }
    }

    /* loaded from: classes.dex */
    class c extends androidx.work.multiprocess.d {
        c(Executor executor, androidx.work.multiprocess.c cVar, ek.d dVar) {
            super(executor, cVar, dVar);
        }

        @Override // androidx.work.multiprocess.d
        /* renamed from: c, reason: merged with bridge method [inline-methods] */
        public byte[] b(n.b.c cVar) {
            return g.f6090f;
        }
    }

    /* loaded from: classes.dex */
    class d extends androidx.work.multiprocess.d {
        d(Executor executor, androidx.work.multiprocess.c cVar, ek.d dVar) {
            super(executor, cVar, dVar);
        }

        @Override // androidx.work.multiprocess.d
        /* renamed from: c, reason: merged with bridge method [inline-methods] */
        public byte[] b(n.b.c cVar) {
            return g.f6090f;
        }
    }

    /* loaded from: classes.dex */
    class e extends androidx.work.multiprocess.d {
        e(Executor executor, androidx.work.multiprocess.c cVar, ek.d dVar) {
            super(executor, cVar, dVar);
        }

        @Override // androidx.work.multiprocess.d
        /* renamed from: c, reason: merged with bridge method [inline-methods] */
        public byte[] b(n.b.c cVar) {
            return g.f6090f;
        }
    }

    /* loaded from: classes.dex */
    class f extends androidx.work.multiprocess.d {
        f(Executor executor, androidx.work.multiprocess.c cVar, ek.d dVar) {
            super(executor, cVar, dVar);
        }

        @Override // androidx.work.multiprocess.d
        /* renamed from: c, reason: merged with bridge method [inline-methods] */
        public byte[] b(n.b.c cVar) {
            return g.f6090f;
        }
    }

    /* renamed from: androidx.work.multiprocess.g$g, reason: collision with other inner class name */
    /* loaded from: classes.dex */
    class C0157g extends androidx.work.multiprocess.d {
        C0157g(Executor executor, androidx.work.multiprocess.c cVar, ek.d dVar) {
            super(executor, cVar, dVar);
        }

        @Override // androidx.work.multiprocess.d
        /* renamed from: c, reason: merged with bridge method [inline-methods] */
        public byte[] b(List list) {
            return l6.a.a(new k(list));
        }
    }

    /* loaded from: classes.dex */
    class h extends androidx.work.multiprocess.d {
        h(Executor executor, androidx.work.multiprocess.c cVar, ek.d dVar) {
            super(executor, cVar, dVar);
        }

        @Override // androidx.work.multiprocess.d
        /* renamed from: c, reason: merged with bridge method [inline-methods] */
        public byte[] b(Void r12) {
            return g.f6090f;
        }
    }

    /* JADX INFO: Access modifiers changed from: package-private */
    public g(Context context) {
        this.f6091e = i.o(context);
    }

    @Override // androidx.work.multiprocess.b
    public void D(String str, androidx.work.multiprocess.c cVar) {
        try {
            new c(this.f6091e.u().c(), cVar, this.f6091e.j(UUID.fromString(str)).a()).a();
        } catch (Throwable th2) {
            d.a.a(cVar, th2);
        }
    }

    @Override // androidx.work.multiprocess.b
    public void M(String str, androidx.work.multiprocess.c cVar) {
        try {
            new d(this.f6091e.u().c(), cVar, this.f6091e.h(str).a()).a();
        } catch (Throwable th2) {
            d.a.a(cVar, th2);
        }
    }

    @Override // androidx.work.multiprocess.b
    public void R(byte[] bArr, androidx.work.multiprocess.c cVar) {
        try {
            l6.h hVar = (l6.h) l6.a.b(bArr, l6.h.CREATOR);
            Context l10 = this.f6091e.l();
            j6.a u10 = this.f6091e.u();
            new h(u10.c(), cVar, new o(this.f6091e.s(), u10).a(l10, UUID.fromString(hVar.b()), hVar.a())).a();
        } catch (Throwable th2) {
            d.a.a(cVar, th2);
        }
    }

    @Override // androidx.work.multiprocess.b
    public void T(byte[] bArr, androidx.work.multiprocess.c cVar) {
        try {
            new b(this.f6091e.u().c(), cVar, ((l6.i) l6.a.b(bArr, l6.i.CREATOR)).b(this.f6091e).a().a()).a();
        } catch (Throwable th2) {
            d.a.a(cVar, th2);
        }
    }

    @Override // androidx.work.multiprocess.b
    public void d(String str, androidx.work.multiprocess.c cVar) {
        try {
            new e(this.f6091e.u().c(), cVar, this.f6091e.i(str).a()).a();
        } catch (Throwable th2) {
            d.a.a(cVar, th2);
        }
    }

    @Override // androidx.work.multiprocess.b
    public void f(byte[] bArr, androidx.work.multiprocess.c cVar) {
        try {
            new a(this.f6091e.u().c(), cVar, this.f6091e.c(((l6.n) l6.a.b(bArr, l6.n.CREATOR)).a()).a()).a();
        } catch (Throwable th2) {
            d.a.a(cVar, th2);
        }
    }

    @Override // androidx.work.multiprocess.b
    public void i(androidx.work.multiprocess.c cVar) {
        try {
            new f(this.f6091e.u().c(), cVar, this.f6091e.g().a()).a();
        } catch (Throwable th2) {
            d.a.a(cVar, th2);
        }
    }

    @Override // androidx.work.multiprocess.b
    public void u(byte[] bArr, androidx.work.multiprocess.c cVar) {
        try {
            new C0157g(this.f6091e.u().c(), cVar, this.f6091e.t(((l) l6.a.b(bArr, l.CREATOR)).a())).a();
        } catch (Throwable th2) {
            d.a.a(cVar, th2);
        }
    }
}
