mirror of
https://gitee.com/openharmony/security_device_security_level
synced 2024-11-27 00:41:17 +00:00
fix: change hisys domain name
Change-Id: I0c758b6bfff44320b7d2cbc6513f8999cc3a3139 Signed-off-by: Zen知仁 <xuzhiren@huawei.com>
This commit is contained in:
parent
5f889bc9b5
commit
735e9d5ecd
@ -11,7 +11,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
domain: SECURITY
|
||||
domain: DSLM
|
||||
|
||||
SERVICE_START_FAILED:
|
||||
__BASE: {type: FAULT, level: CRITICAL, tag: DSLM, desc: DSLM service start errors}
|
||||
|
@ -40,13 +40,13 @@ constexpr char STR_CRED_TYPE[] = "CRED_TYPE";
|
||||
} // namespace
|
||||
void ReportServiceStartFailedEvent(const uint32_t errorType)
|
||||
{
|
||||
OHOS::HiviewDFX::HiSysEvent::Write(OHOS::HiviewDFX::HiSysEvent::Domain::SECURITY, STR_EVENT_START_FAILED,
|
||||
OHOS::HiviewDFX::HiSysEvent::Write(OHOS::HiviewDFX::HiSysEvent::Domain::DSLM, STR_EVENT_START_FAILED,
|
||||
OHOS::HiviewDFX::HiSysEvent::EventType::FAULT, STR_ERROR_TYPE, errorType);
|
||||
}
|
||||
|
||||
void ReportInitSelfFailedEvent(const char *errorString)
|
||||
{
|
||||
OHOS::HiviewDFX::HiSysEvent::Write(OHOS::HiviewDFX::HiSysEvent::Domain::SECURITY, STR_EVENT_INIT_SELF_LEVEL_FAULT,
|
||||
OHOS::HiviewDFX::HiSysEvent::Write(OHOS::HiviewDFX::HiSysEvent::Domain::DSLM, STR_EVENT_INIT_SELF_LEVEL_FAULT,
|
||||
OHOS::HiviewDFX::HiSysEvent::EventType::FAULT, STR_ERROR_STR, errorString);
|
||||
}
|
||||
|
||||
@ -56,7 +56,7 @@ void ReportAppInvokeEvent(const AppInvokeEvent *event)
|
||||
return;
|
||||
}
|
||||
|
||||
OHOS::HiviewDFX::HiSysEvent::Write(OHOS::HiviewDFX::HiSysEvent::Domain::SECURITY, STR_EVENT_CALL_INTERFACE,
|
||||
OHOS::HiviewDFX::HiSysEvent::Write(OHOS::HiviewDFX::HiSysEvent::Domain::DSLM, STR_EVENT_CALL_INTERFACE,
|
||||
OHOS::HiviewDFX::HiSysEvent::EventType::STATISTIC, STR_USER_ID, event->uid, STR_COST_TIME, event->costTime,
|
||||
STR_RET_CODE, event->retCode, STR_SEC_LEVEL, event->secLevel, STR_RET_MODE, event->retMode, STR_LOCAL_MODEL,
|
||||
event->localModel, STR_TARGET_MODEL, event->targetModel, STR_PKG_NAME, event->pkgName);
|
||||
@ -68,7 +68,7 @@ void ReportSecurityInfoSyncEvent(const SecurityInfoSyncEvent *event)
|
||||
return;
|
||||
}
|
||||
|
||||
OHOS::HiviewDFX::HiSysEvent::Write(OHOS::HiviewDFX::HiSysEvent::Domain::SECURITY, STR_EVENT_QUERY_INFO,
|
||||
OHOS::HiviewDFX::HiSysEvent::Write(OHOS::HiviewDFX::HiSysEvent::Domain::DSLM, STR_EVENT_QUERY_INFO,
|
||||
OHOS::HiviewDFX::HiSysEvent::EventType::STATISTIC, STR_LOCAL_MODEL, event->localModel, STR_TARGET_MODEL,
|
||||
event->targetModel, STR_LOCAL_VERSION, event->localVersion, STR_TARGET_VERSION, event->targetVersion,
|
||||
STR_CRED_TYPE, event->credType, STR_RET_CODE, event->retCode, STR_COST_TIME, event->costTime, STR_SEC_LEVEL,
|
||||
|
Loading…
Reference in New Issue
Block a user