mirror of
https://gitee.com/openharmony/communication_ipc
synced 2024-11-27 01:51:13 +00:00
commit
570eefa2ae
@ -375,7 +375,13 @@ napi_value NAPIRemoteObject::ThenCallback(napi_env env, napi_callback_info info)
|
||||
napi_value argv[ARGV_LENGTH_1] = {nullptr};
|
||||
void* data = nullptr;
|
||||
napi_get_cb_info(env, info, &argc, argv, nullptr, &data);
|
||||
napi_value res;
|
||||
CallbackParam *param = static_cast<CallbackParam *>(data);
|
||||
if (param == nullptr) {
|
||||
ZLOGE(LOG_LABEL, "param is null");
|
||||
napi_get_undefined(env, &res);
|
||||
return res;
|
||||
}
|
||||
bool result = false;
|
||||
napi_get_value_bool(param->env, argv[ARGV_INDEX_0], &result);
|
||||
if (!result) {
|
||||
@ -391,7 +397,6 @@ napi_value NAPIRemoteObject::ThenCallback(napi_env env, napi_callback_info info)
|
||||
std::unique_lock<std::mutex> lock(param->lockInfo->mutex);
|
||||
param->lockInfo->ready = true;
|
||||
param->lockInfo->condition.notify_all();
|
||||
napi_value res;
|
||||
napi_get_undefined(env, &res);
|
||||
return res;
|
||||
}
|
||||
|
@ -49,7 +49,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":GetFeatureSizeFuzzTest",
|
||||
# ":GetFeatureSizeFuzzTest",
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -50,7 +50,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":GetRpcFeatureAckFuzzTest",
|
||||
# ":GetRpcFeatureAckFuzzTest",
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -49,7 +49,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":GetTokenFromDataFuzzTest",
|
||||
# ":GetTokenFromDataFuzzTest",
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -50,7 +50,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":GetTokenIdSizeFuzzTest",
|
||||
# ":GetTokenIdSizeFuzzTest",
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -49,7 +49,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":IsATEnableFuzzTest",
|
||||
# ":IsATEnableFuzzTest",
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -50,7 +50,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":IsFeatureAckFuzzTest",
|
||||
# ":IsFeatureAckFuzzTest",
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -50,7 +50,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":SetFeatureTransDataFuzzTest",
|
||||
# ":SetFeatureTransDataFuzzTest",
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -52,7 +52,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":BufferObjectFuzzTest",
|
||||
# ":BufferObjectFuzzTest",
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -49,7 +49,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":CloseDatabusSessionFuzzTest",
|
||||
# ":CloseDatabusSessionFuzzTest",
|
||||
]
|
||||
}
|
||||
###############################################################################
|
||||
|
@ -43,7 +43,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":DBinderServiceFuzzTest",
|
||||
# ":DBinderServiceFuzzTest",
|
||||
]
|
||||
}
|
||||
###############################################################################
|
||||
|
@ -46,7 +46,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":DetachProxyObjectFuzzTest",
|
||||
# ":DetachProxyObjectFuzzTest",
|
||||
]
|
||||
}
|
||||
###############################################################################
|
||||
|
@ -45,7 +45,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":LoadSystemAbilityCompleteFuzzTest",
|
||||
# ":LoadSystemAbilityCompleteFuzzTest",
|
||||
]
|
||||
}
|
||||
###############################################################################
|
||||
|
@ -43,7 +43,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":NoticeDeviceDieFuzzTest",
|
||||
# ":NoticeDeviceDieFuzzTest",
|
||||
]
|
||||
}
|
||||
###############################################################################
|
||||
|
@ -43,7 +43,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":NoticeServiceDieFuzzTest",
|
||||
# ":NoticeServiceDieFuzzTest",
|
||||
]
|
||||
}
|
||||
###############################################################################
|
||||
|
@ -46,7 +46,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":OnBytesReceivedFuzzTest",
|
||||
# ":OnBytesReceivedFuzzTest",
|
||||
]
|
||||
}
|
||||
###############################################################################
|
||||
|
@ -46,7 +46,7 @@ group("fuzztest") {
|
||||
deps = []
|
||||
deps += [
|
||||
# deps file
|
||||
#":SendDataToRemoteFuzzTest",
|
||||
# ":SendDataToRemoteFuzzTest",
|
||||
]
|
||||
}
|
||||
###############################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user