Searched refs:mPersistentDataBlockManager (Results 1 – 4 of 4) sorted by relevance
36 public PersistentDataBlockManagerInternal mPersistentDataBlockManager; field in LockSettingsStorageTestable42 mPersistentDataBlockManager = mock(PersistentDataBlockManagerInternal.class); in LockSettingsStorageTestable()54 }).when(mPersistentDataBlockManager).setFrpCredentialHandle(any()); in LockSettingsStorageTestable()63 }).when(mPersistentDataBlockManager).getFrpCredentialHandle(); in LockSettingsStorageTestable()102 return mPersistentDataBlockManager; in getPersistentDataBlockManager()
389 mStorage.mPersistentDataBlockManager = null; in testPersistentDataBlock_unavailable()396 mStorage.mPersistentDataBlockManager = mock(PersistentDataBlockManagerInternal.class); in testPersistentDataBlock_empty()403 mStorage.mPersistentDataBlockManager = mock(PersistentDataBlockManagerInternal.class); in testPersistentDataBlock_withData()404 when(mStorage.mPersistentDataBlockManager.getFrpCredentialHandle()) in testPersistentDataBlock_withData()418 mStorage.mPersistentDataBlockManager = mock(PersistentDataBlockManagerInternal.class); in testPersistentDataBlock_exception()419 when(mStorage.mPersistentDataBlockManager.getFrpCredentialHandle()) in testPersistentDataBlock_exception()
56 private PersistentDataBlockManager mPersistentDataBlockManager; field in MainClearConfirmTest105 mPersistentDataBlockManager)).isFalse(); in shouldWipePersistentDataBlock_deviceIsStillBeingProvisioned_shouldReturnFalse()114 mPersistentDataBlockManager)).isFalse(); in shouldWipePersistentDataBlock_oemUnlockAllowed_shouldReturnFalse()128 mPersistentDataBlockManager)).isFalse(); in shouldWipePersistentDataBlock_frpPolicyNotSupported_shouldReturnFalse()150 mPersistentDataBlockManager)).isFalse(); in shouldWipePersistentDataBlock_hasFactoryResetProtectionPolicy_shouldReturnFalse()167 mPersistentDataBlockManager)).isTrue(); in shouldWipePersistentDataBlock_isNotOrganizationOwnedDevice_shouldReturnTrue()
75 private PersistentDataBlockManager mPersistentDataBlockManager; field in FactoryResetConfirmFragmentTest96 .thenReturn(mPersistentDataBlockManager); in setUp()155 verify(mPersistentDataBlockManager, never()).wipe(); in confirmClicked_oemUnlockAllowed_doesNotWipePdb()176 verify(mPersistentDataBlockManager, never()).wipe(); in confirmClicked_noOemUnlockAllowed_notProvisioned_doesNotWipePdb()203 verify(mPersistentDataBlockManager).wipe(); in confirmClicked_noOemUnlockAllowed_provisioned_wipesPdb()