Home
last modified time | relevance | path

Searched refs:getBootCount (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DRebootEscrowManagerTests.java124 int getBootCount(); in getBootCount() method
258 public int getBootCount() { in getBootCount() method in RebootEscrowManagerTests.MockInjector
259 return mInjected.getBootCount(); in getBootCount()
521 when(mInjected.getBootCount()).thenReturn(0); in loadRebootEscrowDataIfAvailable_Success()
543 when(mInjected.getBootCount()).thenReturn(1); in loadRebootEscrowDataIfAvailable_Success()
565 when(mInjected.getBootCount()).thenReturn(0); in loadRebootEscrowDataIfAvailable_ServerBased_Success()
583 when(mInjected.getBootCount()).thenReturn(1); in loadRebootEscrowDataIfAvailable_ServerBased_Success()
609 when(mInjected.getBootCount()).thenReturn(0); in loadRebootEscrowDataIfAvailable_ServerBasedRemoteException_Failure()
627 when(mInjected.getBootCount()).thenReturn(1); in loadRebootEscrowDataIfAvailable_ServerBasedRemoteException_Failure()
654 when(mInjected.getBootCount()).thenReturn(0); in loadRebootEscrowDataIfAvailable_ServerBasedIoError_RetryFailure()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DSystemUpdateManagerService.java163 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
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/
H A DRebootEscrowManager.java356 public int getBootCount() { in getBootCount() method in RebootEscrowManager.Injector
725 int bootCountDelta = mInjector.getBootCount() - previousBootCount; in onEscrowRestoreComplete()
928 mStorage.setInt(REBOOT_ESCROW_ARMED_KEY, mInjector.getBootCount(), USER_SYSTEM); in armRebootEscrowIfNeeded()