Home
last modified time | relevance | path

Searched refs:hwInfo (Results 1 – 2 of 2) sorted by relevance

/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DSystemInterfaceTest.java274 RpcHardwareInfo hwInfo = mock(RpcHardwareInfo.class); in testValidBatchSizes() local
275 hwInfo.supportedNumKeysInCsr = i; in testValidBatchSizes()
278 SystemInterface systemInterface = mockSystemInterface(hwInfo, irpc); in testValidBatchSizes()
286 RpcHardwareInfo hwInfo = mock(RpcHardwareInfo.class); in testGetBatchSizeTooSmall() local
287 hwInfo.supportedNumKeysInCsr = i; in testGetBatchSizeTooSmall()
291 SystemInterface systemInterface = mockSystemInterface(hwInfo, mockedComponent); in testGetBatchSizeTooSmall()
299 RpcHardwareInfo hwInfo = mock(RpcHardwareInfo.class); in testGetBatchSizeToolarge() local
300 hwInfo.supportedNumKeysInCsr = i; in testGetBatchSizeToolarge()
304 SystemInterface systemInterface = mockSystemInterface(hwInfo, mockedComponent); in testGetBatchSizeToolarge()
385 private SystemInterface mockSystemInterface(RpcHardwareInfo hwInfo, in mockSystemInterface() argument
[all …]
/packages/modules/RemoteKeyProvisioning/util/src/com/android/rkpdapp/
DRkpRegistrationCheck.java286 RpcHardwareInfo hwInfo = irpc.getHardwareInfo(); in generateCsr() local
291 if (hwInfo.versionNumber < 3) { in generateCsr()
295 byte[] geekChain = eekResponse.getEekChain(hwInfo.supportedEekCurve); in generateCsr()