Home
last modified time | relevance | path

Searched refs:SetCode (Results 1 – 25 of 43) sorted by relevance

12

/base/powermgr/battery_manager/services/native/src/
Dbattery_notify.cpp102 data.SetCode(static_cast<int32_t>(chargeType)); in PublishChargeTypeChangedEvent()
191 data.SetCode(info.GetCapacity()); in PublishLowEvent()
220 data.SetCode(info.GetCapacity()); in PublishOkayEvent()
250 data.SetCode(static_cast<int32_t>(info.GetPluggedType())); in PublishPowerConnectedEvent()
282 data.SetCode(static_cast<int32_t>(info.GetPluggedType())); in PublishPowerDisconnectedEvent()
313 data.SetCode(static_cast<int32_t>(info.GetChargeState())); in PublishChargingEvent()
344 data.SetCode(static_cast<int32_t>(info.GetChargeState())); in PublishDischargingEvent()
/base/notification/common_event_service/frameworks/native/src/
Dcommon_event_subscriber.cpp42 bool CommonEventSubscriber::SetCode(const int32_t &code) in SetCode() function in OHOS::EventFwk::CommonEventSubscriber
49 return result_->SetCode(code); in SetCode()
Dasync_common_event_result.cpp37 bool AsyncCommonEventResult::SetCode(const int32_t &code) in SetCode() function in OHOS::EventFwk::AsyncCommonEventResult
Dcommon_event_data.cpp40 void CommonEventData::SetCode(const int32_t &code) in SetCode() function in OHOS::EventFwk::CommonEventData
/base/notification/common_event_service/test/systemtest/common/acts/actsCESDataTest/
DactsCESDataTest.cpp309 SetCode(CODECASE1); in SubscriberFirstTestCase19()
323 SetCode(CODECASE3); in SubscriberFirstTestCase20()
337 SetCode(CODECASE5); in SubscriberFirstTestCase21()
351 SetCode(CODECASE7); in SubscriberFirstTestCase22()
365 SetCode(CODECASE10); in SubscriberFirstTestCase23()
770 data.SetCode(CODECASE1);
836 data.SetCode(CODECASE2);
905 data.SetCode(CODECASE3);
974 data.SetCode(CODECASE4);
1043 data.SetCode(CODECASE5);
[all …]
/base/notification/common_event_service/test/systemtest/common/ces/common_event_services_publish_ordered_system_test/
Dcommon_event_services_publish_ordered_system_test.cpp146 SetCode(CHANGECODE); in ProcessSubscriberTestCase1()
175 SetCode(CHANGECODE); in ProcessSubscriberTestCase3()
206 SetCode(CHANGECODE); in ProcessSubscriberTestCase5()
238 result->SetCode(CHANGECODE); in AsyncProcess()
293 SetCode(CHANGECODE); in ProcessSubscriberAnotherTestCase2()
332 SetCode(CHANGECODE); in ProcessSubscriberAnotherTestCase5()
366 result->SetCode(CHANGECODE); in AsyncProcess()
453 data.SetCode(INITCODE);
572 data.SetCode(INITCODE);
690 data.SetCode(INITCODE);
[all …]
/base/notification/common_event_service/test/fuzztest/commoneventsubscriber_fuzzer/
Dcommoneventsubscriber_fuzzer.cpp49 commonEventData.SetCode(code); in DoSomethingInterestingWithMyAPI()
69 subscriber->SetCode(code); in DoSomethingInterestingWithMyAPI()
/base/notification/common_event_service/services/test/moduletest/common_event_services_publish_ordered_module_test/
Dcommon_event_services_publish_ordered_module_test.cpp154 SetCode(CHANGECODE); in ProcessSubscriberTestCase1()
185 SetCode(CHANGECODE); in ProcessSubscriberTestCase3()
218 SetCode(CHANGECODE); in ProcessSubscriberTestCase5()
251 result->SetCode(CHANGECODE); in AsyncProcess()
306 SetCode(CHANGECODE); in ProcessSubscriberAnotherTestCase2()
345 SetCode(CHANGECODE); in ProcessSubscriberAnotherTestCase5()
379 result->SetCode(CHANGECODE); in AsyncProcess()
470 data.SetCode(INITCODE);
588 data.SetCode(INITCODE);
703 data.SetCode(INITCODE);
[all …]
/base/notification/common_event_service/interfaces/inner_api/
Dasync_common_event_result.h45 bool SetCode(const int32_t &code);
Dcommon_event_subscriber.h59 bool SetCode(const int32_t &code);
Dcommon_event_data.h69 void SetCode(const int32_t &code);
/base/account/os_account/services/accountmgr/src/
Daccount_event_provider.cpp43 data.SetCode(userId); in EventPublish()
/base/notification/common_event_service/test/fuzztest/asynccommoneventresult_fuzzer/
Dasynccommoneventresult_fuzzer.cpp34 result->SetCode(code); in DoSomethingInterestingWithMyAPI()
/base/theme/wallpaper_mgr/services/src/
Dwallpaper_common_event_manager.cpp31 data.SetCode(eventCode); in PublishEvent()
/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_interface.cpp176 data.SetCode(osAccountID); in SendToCESAccountCreate()
198 data.SetCode(osAccountID); in SendToCESAccountDelete()
221 data.SetCode(osAccountID); in PublishCommonEvent()
243 data.SetCode(osAccountID); in SendToCESAccountSwitched()
/base/telephony/call_manager/services/call/call_state_observer/src/
Dmissed_call_notification.cpp64 data.SetCode(INCOMING_CALL_MISSED_CODE); in PublishMissedCallEvent()
74 dataWithNumber.SetCode(INCOMING_CALL_MISSED_CODE); in PublishMissedCallEvent()
/base/notification/common_event_service/test/fuzztest/publishcommonevent_fuzzer/
Dpublishcommonevent_fuzzer.cpp32 commonEventData.SetCode(code); in DoSomethingInterestingWithMyAPI()
/base/notification/common_event_service/test/fuzztest/publishcommoneventasuser_fuzzer/
Dpublishcommoneventasuser_fuzzer.cpp33 commonEventData.SetCode(code); in DoSomethingInterestingWithMyAPI()
/base/notification/common_event_service/test/fuzztest/commoneventmanagerservice_fuzzer/
Dcommoneventmanagerservice_fuzzer.cpp38 commonEventData.SetCode(code); in DoSomethingInterestingWithMyAPI()
/base/notification/common_event_service/test/fuzztest/commoneventstub_fuzzer/
Dcommoneventstub_fuzzer.cpp40 commonEventData.SetCode(code); in DoSomethingInterestingWithMyAPI()
/base/notification/common_event_service/tools/cem/src/
Dcommon_event_command.cpp92 commonEventData.SetCode(cmdInfo.code); in RunAsPublishCommand()
/base/telephony/sms_mms/services/sms/
Dsms_receive_reliability_handler.cpp341 data.SetCode(TEXT_MSG_RECEIVE_CODE); in SendBroadcast()
344 data.SetCode(DATA_MSG_RECEIVE_CODE); in SendBroadcast()
Dsms_wap_push_handler.cpp338 data.SetCode(0); in SendWapPushMessageBroadcast()
/base/notification/common_event_service/services/test/unittest/
Dcommon_event_freeze_test.cpp433 data.SetCode(INNITCODE);
495 data.SetCode(INNITCODE);
Dcommon_event_dump_test.cpp487 data.SetCode(INNITCODE); in SetPublishDataByOrdered()
511 data.SetCode(INNITCODE); in SetPublishDataByOrdered2()
535 data.SetCode(INNITCODE); in SetPublishDataByUnordered()
582 eventData.SetCode(code); in PublishUnorderedEvent()
617 eventData.SetCode(code); in PublishStickyEvent()

12