Searched refs:mRegistrationProxy (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/services/tests/RemoteProvisioningServiceTests/src/com/android/server/security/rkp/ |
D | RemoteProvisioningRegistrationTest.java | 67 private RegistrationProxy mRegistrationProxy; field in RemoteProvisioningRegistrationTest 72 mRegistrationProxy = mock(RegistrationProxy.class); in setUp() 73 mRegistration = new RemoteProvisioningRegistration(mRegistrationProxy, Runnable::run); in setUp() 104 .when(mRegistrationProxy).getKeyAsync(eq(42), any(), any(), any()); in getKeySuccess() 120 .when(mRegistrationProxy).getKeyAsync(eq(0), any(), any(), any()); in getKeyHandlesArbitraryException() 148 .when(mRegistrationProxy).getKeyAsync(eq(0), any(), any(), any()); in getKeyMapsRkpErrorsCorrectly() 175 .when(mRegistrationProxy).getKeyAsync(eq(Integer.MAX_VALUE), any(), any(), any()); in getKeyCancelDuringProxyOperation() 200 .when(mRegistrationProxy).getKeyAsync(anyInt(), any(), any(), any()); in getKeyRejectsDuplicateCallback() 217 .when(mRegistrationProxy).getKeyAsync(eq(Integer.MIN_VALUE), any(), any(), any()); in getKeyCancelAfterCompleteFails() 230 .when(mRegistrationProxy) in getKeyCatchesExceptionFromProxy() [all …]
|