what-the-bank/sources/com/google/android/datatransport/runtime/scheduling/SchedulingConfigModule.java

55 lines
2.3 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.datatransport.runtime.scheduling;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import o.C16743qqA;
import o.C8189dDp;
import o.EnumC10854eQq;
import o.GwU;
import o.InterfaceC6203cLt;
/* loaded from: classes.dex */
public abstract class SchedulingConfigModule {
public static GwU c(InterfaceC6203cLt interfaceC6203cLt) {
GwU.IeS ieS = new GwU.IeS();
EnumC10854eQq enumC10854eQq = EnumC10854eQq.DEFAULT;
C16743qqA.IeS ieS2 = new C16743qqA.IeS();
Set<GwU.RVV> emptySet = Collections.emptySet();
if (emptySet != null) {
ieS2.c = emptySet;
ieS.d.put(enumC10854eQq, ieS2.c(30000L).a().d());
EnumC10854eQq enumC10854eQq2 = EnumC10854eQq.HIGHEST;
C16743qqA.IeS ieS3 = new C16743qqA.IeS();
Set<GwU.RVV> emptySet2 = Collections.emptySet();
if (emptySet2 != null) {
ieS3.c = emptySet2;
ieS.d.put(enumC10854eQq2, ieS3.c(1000L).a().d());
EnumC10854eQq enumC10854eQq3 = EnumC10854eQq.VERY_LOW;
C16743qqA.IeS ieS4 = new C16743qqA.IeS();
Set<GwU.RVV> emptySet3 = Collections.emptySet();
if (emptySet3 != null) {
ieS4.c = emptySet3;
ieS.d.put(enumC10854eQq3, ieS4.c(86400000L).a().d(Collections.unmodifiableSet(new HashSet(Arrays.asList(GwU.RVV.NETWORK_UNMETERED, GwU.RVV.DEVICE_IDLE)))).d());
ieS.b = interfaceC6203cLt;
if (ieS.b == null) {
throw new NullPointerException("missing required property: clock");
}
if (ieS.d.keySet().size() < EnumC10854eQq.values().length) {
throw new IllegalStateException("Not all priorities have been configured");
}
Map<EnumC10854eQq, GwU.LWm> map = ieS.d;
ieS.d = new HashMap();
return new C8189dDp(ieS.b, map);
}
throw new NullPointerException("Null flags");
}
throw new NullPointerException("Null flags");
}
throw new NullPointerException("Null flags");
}
}