/frameworks/base/services/tests/selinux/src/com/android/server/selinux/ |
D | SelinuxAuditLogsJobTest.java | 44 private final JobService mJobService = mock(JobService.class); field in SelinuxAuditLogsJobTest 59 mAuditLogsJob.start(mJobService, mParams); in testFinishSuccessfully() 61 verify(mJobService).jobFinished(mParams, /* wantsReschedule= */ false); in testFinishSuccessfully() 69 mAuditLogsJob.start(mJobService, mParams); in testInterrupt() 71 verify(mJobService, never()).jobFinished(any(), anyBoolean()); in testInterrupt() 78 mAuditLogsJob.start(mJobService, mParams); in testInterruptAndResume() 79 verify(mJobService, never()).jobFinished(any(), anyBoolean()); in testInterruptAndResume() 82 mAuditLogsJob.start(mJobService, mParams); in testInterruptAndResume() 83 verify(mJobService).jobFinished(mParams, /* wantsReschedule= */ false); in testInterruptAndResume() 106 mAuditLogsJob.start(mJobService, mParams); in testRequestStop()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationHistoryJobServiceTest.java | 58 private NotificationHistoryJobService mJobService; field in NotificationHistoryJobServiceTest 77 mJobService = spy(new NotificationHistoryJobService()); in setUp() 78 mJobService.attachBaseContext(mContext); in setUp() 79 mJobService.onCreate(); in setUp() 80 mJobService.onBind(/* intent= */ null); // Create JobServiceEngine within JobService. in setUp() 81 doNothing().when(mJobService).jobFinished(any(), eq(false)); in setUp() 109 assertTrue(mJobService.onStartJob(mJobParams)); in testOnStartJob()
|
D | NotificationBitmapJobServiceTest.java | 56 private NotificationBitmapJobService mJobService; field in NotificationBitmapJobServiceTest 76 mJobService = new NotificationBitmapJobService(); in setUp() 77 mJobService.attachBaseContext(mContext); in setUp() 78 mJobService.onCreate(); in setUp() 79 mJobService.onBind(/* intent= */ null); // Create JobServiceEngine within JobService. in setUp() 94 mJobService.scheduleJob(mContext); in testScheduleJob_withCorrectJobInfo() 107 assertThat(mJobService.onStartJob(mJobParams)).isTrue(); in testOnStartJob_returnTrue() 123 final long msUntilRemoval = mJobService.getTimeUntilRemoval( in testGetTimeUntilRemoval_beforeToday2am_returnTimeUntilToday2am() 142 final long msUntilRemoval = mJobService.getTimeUntilRemoval(/* now= */ today3AM, in testGetTimeUntilRemoval_afterToday2am_returnTimeUntilTomorrow2am()
|
D | ReviewNotificationPermissionsJobServiceTest.java | 46 private ReviewNotificationPermissionsJobService mJobService; field in ReviewNotificationPermissionsJobServiceTest 65 mJobService = new ReviewNotificationPermissionsJobService(); in setUp() 94 assertFalse(mJobService.onStartJob(mJobParams)); in testOnStartJob()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | DiskStatsLoggingService.java | 127 private JobService mJobService; field in DiskStatsLoggingService.LogRunnable 156 mJobService = jobService; in setJobService() 198 if (mJobService != null) { in finishJob() 199 mJobService.jobFinished(mParams, needsReschedule); in finishJob()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/ |
D | DiskStatsLoggingServiceTest.java | 72 @Mock private JobService mJobService; field in DiskStatsLoggingServiceTest 90 when(mJobService.getSystemService(anyString())).thenReturn(mSsm); in setUp() 100 task.setContext(mJobService); in testEmptyLog() 142 task.setContext(mJobService); in testPopulatedLogTask() 171 task.setContext(mJobService); in testDontCrashOnPackageStatsTimeout()
|
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/ |
D | JobInfo.java | 1051 service = b.mJobService; in JobInfo() 1242 private final ComponentName mJobService; field in JobInfo.Builder 1290 mJobService = jobService; in Builder() 1300 mJobService = job.getService(); in Builder() 2243 final String service = (mJobService != null) in summarize() 2244 ? mJobService.flattenToShortString() in summarize()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 7122 Landroid/app/job/JobInfo$Builder;->mJobService:Landroid/content/ComponentName;
|