60 lines
1.7 KiB
Java
60 lines
1.7 KiB
Java
|
package o;
|
||
|
|
||
|
import java.util.HashMap;
|
||
|
import java.util.Map;
|
||
|
import java.util.Set;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public abstract class GwU {
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public static class IeS {
|
||
|
public InterfaceC6203cLt b;
|
||
|
public Map<EnumC10854eQq, LWm> d = new HashMap();
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public static abstract class LWm {
|
||
|
|
||
|
/* renamed from: o.GwU$LWm$LWm, reason: collision with other inner class name */
|
||
|
/* loaded from: classes.dex */
|
||
|
public static abstract class AbstractC0084LWm {
|
||
|
public abstract AbstractC0084LWm a();
|
||
|
|
||
|
public abstract AbstractC0084LWm c(long j);
|
||
|
|
||
|
public abstract AbstractC0084LWm d(Set<RVV> set);
|
||
|
|
||
|
public abstract LWm d();
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public abstract long a();
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public abstract Set<RVV> c();
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public abstract long e();
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public enum RVV {
|
||
|
NETWORK_UNMETERED,
|
||
|
DEVICE_IDLE,
|
||
|
DEVICE_CHARGING
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public abstract InterfaceC6203cLt a();
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public abstract Map<EnumC10854eQq, LWm> c();
|
||
|
|
||
|
public final long a(EnumC10854eQq enumC10854eQq, long j, int i) {
|
||
|
long a = a().a();
|
||
|
LWm lWm = c().get(enumC10854eQq);
|
||
|
return Math.min(Math.max(((long) Math.pow(2.0d, i - 1)) * lWm.a(), j - a), lWm.e());
|
||
|
}
|
||
|
}
|