/foundation/communication/ipc/services/dbinder/test/distributedtest/src/ |
H A D | dbinder_test_agent.cpp | 39 virtual int OnProcessMsg(const std::string &strMsg, int len, std::string &strReturnValue, int returnValueLen); 78 int DbinderTestAgent::OnProcessMsg(const std::string &strMsg, int len, std::string &strReturnValue, in OnProcessMsg() argument 82 if (strncmp(msg.c_str(), strMsg.c_str(), len) == 0) { in OnProcessMsg() 87 return DistributedAgent::OnProcessMsg(strMsg, len, strReturnValue, returnValueLen); in OnProcessMsg()
|
/foundation/arkui/ui_appearance/interfaces/kits/napi/src/ |
H A D | js_ui_appearance.cpp | 47 std::string strMsg = (iter != ERROR_CODE_TO_MSG.end() ? iter->second : "") + message; in NapiThrow() local 48 LOGI("napi throw errCode %{public}d, strMsg %{public}s", errCode, strMsg.c_str()); in NapiThrow() 49 napi_create_string_utf8(env, strMsg.c_str(), strMsg.length(), &msg); in NapiThrow() 161 std::string strMsg = (iter != ERROR_CODE_TO_MSG.end() ? iter->second : "") + asyncContext->errMsg; in OnComplete() local 162 LOGI("napi throw errCode %{public}d, strMsg %{public}s", asyncContext->status, strMsg.c_str()); in OnComplete() 163 napi_create_string_utf8(env, strMsg.c_str(), strMsg in OnComplete() [all...] |
/foundation/arkui/ace_engine/interfaces/napi/kits/promptaction/ |
H A D | prompt_action.cpp | 1291 void JSPromptThrowInterError(napi_env env, std::shared_ptr<PromptAsyncContext>& asyncContext, std::string& strMsg) in JSPromptThrowInterError() argument 1297 napi_create_string_utf8(env, strMsg.c_str(), strMsg.length(), &msg); in JSPromptThrowInterError() 1565 std::string strMsg = ErrorToMessage(ERROR_CODE_INTERNAL_ERROR) + "Can not get delegate."; in JSPromptShowDialog() local 1566 napi_create_string_utf8(env, strMsg.c_str(), strMsg.length(), &msg); in JSPromptShowDialog() 1594 std::string strMsg = ErrorToMessage(ERROR_CODE_INTERNAL_ERROR) + "UI execution context not found."; in JSPromptShowDialog() local 1595 napi_create_string_utf8(env, strMsg.c_str(), strMsg.length(), &msg); in JSPromptShowDialog() 1769 std::string strMsg in JSPromptShowActionMenu() local 1797 std::string strMsg = ErrorToMessage(ERROR_CODE_INTERNAL_ERROR) + "UI execution context not found."; JSPromptShowActionMenu() local 2002 std::string strMsg; GetErrorMsg() local 2144 std::string strMsg = ErrorToMessage(ERROR_CODE_INTERNAL_ERROR) + "Can not get delegate."; OpenCustomDialog() local 2218 std::string strMsg = ErrorToMessage(ERROR_CODE_INTERNAL_ERROR) + "Can not get delegate."; CloseCustomDialog() local 2310 std::string strMsg = ErrorToMessage(ERROR_CODE_INTERNAL_ERROR) + "Can not get delegate."; UpdateCustomDialog() local [all...] |
/foundation/distributeddatamgr/relational_store/test/native/rdb/distributedtest/rdb_store_impl_test/ |
H A D | distributed_test_agent.cpp | 51 virtual int OnProcessMsg(const std::string &strMsg, int len, std::string &strReturnValue, int returnBufL); 99 int DistributedTestAgent::OnProcessMsg(const std::string &strMsg, int len, std::string &strReturnValue, int returnBufL) in OnProcessMsg() argument
|
/foundation/arkui/ace_engine/interfaces/napi/kits/utils/ |
H A D | napi_utils.cpp | 52 std::string strMsg = (iter != ERROR_CODE_TO_MSG.end() ? iter->second : "") + message; in NapiThrow() local 53 LOGE("napi throw errCode %d strMsg %s", errCode, strMsg.c_str()); in NapiThrow() 54 napi_create_string_utf8(env, strMsg.c_str(), strMsg.length(), &msg); in NapiThrow()
|
/foundation/arkui/ace_engine/interfaces/napi/kits/router/ |
H A D | js_router.cpp | 284 std::string strMsg = ErrorToMessage(asyncContext->callbackCode) + asyncContext->callbackMsg; in TriggerCallback() local 285 napi_create_string_utf8(asyncContext->env, strMsg.c_str(), strMsg.length(), &msg); in TriggerCallback()
|