/packages/modules/ExtServices/java/tests/src/android/ext/services/common/ |
D | AdServicesAppsearchDeleteJobTest.java | 180 JobParameters jobParameters = mock(JobParameters.class); in onCancelJob_shouldNotReschedule() local 181 doReturn(0).when(jobParameters).getJobId(); in onCancelJob_shouldNotReschedule() 188 mAdServicesAppsearchDeleteJob.cancelPeriodicJob(mContext, jobParameters); in onCancelJob_shouldNotReschedule() 282 JobParameters jobParameters = mock(JobParameters.class); in onStartJob_disabledJob() local 283 doReturn(AdServicesAppsearchDeleteJob.JOB_ID).when(jobParameters).getJobId(); in onStartJob_disabledJob() 286 mAdServicesAppsearchDeleteJob.onStartJob(jobParameters); in onStartJob_disabledJob() 311 JobParameters jobParameters = mock(JobParameters.class); in onStartJob_onDoNothing() local 312 doReturn(AdServicesAppsearchDeleteJob.JOB_ID).when(jobParameters).getJobId(); in onStartJob_onDoNothing() 315 mAdServicesAppsearchDeleteJob.onStartJob(jobParameters); in onStartJob_onDoNothing() 338 JobParameters jobParameters = mock(JobParameters.class); in onStartJob_enabledJob_firstTimeOta_appsearchDataNotFound() local [all …]
|
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/ |
D | DishService.java | 68 public boolean onStopJob(JobParameters jobParameters) { in onStopJob() argument 69 LOG.d("onStopJob " + jobParameters); in onStopJob() 70 Message msg = mHandler.obtainMessage(MSG_CANCEL_JOB, 0, 0, jobParameters); in onStopJob() 76 public boolean onStartJob(final JobParameters jobParameters) { in onStartJob() argument 77 LOG.d("onStartJob " + jobParameters); in onStartJob() 78 Message msg = mHandler.obtainMessage(MSG_RUN_JOB, 0, 0, jobParameters); in onStartJob() 89 DishWasherTask(Handler handler, JobParameters jobParameters, int dishNum) { in DishWasherTask() argument 91 mJobParameter = jobParameters; in DishWasherTask()
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/download/mdd/ |
D | MddJobServiceTest.java | 120 JobParameters jobParameters = mock(JobParameters.class); in onStartJobTest() local 123 doReturn(extras).when(jobParameters).getExtras(); in onStartJobTest() 125 boolean result = mSpyService.onStartJob(jobParameters); in onStartJobTest() 152 JobParameters jobParameters = mock(JobParameters.class); in onStartJobTestKillSwitchEnabled() local 153 doReturn(extras).when(jobParameters).getExtras(); in onStartJobTestKillSwitchEnabled() 154 boolean result = mSpyService.onStartJob(jobParameters); in onStartJobTestKillSwitchEnabled() 184 JobParameters jobParameters = mock(JobParameters.class); in onStartJobTestUserControlRevoked() local 185 doReturn(extras).when(jobParameters).getExtras(); in onStartJobTestUserControlRevoked() 186 boolean result = mSpyService.onStartJob(jobParameters); in onStartJobTestUserControlRevoked() 215 JobParameters jobParameters = mock(JobParameters.class); in onStartJobFailHandleTaskTest() local [all …]
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactsJobService.java | 29 public boolean onStartJob(JobParameters jobParameters) { in onStartJob() argument 30 switch (jobParameters.getJobId()) { in onStartJob() 32 DynamicShortcuts.updateFromJob(this, jobParameters); in onStartJob() 41 public boolean onStopJob(JobParameters jobParameters) { in onStopJob() argument
|
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/ |
D | TaskSchedulerJobService.java | 56 private JobParameters jobParameters; field in TaskSchedulerJobService 71 jobParameters = params; in onStartJob() 77 jobParameters.getTransientExtras().getParcelableArray(EXTRA_TASK_EXTRAS_ARRAY))); in onStartJob() 85 jobParameters = null; in onStopJob() 159 jobFinished(jobParameters, false); in finishAsync() 160 jobParameters = null; in finishAsync()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/backup/ |
D | MissingHashCodeGeneratorJobService.java | 69 public boolean onStartJob(JobParameters jobParameters) { in onStartJob() argument 97 jobFinished(jobParameters, false /* needsReschedule */); in onStartJob() 119 jobFinished(jobParameters, false /* needsReschedule */); in onStartJob() 151 jobFinished(jobParameters, false /* needsReschedule */); in onStartJob() 163 public boolean onStopJob(JobParameters jobParameters) { in onStopJob() argument
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | UploadJob.java | 29 public boolean onStartJob(final JobParameters jobParameters) { in onStartJob() argument 35 this, reschedule -> jobFinished(jobParameters, reschedule)); in onStartJob() 41 public boolean onStopJob(JobParameters jobParameters) { in onStopJob() argument
|
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/spe/framework/ |
D | ExecutionRuntimeParameters.java | 50 @Nullable JobParameters jobParameters) { in convertJobParameters() 52 if (jobParameters == null) { in convertJobParameters() 56 return builder.setExtras(jobParameters.getExtras()).build(); in convertJobParameters()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/privacysources/ |
D | NotificationListenerCheckInternalTest.kt | 121 val jobParameters = mock(JobParameters::class.java) in getEnabledNotificationListenersAndNotifyIfNeeded_shouldCancel_finishJob_reschedule() constant 126 jobParameters, in getEnabledNotificationListenersAndNotifyIfNeeded_shouldCancel_finishJob_reschedule() 132 verify(mockNotificationListenerCheckJobService).jobFinished(jobParameters, true) in getEnabledNotificationListenersAndNotifyIfNeeded_shouldCancel_finishJob_reschedule() 137 val jobParameters = mock(JobParameters::class.java) in getEnabledNotificationListenersAndNotifyIfNeeded_finishJob() constant 142 jobParameters, in getEnabledNotificationListenersAndNotifyIfNeeded_finishJob() 148 verify(mockNotificationListenerCheckJobService).jobFinished(jobParameters, false) in getEnabledNotificationListenersAndNotifyIfNeeded_finishJob() 153 val jobParameters = mock(JobParameters::class.java) in getEnabledNotificationListenersAndNotifyIfNeeded_sendsDataToSafetyCenter() constant 158 jobParameters, in getEnabledNotificationListenersAndNotifyIfNeeded_sendsDataToSafetyCenter()
|
D | AccessibilitySourceServiceTest.kt | 91 val jobParameters = mock(JobParameters::class.java) in processAccessibilityJobWithCancellation() constant 95 accessibilitySourceService.processAccessibilityJob(jobParameters, jobService) { in processAccessibilityJobWithCancellation() 100 verify(jobService).jobFinished(jobParameters, true) in processAccessibilityJobWithCancellation()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/ |
D | TranscriptionService.java | 54 private JobParameters jobParameters; field in TranscriptionService 158 jobParameters = params; in onStartJob() 204 JobWorkItem workItem = jobParameters.dequeueWork(); in checkForWork() 248 jobParameters.completeWork(completedWorkItem); in onWorkCompleted()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetylabel/ |
D | SafetyLabelChangesJobServiceTest.kt | 148 val jobParameters = mock(JobParameters::class.java) in mockJobParamsForJobId() constant 149 whenever(jobParameters.jobId).thenReturn(jobId) in mockJobParamsForJobId() 150 return jobParameters in mockJobParamsForJobId()
|
/packages/modules/AdServices/adservices/linter/tests/java/android/adservices/lint/test/ |
D | BackCompatJobServiceDetectorTest.kt | 227 private val jobParameters: TestFile = constant in android.adservices.lint.test.BackCompatJobServiceDetectorTest 290 jobParameters,
|
/packages/modules/ExtServices/java/src/android/ext/services/common/ |
D | AdServicesAppsearchDeleteJob.java | 383 public void setReschedule(JobParameters jobParameters, boolean reschedule) { in setReschedule() argument 384 jobFinished(jobParameters, reschedule); in setReschedule()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/eco/ |
D | EnergyModesStatsLogJobService.java | 82 public boolean onStopJob(JobParameters jobParameters) { in onStopJob() argument
|