Searched refs:existingJob (Results 1 – 4 of 4) sorted by relevance
51 @Mock lateinit var existingJob: JobInfo variable in com.android.permissioncontroller.tests.mocking.permission.service.PermissionEventCleanupJobServiceTest99 Mockito.`when`(existingJob.intervalMillis) in init_existingJob_doesNotScheduleNewJob()102 .thenReturn(existingJob) in init_existingJob_doesNotScheduleNewJob()110 Mockito.`when`(existingJob.intervalMillis) in init_existingJob_differentFrequency_schedulesNewJob()113 .thenReturn(existingJob) in init_existingJob_differentFrequency_schedulesNewJob()
71 @Mock lateinit var existingJob: JobInfo variable in com.android.permissioncontroller.tests.mocking.permission.service.BasePermissionEventStorageTest
67 val existingJob: JobInfo? = in isNewJobScheduleRequired() constant70 existingJob == null -> { in isNewJobScheduleRequired()74 existingJob.intervalMillis != getClearOldEventsCheckFrequencyMs() -> { in isNewJobScheduleRequired()
352 val existingJob: JobInfo? = in isNewJobScheduleRequired() constant356 if (existingJob == null) { in isNewJobScheduleRequired()361 } else if (existingJob.intervalMillis != getCheckFrequencyMs()) { in isNewJobScheduleRequired()