package androidx.work.impl; import androidx.work.impl.model.WorkGenerationalId; import androidx.work.impl.model.WorkSpec; import androidx.work.impl.model.WorkSpecKt; import java.util.List; import kotlin.jvm.internal.Intrinsics; /* loaded from: classes.dex */ public interface StartStopTokens { public static final Companion Companion = Companion.$$INSTANCE; static StartStopTokens create() { return Companion.create(); } static StartStopTokens create(boolean z) { return Companion.create(z); } boolean contains(WorkGenerationalId workGenerationalId); StartStopToken remove(WorkGenerationalId workGenerationalId); List remove(String str); StartStopToken tokenFor(WorkGenerationalId workGenerationalId); default StartStopToken tokenFor(WorkSpec spec) { Intrinsics.checkNotNullParameter(spec, "spec"); return tokenFor(WorkSpecKt.generationalId(spec)); } default StartStopToken remove(WorkSpec spec) { Intrinsics.checkNotNullParameter(spec, "spec"); return remove(WorkSpecKt.generationalId(spec)); } public static final class Companion { static final /* synthetic */ Companion $$INSTANCE = new Companion(); public final StartStopTokens create() { return create$default(this, false, 1, null); } private Companion() { } public static /* synthetic */ StartStopTokens create$default(Companion companion, boolean z, int i, Object obj) { if ((i & 1) != 0) { z = true; } return companion.create(z); } public final StartStopTokens create(boolean z) { StartStopTokensImpl startStopTokensImpl = new StartStopTokensImpl(); return z ? new SynchronizedStartStopTokensImpl(startStopTokensImpl) : startStopTokensImpl; } } }