Lines Matching full:resultcode
410 if (result.resultCode != ::NO_ERROR) {
411 ALOGW("export failed: %d", result.resultCode);
412 return translateResultToLegacyResult(result.resultCode);
785 result->resultCode = ::PERMISSION_DENIED;
796 result->resultCode = responseCode;
804 result->resultCode = KM_ERROR_UNIMPLEMENTED;
811 result->resultCode = rc ? rc : ::NO_ERROR;
822 result->resultCode = ::PERMISSION_DENIED;
827 result->resultCode = ::PERMISSION_DENIED;
831 result->resultCode = KM_ERROR_INVALID_ARGUMENT;
839 result->resultCode = responseCode;
856 result->resultCode = rc;
863 result->resultCode = err;
873 result->resultCode = authResult;
885 result->resultCode = err;
895 result->resultCode = KM_ERROR_UNKNOWN_ERROR;
906 result->resultCode = err;
936 result->resultCode = err;
946 // auth'd key then the resultCode will be ::OP_AUTH_NEEDED and the
950 result->resultCode = authResult;
962 result->resultCode = KM_ERROR_INVALID_ARGUMENT;
971 result->resultCode = KM_ERROR_INVALID_OPERATION_HANDLE;
977 result->resultCode = authResult;
990 result->resultCode = enforcement_policy.AuthorizeOperation(
992 if (result->resultCode) {
1001 result->resultCode = err ? (int32_t)err : ::NO_ERROR;
1013 result->resultCode = KM_ERROR_INVALID_ARGUMENT;
1022 result->resultCode = KM_ERROR_INVALID_OPERATION_HANDLE;
1028 result->resultCode = authResult;
1039 result->resultCode = err;
1057 result->resultCode = err;
1070 result->resultCode = err ? (int32_t)err : ::NO_ERROR;
1490 if (result.resultCode != ResponseCode::NO_ERROR) {
1491 if (result.resultCode == ::KEY_NOT_FOUND) {
1494 ALOGW("Error in begin: %d", result.resultCode);
1496 return translateResultToLegacyResult(result.resultCode);
1504 if (result.resultCode != ResponseCode::NO_ERROR) {
1505 ALOGW("Error in update: %d", result.resultCode);
1506 return translateResultToLegacyResult(result.resultCode);
1521 if (result.resultCode != ResponseCode::NO_ERROR) {
1522 ALOGW("Error in finish: %d", result.resultCode);
1523 return translateResultToLegacyResult(result.resultCode);