Home
last modified time | relevance | path

Searched refs:GeekResponse (Results 1 – 13 of 13) sorted by relevance

/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DProvisionerTest.java37 import com.android.rkpdapp.GeekResponse;
111 GeekResponse geekResponse = new GeekResponse(); in testProvisionerUsesCorrectBatchSize()
132 GeekResponse geekResponse = new GeekResponse(); in testProvisionerHandlesExceptionOnGetBatchSize()
194 GeekResponse resp = new GeekResponse(); in testProvisionerClearsAttestationKeysOnResponse()
212 GeekResponse resp = new GeekResponse(); in testProvisionerClearsAttestationKeysOnlyOnce()
DSystemInterfaceTest.java48 import com.android.rkpdapp.GeekResponse;
204 GeekResponse geekResponse = new GeekResponse(); in testGenerateCSRPreV3P256()
225 GeekResponse geekResponse = new GeekResponse(); in testGenerateCSRPreV3Ed25519()
250 GeekResponse geekResponse = new GeekResponse(); in testGenerateCSRv3()
DCborUtilsTest.java29 import com.android.rkpdapp.GeekResponse;
194 GeekResponse resp = CborUtils.parseGeekResponse(mBaos.toByteArray()); in testParseGeekResponseFakeData()
223 GeekResponse resp = CborUtils.parseGeekResponse(mBaos.toByteArray()); in testParseGeekResponseFakeDataWithBadCertTimeRange()
251 GeekResponse resp = CborUtils.parseGeekResponse(mBaos.toByteArray()); in testExtraDeviceConfigEntriesDontFail()
278 GeekResponse resp = CborUtils.parseGeekResponse(mBaos.toByteArray()); in testMissingDeviceConfigDoesntFail()
283 assertEquals(GeekResponse.NO_EXTRA_KEY_UPDATE, resp.numExtraAttestationKeys); in testMissingDeviceConfigDoesntFail()
309 GeekResponse resp = CborUtils.parseGeekResponse(mBaos.toByteArray()); in testMissingDeviceConfigEntriesDoesntFail()
DServerInterfaceTest.java29 import com.android.rkpdapp.GeekResponse;
81 GeekResponse ignored = mServerInterface.fetchGeek( in testRetryOnServerFailure()
97 GeekResponse response = mServerInterface.fetchGeek( in testFetchGeekRkpDisabled()
113 GeekResponse response = mServerInterface.fetchGeek( in testFetchGeekRkpEnabled()
DRegistrationBinderTest.java49 import com.android.rkpdapp.GeekResponse;
97 private GeekResponse mFakeGeekResponse;
139 mFakeGeekResponse = new GeekResponse();
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/provisioner/
DProvisioner.java23 import com.android.rkpdapp.GeekResponse;
81 GeekResponse geekResponse) throws CborException, RkpdException, InterruptedException { in provisionKeys()
127 SystemInterface systemInterface, GeekResponse geekResponse) in fetchCertificates()
149 GeekResponse response, List<RkpKey> keysGenerated) in batchProvision()
211 public void clearBadAttestationKeys(GeekResponse resp) { in clearBadAttestationKeys()
DPeriodicProvisioner.java27 import com.android.rkpdapp.GeekResponse;
114 GeekResponse response;
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/
DGeekResponse.java46 public class GeekResponse { class
59 public GeekResponse() { in GeekResponse() method in GeekResponse
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/utils/
DCborUtils.java24 import com.android.rkpdapp.GeekResponse;
150 private static boolean parseDeviceConfig(GeekResponse resp, DataItem deviceConfig) { in parseDeviceConfig()
205 public static GeekResponse parseGeekResponse(byte[] serverResp) { in parseGeekResponse()
207 GeekResponse resp = new GeekResponse(); in parseGeekResponse()
DSettings.java24 import com.android.rkpdapp.GeekResponse;
181 if (extraKeys != GeekResponse.NO_EXTRA_KEY_UPDATE in setDeviceConfig()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/interfaces/
DServerInterface.java31 import com.android.rkpdapp.GeekResponse;
239 public GeekResponse fetchGeek(ProvisioningAttempt metrics) in fetchGeek()
254 GeekResponse resp = CborUtils.parseGeekResponse(cborBytes); in fetchGeek()
315 public GeekResponse fetchGeekAndUpdate(ProvisioningAttempt metrics) in fetchGeekAndUpdate()
317 GeekResponse resp = fetchGeek(metrics); in fetchGeekAndUpdate()
DSystemInterface.java28 import com.android.rkpdapp.GeekResponse;
109 public byte[] generateCsr(ProvisioningAttempt metrics, GeekResponse geekResponse, in generateCsr()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/service/
DRegistrationBinder.java26 import com.android.rkpdapp.GeekResponse;
144 GeekResponse response = mRkpServer.fetchGeekAndUpdate(metrics); in fetchGeekAndProvisionKeys()