Searched refs:ENCRYPTION_KEY_JOB_ID (Results 1 – 2 of 2) sorted by relevance
72 private static final int ENCRYPTION_KEY_JOB_ID = ENCRYPTION_KEY_PERIODIC_JOB.getJobId(); field in EncryptionKeyJobServiceTest106 verify(mMockJobScheduler).cancel(ENCRYPTION_KEY_JOB_ID); in testOnStartJob_killSwitchOn()123 verify(mMockJobScheduler, never()).cancel(ENCRYPTION_KEY_JOB_ID); in testOnStartJob_killSwitchOff()143 verify(mMockJobScheduler).cancel(ENCRYPTION_KEY_JOB_ID); in testOnStartJob_shouldDisableJobTrue()153 doReturn(mMockJobInfo).when(mMockJobScheduler).getPendingJob(ENCRYPTION_KEY_JOB_ID); in testScheduleIfNeeded_killSwitchOn_dontSchedule()163 verify(mMockJobScheduler, never()).getPendingJob(ENCRYPTION_KEY_JOB_ID); in testScheduleIfNeeded_killSwitchOn_dontSchedule()179 ENCRYPTION_KEY_JOB_ID, in testScheduleIfNeeded_killSwitchOff_sameJobInfoDontForceSchedule_dontSchedule()184 doReturn(jobInfo).when(mMockJobScheduler).getPendingJob(ENCRYPTION_KEY_JOB_ID); in testScheduleIfNeeded_killSwitchOff_sameJobInfoDontForceSchedule_dontSchedule()194 verify(mMockJobScheduler).getPendingJob(ENCRYPTION_KEY_JOB_ID); in testScheduleIfNeeded_killSwitchOff_sameJobInfoDontForceSchedule_dontSchedule()205 ENCRYPTION_KEY_JOB_ID, in testScheduleIfNeeded_killSwitchOff_diffJobInfoDontForceSchedule_schedule()[all …]
48 private static final int ENCRYPTION_KEY_JOB_ID = ENCRYPTION_KEY_PERIODIC_JOB.getJobId(); field in EncryptionKeyJobService64 AdServicesJobServiceLogger.getInstance().recordOnStartJob(ENCRYPTION_KEY_JOB_ID); in onStartJob()80 ENCRYPTION_KEY_JOB_ID, in onStartJob()97 .recordOnStopJob(params, ENCRYPTION_KEY_JOB_ID, shouldRetry); in onStopJob()120 final JobInfo scheduledJob = jobScheduler.getPendingJob(ENCRYPTION_KEY_JOB_ID); in scheduleIfNeeded()159 ENCRYPTION_KEY_JOB_ID, in buildJobInfo()169 jobScheduler.cancel(ENCRYPTION_KEY_JOB_ID); in skipAndCancelBackgroundJob()