mirror of
https://gitee.com/openharmony/ability_ability_runtime
synced 2025-03-02 13:26:23 +00:00
log
Signed-off-by: sodanotgreen <limengzheng@huawei.com>
This commit is contained in:
parent
d9d938633f
commit
a62d021f79
@ -53,8 +53,6 @@ void HdcRegister::StartHdcRegister(const std::string& bundleName, const std::str
|
||||
return;
|
||||
}
|
||||
startRegister(processName, bundleName, debugApp, callback);
|
||||
|
||||
TAG_LOGD(AAFwkTag::JSRUNTIME, "end");
|
||||
}
|
||||
|
||||
void HdcRegister::StopHdcRegister()
|
||||
@ -72,6 +70,5 @@ void HdcRegister::StopHdcRegister()
|
||||
}
|
||||
dlclose(registerHandler_);
|
||||
registerHandler_ = nullptr;
|
||||
TAG_LOGD(AAFwkTag::JSRUNTIME, "end");
|
||||
}
|
||||
} // namespace OHOS::AbilityRuntime
|
||||
|
@ -263,7 +263,6 @@ void NapiAsyncTask::Resolve(napi_env env, napi_value value)
|
||||
napi_delete_reference(env, callbackRef_);
|
||||
callbackRef_ = nullptr;
|
||||
}
|
||||
TAG_LOGD(AAFwkTag::JSRUNTIME, "end");
|
||||
}
|
||||
|
||||
void NapiAsyncTask::ResolveWithNoError(napi_env env, napi_value value)
|
||||
@ -284,7 +283,6 @@ void NapiAsyncTask::ResolveWithNoError(napi_env env, napi_value value)
|
||||
napi_delete_reference(env, callbackRef_);
|
||||
callbackRef_ = nullptr;
|
||||
}
|
||||
TAG_LOGD(AAFwkTag::JSRUNTIME, "end");
|
||||
}
|
||||
|
||||
void NapiAsyncTask::Reject(napi_env env, napi_value error)
|
||||
@ -324,7 +322,6 @@ void NapiAsyncTask::ResolveWithCustomize(napi_env env, napi_value error, napi_va
|
||||
napi_delete_reference(env, callbackRef_);
|
||||
callbackRef_ = nullptr;
|
||||
}
|
||||
TAG_LOGD(AAFwkTag::JSRUNTIME, "end");
|
||||
}
|
||||
|
||||
void NapiAsyncTask::RejectWithCustomize(napi_env env, napi_value error, napi_value value)
|
||||
@ -345,7 +342,6 @@ void NapiAsyncTask::RejectWithCustomize(napi_env env, napi_value error, napi_val
|
||||
napi_delete_reference(env, callbackRef_);
|
||||
callbackRef_ = nullptr;
|
||||
}
|
||||
TAG_LOGD(AAFwkTag::JSRUNTIME, "end");
|
||||
}
|
||||
|
||||
void NapiAsyncTask::Execute(napi_env env, void* data)
|
||||
|
@ -190,7 +190,7 @@ void AssetHelper::operator()(const std::string& uri, uint8_t** buff, size_t* buf
|
||||
// 1.2 start with ../
|
||||
// 1.3 start with @namespace [not support]
|
||||
// 1.4 start with modulename
|
||||
TAG_LOGD(AAFwkTag::JSRUNTIME, "The application is packaged using jsbundle mode.");
|
||||
TAG_LOGD(AAFwkTag::JSRUNTIME, "The application is packaged using jsbundle mode");
|
||||
if (uri.find_first_of("/") == 0) {
|
||||
TAG_LOGD(AAFwkTag::JSRUNTIME, "uri start with /modulename");
|
||||
realPath = uri.substr(1);
|
||||
@ -269,7 +269,7 @@ void AssetHelper::operator()(const std::string& uri, uint8_t** buff, size_t* buf
|
||||
|
||||
bool AssetHelper::GetSafeData(const std::string& ami, uint8_t** buff, size_t* buffSize)
|
||||
{
|
||||
TAG_LOGD(AAFwkTag::JSRUNTIME, "Get secure mem");
|
||||
TAG_LOGD(AAFwkTag::JSRUNTIME, "called");
|
||||
std::string resolvedPath;
|
||||
resolvedPath.reserve(PATH_MAX);
|
||||
resolvedPath.resize(PATH_MAX - 1);
|
||||
|
@ -30,7 +30,7 @@ namespace {
|
||||
}
|
||||
void OHOSJsEnvironmentImpl::PostTaskToHandler(void* handler, uv_io_cb func, void* work, int status, int priority)
|
||||
{
|
||||
TAG_LOGD(AAFwkTag::JSRUNTIME, "Enter");
|
||||
TAG_LOGD(AAFwkTag::JSRUNTIME, "called");
|
||||
if (!func || !work) {
|
||||
TAG_LOGE(AAFwkTag::JSRUNTIME, "Invalid parameters");
|
||||
return;
|
||||
@ -63,8 +63,6 @@ void OHOSJsEnvironmentImpl::PostTaskToHandler(void* handler, uv_io_cb func, void
|
||||
return;
|
||||
}
|
||||
g_eventHandler->PostTask(task, prio);
|
||||
|
||||
TAG_LOGD(AAFwkTag::JSRUNTIME, "end");
|
||||
}
|
||||
OHOSJsEnvironmentImpl::OHOSJsEnvironmentImpl()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user