Home
last modified time | relevance | path

Searched refs:existingJob (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/service/
DPermissionEventCleanupJobServiceTest.kt51 @Mock lateinit var existingJob: JobInfo variable in com.android.permissioncontroller.tests.mocking.permission.service.PermissionEventCleanupJobServiceTest
99 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()
DBasePermissionEventStorageTest.kt71 @Mock lateinit var existingJob: JobInfo variable in com.android.permissioncontroller.tests.mocking.permission.service.BasePermissionEventStorageTest
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DPermissionEventCleanupJobService.kt67 val existingJob: JobInfo? = in isNewJobScheduleRequired() constant
70 existingJob == null -> { in isNewJobScheduleRequired()
74 existingJob.intervalMillis != getClearOldEventsCheckFrequencyMs() -> { in isNewJobScheduleRequired()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/hibernation/
DHibernationPolicy.kt352 val existingJob: JobInfo? = in isNewJobScheduleRequired() constant
356 if (existingJob == null) { in isNewJobScheduleRequired()
361 } else if (existingJob.intervalMillis != getCheckFrequencyMs()) { in isNewJobScheduleRequired()