Lines Matching defs:device
715 // Do not clear keys critical to device encryption under system uid.
733 auto device = mKeyStore->getDevice(flagsToSecurityLevel(flags));
734 if (!device) {
738 KeyStoreServiceReturnCode(KS_HANDLE_HIDL_ERROR(device->addRngEntropy(entropy))));
1277 // Add entropy to the device first.
1351 // This operation needs an auth token, but the device is a STRONGBOX, so it can't check the
1450 op.device->update(op.handle, inParams, data, authToken, op.verificationToken, hidlCb));
1478 result->resultCode = KS_HANDLE_HIDL_ERROR(op.device->addRngEntropy(entropy));
1507 op.device->finish(op.handle, inParams,
1534 ErrorCode error_code = KS_HANDLE_HIDL_ERROR(op.device->abort(op.handle));
1614 // Allow system context from any user to request attestation with basic device information,
1615 // while only allow system context from user 0 (device owner) to request attestation with
1616 // unique device ID.
1672 // There is an attestKey() method for attesting keys without device ID attestation.
1737 // Attest key and device IDs.