Home
last modified time | relevance | path

Searched refs:commonEvent (Results 1 – 13 of 13) sorted by relevance

/base/notification/common_event_service/frameworks/core/test/unittest/common_event_branch_test/
Dcommon_event_branch_test.cpp67 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/
Dcommon_event_death_recipient.cpp27 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/
Dcommon_event_test.cpp86 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 …]
Dcommon_event_stub_test.cpp318 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/
Dcommoneventsubscriber_fuzzer.cpp45 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/
DServiceExtAbility.ts20 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/
Dos_account_interface.h42 … const OsAccountInfo &osAccountInfo, const std::string &commonEvent, const std::string &operation);
/base/theme/wallpaper_mgr/test/unittest/
Dwallpaper_test.cpp951 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/
Dtime_service_test.cpp770 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/
Dos_account_interface.cpp213 … const OsAccountInfo &osAccountInfo, const std::string &commonEvent, const std::string &operation) in PublishCommonEvent() argument
219 want.SetAction(commonEvent); in PublishCommonEvent()
/base/theme/screenlock_mgr/
DREADME.md22 └── utils # module contains log printing and constants for ordered commonEvent
/base/time/time_service/
DREADME.md22 └── utils # module contains log printing and constants for ordered commonEvent
/base/theme/wallpaper_mgr/
DREADME.md25 └── utils # module contains log printing and constants for ordered commonEvent