/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | UserInitiatedJobTest.java | 39 import android.jobscheduler.cts.jobtestapp.TestJobSchedulerReceiver; 141 TestJobSchedulerReceiver.EXTRA_AS_USER_INITIATED, true, in testJobUidState() 142 TestJobSchedulerReceiver.EXTRA_SET_NOTIFICATION, true, in testJobUidState() 143 TestJobSchedulerReceiver.EXTRA_REQUEST_JOB_UID_STATE, true in testJobUidState() 145 Map.of(TestJobSchedulerReceiver.EXTRA_REQUIRED_NETWORK_TYPE, NETWORK_TYPE_ANY)); in testJobUidState() 170 TestJobSchedulerReceiver.EXTRA_AS_USER_INITIATED, true, in testTopUiUnlimited() 171 TestJobSchedulerReceiver.EXTRA_SET_NOTIFICATION, true in testTopUiUnlimited() 174 TestJobSchedulerReceiver.EXTRA_JOB_ID_KEY, i, in testTopUiUnlimited() 175 TestJobSchedulerReceiver.EXTRA_REQUIRED_NETWORK_TYPE, NETWORK_TYPE_ANY in testTopUiUnlimited() 204 TestJobSchedulerReceiver.EXTRA_AS_USER_INITIATED, true, in testRestrictedBalToTop() [all …]
|
D | ExpeditedJobTest.java | 29 import android.jobscheduler.cts.jobtestapp.TestJobSchedulerReceiver; 84 TestJobSchedulerReceiver.EXTRA_AS_EXPEDITED, true, in testJobUidState_noRequiredNetwork() 85 TestJobSchedulerReceiver.EXTRA_REQUEST_JOB_UID_STATE, true in testJobUidState_noRequiredNetwork() 103 TestJobSchedulerReceiver.EXTRA_AS_EXPEDITED, true, in testJobUidState_withRequiredNetwork() 104 TestJobSchedulerReceiver.EXTRA_REQUEST_JOB_UID_STATE, true in testJobUidState_withRequiredNetwork() 107 TestJobSchedulerReceiver.EXTRA_REQUIRED_NETWORK_TYPE, in testJobUidState_withRequiredNetwork() 129 Map.of(TestJobSchedulerReceiver.EXTRA_AS_EXPEDITED, true), in testTopEJUnlimited() 130 Map.of(TestJobSchedulerReceiver.EXTRA_JOB_ID_KEY, i)); in testTopEJUnlimited()
|
D | NotificationTest.java | 34 import android.jobscheduler.cts.jobtestapp.TestJobSchedulerReceiver; 164 TestJobSchedulerReceiver.EXTRA_AS_USER_INITIATED, true, in testNotificationRemovedOnForceStop() 165 TestJobSchedulerReceiver.EXTRA_SET_NOTIFICATION, true in testNotificationRemovedOnForceStop() 168 TestJobSchedulerReceiver.EXTRA_SET_NOTIFICATION_JOB_END_POLICY, in testNotificationRemovedOnForceStop() 170 TestJobSchedulerReceiver.EXTRA_REQUIRED_NETWORK_TYPE, NETWORK_TYPE_ANY in testNotificationRemovedOnForceStop() 203 Map.of(TestJobSchedulerReceiver.EXTRA_SET_NOTIFICATION, true), in testNotificationRemovedOnPackageRestriction() 205 TestJobSchedulerReceiver.EXTRA_SET_NOTIFICATION_JOB_END_POLICY, in testNotificationRemovedOnPackageRestriction() 243 TestJobSchedulerReceiver.EXTRA_AS_USER_INITIATED, true, in testNotificationRemovedOnTaskManagerStop() 244 TestJobSchedulerReceiver.EXTRA_SET_NOTIFICATION, true in testNotificationRemovedOnTaskManagerStop() 247 TestJobSchedulerReceiver.EXTRA_SET_NOTIFICATION_JOB_END_POLICY, in testNotificationRemovedOnTaskManagerStop() [all …]
|
D | TestAppInterface.java | 23 import static android.jobscheduler.cts.jobtestapp.TestJobSchedulerReceiver.ACTION_JOB_SCHEDULE_RESU… 24 import static android.jobscheduler.cts.jobtestapp.TestJobSchedulerReceiver.EXTRA_REQUEST_JOB_UID_ST… 52 import android.jobscheduler.cts.jobtestapp.TestJobSchedulerReceiver; 130 final Intent cancelJobsIntent = new Intent(TestJobSchedulerReceiver.ACTION_CANCEL_JOBS); in cleanup() 168 TestJobSchedulerReceiver.EXTRA_ALLOW_IN_IDLE, allowWhileIdle, in scheduleJob() 169 TestJobSchedulerReceiver.EXTRA_AS_EXPEDITED, asExpeditedJob, in scheduleJob() 170 TestJobSchedulerReceiver.EXTRA_AS_USER_INITIATED, asUserInitiatedJob in scheduleJob() 173 TestJobSchedulerReceiver.EXTRA_REQUIRED_NETWORK_TYPE, requiredNetworkType in scheduleJob() 179 final Intent scheduleJobIntent = new Intent(TestJobSchedulerReceiver.ACTION_SCHEDULE_JOB); in generateScheduleJobIntent() 181 if (!intExtras.containsKey(TestJobSchedulerReceiver.EXTRA_JOB_ID_KEY)) { in generateScheduleJobIntent() [all …]
|
D | ConnectivityConstraintTest.java | 34 import android.jobscheduler.cts.jobtestapp.TestJobSchedulerReceiver; 589 Map.of(TestJobSchedulerReceiver.EXTRA_AS_USER_INITIATED, true), in testUserInitiatedJobExecutes_DozeOn() 591 TestJobSchedulerReceiver.EXTRA_REQUIRED_NETWORK_TYPE, in testUserInitiatedJobExecutes_DozeOn() 672 TestJobSchedulerReceiver.EXTRA_REQUIRED_NETWORK_TYPE, in testJobParametersNetwork() 675 Map.of(TestJobSchedulerReceiver.EXTRA_DEADLINE, 0L) in testJobParametersNetwork() 702 Map.of(TestJobSchedulerReceiver.EXTRA_REQUEST_JOB_UID_STATE, true), in testJobUidState() 704 TestJobSchedulerReceiver.EXTRA_REQUIRED_NETWORK_TYPE, in testJobUidState() 953 Map.of(TestJobSchedulerReceiver.EXTRA_AS_USER_INITIATED, true), in testBgUiJobBypassesDataSaver() 955 TestJobSchedulerReceiver.EXTRA_REQUIRED_NETWORK_TYPE, in testBgUiJobBypassesDataSaver() 1000 TestJobSchedulerReceiver.EXTRA_JOB_ID_KEY, regJobId, in testBgNonUiJobDoesNotBypassDataSaverWhenUiJobRunning() [all …]
|
D | JobThrottlingTest.java | 36 import android.jobscheduler.cts.jobtestapp.TestJobSchedulerReceiver; 216 Thread.sleep(TestJobSchedulerReceiver.JOB_INITIAL_BACKOFF); in testForegroundJobsStartImmediately() 238 Thread.sleep(TestJobSchedulerReceiver.JOB_INITIAL_BACKOFF); in testBackgroundJobsDelayed() 415 Thread.sleep(Math.max(0, TestJobSchedulerReceiver.JOB_INITIAL_BACKOFF in testBackgroundRegJobsThermal() 449 Thread.sleep(Math.max(0, TestJobSchedulerReceiver.JOB_INITIAL_BACKOFF in testBackgroundEJsThermal() 464 Map.of(TestJobSchedulerReceiver.EXTRA_AS_USER_INITIATED, true), in testBackgroundUIJsThermal() 465 Map.of(TestJobSchedulerReceiver.EXTRA_REQUIRED_NETWORK_TYPE, NETWORK_TYPE_ANY)); in testBackgroundUIJsThermal() 490 Thread.sleep(Math.max(0, TestJobSchedulerReceiver.JOB_INITIAL_BACKOFF in testBackgroundUIJsThermal() 848 Thread.sleep(TestJobSchedulerReceiver.JOB_INITIAL_BACKOFF); in testExpeditedJobDeferredAfterTimeoutInDoze() 881 Thread.sleep(TestJobSchedulerReceiver.JOB_INITIAL_BACKOFF); in testExpeditedJobDeferredAfterTimeoutInBatterySaver() [all …]
|
D | TimingConstraintsTest.java | 26 import android.jobscheduler.cts.jobtestapp.TestJobSchedulerReceiver; 123 Map.of(TestJobSchedulerReceiver.EXTRA_REQUIRES_STORAGE_NOT_LOW, true), in testJobParameters_expiredDeadline() 125 Map.of(TestJobSchedulerReceiver.EXTRA_DEADLINE, deadlineMs) in testJobParameters_expiredDeadline()
|
D | JobSchedulingTest.java | 39 import android.jobscheduler.cts.jobtestapp.TestJobSchedulerReceiver; 91 TestJobSchedulerReceiver.EXTRA_AS_EXPEDITED, true, in testAnr_onStartJob() 92 TestJobSchedulerReceiver.EXTRA_SLOW_START, true in testAnr_onStartJob() 119 TestJobSchedulerReceiver.EXTRA_AS_EXPEDITED, true, in testAnr_onStopJob() 120 TestJobSchedulerReceiver.EXTRA_SLOW_STOP, true in testAnr_onStopJob()
|
/cts/tests/JobScheduler/JobTestApp/src/android/jobscheduler/cts/jobtestapp/ |
D | TestJobService.java | 19 import static android.jobscheduler.cts.jobtestapp.TestJobSchedulerReceiver.EXTRA_REQUEST_JOB_UID_ST… 20 import static android.jobscheduler.cts.jobtestapp.TestJobSchedulerReceiver.EXTRA_SET_NOTIFICATION; 21 import static android.jobscheduler.cts.jobtestapp.TestJobSchedulerReceiver.EXTRA_SET_NOTIFICATION_J… 22 import static android.jobscheduler.cts.jobtestapp.TestJobSchedulerReceiver.EXTRA_SLOW_START; 23 import static android.jobscheduler.cts.jobtestapp.TestJobSchedulerReceiver.EXTRA_SLOW_STOP; 24 import static android.jobscheduler.cts.jobtestapp.TestJobSchedulerReceiver.PACKAGE_NAME;
|
D | TestJobSchedulerReceiver.java | 39 public class TestJobSchedulerReceiver extends BroadcastReceiver { class 40 private static final String TAG = TestJobSchedulerReceiver.class.getSimpleName(); 149 TestJobSchedulerReceiver.class.getSimpleName(), in onReceive()
|
D | TestActivity.java | 19 import static android.jobscheduler.cts.jobtestapp.TestJobSchedulerReceiver.PACKAGE_NAME;
|
D | TestFgsService.java | 19 import static android.jobscheduler.cts.jobtestapp.TestJobSchedulerReceiver.PACKAGE_NAME;
|
/cts/tests/JobSchedulerSharedUid/JobSharedUidTestApp/src/android/jobscheduler/cts/jobtestapp/ |
D | TestJobSchedulerReceiver.java | 31 public class TestJobSchedulerReceiver extends BroadcastReceiver { class 32 private static final String TAG = TestJobSchedulerReceiver.class.getSimpleName();
|