/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | JobInfoTest.java | 47 JobInfo ji = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testBackoffCriteria() 55 ji = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testBackoffCriteria() 65 JobInfo ji = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testBatteryNotLow() 72 ji = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testBatteryNotLow() 81 JobInfo ji = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testCharging() 88 ji = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testCharging() 98 JobInfo ji = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testClipData() 106 ji = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testClipData() 116 JobInfo ji = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testDeviceIdle() 123 ji = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testDeviceIdle() [all …]
|
D | TimingConstraintsTest.java | 35 JobInfo oneTimeJob = new JobInfo.Builder(TIMING_JOB_ID, kJobServiceComponent) in testScheduleOnce() 46 JobInfo periodicJob = new JobInfo.Builder(TIMING_JOB_ID, kJobServiceComponent) in testSchedulePeriodic() 63 JobInfo periodicJob = new JobInfo.Builder(TIMING_JOB_ID, kJobServiceComponent) in testSchedulePeriodic_lowFlex() 77 JobInfo cancelJob = new JobInfo.Builder(CANCEL_JOB_ID, kJobServiceComponent) in testCancel() 92 JobInfo job = new JobInfo.Builder(ZERO_DELAY_JOB_ID, kJobServiceComponent) in testExplicitZeroLatency() 113 new JobInfo.Builder(EXPIRED_JOB_ID, kJobServiceComponent) in testJobParameters_expiredDeadline() 131 new JobInfo.Builder(UNEXPIRED_JOB_ID, kJobServiceComponent) in testJobParameters_unexpiredDeadline()
|
D | JobParametersTest.java | 40 JobInfo ji = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testClipData() 58 JobInfo ji = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testExtras() 75 JobInfo ji = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testExpedited() 87 ji = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testExpedited() 101 JobInfo ji = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testJobId() 116 verifyStopReason(new JobInfo.Builder(JOB_ID, kJobServiceComponent).build(), in testStopReason() 121 + " " + kJobServiceComponent.getPackageName() in testStopReason() 128 verifyStopReason(new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testStopReason() 135 verifyStopReason(new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testStopReason() 142 verifyStopReason(new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testStopReason() [all …]
|
D | JobSchedulingTest.java | 48 JobInfo jobInfo = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testMinSuccessfulSchedulingQuota() 71 JobInfo jobInfo = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testFailingScheduleOnQuotaExceeded() 97 JobInfo jobInfo = new JobInfo.Builder(JOB_ID, kJobServiceComponent) 121 JobInfo jobInfo = new JobInfo.Builder(JOB_ID, kJobServiceComponent)
|
D | ComponentConstraintTest.java | 35 mBuilder = new JobInfo.Builder(COMPONENT_JOB_ID, kJobServiceComponent); in setUp() 85 kJobServiceComponent, state, PackageManager.DONT_KILL_APP); in setJobServiceEnabled()
|
D | BaseJobSchedulerTest.java | 55 static ComponentName kJobServiceComponent; field in BaseJobSchedulerTest 81 kJobServiceComponent = new ComponentName(getContext(), MockJobService.class); in injectInstrumentation() 129 + kJobServiceComponent.getPackageName()); in tearDown() 193 + kJobServiceComponent.getPackageName() + " " + jobId).trim(); in getJobState() 225 + " " + kJobServiceComponent.getPackageName() in runSatisfiedJob()
|
D | IdleConstraintTest.java | 49 mBuilder = new JobInfo.Builder(STATE_JOB_ID, kJobServiceComponent); in setUp() 326 + " " + kJobServiceComponent.getPackageName() in runSatisfiedJob()
|
D | JobWorkItemTest.java | 54 JobInfo jobInfo = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testDeliveryCountBumped()
|
D | ConnectivityConstraintTest.java | 120 mBuilder = new JobInfo.Builder(CONNECTIVITY_JOB_ID, kJobServiceComponent); in setUp() 432 + kJobServiceComponent.getPackageName() + " restricted"); in testExpeditedJobExecutes_IdleApp() 535 + kJobServiceComponent.getPackageName() + " restricted"); in testExpeditedJobBypassesSimultaneousFirewalls_noDataSaver() 830 + kJobServiceComponent.getPackageName() + " restricted"); in testExpeditedJobDoesNotBypassSimultaneousFirewalls_withDataSaver()
|
D | BatteryConstraintTest.java | 62 mBuilder = new JobInfo.Builder(BATTERY_JOB_ID, kJobServiceComponent); in setUp()
|
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/ |
D | ConstraintTest.java | 54 static ComponentName kJobServiceComponent; field in ConstraintTest 79 kJobServiceComponent = new ComponentName(getContext(), MockJobService.class); in injectInstrumentation() 188 + kJobServiceComponent.getPackageName() + " " + jobId).trim(); in getJobState()
|
D | EnqueueJobWorkTest.java | 49 mBuilder = new JobInfo.Builder(ENQUEUE_WORK_JOB_ID, kJobServiceComponent); in setUp() 204 JobInfo ji = new JobInfo.Builder(ENQUEUE_WORK_JOB_ID, kJobServiceComponent) in testEnqueuedWorkNewConstraints() 210 ji = new JobInfo.Builder(ENQUEUE_WORK_JOB_ID, kJobServiceComponent) in testEnqueuedWorkNewConstraints() 332 + kJobServiceComponent.getPackageName() + " " + ENQUEUE_WORK_JOB_ID); in testEnqueueMultipleRedeliver() 348 + kJobServiceComponent.getPackageName() + " " + ENQUEUE_WORK_JOB_ID); in testEnqueueMultipleRedeliver() 387 + kJobServiceComponent.getPackageName() + " " + ENQUEUE_WORK_JOB_ID); in testEnqueueMultipleParallelRedeliver() 404 + kJobServiceComponent.getPackageName() + " " + ENQUEUE_WORK_JOB_ID); in testEnqueueMultipleParallelRedeliver()
|
D | ClipDataJobTest.java | 45 mBuilder = new JobInfo.Builder(CLIP_DATA_JOB_ID, kJobServiceComponent); in setUp()
|