163 lines
4.3 KiB
Java
163 lines
4.3 KiB
Java
package o;
|
|
|
|
import java.util.concurrent.atomic.AtomicReference;
|
|
|
|
/* loaded from: classes.dex */
|
|
public abstract class wdQ {
|
|
private AtomicReference<Object> c = new AtomicReference<>();
|
|
|
|
public abstract IeS a();
|
|
|
|
public abstract void a(InterfaceC16186lzC interfaceC16186lzC);
|
|
|
|
public abstract void e(InterfaceC16186lzC interfaceC16186lzC);
|
|
|
|
/* loaded from: classes.dex */
|
|
public enum HBt {
|
|
ON_CREATE,
|
|
ON_START,
|
|
ON_RESUME,
|
|
ON_PAUSE,
|
|
ON_STOP,
|
|
ON_DESTROY,
|
|
ON_ANY;
|
|
|
|
public static HBt d(IeS ieS) {
|
|
int i = AnonymousClass5.c[ieS.ordinal()];
|
|
if (i == 1) {
|
|
return ON_DESTROY;
|
|
}
|
|
if (i == 2) {
|
|
return ON_STOP;
|
|
}
|
|
if (i != 3) {
|
|
return null;
|
|
}
|
|
return ON_PAUSE;
|
|
}
|
|
|
|
public static HBt e(IeS ieS) {
|
|
int i = AnonymousClass5.c[ieS.ordinal()];
|
|
if (i == 1) {
|
|
return ON_START;
|
|
}
|
|
if (i == 2) {
|
|
return ON_RESUME;
|
|
}
|
|
if (i != 5) {
|
|
return null;
|
|
}
|
|
return ON_CREATE;
|
|
}
|
|
|
|
public static HBt b(IeS ieS) {
|
|
int i = AnonymousClass5.c[ieS.ordinal()];
|
|
if (i == 1) {
|
|
return ON_CREATE;
|
|
}
|
|
if (i == 2) {
|
|
return ON_START;
|
|
}
|
|
if (i != 3) {
|
|
return null;
|
|
}
|
|
return ON_RESUME;
|
|
}
|
|
|
|
public final IeS a() {
|
|
switch (AnonymousClass5.d[ordinal()]) {
|
|
case 1:
|
|
case 2:
|
|
return IeS.CREATED;
|
|
case 3:
|
|
case 4:
|
|
return IeS.STARTED;
|
|
case 5:
|
|
return IeS.RESUMED;
|
|
case 6:
|
|
return IeS.DESTROYED;
|
|
default:
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append(this);
|
|
sb.append(" has no target state");
|
|
throw new IllegalArgumentException(sb.toString());
|
|
}
|
|
}
|
|
}
|
|
|
|
/* renamed from: o.wdQ$5, reason: invalid class name */
|
|
/* loaded from: classes.dex */
|
|
static /* synthetic */ class AnonymousClass5 {
|
|
static final int[] c;
|
|
static final int[] d;
|
|
|
|
static {
|
|
int[] iArr = new int[HBt.values().length];
|
|
d = iArr;
|
|
try {
|
|
iArr[HBt.ON_CREATE.ordinal()] = 1;
|
|
} catch (NoSuchFieldError unused) {
|
|
}
|
|
try {
|
|
d[HBt.ON_STOP.ordinal()] = 2;
|
|
} catch (NoSuchFieldError unused2) {
|
|
}
|
|
try {
|
|
d[HBt.ON_START.ordinal()] = 3;
|
|
} catch (NoSuchFieldError unused3) {
|
|
}
|
|
try {
|
|
d[HBt.ON_PAUSE.ordinal()] = 4;
|
|
} catch (NoSuchFieldError unused4) {
|
|
}
|
|
try {
|
|
d[HBt.ON_RESUME.ordinal()] = 5;
|
|
} catch (NoSuchFieldError unused5) {
|
|
}
|
|
try {
|
|
d[HBt.ON_DESTROY.ordinal()] = 6;
|
|
} catch (NoSuchFieldError unused6) {
|
|
}
|
|
try {
|
|
d[HBt.ON_ANY.ordinal()] = 7;
|
|
} catch (NoSuchFieldError unused7) {
|
|
}
|
|
int[] iArr2 = new int[IeS.values().length];
|
|
c = iArr2;
|
|
try {
|
|
iArr2[IeS.CREATED.ordinal()] = 1;
|
|
} catch (NoSuchFieldError unused8) {
|
|
}
|
|
try {
|
|
c[IeS.STARTED.ordinal()] = 2;
|
|
} catch (NoSuchFieldError unused9) {
|
|
}
|
|
try {
|
|
c[IeS.RESUMED.ordinal()] = 3;
|
|
} catch (NoSuchFieldError unused10) {
|
|
}
|
|
try {
|
|
c[IeS.DESTROYED.ordinal()] = 4;
|
|
} catch (NoSuchFieldError unused11) {
|
|
}
|
|
try {
|
|
c[IeS.INITIALIZED.ordinal()] = 5;
|
|
} catch (NoSuchFieldError unused12) {
|
|
}
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes.dex */
|
|
public enum IeS {
|
|
DESTROYED,
|
|
INITIALIZED,
|
|
CREATED,
|
|
STARTED,
|
|
RESUMED;
|
|
|
|
public final boolean c(IeS ieS) {
|
|
return compareTo(ieS) >= 0;
|
|
}
|
|
}
|
|
}
|