Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
communication_ipc
提交
e5e87665
C
communication_ipc
项目概览
OpenHarmony
/
communication_ipc
12 个月 前同步成功
通知
20
Star
3
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
communication_ipc
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
e5e87665
编写于
5月 17, 2023
作者:
O
openharmony_ci
提交者:
Gitee
5月 17, 2023
浏览文件
操作
浏览文件
下载
差异文件
!676 IPC相关告警清理
Merge pull request !676 from 张泊远yg/master
上级
734fb63d
dec0000a
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
2 addition
and
5 deletion
+2
-5
ipc/native/src/core/source/ipc_object_proxy.cpp
ipc/native/src/core/source/ipc_object_proxy.cpp
+0
-1
ipc/native/src/core/source/ipc_object_stub.cpp
ipc/native/src/core/source/ipc_object_stub.cpp
+1
-1
ipc/native/src/napi_common/source/napi_remote_object.cpp
ipc/native/src/napi_common/source/napi_remote_object.cpp
+1
-1
ipc/native/test/unittest/common/ipc_object_stub_unittest.cpp
ipc/native/test/unittest/common/ipc_object_stub_unittest.cpp
+0
-1
services/dbinder/test/unittest/dbinder_service_unittest.cpp
services/dbinder/test/unittest/dbinder_service_unittest.cpp
+0
-1
未找到文件。
ipc/native/src/core/source/ipc_object_proxy.cpp
浏览文件 @
e5e87665
...
...
@@ -254,7 +254,6 @@ void IPCObjectProxy::WaitForInit()
}
#endif
}
}
#ifndef CONFIG_IPC_SINGLE
if
(
proto_
==
IRemoteObject
::
IF_PROT_DATABUS
)
{
...
...
ipc/native/src/core/source/ipc_object_stub.cpp
浏览文件 @
e5e87665
...
...
@@ -314,7 +314,7 @@ void IPCObjectStub::OnLastStrongRef(const void *objectId)
#ifndef CONFIG_IPC_SINGLE
// we only need to erase stub index here, commAuth and appInfo
// has already been removed either in dbinder dec refcount case
// or OnSessionClosed, we also remove commAuth and appInfo in case of leak
// or OnSessionClosed, we also remove commAuth and appInfo in case of leak
current
->
DetachCommAuthInfoByStub
(
this
);
uint64_t
stubIndex
=
current
->
EraseStubIndex
(
this
);
current
->
DetachAppInfoToStubIndex
(
stubIndex
);
...
...
ipc/native/src/napi_common/source/napi_remote_object.cpp
浏览文件 @
e5e87665
...
...
@@ -493,7 +493,7 @@ int NAPIRemoteObject::OnJsRemoteRequest(CallbackParam *jsParam)
ZLOGD
(
LOG_LABEL
,
"call js onRemoteRequest done"
);
// Check whether return_val is Promise
bool
returnIsPromise
=
false
;
//
bool
returnIsPromise
=
false
;
napi_is_promise
(
param
->
env
,
returnVal
,
&
returnIsPromise
);
if
(
!
returnIsPromise
)
{
ZLOGD
(
LOG_LABEL
,
"onRemoteRequest is synchronous"
);
...
...
ipc/native/test/unittest/common/ipc_object_stub_unittest.cpp
浏览文件 @
e5e87665
...
...
@@ -423,7 +423,6 @@ HWTEST_F(IPCObjectStubTest, SendRequestTest016, TestSize.Level1)
EXPECT_CALL
(
*
invoker
,
GetCallerUid
())
.
WillRepeatedly
(
testing
::
Return
(
ALLOWED_UID
-
1
));
int
result
=
testStub
->
SendRequest
(
code
,
data
,
reply
,
option
);
EXPECT_NE
(
result
,
IPC_STUB_INVALID_DATA_ERR
);
current
->
invokers_
.
clear
();
...
...
services/dbinder/test/unittest/dbinder_service_unittest.cpp
浏览文件 @
e5e87665
...
...
@@ -163,7 +163,6 @@ HWTEST_F(DBinderServiceUnitTest, StartRemoteListener002, TestSize.Level1)
dBinderService
->
remoteListener_
=
std
::
make_shared
<
DBinderRemoteListener
>
(
dBinderService
);
bool
res
=
dBinderService
->
StartRemoteListener
();
EXPECT_EQ
(
res
,
true
);
}
/**
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录