提交 00b8d8c6 编写于 作者: K kirl75

AMS启动规则优化

Signed-off-by: Nkirl75 <kirl.liu@huawei.com>
上级 f9ff5586
...@@ -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:ActsStartUpAssistant",
"StartUpRuleTest:StartUpRuleTest", "StartUpRuleTest:ActsStartUpRuleTest",
] ]
} }
} }
...@@ -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() {
......
...@@ -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"
] ]
} }
] ]
......
...@@ -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
...@@ -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.
先完成此消息的编辑!
想要评论请 注册