Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
00b8d8c6
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
00b8d8c6
编写于
8月 02, 2023
作者:
K
kirl75
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
AMS启动规则优化
Signed-off-by:
N
kirl75
<
kirl.liu@huawei.com
>
上级
f9ff5586
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
10 addition
and
14 deletion
+10
-14
ability/ability_runtime/stage/actsstartuptest/BUILD.gn
ability/ability_runtime/stage/actsstartuptest/BUILD.gn
+2
-2
ability/ability_runtime/stage/actsstartuptest/StartUpAssistant/entry/src/main/ets/calleeability/CalleeAbility.ts
...sistant/entry/src/main/ets/calleeability/CalleeAbility.ts
+1
-1
ability/ability_runtime/stage/actsstartuptest/StartUpRuleTest/Test.json
...y_runtime/stage/actsstartuptest/StartUpRuleTest/Test.json
+1
-5
ability/ability_runtime/stage/actsstartuptest/StartUpRuleTest/entry/src/main/ets/DataShareExtAbility/DataShareExtAbility.ts
...y/src/main/ets/DataShareExtAbility/DataShareExtAbility.ts
+1
-1
ability/ability_runtime/stage/actsstartuptest/StartUpRuleTest/entry/src/main/ets/ServiceExtAbility/ServiceExtAbility.ts
...entry/src/main/ets/ServiceExtAbility/ServiceExtAbility.ts
+5
-5
未找到文件。
ability/ability_runtime/stage/actsstartuptest/BUILD.gn
浏览文件 @
00b8d8c6
...
@@ -17,8 +17,8 @@ group("startuptest") {
...
@@ -17,8 +17,8 @@ group("startuptest") {
testonly = true
testonly = true
if (is_standard_system) {
if (is_standard_system) {
deps = [
deps = [
"StartUpAssistant:StartUpAssistant",
"StartUpAssistant:
Acts
StartUpAssistant",
"StartUpRuleTest:StartUpRuleTest",
"StartUpRuleTest:
Acts
StartUpRuleTest",
]
]
}
}
}
}
ability/ability_runtime/stage/actsstartuptest/StartUpAssistant/entry/src/main/ets/calleeability/CalleeAbility.ts
浏览文件 @
00b8d8c6
...
@@ -44,7 +44,7 @@ export default class CalleeAbility extends UIAbility {
...
@@ -44,7 +44,7 @@ export default class CalleeAbility extends UIAbility {
this
.
context
.
terminateSelfWithResult
(
result
,
()
=>
{});
this
.
context
.
terminateSelfWithResult
(
result
,
()
=>
{});
unsubscribe
(
subscriber
);
unsubscribe
(
subscriber
);
});
});
})
})
;
}
}
onDestroy
()
{
onDestroy
()
{
...
...
ability/ability_runtime/stage/actsstartuptest/StartUpRuleTest/Test.json
浏览文件 @
00b8d8c6
...
@@ -22,11 +22,7 @@
...
@@ -22,11 +22,7 @@
"run-command"
:
[
"run-command"
:
[
"power-shell wakeup"
,
"power-shell wakeup"
,
"power-shell setmode 602"
,
"power-shell setmode 602"
,
"uinput -T -d 300 600 -m 300 600 300 100 -u 300 100"
,
"uinput -T -d 300 600 -m 300 600 300 100 -u 300 100"
"hilog -b D"
,
"hilog -Q pidoff"
,
"hilog -Q domainoff"
,
"hilog -G 2M"
]
]
}
}
]
]
...
...
ability/ability_runtime/stage/actsstartuptest/StartUpRuleTest/entry/src/main/ets/DataShareExtAbility/DataShareExtAbility.ts
浏览文件 @
00b8d8c6
...
@@ -20,6 +20,6 @@ export default class DataShareExtAbility extends DataShareExtensionAbility {
...
@@ -20,6 +20,6 @@ export default class DataShareExtAbility extends DataShareExtensionAbility {
console
.
log
(
`DataShareExtAbility onCreate:
${
JSON
.
stringify
(
want
)}
`
);
console
.
log
(
`DataShareExtAbility onCreate:
${
JSON
.
stringify
(
want
)}
`
);
}
}
onDestroy
()
{
onDestroy
()
{
console
.
log
(
`DataShareExtAbility onDestroy`
);
console
.
log
(
'
DataShareExtAbility onDestroy
'
);
}
}
}
}
\ No newline at end of file
ability/ability_runtime/stage/actsstartuptest/StartUpRuleTest/entry/src/main/ets/ServiceExtAbility/ServiceExtAbility.ts
浏览文件 @
00b8d8c6
...
@@ -13,8 +13,8 @@
...
@@ -13,8 +13,8 @@
* limitations under the License.
* limitations under the License.
*/
*/
import
ServiceExtensionAbility
from
'
@ohos.app.ability.ServiceExtensionAbility
'
import
ServiceExtensionAbility
from
'
@ohos.app.ability.ServiceExtensionAbility
'
;
import
rpc
from
'
@ohos.rpc
'
import
rpc
from
'
@ohos.rpc
'
;
class
StubTest
extends
rpc
.
RemoteObject
{
class
StubTest
extends
rpc
.
RemoteObject
{
constructor
(
des
)
{
constructor
(
des
)
{
...
@@ -33,13 +33,13 @@ export default class ServiceExtAbility extends ServiceExtensionAbility {
...
@@ -33,13 +33,13 @@ export default class ServiceExtAbility extends ServiceExtensionAbility {
console
.
log
(
`onRequest:
${
JSON
.
stringify
(
want
)}
`
);
console
.
log
(
`onRequest:
${
JSON
.
stringify
(
want
)}
`
);
}
}
onConnect
(
want
)
{
onConnect
(
want
)
{
console
.
log
(
`onConnect END`
);
console
.
log
(
'
onConnect END
'
);
return
new
StubTest
(
"
stub
"
);
return
new
StubTest
(
'
stub
'
);
}
}
onDisconnect
(
want
):
void
{
onDisconnect
(
want
):
void
{
console
.
log
(
`HXW onDisconnect:
${
JSON
.
stringify
(
want
)}
`
);
console
.
log
(
`HXW onDisconnect:
${
JSON
.
stringify
(
want
)}
`
);
}
}
onDestroy
()
{
onDestroy
()
{
console
.
log
(
`onDestroy`
);
console
.
log
(
'
onDestroy
'
);
}
}
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录