Constructor and Description |
---|
Common(Context context,
JobCat cat,
int jobId) |
Common(Service service,
JobCat cat,
int jobId) |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
cleanUpOrphanedJob(Context context,
int jobId) |
static boolean |
completeWakefulIntent(Intent intent) |
Job.Result |
executeJobRequest(JobRequest request,
Bundle transientExtras) |
static long |
getAverageDelayMs(JobRequest request) |
static long |
getAverageDelayMsSupportFlex(JobRequest request) |
static long |
getEndMs(JobRequest request) |
static long |
getEndMs(JobRequest request,
boolean shiftEnd) |
static long |
getEndMsSupportFlex(JobRequest request) |
JobRequest |
getPendingRequest(boolean cleanUpOrphanedJob,
boolean markStarting) |
static int |
getRescheduleCount(JobRequest request) |
static long |
getStartMs(JobRequest request) |
static long |
getStartMsSupportFlex(JobRequest request) |
void |
markStarting(JobRequest request) |
static ComponentName |
startWakefulService(Context context,
Intent intent) |
public static long getStartMs(JobRequest request)
public static long getEndMs(JobRequest request)
public static long getEndMs(JobRequest request, boolean shiftEnd)
public static long getAverageDelayMs(JobRequest request)
public static long getStartMsSupportFlex(JobRequest request)
public static long getEndMsSupportFlex(JobRequest request)
public static long getAverageDelayMsSupportFlex(JobRequest request)
public static int getRescheduleCount(JobRequest request)
public JobRequest getPendingRequest(boolean cleanUpOrphanedJob, boolean markStarting)
public void markStarting(@NonNull JobRequest request)
@NonNull public Job.Result executeJobRequest(@NonNull JobRequest request, @Nullable Bundle transientExtras)
static void cleanUpOrphanedJob(Context context, int jobId)
public static ComponentName startWakefulService(Context context, Intent intent)
public static boolean completeWakefulIntent(Intent intent)