Searched refs:SNAPSHOT_UNINITIALIZED (Results 1 – 4 of 4) sorted by relevance
39 import com.android.permissioncontroller.hibernation.SNAPSHOT_UNINITIALIZED114 SNAPSHOT_UNINITIALIZED in onReceive_shouldInitializeAndAdjustStartTimeOfUnusedAppTracking()117 sharedPreferences.getLong(PREF_KEY_BOOT_TIME_SNAPSHOT, SNAPSHOT_UNINITIALIZED) in onReceive_shouldInitializeAndAdjustStartTimeOfUnusedAppTracking()119 sharedPreferences.getLong(PREF_KEY_ELAPSED_REALTIME_SNAPSHOT, SNAPSHOT_UNINITIALIZED) in onReceive_shouldInitializeAndAdjustStartTimeOfUnusedAppTracking()122 assertThat(startTimeOfUnusedAppTracking).isNotEqualTo(SNAPSHOT_UNINITIALIZED) in onReceive_shouldInitializeAndAdjustStartTimeOfUnusedAppTracking()124 assertThat(systemTimeSnapshot).isNotEqualTo(SNAPSHOT_UNINITIALIZED) in onReceive_shouldInitializeAndAdjustStartTimeOfUnusedAppTracking()125 assertThat(realtimeSnapshot).isNotEqualTo(SNAPSHOT_UNINITIALIZED) in onReceive_shouldInitializeAndAdjustStartTimeOfUnusedAppTracking()139 .isNotEqualTo(SNAPSHOT_UNINITIALIZED) in getStartTimeOfUnusedAppTracking_shouldReturnExpectedValue()142 sharedPreferences.getLong(PREF_KEY_BOOT_TIME_SNAPSHOT, SNAPSHOT_UNINITIALIZED) in getStartTimeOfUnusedAppTracking_shouldReturnExpectedValue()155 SNAPSHOT_UNINITIALIZED in assertAdjustedTime()[all …]
62 @VisibleForTesting const val SNAPSHOT_UNINITIALIZED = -1L constant93 realtimeSnapshot == SNAPSHOT_UNINITIALIZED || in checkForTimeChanged()94 systemTimeSnapshot == SNAPSHOT_UNINITIALIZED in checkForTimeChanged()136 SNAPSHOT_UNINITIALIZED in getSystemTimeSnapshot()143 SNAPSHOT_UNINITIALIZED in getElapsedRealtimeSnapshot()
152 const val SNAPSHOT_UNINITIALIZED = -1L in getCheckFrequencyMs() constant759 var actualSystemTime: Long = SNAPSHOT_UNINITIALIZED760 var actualRealtime: Long = SNAPSHOT_UNINITIALIZED761 var diffSystemTime: Long = SNAPSHOT_UNINITIALIZED767 sharedPreferences.getLong(PREF_KEY_BOOT_TIME_SNAPSHOT, SNAPSHOT_UNINITIALIZED) in getSystemTime()768 if (systemTimeSnapshot == SNAPSHOT_UNINITIALIZED) { in getSystemTime()774 sharedPreferences.getLong(PREF_KEY_ELAPSED_REALTIME_SNAPSHOT, SNAPSHOT_UNINITIALIZED) in getSystemTime()775 if (realtimeSnapshot == SNAPSHOT_UNINITIALIZED) { in getSystemTime()790 SNAPSHOT_UNINITIALIZED in getStartTimeOfUnusedAppTracking()794 if (startTimeOfUnusedAppTracking == SNAPSHOT_UNINITIALIZED) { in getStartTimeOfUnusedAppTracking()[all …]
35 …ncontroller.permission.service.PermissionStorageTimeChangeReceiver.Companion.SNAPSHOT_UNINITIALIZED98 .thenReturn(SNAPSHOT_UNINITIALIZED) in setup()100 .thenReturn(SNAPSHOT_UNINITIALIZED) in setup()