/base/telephony/call_manager/services/call/src/ |
H A D | call_broadcast_subscriber.cpp | 56 OHOS::EventFwk::Want want = data.GetWant(); in OnReceiveEvent() 57 std::string action = data.GetWant().GetAction(); in OnReceiveEvent() 95 bool isConnectService = data.GetWant().GetBoolParam("isShouldConnect", false); in ConnectCallUiServiceBroadcast() 102 int32_t satcommHighTempLevel = data.GetWant().GetIntParam("satcomm_high_temp_level", -1); in HighTempLevelChangedBroadcast() 109 bool isInCall = data.GetWant().GetBoolParam("isInCall", false); in ConnectCallUiSuperPrivacyModeBroadcast() 110 bool isHangup = data.GetWant().GetBoolParam("isHangup", false); in ConnectCallUiSuperPrivacyModeBroadcast() 115 int32_t videoState = data.GetWant().GetIntParam("videoState", -1); in ConnectCallUiSuperPrivacyModeBroadcast() 116 bool isAnswer = data.GetWant().GetBoolParam("isAnswer", false); in ConnectCallUiSuperPrivacyModeBroadcast() 125 int32_t callId = data.GetWant().GetIntParam("callId", -1); in ConnectCallUiSuperPrivacyModeBroadcast() 130 std::string phoneNumber = data.GetWant() in ConnectCallUiSuperPrivacyModeBroadcast() [all...] |
/base/telephony/core_service/services/network_search/test/ |
H A D | test_broadcast.cpp | 26 TELEPHONY_LOGI("TestBroadCast::OnReceiveEvent:event=%{public}s", data.GetWant().GetAction().c_str()); in OnReceiveEvent() 27 auto eventName = data.GetWant().GetAction(); in OnReceiveEvent() 29 int32_t slotId = data.GetWant().GetIntParam(CUR_SLOT_ID, 0); in OnReceiveEvent() 30 bool showPlmn = data.GetWant().GetBoolParam(CUR_PLMN_SHOW, false); in OnReceiveEvent() 31 std::string plmn = data.GetWant().GetStringParam(CUR_PLMN); in OnReceiveEvent() 32 bool showSpn = data.GetWant().GetBoolParam(CUR_SPN_SHOW, false); in OnReceiveEvent() 33 std::string spn = data.GetWant().GetStringParam(CUR_SPN); in OnReceiveEvent()
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
H A D | sim_operator_brocast_test.cpp | 28 data.GetWant().GetAction().c_str(), data.GetData().c_str(), data.GetCode(), in OnReceiveEvent() 29 data.GetWant().GetIntParam("slotId", -1)); in OnReceiveEvent() 30 auto eventName = data.GetWant().GetAction(); in OnReceiveEvent() 33 int32_t slotId = data.GetWant().GetIntParam("slotId", -1); in OnReceiveEvent()
|
/base/powermgr/battery_statistics/services/native/src/ |
H A D | battery_stats_subscriber.cpp | 36 std::string action = data.GetWant().GetAction();
in OnReceiveEvent() 46 int capacity = data.GetWant().GetIntParam(BatteryInfo::COMMON_EVENT_KEY_CAPACITY, StatsUtils::INVALID_VALUE);
in OnReceiveEvent() 47 int pluggedType = data.GetWant().GetIntParam(
in OnReceiveEvent()
|
/base/notification/common_event_service/services/src/ |
H A D | static_subscriber_manager.cpp | 154 SendStaticSubscriberStartHiSysEvent(userId, abilityName, bundleName, data.GetWant().GetAction()); in PublishCommonEventConnecAbility() 161 auto targetSubscribers = validSubscribers_.find(data.GetWant().GetAction()); in PublishCommonEventInner() 166 SendStaticEventProcErrHiSysEvent(userId, bundleName, subscriber.bundleName, data.GetWant().GetAction()); in PublishCommonEventInner() 172 SendStaticEventProcErrHiSysEvent(userId, bundleName, subscriber.bundleName, data.GetWant().GetAction()); in PublishCommonEventInner() 179 SendStaticEventProcErrHiSysEvent(userId, bundleName, subscriber.bundleName, data.GetWant().GetAction()); in PublishCommonEventInner() 189 SendStaticEventProcErrHiSysEvent(userId, bundleName, subscriber.bundleName, data.GetWant().GetAction()); in PublishCommonEventInner() 195 SendStaticEventProcErrHiSysEvent(userId, bundleName, subscriber.bundleName, data.GetWant().GetAction()); in PublishCommonEventInner() 204 EVENT_LOGI("Notify %{public}s end, StaticSubscriber = %{public}s", data.GetWant().GetAction().c_str(), in PublishCommonEventInner() 215 EVENT_LOGD("enter, event = %{public}s, userId = %{public}d", data.GetWant().GetAction().c_str(), userId); in PublishCommonEvent() 224 data.GetWant() in PublishCommonEvent() [all...] |
H A D | common_event_sticky_manager.cpp | 67 std::string event = commonEventRecordPtr->commonEventData->GetWant().GetAction(); in UpdateStickyEvent() 137 std::string action = "\t\tAction: " + record->commonEventData->GetWant().GetAction() + "\n"; in DumpState() 141 for (auto entitiesVec : record->commonEventData->GetWant().GetEntities()) { in DumpState() 152 std::string scheme = "\t\tScheme: " + record->commonEventData->GetWant().GetScheme() + "\n"; in DumpState() 153 std::string uri = "\t\tUri: " + record->commonEventData->GetWant().GetUriString() + "\n"; in DumpState() 154 std::string flags = "\t\tFlags: " + std::to_string(record->commonEventData->GetWant().GetFlags()) + "\n"; in DumpState() 155 std::string type = "\t\tType: " + record->commonEventData->GetWant().GetType() + "\n"; in DumpState() 156 std::string bundle = "\t\tBundleName: " + record->commonEventData->GetWant().GetBundle() + "\n"; in DumpState() 158 "\t\tAbilityName: " + record->commonEventData->GetWant().GetElement().GetAbilityName() + "\n"; in DumpState() 159 std::string deviced = "\t\tDevicedID: " + record->commonEventData->GetWant() in DumpState() [all...] |
H A D | common_event_control_manager.cpp | 178 eventRecord.commonEventData->GetWant().GetAction().c_str(), in NotifyFreezeEvents() 185 eventRecord.commonEventData->GetWant().GetAction()); in NotifyFreezeEvents() 221 eventRecord->commonEventData->GetWant().GetAction().c_str(), vec->eventRecordInfo.subId.c_str()); in NotifyUnorderedEventLocked() 241 eventRecord->commonEventData->GetWant().GetAction()); in NotifyUnorderedEventLocked() 245 eventRecord->commonEventData->GetWant().GetAction().c_str(), vec->eventRecordInfo.subId.c_str()); in NotifyUnorderedEventLocked() 250 "failCnt = %{public}d, freezeCnt = %{public}d", eventRecord->commonEventData->GetWant().GetAction().c_str(), in NotifyUnorderedEventLocked() 439 record.want = eventRecordPtr->commonEventData->GetWant(); in EnqueueHistoryEventRecord() 545 eventRecordPtr->commonEventData->GetWant().GetAction().c_str(), in NotifyOrderedEvent() 549 eventRecordPtr->commonEventData->GetWant().GetAction()); in NotifyOrderedEvent() 605 sp->commonEventData->GetWant() in ProcessNextOrderedEvent() [all...] |
H A D | inner_common_event_manager.cpp | 219 if (data.GetWant().GetAction().empty()) { in PublishCommonEvent() 229 std::string action = data.GetWant().GetAction(); in PublishCommonEvent() 239 SendPublishHiSysEvent(user, bundleName, pid, uid, data.GetWant().GetAction(), false); in PublishCommonEvent() 249 SendPublishHiSysEvent(user, bundleName, pid, uid, data.GetWant().GetAction(), false); in PublishCommonEvent() 255 bundleName.c_str(), pid, uid, data.GetWant().GetAction().c_str(), userId); in PublishCommonEvent() 277 SendPublishHiSysEvent(user, bundleName, pid, uid, data.GetWant().GetAction(), false); in PublishCommonEvent() 284 SendPublishHiSysEvent(user, bundleName, pid, uid, data.GetWant().GetAction(), false); in PublishCommonEvent() 291 eventRecord.commonEventData->GetWant().GetAction(), mappedSupport)) { in PublishCommonEvent() 292 Want want = eventRecord.commonEventData->GetWant(); in PublishCommonEvent() 300 EVENT_COUNT_DISALLOW.find(data.GetWant() in PublishCommonEvent() [all...] |
/base/location/services/location_locator/locator/source/ |
H A D | locator_event_subscriber.cpp | 33 std::string action = event.GetWant().GetAction(); in OnReceiveEvent() 37 const bool napped = event.GetWant().GetBoolParam(LOCATOR_STANDBY_NAP, 0); in OnReceiveEvent() 38 const bool sleeping = event.GetWant().GetBoolParam(LOCATOR_STANDBY_SLEEPING, 0); in OnReceiveEvent()
|
/base/time/time_service/services/time/src/ |
H A D | power_subscriber.cpp | 35 OHOS::EventFwk::Want want = data.GetWant(); in OnReceiveEvent() 36 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
|
H A D | nitz_subscriber.cpp | 38 OHOS::EventFwk::Want want = data.GetWant(); in OnReceiveEvent() 39 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
|
/base/security/dlp_permission_service/services/dlp_permission/sa/adapt/ |
H A D | app_uninstall_observer.cpp | 35 std::string action = data.GetWant().GetAction();
in OnReceiveEvent() 36 std::string bundleName = data.GetWant().GetBundle();
in OnReceiveEvent()
|
/base/powermgr/thermal_manager/services/native/src/thermal_observer/state_machine/ |
H A D | charger_state_collection.cpp | 100 g_cachedIdleState.soc = data.GetWant().GetIntParam(BatteryInfo::COMMON_EVENT_KEY_CAPACITY, -1); in HandleChangerStatusCompleted() 101 int32_t chargeState = data.GetWant().GetIntParam(BatteryInfo::COMMON_EVENT_KEY_CHARGE_STATE, -1); in HandleChangerStatusCompleted() 137 g_cachedIdleState.current = data.GetWant().GetIntParam(BatteryInfo::COMMON_EVENT_KEY_PLUGGED_NOW_CURRENT, -1); in HandleChangerInnerStatusCompleted() 198 int32_t level = data.GetWant().GetIntParam(key, -1); in HandleThermalLevelCompleted()
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | system_event_observer.cpp | 77 auto want = data.GetWant(); in OnReceiveEvent() 131 std::string action = data.GetWant().GetAction(); in OnReceiveEventInner() 146 sptr<NotificationBundleOption> bundleOption = GetBundleOption(data.GetWant()); in OnBundleAddEventInner() 156 sptr<NotificationBundleOption> bundleOption = GetBundleOption(data.GetWant()); in OnBundleUpdateEventInner()
|
/base/web/webview/ohos_adapter/battery_mgr_adapter/src/ |
H A D | battery_mgr_client_adapter_impl.cpp | 50 const std::string action = data.GetWant().GetAction();
in OnReceiveEvent() 58 auto capacity = data.GetWant().GetIntParam(KEY_CAPACITY, defaultInvalid);
in OnReceiveEvent() 59 auto isChangingType = data.GetWant().GetIntParam(KEY_CHARGE_TYPE, defaultInvalid);
in OnReceiveEvent()
|
/base/usb/usb_manager/test/native/service_unittest/src/ |
H A D | usb_event_test.cpp | 89 auto &want = UsbSubscriberTest::eventData_.GetWant(); in HWTEST_F() 114 auto &want = UsbSubscriberTest::eventData_.GetWant(); in HWTEST_F() 139 auto &want = UsbSubscriberTest::eventData_.GetWant(); in HWTEST_F() 193 auto &want = UsbSubscriberTest::eventData_.GetWant(); in HWTEST_F() 228 auto &want = UsbSubscriberTest::eventData_.GetWant(); in HWTEST_F() 262 auto &want = UsbSubscriberTest::eventData_.GetWant(); in HWTEST_F()
|
/base/powermgr/battery_manager/test/systemtest/src/ |
H A D | battery_event_system_test.cpp | 192 g_action = data.GetWant().GetAction(); in OnReceiveEvent() 198 g_action = data.GetWant().GetAction(); in OnReceiveEvent() 205 int capacity = data.GetWant().GetIntParam(KEY_CAPACITY, defaultCapacity); in OnReceiveEvent() 213 int chargeState = data.GetWant().GetIntParam(KEY_CHARGE_STATE, defaultChargeState); in OnReceiveEvent() 221 int chargeState = data.GetWant().GetIntParam(KEY_CHARGE_STATE, defaultChargeState); in OnReceiveEvent() 229 int maxVoltage = data.GetWant().GetIntParam(KEY_PLUGGED_MAX_VOLTAGE, defaultMaxVoltage); in OnReceiveEvent() 238 int maxVoltage = data.GetWant().GetIntParam(KEY_PLUGGED_MAX_VOLTAGE, defaultMaxVoltage); in OnReceiveEvent() 245 g_action = data.GetWant().GetAction(); in OnReceiveEvent() 254 g_capacity = data.GetWant().GetIntParam(KEY_CAPACITY, defaultCapacity); in OnReceiveEvent() 255 g_capacityLevel = data.GetWant() in OnReceiveEvent() [all...] |
/base/notification/common_event_service/services/test/unittest/ |
H A D | common_event_freeze_test.cpp | 99 std::string action = data.GetWant().GetAction(); in OnReceiveEvent() 111 EVENT_LOGI("Subscriber1: Type: %{public}s", data.GetWant().GetType().c_str()); in ProcessSubscriberTestCase1() 123 EVENT_LOGI("Subscriber1: Type: %{public}s ", data.GetWant().GetType().c_str()); in ProcessSubscriberTestCase2() 149 std::string action = data.GetWant().GetAction(); in OnReceiveEvent() 161 EVENT_LOGI("Subscriber2: Type: %{public}s", data.GetWant().GetType().c_str()); in ProcessSubscriberTest2Case1() 178 EVENT_LOGI("Subscriber2: Type: %{public}s ", data.GetWant().GetType().c_str()); in ProcessSubscriberTest2Case2() 209 std::string action = data.GetWant().GetAction(); in OnReceiveEvent() 221 EVENT_LOGI("SubscriberLast: Type: %{public}s ", data.GetWant().GetType().c_str()); in ProcessSubscriberTestLastCase1()
|
/base/customization/enterprise_device_management/services/edm/include/connection/ |
H A D | ienterprise_connection.h | 31 AAFwk::Want GetWant() const in GetWant() function in OHOS::EDM::IEnterpriseConnection
|
/base/location/services/location_gnss/gnss/source/ |
H A D | gnss_common_event_subscriber.cpp | 27 auto want = data.GetWant(); in OnReceiveEvent()
|
/base/hiviewdfx/hiview/core/param_update/include/ |
H A D | param_event_manager.h | 48 registry_.OnReceiveEvent(data.GetWant());
|
/base/print/print_fwk/services/scan_service/src/ |
H A D | scan_event_subscriber.cpp | 33 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
|
/base/security/access_token/services/el5filekeymanager/src/ |
H A D | el5_filekey_manager_subscriber.cpp | 37 auto want = data.GetWant(); in OnReceiveEvent()
|
/base/security/device_auth/services/frameworks/src/account_subscriber/ |
H A D | account_subscriber.cpp | 31 const OHOS::AAFwk::Want& want = eventData.GetWant(); in OnReceiveEvent()
|
/base/telephony/call_manager/test/unittest/ui_client/ |
H A D | common_event_subscriber_test.cpp | 33 OHOS::EventFwk::Want want = data.GetWant(); in OnReceiveEvent()
|