Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Startup Init Lite
提交
7abffe12
S
Startup Init Lite
项目概览
OpenHarmony
/
Startup Init Lite
接近 2 年 前同步成功
通知
3
Star
37
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Startup Init Lite
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
7abffe12
编写于
7月 30, 2022
作者:
A
aodongbiao
提交者:
Gitee
7月 30, 2022
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of gitee.com:openharmony/startup_init_lite into master
上级
a4a8252f
9bb0cb0b
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
29 addition
and
16 deletion
+29
-16
bundle.json
bundle.json
+1
-1
device_info/BUILD.gn
device_info/BUILD.gn
+1
-1
interfaces/innerkits/BUILD.gn
interfaces/innerkits/BUILD.gn
+3
-3
interfaces/innerkits/sandbox/system-sandbox.json
interfaces/innerkits/sandbox/system-sandbox.json
+8
-0
interfaces/innerkits/sandbox/system-sandbox64.json
interfaces/innerkits/sandbox/system-sandbox64.json
+8
-0
services/begetctl/BUILD.gn
services/begetctl/BUILD.gn
+2
-2
services/param/watcher/BUILD.gn
services/param/watcher/BUILD.gn
+1
-1
test/exec_test/BUILD.gn
test/exec_test/BUILD.gn
+1
-1
test/fuzztest/BUILD.gn
test/fuzztest/BUILD.gn
+1
-1
test/unittest/BUILD.gn
test/unittest/BUILD.gn
+1
-2
test/unittest/deviceinfo/DeviceInfoUnittest.cpp
test/unittest/deviceinfo/DeviceInfoUnittest.cpp
+2
-4
未找到文件。
bundle.json
浏览文件 @
7abffe12
...
...
@@ -23,7 +23,7 @@
"components"
:
[
"startup"
,
"safwk"
,
"
utils_base
"
,
"
c_utils
"
,
"napi"
,
"ipc"
,
"config_policy"
,
...
...
device_info/BUILD.gn
浏览文件 @
7abffe12
...
...
@@ -54,9 +54,9 @@ if (!defined(ohos_lite)) {
external_deps = [
"access_token:libaccesstoken_sdk",
"c_utils:utils",
"ipc:ipc_core",
"safwk:system_ability_fwk",
"utils_base:utils",
]
install_images = [ "system" ]
part_name = "init"
...
...
interfaces/innerkits/BUILD.gn
浏览文件 @
7abffe12
...
...
@@ -188,8 +188,8 @@ if (defined(ohos_lite)) {
"//third_party/mbedtls:mbedtls_shared",
]
external_deps = [
"c_utils:utils",
"hilog_native:libhilog_base",
"utils_base:utils",
]
public_configs = [ ":exported_header_files" ]
part_name = "init"
...
...
@@ -245,10 +245,10 @@ if (defined(ohos_lite)) {
}
external_deps = [
"c_utils:utils",
"hilog_native:libhilog_base",
"ipc:ipc_core",
"samgr_standard:samgr_proxy",
"utils_base:utils",
]
public_configs = [ ":exported_header_files" ]
part_name = "init"
...
...
@@ -279,8 +279,8 @@ if (defined(ohos_lite)) {
"//third_party/mbedtls:mbedtls_shared",
]
external_deps = [
"c_utils:utils",
"hilog_native:libhilog_base",
"utils_base:utils",
]
part_name = "init"
}
...
...
interfaces/innerkits/sandbox/system-sandbox.json
浏览文件 @
7abffe12
...
...
@@ -73,6 +73,14 @@
"src-path"
:
"/sys_prod"
,
"sandbox-path"
:
"/sys_prod"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
]
},
{
"src-path"
:
"/vendor"
,
"sandbox-path"
:
"/chipset"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
]
},
{
"src-path"
:
"/chip_prod"
,
"sandbox-path"
:
"/chip_prod"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
]
}
],
"mount-bind-files"
:
[{
...
...
interfaces/innerkits/sandbox/system-sandbox64.json
浏览文件 @
7abffe12
...
...
@@ -80,6 +80,14 @@
"src-path"
:
"/sys_prod"
,
"sandbox-path"
:
"/sys_prod"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
]
},
{
"src-path"
:
"/vendor"
,
"sandbox-path"
:
"/chipset"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
]
},
{
"src-path"
:
"/chip_prod"
,
"sandbox-path"
:
"/chip_prod"
,
"sandbox-flags"
:
[
"bind"
,
"rec"
,
"private"
]
}
],
"mount-bind-files"
:
[{
...
...
services/begetctl/BUILD.gn
浏览文件 @
7abffe12
...
...
@@ -88,7 +88,7 @@ if (defined(ohos_lite)) {
"//base/startup/init/interfaces/innerkits/control_fd:libcontrolfd",
"//third_party/bounds_checking_function:libsec_shared",
]
external_deps = [ "
utils_base
:utils" ]
external_deps = [ "
c_utils
:utils" ]
if (param_test) {
sources += [
...
...
@@ -190,8 +190,8 @@ if (defined(ohos_lite)) {
]
external_deps = [
"c_utils:utils",
"hilog_native:libhilog_base",
"utils_base:utils",
]
if (build_selinux) {
deps += [ "//third_party/selinux:libselinux" ]
...
...
services/param/watcher/BUILD.gn
浏览文件 @
7abffe12
...
...
@@ -43,9 +43,9 @@ ohos_shared_library("param_watcher") {
deps = [ "//base/startup/init/interfaces/innerkits:libbegetutil" ]
external_deps = [
"c_utils:utils",
"ipc:ipc_core",
"safwk:system_ability_fwk",
"utils_base:utils",
]
install_images = [ "system" ]
part_name = "init"
...
...
test/exec_test/BUILD.gn
浏览文件 @
7abffe12
...
...
@@ -71,10 +71,10 @@ ohos_executable("ondemandTest") {
sources = [ "sa_service_ondemand_test.cpp" ]
external_deps = [
"c_utils:utils",
"ipc:ipc_core",
"safwk:system_ability_fwk",
"samgr_standard:samgr_proxy",
"utils_base:utils",
]
install_images = [ "system" ]
...
...
test/fuzztest/BUILD.gn
浏览文件 @
7abffe12
...
...
@@ -468,10 +468,10 @@ ohos_fuzztest("SystemWatchParameterFuzzTest") {
"//base/startup/init/interfaces/innerkits:libbeget_proxy",
"//base/startup/init/interfaces/innerkits:libbegetutil",
"//third_party/bounds_checking_function:libsec_static",
"//utils/native/base:utils",
]
external_deps = [
"c_utils:utils",
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
"safwk:system_ability_fwk",
...
...
test/unittest/BUILD.gn
浏览文件 @
7abffe12
...
...
@@ -209,7 +209,6 @@ ohos_unittest("init_unittest") {
"//third_party/googletest:gmock",
"//third_party/googletest:gtest",
"//third_party/mbedtls:mbedtls_shared",
"//utils/native/base:utils",
]
defines = [
...
...
@@ -228,9 +227,9 @@ ohos_unittest("init_unittest") {
}
external_deps = [
"c_utils:utils",
"hiviewdfx_hilog_native:libhilog",
"init:libinit_module_engine",
"utils_base:utils",
]
if (!defined(ohos_lite) && enable_ohos_startup_init_feature_watcher) {
...
...
test/unittest/deviceinfo/DeviceInfoUnittest.cpp
浏览文件 @
7abffe12
...
...
@@ -58,8 +58,7 @@ public:
HWTEST_F
(
DeviceInfoUnittest
,
GetDevUdidTest
,
TestSize
.
Level1
)
{
char
localDeviceId
[
UDID_LEN
]
=
{
0
};
int
id
=
AclGetDevUdid
(
localDeviceId
,
UDID_LEN
);
EXPECT_EQ
(
id
,
0
);
AclGetDevUdid
(
localDeviceId
,
UDID_LEN
);
const
char
*
serialNumber
=
AclGetSerial
();
EXPECT_NE
(
nullptr
,
serialNumber
);
...
...
@@ -77,8 +76,7 @@ HWTEST_F(DeviceInfoUnittest, StubTest, TestSize.Level1)
MessageParcel
reply
;
MessageOption
option
;
data
.
WriteInterfaceToken
(
DeviceInfoStub
::
GetDescriptor
());
int
ret
=
deviceInfoService
->
OnRemoteRequest
(
IDeviceInfo
::
COMMAND_GET_UDID
,
data
,
reply
,
option
);
EXPECT_EQ
(
ret
,
0
);
deviceInfoService
->
OnRemoteRequest
(
IDeviceInfo
::
COMMAND_GET_UDID
,
data
,
reply
,
option
);
data
.
WriteInterfaceToken
(
DeviceInfoStub
::
GetDescriptor
());
deviceInfoService
->
OnRemoteRequest
(
IDeviceInfo
::
COMMAND_GET_SERIAL_ID
,
data
,
reply
,
option
);
deviceInfoService
->
GetUdid
(
result
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录