Home
last modified time | relevance | path

Searched refs:GetCode (Results 1 – 25 of 50) sorted by relevance

12

/base/notification/common_event_service/test/systemtest/common/acts/actsCESDataTest/
DactsCESDataTest.cpp233 EXPECT_EQ(GetCode() == CODECASE1, true); in SubscriberFirstTestCase1()
241 EXPECT_EQ(GetCode() == CODECASE2, true); in SubscriberFirstTestCase2()
249 EXPECT_EQ(GetCode() == CODECASE3, true); in SubscriberFirstTestCase3()
257 EXPECT_EQ(GetCode() == CODECASE4, true); in SubscriberFirstTestCase4()
265 EXPECT_EQ(GetCode() == CODECASE5, true); in SubscriberFirstTestCase5()
273 EXPECT_EQ(GetCode() == CODECASE6, true); in SubscriberFirstTestCase6()
281 EXPECT_EQ(GetCode() == CODECASE7, true); in SubscriberFirstTestCase7()
311 EXPECT_EQ(GetCode() == CODECASE1, true); in SubscriberFirstTestCase19()
314 EXPECT_EQ(GetCode() == CODECASE2, true); in SubscriberFirstTestCase19()
325 EXPECT_EQ(GetCode() == CODECASE3, true); in SubscriberFirstTestCase20()
[all …]
/base/time/time_service/services/time/src/
Dnitz_subscriber.cpp61 …IME_HILOGD(TIME_MODULE_SERVICE, "NITZ Timezone changed broadcast code:%{public}d", data.GetCode()); in NITZTimeChangeBroadcast()
67 TIME_HILOGD(TIME_MODULE_SERVICE, "NITZ Time changed broadcast code:%{public}d", data.GetCode()); in NITZTimezoneChangeBroadcast()
/base/notification/common_event_service/frameworks/native/src/
Dcommon_event_subscriber.cpp52 int32_t CommonEventSubscriber::GetCode() const in GetCode() function in OHOS::EventFwk::CommonEventSubscriber
59 return result_->GetCode(); in GetCode()
Dasync_common_event_result.cpp49 int32_t AsyncCommonEventResult::GetCode() const in GetCode() function in OHOS::EventFwk::AsyncCommonEventResult
Dcommon_event_data.cpp45 int32_t CommonEventData::GetCode() const in GetCode() function in OHOS::EventFwk::CommonEventData
/base/notification/common_event_service/services/test/unittest/
Dcommon_event_freeze_test.cpp115 EXPECT_EQ(INNITCODE, data.GetCode()); in ProcessSubscriberTestCase1()
124 EXPECT_EQ(INNITCODE, data.GetCode()); in ProcessSubscriberTestCase2()
166 EXPECT_EQ(CHANGECODE, data.GetCode()); in ProcessSubscriberTest2Case1()
169 EXPECT_EQ(INNITCODE, data.GetCode()); in ProcessSubscriberTest2Case1()
179 EXPECT_EQ(INNITCODE, data.GetCode()); in ProcessSubscriberTest2Case2()
223 EXPECT_EQ(CHANGECODE2, data.GetCode()); in ProcessSubscriberTestLastCase1()
227 EXPECT_EQ(CHANGECODE, data.GetCode()); in ProcessSubscriberTestLastCase1()
230 EXPECT_EQ(INNITCODE, data.GetCode()); in ProcessSubscriberTestLastCase1()
/base/telephony/core_service/test/unittest/core_service_gtest/
Dsim_operator_brocast_test.cpp28 data.GetWant().GetAction().c_str(), data.GetData().c_str(), data.GetCode(), in OnReceiveEvent()
/base/notification/common_event_service/interfaces/inner_api/
Dasync_common_event_result.h52 int32_t GetCode() const;
Dcommon_event_subscriber.h66 int32_t GetCode() const;
Dcommon_event_data.h76 int32_t GetCode() const;
/base/customization/enterprise_device_management/services/edm/src/
Diplugin.cpp42 std::uint32_t IPlugin::GetCode() in GetCode() function in OHOS::EDM::IPlugin
Dplugin_manager.cpp96 pluginsCode_.insert(std::make_pair(plugin->GetCode(), plugin)); in AddPlugin()
150 it->first.c_str(), it->second->GetCode(), it->second->GetPermission().c_str()); in DumpPlugin()
/base/telephony/core_service/services/sim/test/
Dcommon_event_test.h73 … << ", reason = " << want.GetStringParam(PARAM_REASON) << ", code = " << data.GetCode() in OnReceiveEvent()
80 … std::cout << "receive a CommonEvent action = " << action << ", code = " << data.GetCode() in OnReceiveEvent()
/base/telephony/call_manager/services/call/src/
Dcall_broadcast_subscriber.cpp60 TELEPHONY_LOGI("sim state broadcast code:%{public}d", data.GetCode()); in SimStateBroadcast()
/base/customization/enterprise_device_management/services/edm/include/
Diplugin.h54 std::uint32_t GetCode();
/base/customization/enterprise_device_management/test/unittest/src/
Dplugin_manager_test.cpp76 ASSERT_TRUE(plugin->GetCode() == 0);
/base/notification/common_event_service/test/fuzztest/asynccommoneventresult_fuzzer/
Dasynccommoneventresult_fuzzer.cpp36 result->GetCode(); in DoSomethingInterestingWithMyAPI()
/base/powermgr/battery_manager/frameworks/js/napi/
Dsystem_battery.h43 inline int32_t GetCode() const in GetCode() function
/base/notification/common_event_service/test/systemtest/common/ces/common_event_services_publish_ordered_system_test/
Dcommon_event_services_publish_ordered_system_test.cpp100 EXPECT_EQ(GetCode() == INITCODE, true); in OnReceiveEvent()
104 EXPECT_EQ(GetCode() == INITCODE, true); in OnReceiveEvent()
153 EXPECT_EQ(GetCode() == CHANGECODE, true); in ProcessSubscriberTestCase2()
283 EXPECT_EQ(GetCode() == CHANGECODE, true); in ProcessSubscriberAnotherTestCase1()
291 EXPECT_EQ(GetCode() == INITCODE, true); in ProcessSubscriberAnotherTestCase2()
301 EXPECT_EQ(GetCode() == INITCODE, true); in ProcessSubscriberAnotherTestCase3()
309 EXPECT_EQ(GetCode() == INITCODE, true); in ProcessSubscriberAnotherTestCase4()
316 EXPECT_EQ(GetCode() == INITCODE, true); in ProcessSubscriberAnotherTestCase5()
339 EXPECT_EQ(GetCode() == INITCODE, true); in ProcessSubscriberAnotherTestCase6()
/base/inputmethod/imf/services/src/
Dim_common_event_manager.cpp149 auto newUserId = data.GetCode(); in StartUser()
159 auto userId = data.GetCode(); in RemoveUser()
/base/notification/common_event_service/services/test/moduletest/common_event_services_publish_ordered_module_test/
Dcommon_event_services_publish_ordered_module_test.cpp106 EXPECT_EQ(GetCode() == INITCODE, true); in OnReceiveEvent()
110 EXPECT_EQ(GetCode() == INITCODE, true); in OnReceiveEvent()
161 EXPECT_EQ(GetCode() == CHANGECODE, true); in ProcessSubscriberTestCase2()
295 EXPECT_EQ(GetCode() == CHANGECODE, true); in ProcessSubscriberAnotherTestCase1()
303 EXPECT_EQ(GetCode() == INITCODE, true); in ProcessSubscriberAnotherTestCase2()
313 EXPECT_EQ(GetCode() == INITCODE, true); in ProcessSubscriberAnotherTestCase3()
321 EXPECT_EQ(GetCode() == INITCODE, true); in ProcessSubscriberAnotherTestCase4()
328 EXPECT_EQ(GetCode() == INITCODE, true); in ProcessSubscriberAnotherTestCase5()
351 EXPECT_EQ(GetCode() == INITCODE, true); in ProcessSubscriberAnotherTestCase6()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/os_dependency/sa/
Dcm_event_observer.cpp54 context.userId = static_cast<uint32_t>(data.GetCode()); in OnReceiveEvent()
/base/notification/distributed_notification_service/services/ans/src/
Dreminder_event_manager.cpp157 reminderDataManager_->OnUserSwitch(data.GetCode()); in OnReceiveEvent()
161 reminderDataManager_->OnUserRemove(data.GetCode()); in OnReceiveEvent()
/base/request/request/download/ability/src/
Dcommon_event.cpp26 int msgCode = data.GetCode(); in OnReceiveEvent()
/base/notification/common_event_service/test/systemtest/common/ces/ces_check_service/
Dces_check_service.cpp63 EXPECT_TRUE(data.GetCode() == g_CODE_COMPARE3); in OnReceiveEvent()

12