/ohos5.0/foundation/barrierfree/accessibility/services/test/mock/ |
H A D | mock_common_event_subscribe_info.cpp | 21 CommonEventSubscribeInfo::CommonEventSubscribeInfo(const MatchingSkills& matchingSkills) in CommonEventSubscribeInfo() function in OHOS::EventFwk::CommonEventSubscribeInfo 25 CommonEventSubscribeInfo::CommonEventSubscribeInfo() : priority_(0), threadMode_(CommonEventSubscri… in CommonEventSubscribeInfo() function in OHOS::EventFwk::CommonEventSubscribeInfo 28 CommonEventSubscribeInfo::CommonEventSubscribeInfo(const CommonEventSubscribeInfo& commonEventSubsc… in CommonEventSubscribeInfo() function in OHOS::EventFwk::CommonEventSubscribeInfo 38 CommonEventSubscribeInfo::~CommonEventSubscribeInfo() in ~CommonEventSubscribeInfo() 47 int32_t CommonEventSubscribeInfo::GetPriority() const in GetPriority() 59 std::string CommonEventSubscribeInfo::GetPermission() const in GetPermission() 65 CommonEventSubscribeInfo::ThreadMode CommonEventSubscribeInfo::GetThreadMode() const in GetThreadMode() 71 void CommonEventSubscribeInfo::SetThreadMode(CommonEventSubscribeInfo::ThreadMode threadMode) in SetThreadMode() 83 std::string CommonEventSubscribeInfo::GetDeviceId() const in GetDeviceId() 107 CommonEventSubscribeInfo* CommonEventSubscribeInfo::Unmarshalling(Parcel& parcel) in Unmarshalling() [all …]
|
/ohos5.0/base/notification/common_event_service/frameworks/native/src/ |
H A D | common_event_subscribe_info.cpp | 24 CommonEventSubscribeInfo::CommonEventSubscribeInfo(const MatchingSkills &matchingSkills) in CommonEventSubscribeInfo() function in OHOS::EventFwk::CommonEventSubscribeInfo 30 CommonEventSubscribeInfo::CommonEventSubscribeInfo() in CommonEventSubscribeInfo() function in OHOS::EventFwk::CommonEventSubscribeInfo 35 CommonEventSubscribeInfo::CommonEventSubscribeInfo(const CommonEventSubscribeInfo &commonEventSubsc… in CommonEventSubscribeInfo() function in OHOS::EventFwk::CommonEventSubscribeInfo 47 CommonEventSubscribeInfo::~CommonEventSubscribeInfo() in ~CommonEventSubscribeInfo() 56 int32_t CommonEventSubscribeInfo::GetPriority() const in GetPriority() 66 int32_t CommonEventSubscribeInfo::GetUserId() const in GetUserId() 81 CommonEventSubscribeInfo::ThreadMode CommonEventSubscribeInfo::GetThreadMode() const in GetThreadMode() 86 void CommonEventSubscribeInfo::SetThreadMode(CommonEventSubscribeInfo::ThreadMode threadMode) in SetThreadMode() 96 std::string CommonEventSubscribeInfo::GetDeviceId() const in GetDeviceId() 215 CommonEventSubscribeInfo *CommonEventSubscribeInfo::Unmarshalling(Parcel &parcel) in Unmarshalling() [all …]
|
/ohos5.0/base/notification/common_event_service/interfaces/inner_api/ |
H A D | common_event_subscribe_info.h | 23 class CommonEventSubscribeInfo : public Parcelable { 39 explicit CommonEventSubscribeInfo(const MatchingSkills &matchingSkills); 41 CommonEventSubscribeInfo(); 49 explicit CommonEventSubscribeInfo(const CommonEventSubscribeInfo &commonEventSubscribeInfo); 51 virtual ~CommonEventSubscribeInfo(); 101 CommonEventSubscribeInfo::ThreadMode GetThreadMode() const; 109 void SetThreadMode(CommonEventSubscribeInfo::ThreadMode threadMode); 175 static CommonEventSubscribeInfo *Unmarshalling(Parcel &parcel); 192 CommonEventSubscribeInfo::ThreadMode threadMode_;
|
/ohos5.0/base/notification/common_event_service/test/systemtest/common/acts/actsCESSubscribeInfoTest/ |
H A D | actsCESSubscribeInfoTest.cpp | 85 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 114 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 143 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 172 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 201 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 230 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 260 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 289 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 318 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 347 CommonEventSubscribeInfo subscribeInfo(matchingSkills); [all …]
|
/ohos5.0/base/notification/common_event_service/test/systemtest/common/acts/actsCESDataTest/ |
H A D | actsCESDataTest.cpp | 736 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 802 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 868 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 937 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 1006 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 1075 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 1141 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 1218 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 1248 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 1338 CommonEventSubscribeInfo subscribeInfo(matchingSkills); [all …]
|
/ohos5.0/base/notification/common_event_service/frameworks/native/test/unittest/ |
H A D | common_event_subscribe_test.cpp | 157 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 217 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 259 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 280 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 304 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 328 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 360 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 389 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 420 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 443 CommonEventSubscribeInfo subscribeInfo(matchingSkills); [all …]
|
H A D | common_event_unsubscribe_test.cpp | 59 explicit DreivedSubscriber(const CommonEventSubscribeInfo &sp) : CommonEventSubscriber(sp) in DreivedSubscriber() 80 virtual int32_t SubscribeCommonEvent(const CommonEventSubscribeInfo &subscribeInfo, in SubscribeCommonEvent() 109 explicit SubscriberTest(const CommonEventSubscribeInfo &sp) : CommonEventSubscriber(sp) in SubscriberTest() 157 CommonEventSubscribeInfo subscribeInfo(matchingSkills_); 174 CommonEventSubscribeInfo subscribeInfo(matchingSkills_); 190 CommonEventSubscribeInfo subscribeInfo(matchingSkills_); 207 CommonEventSubscribeInfo subscribeInfo(matchingSkills_); 225 CommonEventSubscribeInfo subscribeInfo(matchingSkills_); 289 CommonEventSubscribeInfo subscribeInfo(matchingSkills_);
|
H A D | common_event_subscribe_info_test.cpp | 65 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 82 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 99 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 116 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 133 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
|
/ohos5.0/base/notification/common_event_service/services/test/unittest/ |
H A D | common_event_publish_permission_event_unit_test.cpp | 281 CommonEventSubscribeInfo commonEventSubscribeInfo; 322 CommonEventSubscribeInfo commonEventSubscribeInfo; 364 CommonEventSubscribeInfo commonEventSubscribeInfo; 402 CommonEventSubscribeInfo commonEventSubscribeInfo; 443 CommonEventSubscribeInfo commonEventSubscribeInfo; 487 CommonEventSubscribeInfo commonEventSubscribeInfo; 527 CommonEventSubscribeInfo commonEventSubscribeInfo; 571 CommonEventSubscribeInfo commonEventSubscribeInfo; 615 CommonEventSubscribeInfo commonEventSubscribeInfo; 683 CommonEventSubscribeInfo commonEventSubscribeInfo; [all …]
|
H A D | common_event_freeze_unit_test.cpp | 87 std::shared_ptr<CommonEventSubscribeInfo> subscribeInfoPtr = 88 std::make_shared<CommonEventSubscribeInfo>(matchingSkills_); 119 std::shared_ptr<CommonEventSubscribeInfo> subscribeInfoPtr = 151 std::shared_ptr<CommonEventSubscribeInfo> subscribeInfoPtr = 201 std::shared_ptr<CommonEventSubscribeInfo> subscribeInfoPtr = 252 std::shared_ptr<CommonEventSubscribeInfo> subscribeInfoPtr = 295 std::shared_ptr<CommonEventSubscribeInfo> subscribeInfoPtr = 338 std::shared_ptr<CommonEventSubscribeInfo> subscribeInfoPtr = 381 std::shared_ptr<CommonEventSubscribeInfo> subscribeInfoPtr = 424 std::shared_ptr<CommonEventSubscribeInfo> subscribeInfoPtr = [all …]
|
H A D | common_event_subscribe_unit_test.cpp | 630 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 658 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 689 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 711 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 712 std::shared_ptr<CommonEventSubscribeInfo> subscribeInfoPtr = 746 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 779 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 808 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 844 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 880 CommonEventSubscribeInfo subscribeInfo(matchingSkills); [all …]
|
H A D | common_event_unsubscribe_unit_test.cpp | 59 explicit SubscriberTest(const CommonEventSubscribeInfo &sp) : CommonEventSubscriber(sp) in SubscriberTest() 95 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 132 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 173 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 199 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 222 CommonEventSubscribeInfo subscribeInfo(matchingSkills);
|
/ohos5.0/base/powermgr/battery_manager/test/systemtest/src/ |
H A D | battery_event_system_test.cpp | 80 explicit CommonEventBatteryLowTest(const CommonEventSubscribeInfo& subscriberInfo); 94 explicit CommonEventBatteryOkayTest(const CommonEventSubscribeInfo& subscriberInfo); 264 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in RegisterEvent() 280 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in RegisterEvent() 296 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in RegisterEvent() 312 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in RegisterEvent() 328 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in RegisterEvent() 344 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in RegisterEvent() 360 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in RegisterEvent() 376 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in RegisterEvent() [all …]
|
/ohos5.0/base/notification/common_event_service/test/systemtest/common/ces/common_event_services_system_test/ |
H A D | common_event_services_system_test.cpp | 91 const CommonEventSubscribeInfo &subscribeInfo) in CommonEventServicesSystemTestSubscriber() 195 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 212 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 229 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 246 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 263 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 280 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 298 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 316 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 342 CommonEventSubscribeInfo subscribeInfo(matchingSkills); [all …]
|
/ohos5.0/base/notification/common_event_service/services/test/moduletest/common_event_services_module_test/ |
H A D | common_event_services_module_test.cpp | 122 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 142 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 162 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 219 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 240 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 261 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 283 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 304 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 324 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 344 CommonEventSubscribeInfo subscribeInfo(matchingSkills); [all …]
|
/ohos5.0/base/notification/common_event_service/test/systemtest/common/acts/actsCESManagertest/ |
H A D | actsCESManagertest.cpp | 84 const CommonEventSubscribeInfo &subscribeInfo) in CommonEventServicesSystemTestSubscriber() 143 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 173 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 203 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 233 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 1908 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 1949 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 1989 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 2031 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 2076 CommonEventSubscribeInfo subscribeInfo(matchingSkills); [all …]
|
/ohos5.0/base/notification/common_event_service/test/systemtest/common/acts/actsCESCESpublishInfoTest/ |
H A D | actsCESCESpublishInfoTest.cpp | 89 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 122 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 154 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 186 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 217 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 248 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 284 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 320 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 356 CommonEventSubscribeInfo subscribeInfo(matchingSkills); 391 CommonEventSubscribeInfo subscribeInfo(matchingSkills); [all …]
|
/ohos5.0/base/powermgr/thermal_manager/test/systemtest/src/ |
H A D | thermal_level_event_system_test.cpp | 122 explicit CommonEventThermalLevel1Test(const CommonEventSubscribeInfo& subscriberInfo); 128 CommonEventThermalLevel1Test::CommonEventThermalLevel1Test(const CommonEventSubscribeInfo& subscrib… in CommonEventThermalLevel1Test() 136 explicit CommonEventThermalLevel2Test(const CommonEventSubscribeInfo& subscriberInfo); 150 explicit CommonEventThermalLevel3Test(const CommonEventSubscribeInfo& subscriberInfo); 164 explicit CommonEventThermalIdleTrueTest(const CommonEventSubscribeInfo& subscriberInfo); 178 explicit CommonEventThermalIdleFalseTest(const CommonEventSubscribeInfo& subscriberInfo); 251 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in RegisterEvent() 270 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in RegisterEvent() 289 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in RegisterEvent() 308 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in RegisterEvent() [all …]
|
/ohos5.0/base/notification/common_event_service/interfaces/kits/cj/src/ |
H A D | subscribe_info.h | 23 using CommonEventSubscribeInfo = OHOS::EventFwk::CommonEventSubscribeInfo; variable 30 …explicit CommonEventSubscribeInfoImpl(std::shared_ptr<CommonEventSubscribeInfo> info): info_(info)… in CommonEventSubscribeInfoImpl() 42 std::shared_ptr<CommonEventSubscribeInfo> GetInfoPtr(); 53 std::shared_ptr<CommonEventSubscribeInfo> info_;
|
H A D | subscriber.h | 26 using CommonEventSubscribeInfo = OHOS::EventFwk::CommonEventSubscribeInfo; variable 32 SubscriberImpl(std::shared_ptr<CommonEventSubscribeInfo> sp, int64_t infoId); 62 SubscriberManager(std::shared_ptr<CommonEventSubscribeInfo> info, int64_t infoId);
|
/ohos5.0/base/notification/common_event_service/test/benchmarktest/common_event_service_test/ |
H A D | common_event_manager_service_test.cpp | 57 …explicit CommonEventSubscriberBenchmark(const CommonEventSubscribeInfo &subscribeInfo) : CommonEve… in CommonEventSubscriberBenchmark() 73 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in BENCHMARK_F() 97 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in BENCHMARK_F() 121 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in BENCHMARK_F() 145 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in BENCHMARK_F() 176 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in BENCHMARK_F() 200 CommonEventSubscribeInfo subscribeInfo(matchingSkills); in BENCHMARK_F()
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sub_manage/ |
H A D | wifi_event_subscriber_manager.h | 42 explicit CesEventSubscriber(const OHOS::EventFwk::CommonEventSubscribeInfo &subscriberInfo); 60 …explicit NotificationEventSubscriber(const OHOS::EventFwk::CommonEventSubscribeInfo &subscriberInf… 69 … explicit PowermgrEventSubscriber(const OHOS::EventFwk::CommonEventSubscribeInfo &subscriberInfo); 77 explicit AssetEventSubscriber(const OHOS::EventFwk::CommonEventSubscribeInfo &subscriberInfo); 85 …explicit NetworkStateChangeSubscriber(const OHOS::EventFwk::CommonEventSubscribeInfo &subscriberIn… 92 …explicit WifiScanEventChangeSubscriber(const OHOS::EventFwk::CommonEventSubscribeInfo &subscriberI… 99 … explicit SettingsEnterSubscriber(const OHOS::EventFwk::CommonEventSubscribeInfo &subscriberInfo);
|
/ohos5.0/foundation/communication/nfc/services/src/ |
H A D | nfc_event_handler.cpp | 42 const EventFwk::CommonEventSubscribeInfo& subscribeInfo); 54 const EventFwk::CommonEventSubscribeInfo& subscribeInfo) in ScreenChangedReceiver() 116 const EventFwk::CommonEventSubscribeInfo& subscribeInfo); 128 const EventFwk::CommonEventSubscribeInfo& subscribeInfo) in PackageChangedReceiver() 156 const EventFwk::CommonEventSubscribeInfo& subscribeInfo); 168 const EventFwk::CommonEventSubscribeInfo& subscribeInfo) in ShutdownEventReceiver() 192 const EventFwk::CommonEventSubscribeInfo& subscribeInfo); 204 const EventFwk::CommonEventSubscribeInfo& subscribeInfo) in DataShareChangedReceiver() 270 EventFwk::CommonEventSubscribeInfo subscribeInfo(matchingSkills); in SubscribeScreenChangedEvent() 293 EventFwk::CommonEventSubscribeInfo subscribeInfo(matchingSkills); in SubscribePackageChangedEvent() [all …]
|
/ohos5.0/base/notification/common_event_service/test/fuzztest/subscribecommonevent_fuzzer/ |
H A D | subscribecommonevent_fuzzer.cpp | 30 explicit TestSubscriber(const CommonEventSubscribeInfo &sp) : CommonEventSubscriber(sp) in TestSubscriber() 54 EventFwk::CommonEventSubscribeInfo::ThreadMode threadMode = in DoSomethingInterestingWithMyAPI() 55 EventFwk::CommonEventSubscribeInfo::ThreadMode(mode); in DoSomethingInterestingWithMyAPI() 56 EventFwk::CommonEventSubscribeInfo subscribeInfo(matchingSkills); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/common_event_service/ |
H A D | README_zh.md | 51 CommonEventSubscribeInfo类型为订阅信息,用于创建公共事件订阅者,可以指定订阅者要订阅的公共事件,要求发布者需要具备的权限,订阅者的优先级等等。 177 - CommonEventSubscribeInfo类型说明 196 var CommonEventSubscribeInfo = { 204 CommonEvent.createSubscriber(CommonEventSubscribeInfo, CreateSubscriberCallBack); 208 #### CommonEvent.createSubscriber(subscribeInfo: CommonEventSubscribeInfo) 218 | subscribeInfo | 只读 | CommonEventSubscribeInfo | 是 | 表示订阅信息 | 220 - CommonEventSubscribeInfo类型说明 239 var CommonEventSubscribeInfo = { 243 CommonEvent.createSubscriber(CommonEventSubscribeInfo).then((data) => { 285 var CommonEventSubscribeInfo = { [all …]
|