Files
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

192 lines
5.4 KiB
Java

package com.vungle.ads.internal.task;
import android.os.Bundle;
import com.vungle.ads.internal.util.Logger;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes4.dex */
public final class JobInfo implements Cloneable {
public static final Companion Companion = new Companion(null);
private static final String TAG = "JobInfo";
private long delay;
private Bundle extras;
private final String jobTag;
private long nextRescheduleTimeout;
private int priority;
private int requiredNetworkType;
private int reschedulePolicy;
private long rescheduleTimeout;
private boolean updateCurrent;
public static /* synthetic */ void getPriority$annotations() {
}
@NetworkType
public static /* synthetic */ void getRequiredNetworkType$annotations() {
}
private static /* synthetic */ void getReschedulePolicy$annotations() {
}
public final long getDelay() {
return this.delay;
}
public final Bundle getExtras() {
return this.extras;
}
public final String getJobTag() {
return this.jobTag;
}
public final int getPriority() {
return this.priority;
}
public final int getRequiredNetworkType() {
return this.requiredNetworkType;
}
public final boolean getUpdateCurrent() {
return this.updateCurrent;
}
public final long makeNextRescedule() {
long j = this.rescheduleTimeout;
if (j == 0) {
return 0L;
}
long j2 = this.nextRescheduleTimeout;
if (j2 == 0) {
this.nextRescheduleTimeout = j;
} else if (this.reschedulePolicy == 1) {
this.nextRescheduleTimeout = j2 * 2;
}
return this.nextRescheduleTimeout;
}
public final JobInfo setDelay(long j) {
this.delay = j;
return this;
}
public final JobInfo setExtras(Bundle extras) {
Intrinsics.checkNotNullParameter(extras, "extras");
this.extras = extras;
return this;
}
public final JobInfo setPriority(int i) {
this.priority = i;
return this;
}
public final JobInfo setRequiredNetworkType(@NetworkType int i) {
this.requiredNetworkType = i;
return this;
}
public final JobInfo setReschedulePolicy(long j, int i) {
this.rescheduleTimeout = j;
this.reschedulePolicy = i;
return this;
}
public final JobInfo setUpdateCurrent(boolean z) {
this.updateCurrent = z;
return this;
}
public JobInfo(String jobTag) {
Intrinsics.checkNotNullParameter(jobTag, "jobTag");
this.jobTag = jobTag;
this.extras = new Bundle();
this.reschedulePolicy = 1;
this.priority = 2;
}
public Object clone() {
return super.clone();
}
public final JobInfo copy() {
try {
Object clone = super.clone();
Intrinsics.checkNotNull(clone, "null cannot be cast to non-null type com.vungle.ads.internal.task.JobInfo");
return (JobInfo) clone;
} catch (CloneNotSupportedException e) {
Logger.Companion.e(TAG, "Cannot copy JobInfo " + this, e);
return null;
}
}
@Retention(RetentionPolicy.SOURCE)
public @interface ReschedulePolicy {
public static final Companion Companion = Companion.$$INSTANCE;
public static final int EXPONENTIAL = 1;
public static final int LINEAR = 0;
public static final class Companion {
static final /* synthetic */ Companion $$INSTANCE = new Companion();
public static final int EXPONENTIAL = 1;
public static final int LINEAR = 0;
private Companion() {
}
}
}
@Retention(RetentionPolicy.SOURCE)
public @interface Priority {
public static final int CRITICAL = 5;
public static final Companion Companion = Companion.$$INSTANCE;
public static final int HIGH = 3;
public static final int HIGHEST = 4;
public static final int LOW = 1;
public static final int LOWEST = 0;
public static final int NORMAL = 2;
public static final class Companion {
static final /* synthetic */ Companion $$INSTANCE = new Companion();
public static final int CRITICAL = 5;
public static final int HIGH = 3;
public static final int HIGHEST = 4;
public static final int LOW = 1;
public static final int LOWEST = 0;
public static final int NORMAL = 2;
private Companion() {
}
}
}
@Retention(RetentionPolicy.RUNTIME)
public @interface NetworkType {
public static final int ANY = 0;
public static final int CONNECTED = 1;
public static final Companion Companion = Companion.$$INSTANCE;
public static final class Companion {
static final /* synthetic */ Companion $$INSTANCE = new Companion();
public static final int ANY = 0;
public static final int CONNECTED = 1;
private Companion() {
}
}
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
}