HomeSort by relevance Sort by last modified time
    Searched refs:JobWorkItem (Results 1 - 19 of 19) sorted by null

  /frameworks/base/core/java/android/app/job/
JobWorkItem.aidl 20 parcelable JobWorkItem;
IJobCallback.aidl 19 import android.app.job.JobWorkItem;
50 JobWorkItem dequeueWork(int jobId);
JobWorkItem.java 28 final public class JobWorkItem implements Parcelable {
40 public JobWorkItem(Intent intent) {
98 sb.append("JobWorkItem{id=");
125 public static final Parcelable.Creator<JobWorkItem> CREATOR
126 = new Parcelable.Creator<JobWorkItem>() {
127 public JobWorkItem createFromParcel(Parcel in) {
128 return new JobWorkItem(in);
131 public JobWorkItem[] newArray(int size) {
132 return new JobWorkItem[size];
136 JobWorkItem(Parcel in)
    [all...]
IJobScheduler.aidl 20 import android.app.job.JobWorkItem;
28 int enqueue(in JobInfo job, in JobWorkItem work);
JobScheduler.java 127 public abstract @Result int enqueue(@NonNull JobInfo job, @NonNull JobWorkItem work);
JobParameters.java 162 * Dequeue the next pending {@link JobWorkItem} from these JobParameters associated with their
167 * (otherwise you risk losing an upcoming JobWorkItem that is being enqueued at the same time).
169 * <p>Once you are done with the {@link JobWorkItem} returned by this method, you must call
170 * {@link #completeWork(JobWorkItem)} with it to inform the system that you are done
189 * @return Returns a new {@link JobWorkItem} if there is one pending, otherwise null.
194 public @Nullable JobWorkItem dequeueWork() {
203 * Report the completion of executing a {@link JobWorkItem} previously returned by
218 public void completeWork(@NonNull JobWorkItem work) {
  /cts/tests/JobScheduler/src/android/jobscheduler/cts/
EnqueueJobWorkTest.java 21 import android.app.job.JobWorkItem;
70 private void compareWork(TestWorkItem[] expected, ArrayList<JobWorkItem> received) {
79 JobWorkItem work = received.get(i);
113 mJobScheduler.enqueue(mBuilder.setOverrideDeadline(0).build(), new JobWorkItem(work1));
142 mJobScheduler.enqueue(ji, new JobWorkItem(work1));
143 mJobScheduler.enqueue(ji, new JobWorkItem(work2));
144 mJobScheduler.enqueue(ji, new JobWorkItem(work3));
145 mJobScheduler.enqueue(ji, new JobWorkItem(work4));
146 mJobScheduler.enqueue(ji, new JobWorkItem(work5));
147 mJobScheduler.enqueue(ji, new JobWorkItem(work6))
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
JobWorkServiceActivity.java 22 import android.app.job.JobWorkItem;
62 mJobScheduler.enqueue(mJobInfo, new JobWorkItem(
69 mJobScheduler.enqueue(mJobInfo, new JobWorkItem(
76 mJobScheduler.enqueue(mJobInfo, new JobWorkItem(
JobWorkService.java 26 import android.app.job.JobWorkItem;
66 JobWorkItem work;
  /packages/apps/Dialer/java/com/android/voicemail/impl/
DeviceProvisionedJobService.java 25 import android.app.job.JobWorkItem;
59 context.getSystemService(JobScheduler.class).enqueue(jobInfo, new JobWorkItem(intent));
66 for (JobWorkItem item = params.dequeueWork(); item != null; item = params.dequeueWork()) {
  /frameworks/base/core/java/android/app/
JobSchedulerImpl.java 23 import android.app.job.JobWorkItem;
51 public int enqueue(JobInfo job, JobWorkItem work) {
  /cts/tests/JobScheduler/src/android/jobscheduler/
MockJobService.java 24 import android.app.job.JobWorkItem;
53 ArrayList<JobWorkItem> mReceivedWork = new ArrayList<>();
101 JobWorkItem work;
191 js.enqueue(ji, new JobWorkItem(sub[subi].intent));
307 private ArrayList<JobWorkItem> mExecutedReceivedWork;
333 public ArrayList<JobWorkItem> getLastReceivedWork() {
390 ArrayList<JobWorkItem> receivedWork, String errorMsg) {
  /frameworks/support/compat/java/android/support/v4/app/
JobIntentService.java 24 import android.app.job.JobWorkItem;
243 final JobWorkItem mJobWork;
245 WrapperWorkItem(JobWorkItem jobWork) {
290 JobWorkItem work = mParams.dequeueWork();
316 mJobScheduler.enqueue(mJobInfo, new JobWorkItem(work));
  /frameworks/base/services/core/java/com/android/server/job/controllers/
JobStatus.java 22 import android.app.job.JobWorkItem;
169 public ArrayList<JobWorkItem> pendingWork;
172 public ArrayList<JobWorkItem> executingWork;
322 public void enqueueWorkLocked(IActivityManager am, JobWorkItem work) {
336 public JobWorkItem dequeueWorkLocked() {
338 JobWorkItem work = pendingWork.remove(0);
359 private static void ungrantWorkItem(IActivityManager am, JobWorkItem work) {
369 JobWorkItem work = executingWork.get(i);
380 private static void ungrantWorkList(IActivityManager am, ArrayList<JobWorkItem> list) {
883 private void dumpJobWorkItem(PrintWriter pw, String prefix, JobWorkItem work, int index)
    [all...]
  /frameworks/base/services/core/java/com/android/server/job/
JobServiceContext.java 24 import android.app.job.JobWorkItem;
152 public JobWorkItem dequeueWork(int jobId) {
311 JobWorkItem doDequeueWork(JobCallback cb, int jobId) {
322 final JobWorkItem work = mRunningJob.dequeueWorkLocked();
JobSchedulerService.java 40 import android.app.job.JobWorkItem;
654 public int scheduleAsPackage(JobInfo job, JobWorkItem work, int uId, String packageName,
    [all...]
  /prebuilts/sdk/current/
android.jar 
  /prebuilts/sdk/system_current/
android.jar 
  /frameworks/base/
compiled-classes-phone 637 android.app.job.JobWorkItem
    [all...]

Completed in 461 milliseconds