Home
last modified time | relevance | path

Searched refs:appEventGroups (Results 1 - 2 of 2) sorted by relevance

/base/hiviewdfx/hiappevent/test/unittest/common/native/
H A Dhiappevent_native_test.cpp51 static void OnReceive(const char* domain, const struct HiAppEvent_AppEventGroup* appEventGroups, uint32_t groupSize) in OnReceive() argument
55 ASSERT_TRUE(appEventGroups); in OnReceive()
56 ASSERT_EQ(appEventGroups[0].infoLen, 1); in OnReceive()
57 ASSERT_TRUE(appEventGroups[0].appEventInfos); in OnReceive()
58 ASSERT_EQ(strcmp(appEventGroups[0].appEventInfos[0].name, TEST_EVENT_NAME), 0); in OnReceive()
59 ASSERT_EQ(strcmp(appEventGroups[0].appEventInfos[0].domain, TEST_DOMAIN_NAME), 0); in OnReceive()
60 ASSERT_EQ(appEventGroups[0].appEventInfos[0].type, SECURITY); in OnReceive()
61 ASSERT_EQ(strncmp(appEventGroups[0].appEventInfos[0].params, TEST_EVENT_PARAM, TEST_EVENT_PARAM_LENGTH), 0); in OnReceive()
/base/hiviewdfx/hiappevent/interfaces/native/kits/include/hiappevent/
H A Dhiappevent.h171 * @param appEventGroups The event group by the domain.
172 * @param groupLen The length of appEventGroups array.
177 const char* domain, const struct HiAppEvent_AppEventGroup* appEventGroups, uint32_t groupLen);

Completed in 3 milliseconds