Searched refs:getJobWorker (Results 1 – 2 of 2) sorted by relevance
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/spe/framework/ |
D | AbstractJobService.java | 114 JobWorker worker = getJobWorker(params, jobId, jobName); in onStartJob() 146 JobWorker worker = getJobWorker(params, jobId, jobName); in onStopJob() 219 protected JobWorker getJobWorker(JobParameters params, int jobId, String jobName) { in getJobWorker() method in AbstractJobService
|
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/spe/framework/ |
D | AbstractJobServiceTest.java | 138 doReturn(null).when(mSpyJobService).getJobWorker(any(), anyInt(), anyString()); in testOnStartJob_nullJob() 251 .that(mSpyJobService.getJobWorker(mMockParameters, JOB_ID_1, JOB_NAME_1)) in testGetJobWorker() 261 .that(mSpyJobService.getJobWorker(mMockParameters, nonExistedId, JOB_NAME_1)) in testGetJobWorker_jobIsNull() 274 .that(mSpyJobService.getJobWorker(mMockParameters, JOB_ID_1, JOB_NAME_1)) in testGetJobWorker_disabled()
|