Searched refs:generateCsr (Results 1 – 6 of 6) sorted by relevance
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/ |
D | PeriodicProvisionerTests.java | 181 doReturn(new byte[1]).when(mockHal).generateCsr(any(), any(), any()); in provisionSuccess() 248 doReturn(new byte[1]).when(mockHal).generateCsr(any(), any(), any()); in provisioningExpiresOldKeys() 277 verify(firstHal, never()).generateCsr(any(), any(), any()); in provisionTwoHalsBothFail() 278 verify(secondHal, never()).generateCsr(any(), any(), any()); in provisionTwoHalsBothFail() 297 doReturn(new byte[3]).when(secondHal).generateCsr(any(), any(), any()); in provisionTwoHalsFirstFails() 302 verify(firstHal, never()).generateCsr(any(), any(), any()); in provisionTwoHalsFirstFails() 303 verify(secondHal).generateCsr(any(), any(), any()); in provisionTwoHalsFirstFails() 317 doReturn(new byte[42]).when(firstHal).generateCsr(any(), any(), any()); in provisionTwoHalsSecondFails() 327 verify(firstHal).generateCsr(any(), any(), any()); in provisionTwoHalsSecondFails() 328 verify(secondHal, never()).generateCsr(any(), any(), any()); in provisionTwoHalsSecondFails()
|
D | ProvisionerTest.java | 109 doReturn(new byte[1]).when(mockSystem).generateCsr(eq(atom), notNull(), notNull()); in testProvisionerUsesCorrectBatchSize() 115 verify(mockSystem).generateCsr(any(), any(), in testProvisionerUsesCorrectBatchSize() 117 verify(mockSystem).generateCsr(any(), any(), in testProvisionerUsesCorrectBatchSize()
|
D | SystemInterfaceTest.java | 208 byte[] csrTag = systemInterface.generateCsr(metrics, geekResponse, new ArrayList<>()); in testGenerateCSRPreV3P256() 233 byte[] csrTag = systemInterface.generateCsr(metrics, geekResponse, new ArrayList<>()); in testGenerateCSRPreV3Ed25519() 253 byte[] csrTag = systemInterface.generateCsr(metrics, geekResponse, new ArrayList<>()); in testGenerateCSRv3()
|
/packages/modules/RemoteKeyProvisioning/util/src/com/android/rkpdapp/ |
D | RkpRegistrationCheck.java | 143 byte[] csr = generateCsr(binder, eekResponse); in checkNow() 281 byte[] generateCsr(IRemotelyProvisionedComponent irpc, FetchEekResponse eekResponse) in generateCsr() method in RkpRegistrationCheck
|
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/interfaces/ |
D | SystemInterface.java | 109 public byte[] generateCsr(ProvisioningAttempt metrics, GeekResponse geekResponse, in generateCsr() method in SystemInterface
|
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/provisioner/ |
D | Provisioner.java | 156 byte[] certRequest = systemInterface.generateCsr(metrics, response, keysGenerated); in batchProvision()
|