package androidx.work.multiprocess;

import a6.i;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.ServiceConnection;
import android.os.Handler;
import android.os.Looper;
import java.util.concurrent.Executor;
import z5.k;

@SuppressLint({"BanKeepAnnotation"})
/* loaded from: classes.dex */
public class RemoteWorkManagerClient extends k6.c {

    /* renamed from: i, reason: collision with root package name */
    static final String f6051i = k.f("RemoteWorkManagerClient");

    /* renamed from: a, reason: collision with root package name */
    final Context f6052a;

    /* renamed from: b, reason: collision with root package name */
    final i f6053b;

    /* renamed from: c, reason: collision with root package name */
    final Executor f6054c;

    /* renamed from: d, reason: collision with root package name */
    final Object f6055d;

    /* renamed from: e, reason: collision with root package name */
    private volatile long f6056e;

    /* renamed from: f, reason: collision with root package name */
    private final long f6057f;

    /* renamed from: g, reason: collision with root package name */
    private final Handler f6058g;

    /* renamed from: h, reason: collision with root package name */
    private final b f6059h;

    /* loaded from: classes.dex */
    public static class a implements ServiceConnection {
    }

    /* loaded from: classes.dex */
    public static class b implements Runnable {

        /* renamed from: q, reason: collision with root package name */
        private static final String f6060q = k.f("SessionHandler");

        /* renamed from: p, reason: collision with root package name */
        private final RemoteWorkManagerClient f6061p;

        public b(RemoteWorkManagerClient remoteWorkManagerClient) {
            this.f6061p = remoteWorkManagerClient;
        }

        @Override // java.lang.Runnable
        public void run() {
            this.f6061p.b();
            synchronized (this.f6061p.c()) {
                this.f6061p.b();
                this.f6061p.a();
            }
        }
    }

    public RemoteWorkManagerClient(Context context, i iVar) {
        this(context, iVar, 60000L);
    }

    public a a() {
        return null;
    }

    public long b() {
        return this.f6056e;
    }

    public Object c() {
        return this.f6055d;
    }

    public RemoteWorkManagerClient(Context context, i iVar, long j10) {
        this.f6052a = context.getApplicationContext();
        this.f6053b = iVar;
        this.f6054c = iVar.u().c();
        this.f6055d = new Object();
        this.f6059h = new b(this);
        this.f6057f = j10;
        this.f6058g = androidx.core.os.g.a(Looper.getMainLooper());
    }
}
