Home
last modified time | relevance | path

Searched refs:kJobServiceComponent (Results 1 – 13 of 13) sorted by relevance

/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DJobInfoTest.java47 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 …]
DTimingConstraintsTest.java35 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()
DJobParametersTest.java40 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 …]
DJobSchedulingTest.java48 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)
DComponentConstraintTest.java35 mBuilder = new JobInfo.Builder(COMPONENT_JOB_ID, kJobServiceComponent); in setUp()
85 kJobServiceComponent, state, PackageManager.DONT_KILL_APP); in setJobServiceEnabled()
DBaseJobSchedulerTest.java55 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()
DIdleConstraintTest.java49 mBuilder = new JobInfo.Builder(STATE_JOB_ID, kJobServiceComponent); in setUp()
326 + " " + kJobServiceComponent.getPackageName() in runSatisfiedJob()
DJobWorkItemTest.java54 JobInfo jobInfo = new JobInfo.Builder(JOB_ID, kJobServiceComponent) in testDeliveryCountBumped()
DConnectivityConstraintTest.java120 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()
DBatteryConstraintTest.java62 mBuilder = new JobInfo.Builder(BATTERY_JOB_ID, kJobServiceComponent); in setUp()
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/
DConstraintTest.java54 static ComponentName kJobServiceComponent; field in ConstraintTest
79 kJobServiceComponent = new ComponentName(getContext(), MockJobService.class); in injectInstrumentation()
188 + kJobServiceComponent.getPackageName() + " " + jobId).trim(); in getJobState()
DEnqueueJobWorkTest.java49 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()
DClipDataJobTest.java45 mBuilder = new JobInfo.Builder(CLIP_DATA_JOB_ID, kJobServiceComponent); in setUp()