Home
last modified time | relevance | path

Searched refs:JobWorkItem (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
DJobWorkItem.java46 final public class JobWorkItem implements Parcelable { class
71 public JobWorkItem(Intent intent) { in JobWorkItem() method in JobWorkItem
92 public JobWorkItem(Intent intent, @BytesLong long downloadBytes, @BytesLong long uploadBytes) { in JobWorkItem() method in JobWorkItem
115 public JobWorkItem(@Nullable Intent intent, @BytesLong long downloadBytes, in JobWorkItem() method in JobWorkItem
125 private JobWorkItem(@NonNull Builder builder) { in JobWorkItem() method in JobWorkItem
378 public JobWorkItem build() { in build()
384 public JobWorkItem build(boolean rejectNegativeNetworkEstimates) { in build()
385 JobWorkItem jobWorkItem = new JobWorkItem(this); in build()
442 public static final @android.annotation.NonNull Parcelable.Creator<JobWorkItem> CREATOR
443 = new Parcelable.Creator<JobWorkItem>() {
[all …]
DIJobCallback.aidl20 import android.app.job.JobWorkItem;
73 JobWorkItem dequeueWork(int jobId); in dequeueWork()
96 void updateEstimatedNetworkBytes(int jobId, in JobWorkItem item, in updateEstimatedNetworkBytes()
106 void updateTransferredNetworkBytes(int jobId, in JobWorkItem item, in updateTransferredNetworkBytes()
DIJobService.aidl20 import android.app.job.JobWorkItem;
38 void getTransferredDownloadBytes(in JobParameters jobParams, in JobWorkItem jobWorkItem); in getTransferredDownloadBytes()
40 void getTransferredUploadBytes(in JobParameters jobParams, in JobWorkItem jobWorkItem); in getTransferredUploadBytes()
DJobServiceEngine.java99 @Nullable JobWorkItem jobWorkItem) throws RemoteException { in getTransferredDownloadBytes()
112 @Nullable JobWorkItem jobWorkItem) throws RemoteException { in getTransferredUploadBytes()
206 final JobWorkItem item = (JobWorkItem) args.arg2; in handleMessage()
220 final JobWorkItem item = (JobWorkItem) args.arg2; in handleMessage()
238 (JobWorkItem) args.arg2, args.argl1, args.argl2); in handleMessage()
256 (JobWorkItem) args.arg2, args.argl1, args.argl2); in handleMessage()
303 @Nullable JobWorkItem item, long progress) { in ackGetTransferredDownloadBytesMessage()
319 @Nullable JobWorkItem item, long progress) { in ackGetTransferredUploadBytesMessage()
427 @Nullable JobWorkItem item) { in getTransferredDownloadBytes()
442 @Nullable JobWorkItem item) { in getTransferredUploadBytes()
[all …]
DJobService.java129 @Nullable JobWorkItem item) { in onBind()
140 @Nullable JobWorkItem item) { in onBind()
305 @NonNull JobWorkItem jobWorkItem, in updateEstimatedNetworkBytes()
324 @NonNull JobWorkItem item, in updateTransferredNetworkBytes()
396 @NonNull JobWorkItem item) { in getTransferredDownloadBytes()
426 @NonNull JobWorkItem item) { in getTransferredUploadBytes()
DIJobScheduler.aidl22 import android.app.job.JobWorkItem;
32 int enqueue(String namespace, in JobInfo job, in JobWorkItem work); in enqueue()
DJobWorkItem.aidl20 parcelable JobWorkItem;
DJobParameters.java534 public @Nullable JobWorkItem dequeueWork() { in dequeueWork()
558 public void completeWork(@NonNull JobWorkItem work) { in completeWork()
DJobScheduler.java379 public abstract @Result int enqueue(@NonNull JobInfo job, @NonNull JobWorkItem work); in enqueue()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java24 import android.app.job.JobWorkItem;
827 JobWorkItem item1 = new JobWorkItem.Builder().build(); in testJobWorkItems()
831 JobWorkItem item2 = new JobWorkItem.Builder().setExtras(bundle).build(); in testJobWorkItems()
833 JobWorkItem item3 = new JobWorkItem.Builder().setEstimatedNetworkBytes(1, 2).build(); in testJobWorkItems()
834 JobWorkItem item4 = new JobWorkItem.Builder().setMinimumNetworkChunkBytes(3).build(); in testJobWorkItems()
835 JobWorkItem item5 = new JobWorkItem.Builder().build(); in testJobWorkItems()
896 List<JobWorkItem> allWork = new ArrayList<>(); in assertJobsEqual()
908 JobWorkItem expectedItem = allWork.get(i); in assertJobsEqual()
909 JobWorkItem actualItem = actual.pendingWork.get(i); in assertJobsEqual()
915 private void assertJobWorkItemsEqual(JobWorkItem expected, JobWorkItem actual) { in assertJobWorkItemsEqual()
/frameworks/proto_logging/stats/express/catalog/
Djob_scheduler.cfg73 display_name: "JobWorkItem enqueue count"
74 description: "Count the number of times an app enqueues a JobWorkItem"
281 display_name: "Initial JobWorkItem download kilobytes"
282 …description: "The initial estimated download kilobytes given to a JobWorkItem associated with a co…
317 display_name: "Initial JobWorkItem upload kilobytes"
318 …description: "The initial estimated upload bytes given to a JobWorkItem associated with a connecti…
496 display_name: "JobWorkItem minimum chunk kilobytes"
497 …description: "The minimum chunk kilobytes given to a JobWorkItem associated with a connectivity jo…
/frameworks/base/apex/jobscheduler/framework/java/android/app/
DJobSchedulerImpl.java27 import android.app.job.JobWorkItem;
94 public int enqueue(JobInfo job, JobWorkItem work) { in enqueue()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DJobStatus.java34 import android.app.job.JobWorkItem;
470 public ArrayList<JobWorkItem> pendingWork;
473 public ArrayList<JobWorkItem> executingWork;
901 public void enqueueWorkLocked(JobWorkItem work) { in enqueueWorkLocked()
916 public JobWorkItem dequeueWorkLocked() { in dequeueWorkLocked()
918 JobWorkItem work = pendingWork.remove(0); in dequeueWorkLocked()
946 private static void ungrantWorkItem(JobWorkItem work) { in ungrantWorkItem()
960 JobWorkItem work = executingWork.get(i); in completeWorkLocked()
972 private static void ungrantWorkList(ArrayList<JobWorkItem> list) { in ungrantWorkList()
2633 private void dumpJobWorkItem(IndentingPrintWriter pw, JobWorkItem work, int index) { in dumpJobWorkItem()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobServiceContext.java36 import android.app.job.JobWorkItem;
280 public JobWorkItem dequeueWork(int jobId) { in dequeueWork()
295 public void updateEstimatedNetworkBytes(int jobId, JobWorkItem item, in updateEstimatedNetworkBytes()
301 public void updateTransferredNetworkBytes(int jobId, JobWorkItem item, in updateTransferredNetworkBytes()
787 JobWorkItem doDequeueWork(JobCallback cb, int jobId) { in doDequeueWork()
800 final JobWorkItem work = mRunningJob.dequeueWorkLocked(); in doDequeueWork()
839 @Nullable JobWorkItem item, long downloadBytes, long uploadBytes) { in doUpdateEstimatedNetworkBytes()
886 @Nullable JobWorkItem item, long downloadBytes, long uploadBytes) { in doUpdateTransferredNetworkBytes()
DJobStore.java28 import android.app.job.JobWorkItem;
1025 @Nullable List<JobWorkItem> jobWorkItems)
1033 final JobWorkItem item = jobWorkItems.get(i);
1469 List<JobWorkItem> jobWorkItems = null; in restoreJobFromXml()
1703 private List<JobWorkItem> readJobWorkItemsFromXml(TypedXmlPullParser parser) in readJobWorkItemsFromXml()
1705 List<JobWorkItem> jobWorkItems = new ArrayList<>(); in readJobWorkItemsFromXml()
1715 JobWorkItem jwi = readJobWorkItemFromXml(parser); in readJobWorkItemsFromXml()
1730 private JobWorkItem readJobWorkItemFromXml(TypedXmlPullParser parser) in readJobWorkItemFromXml()
1732 JobWorkItem.Builder jwiBuilder = new JobWorkItem.Builder(); in readJobWorkItemFromXml()
DJobSchedulerService.java46 import android.app.job.JobWorkItem;
1686 public int scheduleAsPackage(JobInfo job, JobWorkItem work, int callingUid, String packageName,
4802 @Nullable String sourcePkgName, @Nullable JobWorkItem jobWorkItem) {
4991 public int enqueue(String namespace, JobInfo job, JobWorkItem work) throws RemoteException {
/frameworks/base/core/proto/android/server/
Djobscheduler.proto1057 // Only the desired data from an android.app.job.JobWorkItem object.
1058 message JobWorkItem { message
1066 repeated JobWorkItem pending_work = 15;
1067 repeated JobWorkItem executing_work = 16;
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobSchedulerServiceTest.java58 import android.app.job.JobWorkItem;
2304 final JobWorkItem item = new JobWorkItem.Builder().build();
2327 final JobWorkItem item = new JobWorkItem.Builder().build();
/frameworks/base/services/
Dart-profile1632 …;->enqueue(Ljava/lang/String;Landroid/app/job/JobInfo;Landroid/app/job/JobWorkItem;)I+]Lcom/androi…
1637 …droid/app/job/JobWorkItem;)I+]Landroid/app/job/JobInfo;Landroid/app/job/JobInfo;]Landroid/app/job/
1680JobWorkItem;ILjava/lang/String;ILjava/lang/String;Ljava/lang/String;)I+]Landroid/app/ActivityManag…
1690 …om/android/server/job/JobServiceContext$JobCallback;I)Landroid/app/job/JobWorkItem;+]Landroid/app/…
1815 HPLcom/android/server/job/controllers/JobStatus;->dequeueWorkLocked()Landroid/app/job/JobWorkItem;+…
1816 HPLcom/android/server/job/controllers/JobStatus;->enqueueWorkLocked(Landroid/app/job/JobWorkItem;)V…
1863 …/job/JobInfo;Landroid/app/job/JobInfo;]Landroid/app/job/JobWorkItem;Landroid/app/job/JobWorkItem;]…
Dart-wear-profile12778 …bSchedulerStub;->enqueue(Ljava/lang/String;Landroid/app/job/JobInfo;Landroid/app/job/JobWorkItem;)I
12782 …lerStub;->validateJob(Landroid/app/job/JobInfo;IIILjava/lang/String;Landroid/app/job/JobWorkItem;)I
12880 …rService;->scheduleAsPackage(Landroid/app/job/JobInfo;Landroid/app/job/JobWorkItem;ILjava/lang/Str…
12892 PLcom/android/server/job/JobServiceContext$JobCallback;->dequeueWork(I)Landroid/app/job/JobWorkItem;
12906 …doDequeueWork(Lcom/android/server/job/JobServiceContext$JobCallback;I)Landroid/app/job/JobWorkItem;
13257 HPLcom/android/server/job/controllers/JobStatus;->dequeueWorkLocked()Landroid/app/job/JobWorkItem;
13258 HPLcom/android/server/job/controllers/JobStatus;->enqueueWorkLocked(Landroid/app/job/JobWorkItem;)V
13355 PLcom/android/server/job/controllers/JobStatus;->ungrantWorkItem(Landroid/app/job/JobWorkItem;)V
/frameworks/base/boot/
Dboot-image-profile.txt2020 HSPLandroid/app/JobSchedulerImpl;->enqueue(Landroid/app/job/JobInfo;Landroid/app/job/JobWorkItem;)I
3083 HSPLandroid/app/job/IJobCallback$Stub$Proxy;->dequeueWork(I)Landroid/app/job/JobWorkItem;
3089 …ler$Stub$Proxy;->enqueue(Ljava/lang/String;Landroid/app/job/JobInfo;Landroid/app/job/JobWorkItem;)I
3182 HSPLandroid/app/job/JobParameters;->completeWork(Landroid/app/job/JobWorkItem;)V
3183 HSPLandroid/app/job/JobParameters;->dequeueWork()Landroid/app/job/JobWorkItem;
3216 HSPLandroid/app/job/JobWorkItem$1;->createFromParcel(Landroid/os/Parcel;)Landroid/app/job/JobWorkIt…
3217 HSPLandroid/app/job/JobWorkItem$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
3218 HSPLandroid/app/job/JobWorkItem;-><init>(Landroid/content/Intent;)V
3219 HSPLandroid/app/job/JobWorkItem;-><init>(Landroid/content/Intent;JJJ)V
3220 HSPLandroid/app/job/JobWorkItem;-><init>(Landroid/os/Parcel;)V
[all …]
Dpreloaded-classes1137 android.app.job.JobWorkItem$1
1138 android.app.job.JobWorkItem
/frameworks/base/core/api/
Dcurrent.txt9068 method public void completeWork(@NonNull android.app.job.JobWorkItem);
9069 method @Nullable public android.app.job.JobWorkItem dequeueWork();
9110 …ublic abstract int enqueue(@NonNull android.app.job.JobInfo, @NonNull android.app.job.JobWorkItem);
9149 …orkBytes(@NonNull android.app.job.JobParameters, @NonNull android.app.job.JobWorkItem, long, long);
9151 …orkBytes(@NonNull android.app.job.JobParameters, @NonNull android.app.job.JobWorkItem, long, long);
9165 …rkBytes(@NonNull android.app.job.JobParameters, @Nullable android.app.job.JobWorkItem, long, long);
9166 …rkBytes(@NonNull android.app.job.JobParameters, @Nullable android.app.job.JobWorkItem, long, long);
9169 public final class JobWorkItem implements android.os.Parcelable {
9170 ctor public JobWorkItem(android.content.Intent);
9171 ctor public JobWorkItem(android.content.Intent, long, long);
[all …]
/frameworks/base/config/
Dboot-image-profile.txt2020 HSPLandroid/app/JobSchedulerImpl;->enqueue(Landroid/app/job/JobInfo;Landroid/app/job/JobWorkItem;)I
3083 HSPLandroid/app/job/IJobCallback$Stub$Proxy;->dequeueWork(I)Landroid/app/job/JobWorkItem;
3089 …ler$Stub$Proxy;->enqueue(Ljava/lang/String;Landroid/app/job/JobInfo;Landroid/app/job/JobWorkItem;)I
3182 HSPLandroid/app/job/JobParameters;->completeWork(Landroid/app/job/JobWorkItem;)V
3183 HSPLandroid/app/job/JobParameters;->dequeueWork()Landroid/app/job/JobWorkItem;
3216 HSPLandroid/app/job/JobWorkItem$1;->createFromParcel(Landroid/os/Parcel;)Landroid/app/job/JobWorkIt…
3217 HSPLandroid/app/job/JobWorkItem$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
3218 HSPLandroid/app/job/JobWorkItem;-><init>(Landroid/content/Intent;)V
3219 HSPLandroid/app/job/JobWorkItem;-><init>(Landroid/content/Intent;JJJ)V
3220 HSPLandroid/app/job/JobWorkItem;-><init>(Landroid/os/Parcel;)V
[all …]
Dpreloaded-classes1137 android.app.job.JobWorkItem$1
1138 android.app.job.JobWorkItem

12