Home
last modified time | relevance | path

Searched refs:startTimeOfUnusedAppTracking (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/hibernation/
DHibernationPolicyTest.kt111 val startTimeOfUnusedAppTracking = in onReceive_shouldInitializeAndAdjustStartTimeOfUnusedAppTracking() constant
122 assertThat(startTimeOfUnusedAppTracking).isNotEqualTo(SNAPSHOT_UNINITIALIZED) in onReceive_shouldInitializeAndAdjustStartTimeOfUnusedAppTracking()
123 assertThat(startTimeOfUnusedAppTracking).isNotEqualTo(currentTimeMillis) in onReceive_shouldInitializeAndAdjustStartTimeOfUnusedAppTracking()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/hibernation/
DHibernationPolicy.kt384 val startTimeOfUnusedAppTracking = getStartTimeOfUnusedAppTracking(context.sharedPreferences) in getAppsToHibernate() constant
443 lastTimePkgUsed = Math.max(lastTimePkgUsed, startTimeOfUnusedAppTracking) in getAppsToHibernate()
787 val startTimeOfUnusedAppTracking = in getStartTimeOfUnusedAppTracking() constant
794 if (startTimeOfUnusedAppTracking == SNAPSHOT_UNINITIALIZED) { in getStartTimeOfUnusedAppTracking()
837 val startTimeOfUnusedAppTracking = in adjustStartTimeOfUnusedAppTracking() constant
842 if (startTimeOfUnusedAppTracking == SNAPSHOT_UNINITIALIZED) { in adjustStartTimeOfUnusedAppTracking()
847 startTimeOfUnusedAppTracking + systemTime.diffSystemTime in adjustStartTimeOfUnusedAppTracking()