Searched refs:RkpdClientOperation (Results 1 – 4 of 4) sorted by relevance
/packages/modules/RemoteKeyProvisioning/app/tests/hosttest/src/com/android/rkpdapp/hosttest/ |
D | RkpdClientOperationAtomTests.java | 20 import com.android.os.rkpd.RkpdClientOperation; 21 import com.android.os.rkpd.RkpdClientOperation.Operation; 22 import com.android.os.rkpd.RkpdClientOperation.Result; 41 List<RkpdClientOperation> atoms = getAtoms(RkpdExtensionAtoms.rkpdClientOperation); in testGetKeySuccess() 51 List<RkpdClientOperation> atoms = getAtoms(RkpdExtensionAtoms.rkpdClientOperation); in testGetKeyWithResultUnknown() 61 List<RkpdClientOperation> atoms = getAtoms(RkpdExtensionAtoms.rkpdClientOperation); in testGetKeyWithResultCanceled() 70 List<RkpdClientOperation> atoms = getAtoms(RkpdExtensionAtoms.rkpdClientOperation); in testGetKeyWithErrorInternal() 78 List<RkpdClientOperation> atoms = getAtoms(RkpdExtensionAtoms.rkpdClientOperation); in testGetKeyWithErrorPermanent() 88 List<RkpdClientOperation> atoms = getAtoms(RkpdExtensionAtoms.rkpdClientOperation); in testGetKeyWithErrorPendingInternetConnectivity() 97 List<RkpdClientOperation> atoms = getAtoms(RkpdExtensionAtoms.rkpdClientOperation); in testStoreUpgradedKeySuccess() [all …]
|
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/metrics/ |
D | RkpdClientOperation.java | 27 public final class RkpdClientOperation implements AutoCloseable { class 64 public static RkpdClientOperation getRegistration(int clientUid, in getRegistration() 66 return new RkpdClientOperation(clientUid, remotelyProvisionedComponent, in getRegistration() 71 public static RkpdClientOperation getKey(int clientUid, in getKey() 73 return new RkpdClientOperation(clientUid, remotelyProvisionedComponent, in getKey() 78 public static RkpdClientOperation cancelGetKey(int clientUid, in cancelGetKey() 80 return new RkpdClientOperation(clientUid, remotelyProvisionedComponent, in cancelGetKey() 85 public static RkpdClientOperation storeUpgradedKey(int clientUid, in storeUpgradedKey() 87 return new RkpdClientOperation(clientUid, remotelyProvisionedComponent, in storeUpgradedKey() 91 private RkpdClientOperation(int clientUid, String remotelyProvisionedComponent, in RkpdClientOperation() method in RkpdClientOperation
|
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/service/ |
D | RegistrationBinder.java | 37 import com.android.rkpdapp.metrics.RkpdClientOperation; 232 RkpdClientOperation metric = RkpdClientOperation.getKey(mClientUid, in getKeyThreadWorker() 236 metric.setResult(RkpdClientOperation.Result.SUCCESS); in getKeyThreadWorker() 239 metric.setResult(RkpdClientOperation.Result.CANCELED); in getKeyThreadWorker() 262 private byte mapToGetKeyError(RkpdException e, RkpdClientOperation metric) { in mapToGetKeyError() 265 metric.setResult(RkpdClientOperation.Result.ERROR_PENDING_INTERNET_CONNECTIVITY); in mapToGetKeyError() 269 metric.setResult(RkpdClientOperation.Result.ERROR_PERMANENT); in mapToGetKeyError() 273 metric.setResult(RkpdClientOperation.Result.ERROR_INTERNAL); in mapToGetKeyError() 289 try (RkpdClientOperation metric = RkpdClientOperation.cancelGetKey(mClientUid, in cancelGetKey() 302 metric.setResult(RkpdClientOperation.Result.SUCCESS); in cancelGetKey() [all …]
|
D | RemoteProvisioningService.java | 37 import com.android.rkpdapp.metrics.RkpdClientOperation; 62 RkpdClientOperation metric = RkpdClientOperation.getRegistration(callerUid, irpcName); in getRegistration() 66 metric.setResult(RkpdClientOperation.Result.RKP_UNSUPPORTED); in getRegistration() 84 metric.setResult(RkpdClientOperation.Result.ERROR_INVALID_HAL); in getRegistration() 93 metric.setResult(RkpdClientOperation.Result.SUCCESS); in getRegistration() 97 metric.setResult(RkpdClientOperation.Result.ERROR_INTERNAL); in getRegistration()
|