Home
last modified time | relevance | path

Searched refs:wrapBlob (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DRebootEscrowManagerTests.java417 verify(mServiceConnection, never()).wrapBlob(any(), anyLong(), anyLong()); in prepareRebootEscrowServerBased_Success()
476 verify(mServiceConnection, never()).wrapBlob(any(), anyLong(), anyLong()); in armServiceServerBased_Success()
478 when(mServiceConnection.wrapBlob(any(), anyLong(), anyLong())) in armServiceServerBased_Success()
481 verify(mServiceConnection).wrapBlob(any(), anyLong(), anyLong()); in armServiceServerBased_Success()
615 verify(mServiceConnection, never()).wrapBlob(any(), anyLong(), anyLong()); in loadRebootEscrowDataIfAvailable_noDataPrimaryUser_Failure()
617 when(mServiceConnection.wrapBlob(any(), anyLong(), anyLong())) in loadRebootEscrowDataIfAvailable_noDataPrimaryUser_Failure()
620 verify(mServiceConnection).wrapBlob(any(), anyLong(), anyLong()); in loadRebootEscrowDataIfAvailable_noDataPrimaryUser_Failure()
670 verify(mServiceConnection, never()).wrapBlob(any(), anyLong(), anyLong()); in loadRebootEscrowDataIfAvailable_noDataSecondaryUser_Success()
673 verify(mServiceConnection, never()).wrapBlob(any(), anyLong(), anyLong()); in loadRebootEscrowDataIfAvailable_noDataSecondaryUser_Success()
675 when(mServiceConnection.wrapBlob(any(), anyLong(), anyLong())) in loadRebootEscrowDataIfAvailable_noDataSecondaryUser_Success()
[all …]
DRebootEscrowProviderServerBasedImplTests.java92 when(mServiceConnection.wrapBlob(any(), anyLong(), anyLong())).thenAnswer(mFakeEncryption); in getAndClearRebootEscrowKey_loopback_success()
108 when(mServiceConnection.wrapBlob(any(), anyLong(), anyLong())).thenAnswer(mFakeEncryption); in getAndClearRebootEscrowKey_WrongDecryptionMethod_failure()
132 when(mServiceConnection.wrapBlob(any(), anyLong(), anyLong())).thenAnswer(mFakeEncryption); in getAndClearRebootEscrowKey_ServiceConnectionException_failure()
/frameworks/base/services/core/java/com/android/server/locksettings/
DRebootEscrowProviderServerBasedImpl.java185 byte[] serverEncryptedBlob = serviceConnection.wrapBlob(escrowKeyBytes, in wrapEscrowKey()
DResumeOnRebootServiceProvider.java170 public byte[] wrapBlob(byte[] unwrappedBlob, long lifeTimeInMillis, in wrapBlob() method in ResumeOnRebootServiceProvider.ResumeOnRebootServiceConnection