/ohos5.0/foundation/communication/ipc/ipc/native/src/napi_common/source/ |
H A D | napi_message_sequence_write.cpp | 32 NapiError NAPI_MessageSequence::napiErr; member in OHOS::NAPI_MessageSequence 100 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_writeByte() 107 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_writeByte() 138 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_writeShort() 145 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_writeShort() 176 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_writeInt() 183 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_writeInt() 214 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_writeLong() 221 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_writeLong() 252 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_writeFloat() [all …]
|
H A D | napi_message_sequence_read.cpp | 107 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_rewindRead() 114 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_rewindRead() 357 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_readParcelable() 384 return napiErr.ThrowError(env, errorDesc::CALL_JS_METHOD_ERROR); in JS_readParcelable() 836 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_readParcelableArray() 989 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_ReadRawData() 995 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_ReadRawData() 1047 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_ReadRawDataBuffer() 1054 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_ReadRawDataBuffer() 1115 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in JS_readArrayBuffer() [all …]
|
H A D | napi_ashmem.cpp | 31 NapiError NAPIAshmem::napiErr; member in OHOS::NAPIAshmem 145 return napiErr.ThrowError(env, OHOS::errorDesc::CHECK_PARAM_ERROR); in Create() 156 return napiErr.ThrowError(env, OHOS::errorDesc::CHECK_PARAM_ERROR); in Create() 162 return napiErr.ThrowError(env, OHOS::errorDesc::CHECK_PARAM_ERROR); in Create() 168 return napiErr.ThrowError(env, OHOS::errorDesc::CHECK_PARAM_ERROR); in Create() 328 return napiErr.ThrowError(env, OHOS::errorDesc::OS_MMAP_ERROR); in MapTypedAshmem() 357 return napiErr.ThrowError(env, OHOS::errorDesc::OS_MMAP_ERROR); in MapReadWriteAshmem() 386 return napiErr.ThrowError(env, OHOS::errorDesc::OS_MMAP_ERROR); in MapReadonlyAshmem() 564 return napiErr.ThrowError(env, OHOS::errorDesc::OS_IOCTL_ERROR); in SetProtectionType() 736 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in CheckWriteToAshmemParams() [all …]
|
H A D | napi_remote_object.cpp | 54 static NapiError napiErr; variable 963 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteObject_getLocalInterface() 969 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteObject_getLocalInterface() 976 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteObject_getLocalInterface() 983 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteObject_getLocalInterface() 1272 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteObject_checkSendMessageRequestArgs() 1278 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteObject_checkSendMessageRequestArgs() 1283 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteObject_checkSendMessageRequestArgs() 1288 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteObject_checkSendMessageRequestArgs() 1293 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteObject_checkSendMessageRequestArgs() [all …]
|
/ohos5.0/foundation/communication/ipc/ipc/native/src/napi/src/ |
H A D | napi_remote_proxy.cpp | 38 static NapiError napiErr; variable 248 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteProxy_checkSendMessageRequestArgs() 253 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteProxy_checkSendMessageRequestArgs() 258 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteProxy_checkSendMessageRequestArgs() 263 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteProxy_checkSendMessageRequestArgs() 269 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteProxy_checkSendMessageRequestArgs() 274 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteProxy_checkSendMessageRequestArgs() 279 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteProxy_checkSendMessageRequestArgs() 296 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteProxy_sendMessageRequest() 404 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_RemoteProxy_checkRegisterDeathRecipientArgs() [all …]
|
H A D | napi_ipc_skeleton.cpp | 30 static NapiError napiErr; variable 167 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_IPCSkeleton_flushCmdBuffer() 174 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_IPCSkeleton_flushCmdBuffer() 433 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_IPCSkeleton_restoreCallingIdentity() 439 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_IPCSkeleton_restoreCallingIdentity() 446 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_IPCSkeleton_restoreCallingIdentity() 453 return napiErr.ThrowError(env, errorDesc::CHECK_PARAM_ERROR); in NAPI_IPCSkeleton_restoreCallingIdentity()
|
/ohos5.0/foundation/communication/ipc/ipc/native/src/napi_common/include/ |
H A D | napi_rpc_common.h | 22 static NapiError napiErr; variable 29 …return napiErr.ThrowError(env, errorDesc::WRITE_DATA_TO_MESSAGE_SEQUENCE_ERROR); … 38 … return napiErr.ThrowError(env, errorDesc::READ_DATA_FROM_MESSAGE_SEQUENCE_ERROR); \
|
H A D | napi_ashmem.h | 77 static NapiError napiErr; variable
|
H A D | napi_message_sequence.h | 152 static NapiError napiErr; variable
|
/ohos5.0/foundation/multimedia/av_session/frameworks/js/napi/session/src/ |
H A D | napi_avcast_controller.cpp | 199 int napiErr = NapiAVSessionManager::errcode_[ERR_INVALID_PARAM]; in Start() local 201 CHECK_ARGS_RETURN_VOID(context, argc == ARGC_ONE, "Invalid arguments", napiErr); in Start() 205 …CHECK_ARGS_RETURN_VOID(context, context->status == napi_ok, "Get play queue item failed", napiErr); in Start()
|