/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
H A D | RebootEscrowManagerTests.java | 118 int getBootCount(); in getBootCount() method 228 public int getBootCount() { in getBootCount() method in RebootEscrowManagerTests.MockInjector 229 return mInjected.getBootCount(); in getBootCount() 470 when(mInjected.getBootCount()).thenReturn(0); in loadRebootEscrowDataIfAvailable_Success() 492 when(mInjected.getBootCount()).thenReturn(1); in loadRebootEscrowDataIfAvailable_Success() 514 when(mInjected.getBootCount()).thenReturn(0); in loadRebootEscrowDataIfAvailable_ServerBased_Success() 532 when(mInjected.getBootCount()).thenReturn(1); in loadRebootEscrowDataIfAvailable_ServerBased_Success() 551 when(mInjected.getBootCount()).thenReturn(0); in loadRebootEscrowDataIfAvailable_ServerBasedRemoteException_Failure() 569 when(mInjected.getBootCount()).thenReturn(1); in loadRebootEscrowDataIfAvailable_ServerBasedRemoteException_Failure() 588 when(mInjected.getBootCount()).thenReturn(0); in loadRebootEscrowDataIfAvailable_ServerBasedIoError_RetryFailure() [all …]
|
/aosp12/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarConfidenceChecker.java | 82 protected long getBootCount() { in getBootCount() method in CalendarConfidenceChecker 108 .putLong(LAST_CHECK_BOOT_COUNT_PREF_KEY, getBootCount()) in updateLastCheckTime() 127 final long nowBootCount = getBootCount(); in checkLastCheckTime() 172 .putLong(LAST_CHECK_BOOT_COUNT_PREF_KEY, getBootCount()) in checkLastCheckTime()
|
/aosp12/packages/providers/TvProvider/src/com/android/providers/tv/ |
H A D | TransientRowHelper.java | 79 if (getLastDeletionBootCount() >= getBootCount()) { in ensureOldTransientRowsDeleted() 95 protected int getBootCount() { in getBootCount() method in TransientRowHelper 110 editor.putInt(PREF_KEY_LAST_DELETION_BOOT_COUNT, getBootCount()); in setLastDeletionBootCount()
|
/aosp12/frameworks/base/services/core/java/com/android/server/ |
H A D | SystemUpdateManagerService.java | 163 if (lastBootCount == -1 || lastBootCount != getBootCount()) { in loadSystemUpdateInfoLocked() 193 outBundle.putInt(KEY_BOOT_COUNT, getBootCount()); in saveSystemUpdateInfoLocked() 252 private int getBootCount() { in getBootCount() method in SystemUpdateManagerService
|
/aosp12/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
H A D | CalendarConfidenceCheckerTest.java | 46 protected long getBootCount() { in getBootCount() method in CalendarConfidenceCheckerTest.CalendarConfidenceCheckerTestable
|
/aosp12/frameworks/base/services/core/java/com/android/server/locksettings/ |
H A D | RebootEscrowManager.java | 301 public int getBootCount() { in getBootCount() method in RebootEscrowManager.Injector 530 int bootCountDelta = mInjector.getBootCount() - previousBootCount; in onEscrowRestoreComplete() 728 mStorage.setInt(REBOOT_ESCROW_ARMED_KEY, mInjector.getBootCount(), USER_SYSTEM); in armRebootEscrowIfNeeded()
|
/aosp12/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
H A D | TransientRowHelperTests.java | 219 protected int getBootCount() { in getBootCount() method in TransientRowHelperTests.RebootSimulatingTransientRowHelper
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | PinStorage.java | 183 mBootCount = getBootCount(); in PinStorage() 902 private int getBootCount() { in getBootCount() method in PinStorage
|
/aosp12/frameworks/base/services/ |
H A D | art-profile | 3194 HSPLcom/android/server/SystemUpdateManagerService;->getBootCount()I+]Landroid/content/Context;Landr… 23716 HSPLcom/android/server/locksettings/RebootEscrowManager$Injector;->getBootCount()I
|