Home
last modified time | relevance | path

Searched refs:event2 (Results 1 - 11 of 11) sorted by relevance

/base/hiviewdfx/hiview/plugins/privacy_controller/test/unittest/common/
H A Dprivacy_controller_test.cpp85 auto event2 = CreateEvent(TEST_DOMAIN, TEST_NAME, SysEventCreator::STATISTIC); in HWTEST_F() local
86 ASSERT_TRUE(plugin.OnEvent(event2)); in HWTEST_F()
108 auto event2 = CreateSysEvent(TEST_DOMAIN, TEST_NAME, SysEventCreator::STATISTIC); in HWTEST_F() local
109 ASSERT_TRUE(areaPolicy.IsAllowed(event2)); in HWTEST_F()
179 auto event2 = CreateSysEvent(TEST_DOMAIN, TEST_NAME, SysEventCreator::STATISTIC); in HWTEST_F() local
180 ASSERT_TRUE(areaPolicy.IsAllowed(event2)); in HWTEST_F()
205 auto event2 = CreateSysEvent(TEST_DOMAIN, TEST_NAME, SysEventCreator::STATISTIC); in HWTEST_F() local
206 ASSERT_TRUE(areaPolicy.IsAllowed(event2)); in HWTEST_F()
/base/hiviewdfx/hiappevent/test/unittest/common/native/
H A Dhiappevent_app_event_test.cpp102 Event event2(TEST_DOMAIN, TEST_NAME, STATISTIC); in HWTEST_F()
103 event2.AddParam("aa_", TEST_INT_VALUE); in HWTEST_F()
104 ASSERT_EQ(Write(event2), ERROR_INVALID_PARAM_NAME); in HWTEST_F()
142 Event event2(TEST_DOMAIN, TEST_NAME, TEST_TYPE); in HWTEST_F()
143 event2.AddParam("str_key", longInvalidStr); in HWTEST_F()
144 ASSERT_EQ(Write(event2), ERROR_INVALID_PARAM_VALUE_LENGTH); in HWTEST_F()
179 Event event2(TEST_DOMAIN, TEST_NAME, TEST_TYPE); in HWTEST_F()
180 ASSERT_EQ(Write(event2), HIAPPEVENT_VERIFY_SUCCESSFUL); in HWTEST_F()
205 Event event2(TEST_DOMAIN, "aa_", TEST_TYPE); in HWTEST_F()
235 Event event2("12 in HWTEST_F()
[all...]
/base/sensors/sensor/vibration_convert/core/native/test/unittest/
H A Dgenerate_json_test.cpp69 HapticEvent event2 = { in HWTEST_F() local
86 vtEvents.push_back(event2); in HWTEST_F()
/base/hiviewdfx/hiview/base/test/unittest/common/
H A Devent_base_test.cpp76 LoopEvent event2 = LoopEvent::CreateLoopEvent(now + 200); // 200ms later in HWTEST_F() local
77 ASSERT_TRUE(event2 < event1); in HWTEST_F()
H A Devent_loop_test.cpp203 auto event2 = std::make_shared<Event>("test2"); in HWTEST_F() local
211 currentLooper_->AddEvent(eventhandler2, event2, nullptr); in HWTEST_F()
245 auto event2 = std::make_shared<Event>("test2"); in HWTEST_F() local
249 currentLooper_->AddEvent(eventhandler1, event2, nullptr); in HWTEST_F()
365 auto event2 = std::make_shared<Event>("test2"); in HWTEST_F() local
366 auto seq = currentLooper_->AddTimerEvent(eventhandler1, event2, nullptr, 2, false); in HWTEST_F()
/base/hiviewdfx/hiview/test/unittest/common/
H A Dholistic_platform_test.cpp314 std::shared_ptr<Event> event2 = std::make_shared<Event>("HolisticPlatformRun001", "testRun001"); in HWTEST_F() local
315 event2->messageType_ = OHOS::HiviewDFX::Event::MessageType::RAW_EVENT; in HWTEST_F()
317 event2->eventId_ = EVENT_ID_1; in HWTEST_F()
318 event2->SetValue("HolisticPlatformLoadingPlugins003", "SYS_EVENT testRun001"); in HWTEST_F()
319 platform_.PostUnorderedEvent(nullptr, event2); in HWTEST_F()
/base/security/security_guard/test/unittest/data_collect/sa/
H A Dsecurity_guard_data_collect_sa_test.cpp641 SecurityCollector::Event event2 { in HWTEST_F()
647 SecurityCollector::SecurityCollectorSubscribeInfo subscribeInfo(event2); in HWTEST_F()
666 SecurityCollector::Event event2 { in HWTEST_F()
672 SecurityCollector::SecurityCollectorSubscribeInfo subscribeInfo(event2); in HWTEST_F()
697 SecurityCollector::Event event2 { in HWTEST_F()
703 SecurityCollector::SecurityCollectorSubscribeInfo subscribeInfo(event2); in HWTEST_F()
727 SecurityCollector::Event event2 { in HWTEST_F()
733 SecurityCollector::SecurityCollectorSubscribeInfo subscribeInfo(event2); in HWTEST_F()
757 SecurityCollector::Event event2 { in HWTEST_F()
763 SecurityCollector::SecurityCollectorSubscribeInfo subscribeInfo(event2); in HWTEST_F()
[all...]
/base/hiviewdfx/hiview/plugins/eventlogger/test/unittest/common/
H A Devent_logger_test.cpp374 std::shared_ptr<OHOS::HiviewDFX::Event> event2 = std::static_pointer_cast<Event>(sysEvent2);
375 EXPECT_EQ(eventLogger->OnEvent(event2), true);
/base/telephony/core_service/test/unittest/core_service_gtest/
H A Dzero_branch_test_sim_ril.cpp900 auto event2 = AppExecFwk::InnerEvent::Get(0, object); in HWTEST_F() local
911 iccFileController->ObtainBinaryFile(fileId, size, event2); in HWTEST_F()
986 auto event2 = GetControllerToFileMsgEvent(code, false); in HWTEST_F() local
987 simFile->ProcessEvent(event2); in HWTEST_F()
995 auto event2 = GetDiallingNumbersHandlerResultEvent(code, true); in HWTEST_F() local
996 simFile->ProcessEvent(event2); in HWTEST_F()
/base/hiviewdfx/hiview/base/event_raw/test/unittest/common/
H A Devent_raw_encoded_and_decoded_test.cpp824 DecodedEvent event2(rawData->GetData()); in HWTEST_F()
825 ASSERT_TRUE(event2.IsValid()); in HWTEST_F()
/base/telephony/cellular_data/test/
H A Dzero_branch_test.cpp637 auto event2 = AppExecFwk::InnerEvent::Get(-1); in HWTEST_F() local
638 controller.cellularDataHandler_->RetryToSetupDatacall(event2); in HWTEST_F()

Completed in 14 milliseconds