Home
last modified time | relevance | path

Searched refs:INVALID_PARAMETERS (Results 1 - 8 of 8) sorted by relevance

/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/src/
H A Dpasteboard_common.cpp163 int32_t errCode = static_cast<int32_t>(JSErrorCode::INVALID_PARAMETERS); in CheckArgsType()
185 if (!CheckExpression(env, argc >= ARGC_TYPE_SET2, JSErrorCode::INVALID_PARAMETERS, in CheckArgs()
196 env, mimeType != "", JSErrorCode::INVALID_PARAMETERS, "Parameter error. mimeType cannot be empty.") || in CheckArgs()
197 !CheckExpression(env, mimeType.size() <= MIMETYPE_MAX_SIZE, JSErrorCode::INVALID_PARAMETERS, in CheckArgs()
208 JSErrorCode::INVALID_PARAMETERS, "Parameter error. Actual mimeType is not mimetype_pixelmap.")) { in CheckArgs()
214 if (!CheckExpression(env, ret, JSErrorCode::INVALID_PARAMETERS, in CheckArgs()
221 if (!CheckExpression(env, isArrayBuffer, JSErrorCode::INVALID_PARAMETERS, in CheckArgs()
242 env, mimeType != "", JSErrorCode::INVALID_PARAMETERS, "Parameter error. mimeType cannot be empty.") || in CheckArgsMimeType()
243 !CheckExpression(env, mimeType.size() <= MIMETYPE_MAX_SIZE, JSErrorCode::INVALID_PARAMETERS, in CheckArgsMimeType()
254 int32_t errCode = static_cast<int32_t>(JSErrorCode::INVALID_PARAMETERS); in CheckArgsArray()
[all...]
H A Dnapi_systempasteboard.cpp248 env, checkArgsCount, JSErrorCode::INVALID_PARAMETERS, "Parameter error. The number of arguments is wrong.") || in CheckAgrsOfOnAndOff()
258 if (!CheckExpression(env, mimeType == STRING_UPDATE, JSErrorCode::INVALID_PARAMETERS, in CheckAgrsOfOnAndOff()
463 env, argc > 0, JSErrorCode::INVALID_PARAMETERS, in SetDataCommon()
465 !CheckExpression(env, PasteDataNapi::IsPasteData(env, argv[0]), JSErrorCode::INVALID_PARAMETERS, in SetDataCommon()
624 env, argc > 0, JSErrorCode::INVALID_PARAMETERS, "Parameter error. Wrong number of arguments.")) { in SetUnifiedDataSync()
630 JSErrorCode::INVALID_PARAMETERS, "Parameter error. The Type of data must be unifiedData.")) { in SetUnifiedDataSync()
674 if (!CheckExpression(env, argc > 0, JSErrorCode::INVALID_PARAMETERS, in SetAppShareOptions()
680 if (!CheckExpression(env, status == napi_ok, JSErrorCode::INVALID_PARAMETERS, in SetAppShareOptions()
685 JSErrorCode::INVALID_PARAMETERS, "Parameter error. Parameter verification failed.")) { in SetAppShareOptions()
717 env, argc > 0, JSErrorCode::INVALID_PARAMETERS, "Paramete in SetDataCommon()
[all...]
H A Dnapi_pasteboard.cpp358 if (!CheckExpression(env, argc >= ARGC_TYPE_SET2, JSErrorCode::INVALID_PARAMETERS, in JSCreateRecord()
360 !CheckExpression(env, type == napi_object || type == napi_string, JSErrorCode::INVALID_PARAMETERS, in JSCreateRecord()
486 if (!CheckExpression(env, argc >= ARGC_TYPE_SET1, JSErrorCode::INVALID_PARAMETERS, in JSCreateData()
H A Dnapi_pastedata.cpp277 if ((!CheckExpression(env, argc > ARGC_TYPE_SET0, JSErrorCode::INVALID_PARAMETERS, in HasMimeType()
315 if ((!CheckExpression(env, argc > ARGC_TYPE_SET0, JSErrorCode::INVALID_PARAMETERS, in RemoveAndGetRecordCommon()
675 if (!CheckExpression(env, argc > ARGC_TYPE_SET1, JSErrorCode::INVALID_PARAMETERS, in ReplaceRecord()
698 if (!CheckExpression(env, pasteDataRecord != nullptr, JSErrorCode::INVALID_PARAMETERS, in ReplaceRecord()
943 if (!CheckExpression(env, argc > ARGC_TYPE_SET0, JSErrorCode::INVALID_PARAMETERS, in SetProperty()
945 !CheckExpression(env, IsProperty(env, argv[0]), JSErrorCode::INVALID_PARAMETERS, in SetProperty()
H A Dnapi_pastedata_record.cpp400 if (!CheckExpression(env, argc >= ARGC_TYPE_SET1, JSErrorCode::INVALID_PARAMETERS, in GetValidTypes()
434 if (!CheckExpression(env, argc >= ARGC_TYPE_SET1, JSErrorCode::INVALID_PARAMETERS, in GetRecordData()
/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/include/
H A Dpasteboard_js_err.h24 INVALID_PARAMETERS = 401, member in OHOS::MiscServices::JSErrorCode
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/
H A Dp2p_define.h42 INVALID_PARAMETERS, member in OHOS::Wifi::P2pStatus
H A Dp2p_monitor.cpp141 translateMap.insert(std::make_pair(P2pStatusCode::FAIL_INVALID_PARAMETERS, P2pStatus::INVALID_PARAMETERS)); in IntStatusToP2pStatus()

Completed in 10 milliseconds