mirror of
https://gitee.com/openharmony/ability_ability_runtime
synced 2024-11-23 15:20:34 +00:00
Signed-off-by: zhoushicheng2@huawei.com <zhoushicheng2@huawei.com> Change-Id: I6e9c0b8674c4dc937cdb0e057b1db99e208bc0aa
This commit is contained in:
parent
60ad6b8150
commit
19dd45247e
@ -50,6 +50,10 @@ THREAD_BLOCK_6S:
|
||||
|
||||
START_ABILITY_ERROR:
|
||||
__BASE: {type: FAULT, level: MINOR, tag: ability, desc: start ability error}
|
||||
USER_ID: {type: INT32, desc: userId}
|
||||
ERROR_CODE: {type: INT32, desc: error code}
|
||||
BUNDLE_NAME: {type: STRING, desc: bundle name}
|
||||
MODULE_NAME: {type: STRING, desc: module name}
|
||||
ABILITY_NAME: {type: STRING, desc: ability name}
|
||||
|
||||
TERMINATE_ABILITY_ERROR:
|
||||
@ -147,40 +151,40 @@ DISCONNECT_SERVICE:
|
||||
|
||||
APP_ATTACH:
|
||||
__BASE: {type: BEHAVIOR, level: MINOR, tag: app, desc: attach app}
|
||||
BUNDLE_NAME: {type: STRING, desc: bundle name}
|
||||
VERSION_NAME: {type: STRING, desc: version name}
|
||||
VERSION_CODE: {type: INT32, desc: version code}
|
||||
PID: {type: INT32, desc: pid}
|
||||
TIME_STAMP: {type: INT32, desc: time stamp}
|
||||
VERSION_CODE: {type: INT32, desc: version code}
|
||||
VERSION_NAME: {type: STRING, desc: version name}
|
||||
PROCESS_NAME: {type: STRING, desc: process name}
|
||||
BUNDLE_NAME: {type: STRING, desc: bundle name}
|
||||
|
||||
APP_LAUNCH:
|
||||
__BASE: {type: BEHAVIOR, level: MINOR, tag: app, desc: launch app}
|
||||
BUNDLE_NAME: {type: STRING, desc: bundle name}
|
||||
VERSION_NAME: {type: STRING, desc: version name}
|
||||
VERSION_CODE: {type: INT32, desc: version code}
|
||||
PID: {type: INT32, desc: pid}
|
||||
TIME_STAMP: {type: INT32, desc: time stamp}
|
||||
VERSION_CODE: {type: INT32, desc: version code}
|
||||
VERSION_NAME: {type: STRING, desc: version name}
|
||||
PROCESS_NAME: {type: STRING, desc: process name}
|
||||
BUNDLE_NAME: {type: STRING, desc: bundle name}
|
||||
|
||||
APP_FOREGROUND:
|
||||
__BASE: {type: BEHAVIOR, level: MINOR, tag: app, desc: foreground app}
|
||||
BUNDLE_NAME: {type: STRING, desc: bundle name}
|
||||
VERSION_NAME: {type: STRING, desc: version name}
|
||||
VERSION_CODE: {type: INT32, desc: version code}
|
||||
PID: {type: INT32, desc: pid}
|
||||
TIME_STAMP: {type: INT32, desc: time stamp}
|
||||
VERSION_CODE: {type: INT32, desc: version code}
|
||||
VERSION_NAME: {type: STRING, desc: version name}
|
||||
PROCESS_NAME: {type: STRING, desc: process name}
|
||||
BUNDLE_NAME: {type: STRING, desc: bundle name}
|
||||
|
||||
APP_BACKGROUND:
|
||||
__BASE: {type: BEHAVIOR, level: MINOR, tag: app, desc: background app}
|
||||
BUNDLE_NAME: {type: STRING, desc: bundle name}
|
||||
VERSION_NAME: {type: STRING, desc: version name}
|
||||
VERSION_CODE: {type: INT32, desc: version code}
|
||||
PID: {type: INT32, desc: pid}
|
||||
TIME_STAMP: {type: INT32, desc: time stamp}
|
||||
VERSION_CODE: {type: INT32, desc: version code}
|
||||
VERSION_NAME: {type: STRING, desc: version name}
|
||||
PROCESS_NAME: {type: STRING, desc: process name}
|
||||
BUNDLE_NAME: {type: STRING, desc: bundle name}
|
||||
|
||||
APP_TERMINATE:
|
||||
__BASE: {type: BEHAVIOR, level: MINOR, tag: app, desc: terminate app}
|
||||
BUNDLE_NAME: {type: STRING, desc: bundle name}
|
||||
VERSION_NAME: {type: STRING, desc: version name}
|
||||
VERSION_CODE: {type: INT32, desc: version code}
|
||||
PID: {type: INT32, desc: pid}
|
||||
TIME_STAMP: {type: INT32, desc: time stamp}
|
||||
VERSION_CODE: {type: INT32, desc: version code}
|
||||
VERSION_NAME: {type: STRING, desc: version name}
|
||||
PROCESS_NAME: {type: STRING, desc: process name}
|
||||
BUNDLE_NAME: {type: STRING, desc: bundle name}
|
@ -838,7 +838,7 @@ int AbilityManagerService::StopExtensionAbility(const Want &want, const sptr<IRe
|
||||
if (result != ERR_OK) {
|
||||
HILOG_ERROR("CheckOptExtensionAbility error.");
|
||||
eventInfo.errCode = result;
|
||||
AAFWK::EventReport::SendAbilityEvent(AAFWK::STOP_EXTENSION_ERROR,
|
||||
AAFWK::EventReport::SendExtensionEvent(AAFWK::STOP_EXTENSION_ERROR,
|
||||
HiSysEventType::FAULT,
|
||||
eventInfo);
|
||||
return result;
|
||||
@ -855,9 +855,11 @@ int AbilityManagerService::StopExtensionAbility(const Want &want, const sptr<IRe
|
||||
}
|
||||
HILOG_INFO("Stop extension begin, name is %{public}s.", abilityInfo.name.c_str());
|
||||
eventInfo.errCode = connectManager->StopServiceAbility(abilityRequest);
|
||||
AAFWK::EventReport::SendExtensionEvent(AAFWK::STOP_EXTENSION_ERROR,
|
||||
HiSysEventType::FAULT,
|
||||
eventInfo);
|
||||
if (eventInfo.errCode != ERR_OK) {
|
||||
AAFWK::EventReport::SendExtensionEvent(AAFWK::STOP_EXTENSION_ERROR,
|
||||
HiSysEventType::FAULT,
|
||||
eventInfo);
|
||||
}
|
||||
return eventInfo.errCode;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user