Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
communication_ipc
提交
a99c5358
C
communication_ipc
项目概览
OpenHarmony
/
communication_ipc
大约 1 年 前同步成功
通知
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,发现更多精彩内容 >>
提交
a99c5358
编写于
12月 22, 2021
作者:
Z
zgit2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix format warning.
Signed-off-by:
N
zgit2021
<
zhaowenqiang14@huawei.com
>
上级
39688225
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
37 addition
and
34 deletion
+37
-34
interfaces/innerkits/ipc_core/BUILD.gn
interfaces/innerkits/ipc_core/BUILD.gn
+1
-3
interfaces/innerkits/ipc_core/include/ipc_types.h
interfaces/innerkits/ipc_core/include/ipc_types.h
+0
-1
ipc/native/src/core/include/dbinder_callback_stub.h
ipc/native/src/core/include/dbinder_callback_stub.h
+1
-0
ipc/native/src/core/include/ipc_process_skeleton.h
ipc/native/src/core/include/ipc_process_skeleton.h
+9
-8
ipc/native/src/core/source/dbinder_callback_stub.cpp
ipc/native/src/core/source/dbinder_callback_stub.cpp
+6
-5
ipc/native/src/core/source/message_parcel.cpp
ipc/native/src/core/source/message_parcel.cpp
+9
-8
ipc/native/test/unittest/common/BUILD.gn
ipc/native/test/unittest/common/BUILD.gn
+2
-2
ipc/test/auxiliary/native/BUILD.gn
ipc/test/auxiliary/native/BUILD.gn
+5
-5
ipc/test/moduletest/native/BUILD.gn
ipc/test/moduletest/native/BUILD.gn
+1
-1
services/dbinder/test/BUILD.gn
services/dbinder/test/BUILD.gn
+1
-1
services/dbinder/test/distributedtest/src/dbinder_test_service_skeleton.cpp
...est/distributedtest/src/dbinder_test_service_skeleton.cpp
+2
-0
未找到文件。
interfaces/innerkits/ipc_core/BUILD.gn
浏览文件 @
a99c5358
...
...
@@ -21,9 +21,7 @@ config("libipc_core_private_config") {
}
ohos_shared_library("ipc_core") {
include_dirs = [
"$SUBSYSTEM_DIR/utils/include",
]
include_dirs = [ "$SUBSYSTEM_DIR/utils/include" ]
sources = [
"$IPC_CORE_ROOT/src/core/source/buffer_object.cpp",
"$IPC_CORE_ROOT/src/core/source/comm_auth_info.cpp",
...
...
interfaces/innerkits/ipc_core/include/ipc_types.h
浏览文件 @
a99c5358
...
...
@@ -125,7 +125,6 @@ enum {
DBINDER_CALLBACK_READ_OBJECT_ERR
,
BINDER_CALLBACK_AUTHCOMM_ERR
,
BINDER_CALLBACK_STUBINDEX_ERR
};
}
// namespace OHOS
#endif // OHOS_IPC_IPC_TYPES_H
ipc/native/src/core/include/dbinder_callback_stub.h
浏览文件 @
a99c5358
...
...
@@ -17,6 +17,7 @@
#define OHOS_IPC_DBINDER_CALLBACK_STUB_H
#include <string>
#include "ipc_object_stub.h"
namespace
OHOS
{
...
...
ipc/native/src/core/include/ipc_process_skeleton.h
浏览文件 @
a99c5358
...
...
@@ -16,25 +16,26 @@
#ifndef OHOS_IPC_IPC_PROCESS_SKELETON_H
#define OHOS_IPC_IPC_PROCESS_SKELETON_H
#include <map>
#include <list>
#include <map>
#include <shared_mutex>
#include "refbase.h"
#include "iremote_object.h"
#include "ipc_thread_pool.h"
#include "nocopyable.h"
#include "invoker_rawdata.h"
#include "ipc_object_proxy.h"
#include "ipc_object_stub.h"
#include "invoker_rawdata.h"
#include "ipc_thread_pool.h"
#include "iremote_object.h"
#include "nocopyable.h"
#include "refbase.h"
#include "sys_binder.h"
#ifndef CONFIG_IPC_SINGLE
#include "comm_auth_info.h"
#include "dbinder_callback_stub.h"
#include "dbinder_session_object.h"
#include "Session.h"
#include "ISessionService.h"
#include "Session.h"
#include "stub_refcount_object.h"
#include "comm_auth_info.h"
using
Communication
::
SoftBus
::
ISessionService
;
using
Communication
::
SoftBus
::
Session
;
...
...
ipc/native/src/core/source/dbinder_callback_stub.cpp
浏览文件 @
a99c5358
...
...
@@ -16,14 +16,15 @@
#include "dbinder_callback_stub.h"
#include <cinttypes>
#include "sys_binder.h"
#include "string_ex.h"
#include "ipc_types.h"
#include "ipc_debug.h"
#include "log_tags.h"
#include "ipc_
skeleton
.h"
#include "ipc_
debug
.h"
#include "ipc_process_skeleton.h"
#include "ipc_skeleton.h"
#include "ipc_thread_skeleton.h"
#include "ipc_types.h"
#include "string_ex.h"
#include "sys_binder.h"
namespace
OHOS
{
#ifndef TITLE
...
...
ipc/native/src/core/source/message_parcel.cpp
浏览文件 @
a99c5358
...
...
@@ -14,21 +14,22 @@
*/
#include "message_parcel.h"
#include <unistd.h>
#include <sys/mman.h>
#include <unistd.h>
#include "ipc_debug.h"
#include "iremote_object.h"
#include "ipc_file_descriptor.h"
#include "ipc_process_skeleton.h"
#include "ashmem.h"
#ifndef CONFIG_IPC_SINGLE
#include "dbinder_callback_stub.h"
#include "dbinder_session_object.h"
#endif
#include "sys_binder.h"
#include "ashmem.h"
#include "securec.h"
#include "ipc_debug.h"
#include "ipc_file_descriptor.h"
#include "ipc_process_skeleton.h"
#include "iremote_object.h"
#include "log_tags.h"
#include "securec.h"
#include "sys_binder.h"
namespace
OHOS
{
#ifndef TITLE
...
...
ipc/native/test/unittest/common/BUILD.gn
浏览文件 @
a99c5358
...
...
@@ -36,8 +36,8 @@ ohos_unittest("IPCNativeUnitTest") {
]
external_deps = [
"ipc:ipc_core",
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
"samgr_standard:samgr_proxy",
]
...
...
@@ -61,8 +61,8 @@ ohos_unittest("IPCFileDescOpsTest") {
]
external_deps = [
"ipc:ipc_core",
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
]
resource_config_file =
...
...
ipc/test/auxiliary/native/BUILD.gn
浏览文件 @
a99c5358
...
...
@@ -35,8 +35,8 @@ ohos_shared_library("ipc_test_helper") {
deps = [ "//utils/native/base:utils" ]
external_deps = [
"ipc:ipc_core",
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
"samgr_standard:samgr_proxy",
]
...
...
@@ -58,8 +58,8 @@ ohos_executable("ipc_server_test") {
]
external_deps = [
"ipc:ipc_core",
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
"samgr_standard:samgr_proxy",
]
...
...
@@ -81,8 +81,8 @@ ohos_executable("ipc_client_test") {
]
external_deps = [
"ipc:ipc_core",
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
"samgr_standard:samgr_proxy",
]
...
...
@@ -112,8 +112,8 @@ ohos_shared_library("ipc_test_helper_extra") {
deps = [ "//utils/native/base:utils" ]
external_deps = [
"ipc:ipc_core",
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
"samgr_standard:samgr_proxy",
]
...
...
@@ -135,8 +135,8 @@ ohos_executable("ipc_server_test_extra") {
]
external_deps = [
"ipc:ipc_core",
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
"samgr_standard:samgr_proxy",
]
...
...
ipc/test/moduletest/native/BUILD.gn
浏览文件 @
a99c5358
...
...
@@ -32,8 +32,8 @@ ohos_moduletest("IPCNativeFrameworksTest") {
]
external_deps = [
"ipc:ipc_core",
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
"samgr_standard:samgr_proxy",
]
...
...
services/dbinder/test/BUILD.gn
浏览文件 @
a99c5358
...
...
@@ -56,8 +56,8 @@ ohos_distributedtest("DbinderTest") {
]
external_deps = [
"ipc:ipc_core",
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
"samgr_standard:samgr_proxy",
]
...
...
services/dbinder/test/distributedtest/src/dbinder_test_service_skeleton.cpp
浏览文件 @
a99c5358
...
...
@@ -14,7 +14,9 @@
*/
#include "dbinder_test_service_skeleton.h"
#include <cinttypes>
#include "if_system_ability_manager.h"
#include "ipc_skeleton.h"
#include "ipc_object_proxy.h"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录