Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
71160713
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看板
提交
71160713
编写于
9月 28, 2021
作者:
Z
zhuqingxi
1
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update hisysevent testcase
Signed-off-by:
N
zhuqingxi
<
zhuqingxi@huawei.com
>
上级
3e251610
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
58 addition
and
40 deletion
+58
-40
hiviewdfx/hisyseventtest/hisyseventcpptest/HiSysEventCPPTest.cpp
...fx/hisyseventtest/hisyseventcpptest/HiSysEventCPPTest.cpp
+58
-40
未找到文件。
hiviewdfx/hisyseventtest/hisyseventcpptest/HiSysEventCPPTest.cpp
浏览文件 @
71160713
...
@@ -33,6 +33,7 @@ public:
...
@@ -33,6 +33,7 @@ public:
static
void
TearDownTestCase
();
static
void
TearDownTestCase
();
void
SetUp
();
void
SetUp
();
void
TearDown
();
void
TearDown
();
void
RedHiSysEventLog
(
std
::
string
&
hilogredirect
,
std
::
string
&
timeout
);
private:
private:
};
};
void
HiSysEventCPPTest
::
SetUp
()
void
HiSysEventCPPTest
::
SetUp
()
...
@@ -62,6 +63,23 @@ void HiSysEventCPPTest::TearDownTestCase()
...
@@ -62,6 +63,23 @@ void HiSysEventCPPTest::TearDownTestCase()
{
{
std
::
cout
<<
"TearDownTestCase"
<<
std
::
endl
;
std
::
cout
<<
"TearDownTestCase"
<<
std
::
endl
;
}
}
void
HiSysEventCPPTest
::
RedHiSysEventLog
(
std
::
string
&
hilogredirect
,
std
::
string
&
timeout
)
{
unsigned
long
i
;
std
::
vector
<
std
::
string
>
cmdret
;
unsigned
long
cmdretlen
;
std
::
string
cmd
=
"rm "
+
hilogredirect
;
cmdretlen
=
ExecCmdWithRet
(
cmd
,
cmdret
);
for
(
i
=
0
;
i
<
cmdretlen
;
i
++
)
{
std
::
cout
<<
cmdret
[
i
].
c_str
()
<<
std
::
endl
;
}
cmd
=
"timeout "
+
timeout
+
" hilog | grep HISYSEVENT >"
+
hilogredirect
;
std
::
cout
<<
cmd
<<
std
::
endl
;
cmdretlen
=
ExecCmdWithRet
(
cmd
,
cmdret
);
for
(
i
=
0
;
i
<
cmdretlen
;
i
++
)
{
std
::
cout
<<
cmdret
[
i
].
c_str
()
<<
std
::
endl
;
}
}
/**
/**
* @tc.name HiSysEvent Native Write Interface Test, Reported When the KeyValue Is of the
* @tc.name HiSysEvent Native Write Interface Test, Reported When the KeyValue Is of the
* boolean Type and the bool Value Is False
* boolean Type and the bool Value Is False
...
@@ -76,10 +94,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_0100, Function|M
...
@@ -76,10 +94,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_0100, Function|M
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
AAFWK
;
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
AAFWK
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
param
);
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
param
);
Red
irecthi
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
Red
HiSysEvent
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
string
fileinfo
;
string
fileinfo
;
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
std
::
vector
<
std
::
string
>
para
=
{
"AAFWK"
,
"eventNameDemo"
,
"
\"
event_
type_
\"
:1"
,
"
\"
key
\"
:0"
};
std
::
vector
<
std
::
string
>
para
=
{
"AAFWK"
,
"eventNameDemo"
,
"
\"
type_
\"
:1"
,
"
\"
key
\"
:0"
};
if
(
!
fileinfo
.
empty
())
{
if
(
!
fileinfo
.
empty
())
{
result
=
CheckInfo
(
para
,
fileinfo
);
result
=
CheckInfo
(
para
,
fileinfo
);
}
else
{
}
else
{
...
@@ -102,10 +120,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_0200, Function|M
...
@@ -102,10 +120,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_0200, Function|M
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
APPEXECFWK
;
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
APPEXECFWK
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
param
);
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
param
);
Red
irecthi
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
Red
HiSysEvent
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
string
fileinfo
=
""
;
string
fileinfo
=
""
;
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
std
::
vector
<
std
::
string
>
para
=
{
"APPEXECFWK"
,
"eventNameDemo"
,
"
\"
event_
type_
\"
:1"
,
"
\"
key
\"
:1"
};
std
::
vector
<
std
::
string
>
para
=
{
"APPEXECFWK"
,
"eventNameDemo"
,
"
\"
type_
\"
:1"
,
"
\"
key
\"
:1"
};
if
(
fileinfo
!=
""
)
{
if
(
fileinfo
!=
""
)
{
result
=
CheckInfo
(
para
,
fileinfo
);
result
=
CheckInfo
(
para
,
fileinfo
);
}
else
{
}
else
{
...
@@ -129,10 +147,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_0300, Function|M
...
@@ -129,10 +147,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_0300, Function|M
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
ACCOUNT
;
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
ACCOUNT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
test
);
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
test
);
Red
irecthi
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
Red
HiSysEvent
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
string
fileinfo
=
""
;
string
fileinfo
=
""
;
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
std
::
vector
<
std
::
string
>
para
=
{
"ACCOUNT"
,
"eventNameDemo"
,
"
\"
event_
type_
\"
:1"
,
"
\"
key
\"
:[0]"
};
std
::
vector
<
std
::
string
>
para
=
{
"ACCOUNT"
,
"eventNameDemo"
,
"
\"
type_
\"
:1"
,
"
\"
key
\"
:[0]"
};
if
(
fileinfo
!=
""
)
{
if
(
fileinfo
!=
""
)
{
result
=
CheckInfo
(
para
,
fileinfo
);
result
=
CheckInfo
(
para
,
fileinfo
);
}
else
{
}
else
{
...
@@ -154,10 +172,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_0400, Function|M
...
@@ -154,10 +172,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_0400, Function|M
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
OTHERS
;
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
OTHERS
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
param
);
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
param
);
Red
irecthi
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
Red
HiSysEvent
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
string
fileinfo
=
""
;
string
fileinfo
=
""
;
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
std
::
vector
<
std
::
string
>
para
=
{
"OTHERS"
,
"eventNameDemo"
,
"
\"
event_
type_
\"
:1"
,
"
\"
key
\"
:97"
};
std
::
vector
<
std
::
string
>
para
=
{
"OTHERS"
,
"eventNameDemo"
,
"
\"
type_
\"
:1"
,
"
\"
key
\"
:97"
};
if
(
fileinfo
!=
""
)
{
if
(
fileinfo
!=
""
)
{
result
=
CheckInfo
(
para
,
fileinfo
);
result
=
CheckInfo
(
para
,
fileinfo
);
}
else
{
}
else
{
...
@@ -181,10 +199,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_0500, Function|M
...
@@ -181,10 +199,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_0500, Function|M
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
WEARABLE
;
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
WEARABLE
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
test
);
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
test
);
Red
irecthi
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
Red
HiSysEvent
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
string
fileinfo
=
""
;
string
fileinfo
=
""
;
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
std
::
vector
<
std
::
string
>
para
=
{
"WEARABLE"
,
"eventNameDemo"
,
"
\"
event_
type_
\"
:1"
,
"
\"
key
\"
:[97]"
};
std
::
vector
<
std
::
string
>
para
=
{
"WEARABLE"
,
"eventNameDemo"
,
"
\"
type_
\"
:1"
,
"
\"
key
\"
:[97]"
};
if
(
fileinfo
!=
""
)
{
if
(
fileinfo
!=
""
)
{
result
=
CheckInfo
(
para
,
fileinfo
);
result
=
CheckInfo
(
para
,
fileinfo
);
}
else
{
}
else
{
...
@@ -206,10 +224,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_0600, Function|M
...
@@ -206,10 +224,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_0600, Function|M
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
WEARABLE_HARDWARE
;
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
WEARABLE_HARDWARE
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
param
);
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
param
);
Red
irecthi
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
Red
HiSysEvent
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
string
fileinfo
=
""
;
string
fileinfo
=
""
;
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
std
::
vector
<
std
::
string
>
para
=
{
"WEARABLEHW"
,
"eventNameDemo"
,
"
\"
event_
type_
\"
:1"
,
"
\"
key
\"
:30949.4"
};
std
::
vector
<
std
::
string
>
para
=
{
"WEARABLEHW"
,
"eventNameDemo"
,
"
\"
type_
\"
:1"
,
"
\"
key
\"
:30949.4"
};
if
(
fileinfo
!=
""
)
{
if
(
fileinfo
!=
""
)
{
result
=
CheckInfo
(
para
,
fileinfo
);
result
=
CheckInfo
(
para
,
fileinfo
);
}
else
{
}
else
{
...
@@ -233,10 +251,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_0700, Function|M
...
@@ -233,10 +251,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_0700, Function|M
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
USB
;
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
USB
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
test
);
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
test
);
Red
irecthi
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
Red
HiSysEvent
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
string
fileinfo
=
""
;
string
fileinfo
=
""
;
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
std
::
vector
<
std
::
string
>
para
=
{
"USB"
,
"eventNameDemo"
,
"
\"
event_
type_
\"
:1"
,
"
\"
key
\"
:[30949.4]"
};
std
::
vector
<
std
::
string
>
para
=
{
"USB"
,
"eventNameDemo"
,
"
\"
type_
\"
:1"
,
"
\"
key
\"
:[30949.4]"
};
if
(
fileinfo
!=
""
)
{
if
(
fileinfo
!=
""
)
{
result
=
CheckInfo
(
para
,
fileinfo
);
result
=
CheckInfo
(
para
,
fileinfo
);
}
else
{
}
else
{
...
@@ -258,10 +276,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_0800, Function|M
...
@@ -258,10 +276,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_0800, Function|M
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
UPDATE
;
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
UPDATE
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
param
);
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
param
);
Red
irecthi
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
Red
HiSysEvent
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
string
fileinfo
=
""
;
string
fileinfo
=
""
;
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
std
::
vector
<
std
::
string
>
para
=
{
"UPDATE"
,
"eventNameDemo"
,
"
\"
event_
type_
\"
:1"
,
"
\"
key
\"
:230.47"
};
std
::
vector
<
std
::
string
>
para
=
{
"UPDATE"
,
"eventNameDemo"
,
"
\"
type_
\"
:1"
,
"
\"
key
\"
:230.47"
};
if
(
fileinfo
!=
""
)
{
if
(
fileinfo
!=
""
)
{
result
=
CheckInfo
(
para
,
fileinfo
);
result
=
CheckInfo
(
para
,
fileinfo
);
}
else
{
}
else
{
...
@@ -285,10 +303,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_0900, Function|M
...
@@ -285,10 +303,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_0900, Function|M
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
TELEPHONY
;
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
TELEPHONY
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
test
);
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
test
);
Red
irecthi
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
Red
HiSysEvent
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
string
fileinfo
=
""
;
string
fileinfo
=
""
;
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
std
::
vector
<
std
::
string
>
para
=
{
"TELEPHONY"
,
"eventNameDemo"
,
"
\"
event_
type_
\"
:1"
,
"
\"
key
\"
:[230.47]"
};
std
::
vector
<
std
::
string
>
para
=
{
"TELEPHONY"
,
"eventNameDemo"
,
"
\"
type_
\"
:1"
,
"
\"
key
\"
:[230.47]"
};
if
(
fileinfo
!=
""
)
{
if
(
fileinfo
!=
""
)
{
result
=
CheckInfo
(
para
,
fileinfo
);
result
=
CheckInfo
(
para
,
fileinfo
);
}
else
{
}
else
{
...
@@ -310,10 +328,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_1000, Function|M
...
@@ -310,10 +328,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_1000, Function|M
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
STARTUP
;
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
STARTUP
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
param
);
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
param
);
Red
irecthi
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
Red
HiSysEvent
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
string
fileinfo
=
""
;
string
fileinfo
=
""
;
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
std
::
vector
<
std
::
string
>
para
=
{
"STARTUP"
,
"eventNameDemo"
,
"
\"
event_
type_
\"
:1"
,
"
\"
key
\"
:100"
};
std
::
vector
<
std
::
string
>
para
=
{
"STARTUP"
,
"eventNameDemo"
,
"
\"
type_
\"
:1"
,
"
\"
key
\"
:100"
};
if
(
fileinfo
!=
""
)
{
if
(
fileinfo
!=
""
)
{
result
=
CheckInfo
(
para
,
fileinfo
);
result
=
CheckInfo
(
para
,
fileinfo
);
}
else
{
}
else
{
...
@@ -337,10 +355,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_1100, Function|M
...
@@ -337,10 +355,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_1100, Function|M
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
SOURCE_CODE_TRANSFORMER
;
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
SOURCE_CODE_TRANSFORMER
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
test
);
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
test
);
Red
irecthi
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
Red
HiSysEvent
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
string
fileinfo
=
""
;
string
fileinfo
=
""
;
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
std
::
vector
<
std
::
string
>
para
=
{
"SRCTRANSFORMER"
,
"eventNameDemo"
,
"
\"
event_
type_
\"
:1"
,
"
\"
key
\"
:[100]"
};
std
::
vector
<
std
::
string
>
para
=
{
"SRCTRANSFORMER"
,
"eventNameDemo"
,
"
\"
type_
\"
:1"
,
"
\"
key
\"
:[100]"
};
if
(
fileinfo
!=
""
)
{
if
(
fileinfo
!=
""
)
{
result
=
CheckInfo
(
para
,
fileinfo
);
result
=
CheckInfo
(
para
,
fileinfo
);
}
else
{
}
else
{
...
@@ -362,10 +380,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_1200, Function|M
...
@@ -362,10 +380,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_1200, Function|M
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
SENSORS
;
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
SENSORS
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
param
);
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
param
);
Red
irecthi
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
Red
HiSysEvent
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
string
fileinfo
=
""
;
string
fileinfo
=
""
;
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
std
::
vector
<
std
::
string
>
para
=
{
"SENSORS"
,
"eventNameDemo"
,
"
\"
event_
type_
\"
:1"
,
"
\"
key
\"
:1000000"
};
std
::
vector
<
std
::
string
>
para
=
{
"SENSORS"
,
"eventNameDemo"
,
"
\"
type_
\"
:1"
,
"
\"
key
\"
:1000000"
};
if
(
fileinfo
!=
""
)
{
if
(
fileinfo
!=
""
)
{
result
=
CheckInfo
(
para
,
fileinfo
);
result
=
CheckInfo
(
para
,
fileinfo
);
}
else
{
}
else
{
...
@@ -389,10 +407,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_1300, Function|M
...
@@ -389,10 +407,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_1300, Function|M
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
SECURITY
;
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
SECURITY
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
test
);
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
test
);
Red
irecthi
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
Red
HiSysEvent
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
string
fileinfo
=
""
;
string
fileinfo
=
""
;
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
std
::
vector
<
std
::
string
>
para
=
{
"SECURITY"
,
"eventNameDemo"
,
"
\"
event_
type_
\"
:1"
,
"
\"
key
\"
:[1000000]"
};
std
::
vector
<
std
::
string
>
para
=
{
"SECURITY"
,
"eventNameDemo"
,
"
\"
type_
\"
:1"
,
"
\"
key
\"
:[1000000]"
};
if
(
fileinfo
!=
""
)
{
if
(
fileinfo
!=
""
)
{
result
=
CheckInfo
(
para
,
fileinfo
);
result
=
CheckInfo
(
para
,
fileinfo
);
}
else
{
}
else
{
...
@@ -414,10 +432,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_1400, Function|M
...
@@ -414,10 +432,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_1400, Function|M
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
ROUTER
;
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
ROUTER
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
FAULT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
param
);
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
param
);
Red
irecthi
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
Red
HiSysEvent
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
string
fileinfo
=
""
;
string
fileinfo
=
""
;
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
std
::
vector
<
std
::
string
>
para
=
{
"ROUTER"
,
"eventNameDemo"
,
"
\"
event_
type_
\"
:1"
,
"
\"
key
\"
:10"
};
std
::
vector
<
std
::
string
>
para
=
{
"ROUTER"
,
"eventNameDemo"
,
"
\"
type_
\"
:1"
,
"
\"
key
\"
:10"
};
if
(
fileinfo
!=
""
)
{
if
(
fileinfo
!=
""
)
{
result
=
CheckInfo
(
para
,
fileinfo
);
result
=
CheckInfo
(
para
,
fileinfo
);
}
else
{
}
else
{
...
@@ -441,10 +459,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_1500, Function|M
...
@@ -441,10 +459,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_1500, Function|M
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
POWERMGR
;
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
POWERMGR
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
STATISTIC
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
STATISTIC
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
test
);
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
test
);
Red
irecthi
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
Red
HiSysEvent
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
string
fileinfo
=
""
;
string
fileinfo
=
""
;
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
std
::
vector
<
std
::
string
>
para
=
{
"POWERMGR"
,
"eventNameDemo"
,
"
\"
event_
type_
\"
:2"
,
"
\"
key
\"
:[10]"
};
std
::
vector
<
std
::
string
>
para
=
{
"POWERMGR"
,
"eventNameDemo"
,
"
\"
type_
\"
:2"
,
"
\"
key
\"
:[10]"
};
if
(
fileinfo
!=
""
)
{
if
(
fileinfo
!=
""
)
{
result
=
CheckInfo
(
para
,
fileinfo
);
result
=
CheckInfo
(
para
,
fileinfo
);
}
else
{
}
else
{
...
@@ -466,10 +484,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_1600, Function|M
...
@@ -466,10 +484,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_1600, Function|M
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
NOTIFICATION
;
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
NOTIFICATION
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
STATISTIC
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
STATISTIC
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
param
);
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
param
);
Red
irecthi
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
Red
HiSysEvent
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
string
fileinfo
=
""
;
string
fileinfo
=
""
;
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
std
::
vector
<
std
::
string
>
para
=
{
"NOTIFICATION"
,
"eventNameDemo"
,
"
\"
event_
type_
\"
:2"
,
"
\"
key
\"
:
\"
abc
\"
"
};
std
::
vector
<
std
::
string
>
para
=
{
"NOTIFICATION"
,
"eventNameDemo"
,
"
\"
type_
\"
:2"
,
"
\"
key
\"
:
\"
abc
\"
"
};
if
(
fileinfo
!=
""
)
{
if
(
fileinfo
!=
""
)
{
result
=
CheckInfo
(
para
,
fileinfo
);
result
=
CheckInfo
(
para
,
fileinfo
);
}
else
{
}
else
{
...
@@ -493,10 +511,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_1700, Function|M
...
@@ -493,10 +511,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_1700, Function|M
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
MULTI_MODAL_INPUT
;
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
MULTI_MODAL_INPUT
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
SECURITY
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
SECURITY
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
test
);
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
test
);
Red
irecthi
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
Red
HiSysEvent
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
string
fileinfo
=
""
;
string
fileinfo
=
""
;
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
std
::
vector
<
std
::
string
>
para
=
{
"MULTIMODALINPUT"
,
"eventNameDemo"
,
"
\"
event_
type_
\"
:3"
,
"
\"
key
\"
:[
\"
abc
\"
]"
};
std
::
vector
<
std
::
string
>
para
=
{
"MULTIMODALINPUT"
,
"eventNameDemo"
,
"
\"
type_
\"
:3"
,
"
\"
key
\"
:[
\"
abc
\"
]"
};
if
(
fileinfo
!=
""
)
{
if
(
fileinfo
!=
""
)
{
result
=
CheckInfo
(
para
,
fileinfo
);
result
=
CheckInfo
(
para
,
fileinfo
);
}
else
{
}
else
{
...
@@ -528,10 +546,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_1800, Function|M
...
@@ -528,10 +546,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_1800, Function|M
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
MULTI_MEDIA
;
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
MULTI_MEDIA
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
SECURITY
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
SECURITY
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
test
);
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
test
);
Red
irecthi
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
Red
HiSysEvent
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
string
fileinfo
=
""
;
string
fileinfo
=
""
;
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
std
::
vector
<
std
::
string
>
para
=
{
"MULTIMEDIA"
,
"eventNameDemo"
,
"
\"
event_
type_
\"
:3"
,
str
};
std
::
vector
<
std
::
string
>
para
=
{
"MULTIMEDIA"
,
"eventNameDemo"
,
"
\"
type_
\"
:3"
,
str
};
if
(
fileinfo
!=
""
)
{
if
(
fileinfo
!=
""
)
{
result
=
CheckInfo
(
para
,
fileinfo
);
result
=
CheckInfo
(
para
,
fileinfo
);
}
else
{
}
else
{
...
@@ -564,10 +582,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_2000, Function|M
...
@@ -564,10 +582,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_2000, Function|M
g_key
,
param
,
g_key
,
param
,
g_key
,
param
,
g_key
,
param
,
g_key
,
param
,
g_key
,
param
,
g_key
,
param
,
g_key
,
param
,
g_key
,
param
,
g_key
,
param
,
g_key
,
param
,
g_key
,
param
,
g_key
,
param
,
g_key
,
param
,
g_key
,
param
,
g_key
,
param
,
g_key
,
param
,
g_key
,
param
,
g_key
,
param
,
g_key
,
param
,
g_key
,
param
,
g_key
,
param
,
g_key
,
param
,
g_key
,
param
,
g_key
,
param
,
g_key
,
param
);
g_key
,
param
,
g_key
,
param
);
Red
irecthi
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
Red
HiSysEvent
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
string
fileinfo
=
""
;
string
fileinfo
=
""
;
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
std
::
vector
<
std
::
string
>
para
=
{
"MSDP"
,
"eventNameDemo"
,
"
\"
event_
type_
\"
:4"
,
str
};
std
::
vector
<
std
::
string
>
para
=
{
"MSDP"
,
"eventNameDemo"
,
"
\"
type_
\"
:4"
,
str
};
if
(
fileinfo
!=
""
)
{
if
(
fileinfo
!=
""
)
{
result
=
CheckInfo
(
para
,
fileinfo
);
result
=
CheckInfo
(
para
,
fileinfo
);
}
else
{
}
else
{
...
@@ -592,10 +610,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_2200, Function|M
...
@@ -592,10 +610,10 @@ HWTEST_F(HiSysEventCPPTest, DFX_DFT_HiviewKit_HiSysEvent_Native_2200, Function|M
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
LOCATION
;
string
domain
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
Domain
::
LOCATION
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
BEHAVIOR
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
eventtype
=
OHOS
::
HiviewDFX
::
HiSysEvent
::
EventType
::
BEHAVIOR
;
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
param
);
OHOS
::
HiviewDFX
::
HiSysEvent
::
Write
(
domain
,
"eventNameDemo"
,
eventtype
,
g_key
,
param
);
Red
irecthi
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
Red
HiSysEvent
Log
(
g_hiLogRedirect
,
g_reDiRectTimeout
);
string
fileinfo
=
""
;
string
fileinfo
=
""
;
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
fileinfo
=
ReadFile
(
g_hiLogRedirect
);
std
::
vector
<
std
::
string
>
para
=
{
"LOCATION"
,
"eventNameDemo"
,
"
\"
event_
type_
\"
:4"
,
g_key
,
param
};
std
::
vector
<
std
::
string
>
para
=
{
"LOCATION"
,
"eventNameDemo"
,
"
\"
type_
\"
:4"
,
g_key
,
param
};
if
(
fileinfo
!=
""
)
{
if
(
fileinfo
!=
""
)
{
result
=
CheckInfo
(
para
,
fileinfo
);
result
=
CheckInfo
(
para
,
fileinfo
);
}
else
{
}
else
{
...
...
鸿蒙社区
@harmonycommunity
mentioned in commit
dded55a2
·
9月 29, 2021
mentioned in commit
dded55a2
mentioned in commit dded55a26a88e4724a98a2d18b04ec0d8d029668
开关提交列表
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录