/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | BiasSchedulingTest.java | 42 private JobScheduler mJobScheduler; field in BiasSchedulingTest 54 mJobScheduler = (JobScheduler) getContext().getSystemService(Context.JOB_SCHEDULER_SERVICE); in setUp() 55 mJobScheduler.cancelAll(); in setUp() 61 mJobScheduler.cancelAll(); in tearDown() 73 mJobScheduler.schedule(job); in testLowerBiasJobPreempted() 81 mJobScheduler.schedule(jobHigher); in testLowerBiasJobPreempted() 105 mJobScheduler.schedule(job); in testHigherBiasJobNotPreempted() 113 mJobScheduler.schedule(jobLower); in testHigherBiasJobNotPreempted()
|
/frameworks/base/services/core/java/com/android/server/selinux/ |
D | SelinuxAuditLogsService.java | 133 private final JobScheduler mJobScheduler; field in SelinuxAuditLogsService.LogsCollectorJobScheduler 136 mJobScheduler = jobScheduler; in LogsCollectorJobScheduler() 156 mJobScheduler.cancel(SELINUX_AUDIT_JOB_ID); in onPropertiesChanged() 171 if (mJobScheduler.schedule( in schedule()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | FgsManagerControllerTest.java | 89 JobScheduler mJobScheduler; field in FgsManagerControllerTest 128 mJobSchedulerInOrder = Mockito.inOrder(mJobScheduler); in setUp() 329 mJobScheduler, in testShowUserVisibleJobsOnCreation() 342 mJobSchedulerInOrder.verify(mJobScheduler) in testShowUserVisibleJobsOnCreation() 356 mJobScheduler, in testShowUserVisibleJobsOnCreation() 367 mJobSchedulerInOrder.verify(mJobScheduler, never()).registerUserVisibleJobObserver(any()); in testShowUserVisibleJobsOnCreation() 427 mJobSchedulerInOrder.verify(mJobScheduler).registerUserVisibleJobObserver( in setShowUserVisibleJobs() 432 mJobSchedulerInOrder.verify(mJobScheduler).unregisterUserVisibleJobObserver( in setShowUserVisibleJobs() 463 mJobScheduler, in createFgsManagerController() 497 mJobSchedulerInOrder.verify(mJobScheduler).registerUserVisibleJobObserver( in createFgsManagerController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
D | PeopleBackupFollowUpJob.java | 70 private JobScheduler mJobScheduler; field in PeopleBackupFollowUpJob 92 mJobScheduler = mContext.getSystemService(JobScheduler.class); in onCreate() 103 mJobScheduler = jobScheduler; in setManagers() 191 mJobScheduler.cancel(JOB_ID); in cancelJobAndClearRemainingWidgets()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/ |
D | UserBackupManagerServiceTest.java | 99 @Mock JobScheduler mJobScheduler; field in UserBackupManagerServiceTest 119 mContext.addMockSystemService(JobScheduler.class, mJobScheduler); in setUp() 145 verify(mJobScheduler).schedule( in testSetFrameworkSchedulingEnabled_enablesAndSchedulesBackups() 148 verify(mJobScheduler).schedule( in testSetFrameworkSchedulingEnabled_enablesAndSchedulesBackups() 165 verify(mJobScheduler).cancel(FullBackupJob.getJobIdForUserId(USER_ID)); in testSetFrameworkSchedulingEnabled_disablesAndCancelBackups() 166 verify(mJobScheduler).cancel(KeyValueBackupJob.getJobIdForUserId(USER_ID)); in testSetFrameworkSchedulingEnabled_disablesAndCancelBackups()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/ |
D | PeopleBackupFollowUpJobTest.java | 83 private JobScheduler mJobScheduler; field in PeopleBackupFollowUpJobTest 107 mContext, mPackageManager, mIPeopleManager, mJobScheduler); in setUp() 193 verify(mJobScheduler, times(1)).cancel(anyInt()); in testCancelJobAndClearRemainingWidgets()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 246 private JobScheduler mJobScheduler; field in SyncManager 282 final List<JobInfo> pendingJobs = mJobScheduler.getAllPendingJobs(); in getUnusedJobIdH() 294 List<JobInfo> pendingJobs = mJobScheduler.getAllPendingJobs(); in getAllPendingSyncs() 537 mJobScheduler.scheduleAsPackage(job, in migrateSyncJobNamespaceIfNeeded() 549 .getSystemScheduledOwnJobs(mJobScheduler.getNamespace()); in migrateSyncJobNamespaceIfNeeded() 568 mJobScheduler.scheduleAsPackage(job, in migrateSyncJobNamespaceIfNeeded() 577 if (mJobScheduler != null) { in verifyJobScheduler() 587 mJobScheduler = mContext.getSystemService(JobScheduler.class) in verifyJobScheduler() 591 List<JobInfo> pendingJobs = mJobScheduler.getAllPendingJobs(); in verifyJobScheduler() 646 return mJobScheduler; in getJobScheduler()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | DataManagerTest.java | 161 private JobScheduler mJobScheduler; field in DataManagerTest 237 when(mContext.getSystemService(Context.JOB_SCHEDULER_SERVICE)).thenReturn(mJobScheduler); in setUp()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 505 @Mock JobScheduler mJobScheduler; field in NotificationManagerServiceTest
|