Lines Matching refs:resultCode
2054 if (result.resultCode != ::NO_ERROR) { in get_pubkey()
2055 ALOGW("export failed: %d", result.resultCode); in get_pubkey()
2056 return translateResultToLegacyResult(result.resultCode); in get_pubkey()
2418 result->resultCode = responseCode; in exportKey()
2426 result->resultCode = KM_ERROR_UNIMPLEMENTED; in exportKey()
2433 result->resultCode = rc ? rc : ::NO_ERROR; in exportKey()
2443 result->resultCode = ::PERMISSION_DENIED; in begin()
2447 result->resultCode = KM_ERROR_INVALID_ARGUMENT; in begin()
2455 result->resultCode = responseCode; in begin()
2469 result->resultCode = err; in begin()
2479 result->resultCode = authResult; in begin()
2491 result->resultCode = err; in begin()
2501 result->resultCode = KM_ERROR_UNKNOWN_ERROR; in begin()
2513 result->resultCode = err; in begin()
2540 result->resultCode = err; in begin()
2555 result->resultCode = authResult; in begin()
2567 result->resultCode = KM_ERROR_INVALID_ARGUMENT; in update()
2576 result->resultCode = KM_ERROR_INVALID_OPERATION_HANDLE; in update()
2582 result->resultCode = authResult; in update()
2595 result->resultCode = in update()
2599 if (result->resultCode) { in update()
2608 result->resultCode = err ? (int32_t) err : ::NO_ERROR; in update()
2619 result->resultCode = KM_ERROR_INVALID_ARGUMENT; in finish()
2628 result->resultCode = KM_ERROR_INVALID_OPERATION_HANDLE; in finish()
2634 result->resultCode = authResult; in finish()
2645 result->resultCode = err; in finish()
2662 result->resultCode = err; in finish()
2673 result->resultCode = err ? (int32_t) err : ::NO_ERROR; in finish()
3075 if (result.resultCode != ResponseCode::NO_ERROR) { in doLegacySignVerify()
3076 if (result.resultCode == ::KEY_NOT_FOUND) { in doLegacySignVerify()
3079 ALOGW("Error in begin: %d", result.resultCode); in doLegacySignVerify()
3081 return translateResultToLegacyResult(result.resultCode); in doLegacySignVerify()
3089 if (result.resultCode != ResponseCode::NO_ERROR) { in doLegacySignVerify()
3090 ALOGW("Error in update: %d", result.resultCode); in doLegacySignVerify()
3091 return translateResultToLegacyResult(result.resultCode); in doLegacySignVerify()
3106 if (result.resultCode != ResponseCode::NO_ERROR) { in doLegacySignVerify()
3107 ALOGW("Error in finish: %d", result.resultCode); in doLegacySignVerify()
3108 return translateResultToLegacyResult(result.resultCode); in doLegacySignVerify()