mirror of
https://gitee.com/openharmony/ability_ability_runtime
synced 2024-11-27 01:10:52 +00:00
Signed-off-by: zhoushicheng2@huawei.com <zhoushicheng2@huawei.com> Change-Id: Ib03287e840160714ec9e6ccb3b89f3d9770dd100
This commit is contained in:
parent
bcd23326b6
commit
77e0deb645
@ -111,6 +111,14 @@ CLOSE_ABILITY:
|
||||
TERMINATE_ABILITY:
|
||||
__BASE: {type: BEHAVIOR, level: MINOR, tag: ability, desc: terminate ability}
|
||||
|
||||
ABILITY_ONFOREGROUND:
|
||||
__BASE: {type: BEHAVIOR, level: MINOR, tag: ability, desc: start ability}
|
||||
ABILITY_NAME: {type: STRING, desc: ability name}
|
||||
|
||||
ABILITY_ONBACKGROUND:
|
||||
__BASE: {type: BEHAVIOR, level: MINOR, tag: ability, desc: start ability}
|
||||
ABILITY_NAME: {type: STRING, desc: ability name}
|
||||
|
||||
# serviceExtensionAbility behavior event
|
||||
|
||||
START_SERVICE:
|
||||
@ -143,7 +151,7 @@ DISCONNECT_SERVICE:
|
||||
|
||||
APP_ATTACH:
|
||||
__BASE: {type: BEHAVIOR, level: MINOR, tag: app, desc: attach app}
|
||||
PID: {type: INT32, desc: pid}
|
||||
APP_PID: {type: INT32, desc: app pid}
|
||||
VERSION_CODE: {type: INT32, desc: version code}
|
||||
VERSION_NAME: {type: STRING, desc: version name}
|
||||
PROCESS_NAME: {type: STRING, desc: process name}
|
||||
@ -151,7 +159,7 @@ APP_ATTACH:
|
||||
|
||||
APP_LAUNCH:
|
||||
__BASE: {type: BEHAVIOR, level: MINOR, tag: app, desc: launch app}
|
||||
PID: {type: INT32, desc: pid}
|
||||
APP_PID: {type: INT32, desc: app pid}
|
||||
VERSION_CODE: {type: INT32, desc: version code}
|
||||
VERSION_NAME: {type: STRING, desc: version name}
|
||||
PROCESS_NAME: {type: STRING, desc: process name}
|
||||
@ -159,7 +167,7 @@ APP_LAUNCH:
|
||||
|
||||
APP_FOREGROUND:
|
||||
__BASE: {type: BEHAVIOR, level: MINOR, tag: app, desc: foreground app}
|
||||
PID: {type: INT32, desc: pid}
|
||||
APP_PID: {type: INT32, desc: app pid}
|
||||
VERSION_CODE: {type: INT32, desc: version code}
|
||||
VERSION_NAME: {type: STRING, desc: version name}
|
||||
PROCESS_NAME: {type: STRING, desc: process name}
|
||||
@ -167,7 +175,7 @@ APP_FOREGROUND:
|
||||
|
||||
APP_BACKGROUND:
|
||||
__BASE: {type: BEHAVIOR, level: MINOR, tag: app, desc: background app}
|
||||
PID: {type: INT32, desc: pid}
|
||||
APP_PID: {type: INT32, desc: app pid}
|
||||
VERSION_CODE: {type: INT32, desc: version code}
|
||||
VERSION_NAME: {type: STRING, desc: version name}
|
||||
PROCESS_NAME: {type: STRING, desc: process name}
|
||||
@ -175,7 +183,7 @@ APP_BACKGROUND:
|
||||
|
||||
APP_TERMINATE:
|
||||
__BASE: {type: BEHAVIOR, level: MINOR, tag: app, desc: terminate app}
|
||||
PID: {type: INT32, desc: pid}
|
||||
APP_PID: {type: INT32, desc: app pid}
|
||||
VERSION_CODE: {type: INT32, desc: version code}
|
||||
VERSION_NAME: {type: STRING, desc: version name}
|
||||
PROCESS_NAME: {type: STRING, desc: process name}
|
||||
|
@ -47,7 +47,6 @@ void EventReport::SendAppEvent(const std::string &eventName, HiSysEventType type
|
||||
EVENT_KEY_BUNDLE_NAME, eventInfo.bundleName,
|
||||
EVENT_KEY_VERSION_NAME, eventInfo.versionName,
|
||||
EVENT_KEY_VERSION_CODE, eventInfo.versionCode,
|
||||
EVENT_KEY_ABILITY_NAME, eventInfo.abilityName,
|
||||
EVENT_KEY_PROCESS_NAME, eventInfo.processName);
|
||||
}
|
||||
|
||||
@ -155,7 +154,7 @@ void EventReport::SendFormEvent(const std::string &eventName, HiSysEventType typ
|
||||
HiSysEvent::Domain::AAFWK,
|
||||
eventName,
|
||||
type,
|
||||
EVENT_KEY_ABILITY_NAME, eventInfo.formId,
|
||||
EVENT_KEY_FORM_ID, eventInfo.formId,
|
||||
EVENT_KEY_BUNDLE_NAME, eventInfo.bundleName,
|
||||
EVENT_KEY_MODULE_NAME, eventInfo.moduleName,
|
||||
EVENT_KEY_ABILITY_NAME, eventInfo.abilityName);
|
||||
@ -165,7 +164,7 @@ void EventReport::SendFormEvent(const std::string &eventName, HiSysEventType typ
|
||||
HiSysEvent::Domain::AAFWK,
|
||||
eventName,
|
||||
type,
|
||||
EVENT_KEY_ABILITY_NAME, eventInfo.formId);
|
||||
EVENT_KEY_FORM_ID, eventInfo.formId);
|
||||
}
|
||||
}
|
||||
} // namespace AAFWK
|
||||
|
Loading…
Reference in New Issue
Block a user