/base/notification/common_event_service/frameworks/core/test/unittest/common_event_branch_test/ |
D | common_event_branch_test.cpp | 67 CommonEvent commonEvent; variable 70 …EXPECT_EQ(subscribeFailed, commonEvent.CreateCommonEventListener(subscriber, commonEventListener)); 81 CommonEvent commonEvent; variable 83 commonEvent.commonEventProxy_ = iface_cast<ICommonEvent>(stubPtr); 84 commonEvent.isProxyValid_ = true; 85 EXPECT_EQ(true, commonEvent.GetCommonEventProxy()); 96 CommonEvent commonEvent; variable 97 commonEvent.commonEventProxy_ = nullptr; 98 commonEvent.isProxyValid_ = false; 99 EXPECT_EQ(false, commonEvent.GetCommonEventProxy()); [all …]
|
/base/notification/common_event_service/frameworks/core/src/ |
D | common_event_death_recipient.cpp | 27 auto commonEvent = DelayedSingleton<CommonEvent>::GetInstance(); in OnRemoteDied() local 29 commonEvent->ResetCommonEventProxy(); in OnRemoteDied() 31 if (commonEvent->Reconnect()) { in OnRemoteDied() 32 commonEvent->Resubscribe(); in OnRemoteDied()
|
/base/notification/common_event_service/frameworks/core/test/unittest/ |
D | common_event_test.cpp | 86 CommonEvent commonEvent; variable 87 bool publishCommonEvent = commonEvent.PublishCommonEvent(data, publishInfo, subscriber); 118 CommonEvent commonEvent; variable 119 …bool publishCommonEvent = commonEvent.PublishCommonEvent(data, publishInfo, subscriber, SYSTEM_UID… 132 CommonEvent commonEvent; variable 133 bool freeze = commonEvent.Freeze(SYSTEM_UID); 146 CommonEvent commonEvent; variable 147 bool unfreeze = commonEvent.Unfreeze(SYSTEM_UID); 172 CommonEvent commonEvent; variable 173 commonEvent.ResetCommonEventProxy(); [all …]
|
D | common_event_stub_test.cpp | 318 CommonEvent commonEvent; variable 341 CommonEvent commonEvent; variable 363 CommonEvent commonEvent; variable 367 bool ret = commonEvent.Unfreeze(uid); 388 CommonEvent commonEvent; variable 410 CommonEvent commonEvent; variable 413 bool ret = commonEvent.UnfreezeAll(); 434 CommonEvent commonEvent; variable
|
/base/notification/common_event_service/test/fuzztest/commoneventsubscriber_fuzzer/ |
D | commoneventsubscriber_fuzzer.cpp | 45 EventFwk::CommonEvent commonEvent; in DoSomethingInterestingWithMyAPI() local 82 commonEvent.PublishCommonEvent(commonEventData, commonEventPublishInfo, subscriber); in DoSomethingInterestingWithMyAPI() 84 commonEvent.PublishCommonEvent(commonEventData, commonEventPublishInfo, subscriber, code, code); in DoSomethingInterestingWithMyAPI() 86 return commonEvent.DumpState(dumpType, stringData, code, state); in DoSomethingInterestingWithMyAPI()
|
/base/inputmethod/imf/services/dialog/entry/src/main/ets/ServiceExtAbility/ |
D | ServiceExtAbility.ts | 20 import commonEvent from '@ohos.commonEvent'; 57 commonEvent.createSubscriber(subscribeInfo, (error, subcriber) => { 58 commonEvent.subscribe(subcriber, (error, commonEventData) => {
|
/base/account/os_account/services/accountmgr/include/osaccount/ |
D | os_account_interface.h | 42 … const OsAccountInfo &osAccountInfo, const std::string &commonEvent, const std::string &operation);
|
/base/theme/wallpaper_mgr/test/unittest/ |
D | wallpaper_test.cpp | 951 std::string commonEvent = EventFwk::CommonEventSupport::COMMON_EVENT_USER_ADDED; variable 952 WallpaperTest::TriggerEvent(TEST_USERID, commonEvent); 973 std::string commonEvent = EventFwk::CommonEventSupport::COMMON_EVENT_USER_ADDED; variable 974 WallpaperTest::TriggerEvent(TEST_USERID, commonEvent); 978 commonEvent = EventFwk::CommonEventSupport::COMMON_EVENT_USER_REMOVED; 979 WallpaperTest::TriggerEvent(TEST_USERID, commonEvent); 1052 std::string commonEvent = EventFwk::CommonEventSupport::COMMON_EVENT_USER_ADDED; variable 1053 WallpaperTest::TriggerEvent(INVALID_USERID, commonEvent); 1057 commonEvent = EventFwk::CommonEventSupport::COMMON_EVENT_USER_REMOVED; 1058 WallpaperTest::TriggerEvent(INVALID_USERID, commonEvent);
|
/base/time/time_service/test/unittest/service_test/src/ |
D | time_service_test.cpp | 770 std::string commonEvent = EventFwk::CommonEventSupport::COMMON_EVENT_USER_ADDED; variable 772 want.SetAction(commonEvent); 774 std::string data(commonEvent); 792 std::string commonEvent = EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_ON; variable 794 want.SetAction(commonEvent); 796 std::string data(commonEvent);
|
/base/account/os_account/services/accountmgr/src/osaccount/ |
D | os_account_interface.cpp | 213 … const OsAccountInfo &osAccountInfo, const std::string &commonEvent, const std::string &operation) in PublishCommonEvent() argument 219 want.SetAction(commonEvent); in PublishCommonEvent()
|
/base/theme/screenlock_mgr/ |
D | README.md | 22 └── utils # module contains log printing and constants for ordered commonEvent
|
/base/time/time_service/ |
D | README.md | 22 └── utils # module contains log printing and constants for ordered commonEvent
|
/base/theme/wallpaper_mgr/ |
D | README.md | 25 └── utils # module contains log printing and constants for ordered commonEvent
|