Home
last modified time | relevance | path

Searched refs:WantAgentConstant (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/foundation/ability/ability_runtime/test/unittest/want_agent_info_test/
H A Dwant_agent_info_test.cpp78WantAgentConstant::OperationType operationType = WantAgentConstant::OperationType::START_ABILITY;
79 WantAgentConstant::Flags flag = WantAgentConstant::Flags::CONSTANT_FLAG;
110WantAgentConstant::OperationType operationType = WantAgentConstant::OperationType::START_ABILITY;
112 WantAgentConstant::Flags flag = WantAgentConstant::Flags::CONSTANT_FLAG;
144WantAgentConstant::OperationType operationType = WantAgentConstant::OperationType::START_ABILITY;
146 WantAgentConstant::Flags flag = WantAgentConstant::Flags::CONSTANT_FLAG;
193 WantAgentConstant::Flags flag = WantAgentConstant::Flags::CONSTANT_FLAG;
219 WantAgentConstant::Flags flag = WantAgentConstant::Flags::CONSTANT_FLAG;
245 WantAgentConstant::Flags flag = WantAgentConstant::Flags::CONSTANT_FLAG;
271 WantAgentConstant::Flags flag = WantAgentConstant::Flags::CONSTANT_FLAG;
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/want_agent_helper_test/
H A Dwant_agent_helper_test.cpp102 std::vector<WantAgentConstant::Flags> flags;
115 std::vector<WantAgentConstant::Flags> flags;
128 std::vector<WantAgentConstant::Flags> flags;
141 std::vector<WantAgentConstant::Flags> flags;
154 std::vector<WantAgentConstant::Flags> flags;
167 std::vector<WantAgentConstant::Flags> flags;
605WantAgentConstant::OperationType type = WantAgentConstant::OperationType::START_FOREGROUND_SERVICE;
640WantAgentConstant::OperationType type = WantAgentConstant::OperationType::START_FOREGROUND_SERVICE;
667WantAgentConstant::OperationType type = WantAgentConstant::OperationType::START_FOREGROUND_SERVICE;
938WantAgentConstant::OperationType type = WantAgentConstant::OperationType::START_FOREGROUND_SERVICE;
[all …]
/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/wantagent/src/
H A Dwant_agent_helper.cpp45 case WantAgentConstant::Flags::ONE_TIME_FLAG: in FlagsTransformer()
48 case WantAgentConstant::Flags::NO_BUILD_FLAG: in FlagsTransformer()
57 case WantAgentConstant::Flags::CONSTANT_FLAG: in FlagsTransformer()
60 case WantAgentConstant::Flags::REPLACE_ELEMENT: in FlagsTransformer()
64 case WantAgentConstant::Flags::REPLACE_ACTION: in FlagsTransformer()
68 case WantAgentConstant::Flags::REPLACE_URI: in FlagsTransformer()
72 case WantAgentConstant::Flags::REPLACE_ENTITIES: in FlagsTransformer()
76 case WantAgentConstant::Flags::REPLACE_BUNDLE: in FlagsTransformer()
80 case WantAgentConstant::Flags::ALLOW_CANCEL_FLAG: in FlagsTransformer()
397 WantAgentConstant::OperationType operationType = WantAgentConstant::OperationType::UNKNOWN_TYPE; in FromString()
[all …]
H A Dwant_agent_info.cpp26 WantAgentInfo::WantAgentInfo(int requestCode, const WantAgentConstant::OperationType &operationType, in WantAgentInfo()
27 WantAgentConstant::Flags flag, std::vector<std::shared_ptr<Want>> &wants, in WantAgentInfo()
45 WantAgentInfo::WantAgentInfo(int requestCode, const WantAgentConstant::OperationType &operationType, in WantAgentInfo()
46 const std::vector<WantAgentConstant::Flags> &flags, std::vector<std::shared_ptr<Want>> &wants, in WantAgentInfo()
71 std::vector<WantAgentConstant::Flags> tempFlags = paramInfo->GetFlags(); in WantAgentInfo()
89 WantAgentConstant::OperationType WantAgentInfo::GetOperationType() const in GetOperationType()
94 std::vector<WantAgentConstant::Flags> WantAgentInfo::GetFlags() const in GetFlags()
H A Dpending_want.cpp41 WantAgentConstant::OperationType PendingWant::GetType(sptr<AAFwk::IWantSender> target) in GetType()
45 return static_cast<WantAgentConstant::OperationType>(operationType); in GetType()
76 wantSenderInfo.type = static_cast<int32_t>(WantAgentConstant::OperationType::START_ABILITY); in GetAbility()
111 wantSenderInfo.type = static_cast<int32_t>(WantAgentConstant::OperationType::START_ABILITIES); in GetAbilities()
161 wantSenderInfo.type = static_cast<int32_t>(WantAgentConstant::OperationType::SEND_COMMON_EVENT); in GetCommonEventAsUser()
182 WantAgentConstant::OperationType::START_SERVICE, pendingWant); in GetService()
191 WantAgentConstant::OperationType::START_SERVICE_EXTENSION, pendingWant); in GetServiceExtension()
200 … context, requestCode, want, flags, WantAgentConstant::OperationType::START_FOREGROUND_SERVICE, in GetForegroundService()
207 unsigned int flags, WantAgentConstant::OperationType serviceKind, in BuildServicePendingWant()
/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/wantagent/include/
H A Dwant_agent_info.h55 …WantAgentInfo(int requestCode, const WantAgentConstant::OperationType &operationType, WantAgentCon…
70 WantAgentInfo(int requestCode, const WantAgentConstant::OperationType &operationType,
71 …const std::vector<WantAgentConstant::Flags> &flags, std::vector<std::shared_ptr<AAFwk::Want>> &Wan…
93 WantAgentConstant::OperationType GetOperationType() const;
100 std::vector<WantAgentConstant::Flags> GetFlags() const;
118WantAgentConstant::OperationType operationType_ = WantAgentConstant::OperationType::UNKNOWN_TYPE;
119 std::vector<WantAgentConstant::Flags> flags_ = std::vector<WantAgentConstant::Flags>();
H A Dwant_agent_constant.h25 class WantAgentConstant final {
136 WantAgentConstant() {}; in WantAgentConstant() function
137 virtual ~WantAgentConstant() = default;
H A Dwant_agent_helper.h85 static WantAgentConstant::OperationType GetType(std::shared_ptr<WantAgent> agent);
193 WantAgentConstant::OperationType type,
197 static unsigned int FlagsTransformer(const std::vector<WantAgentConstant::Flags> &flags);
199 static std::vector<WantAgentConstant::Flags> ParseFlags(nlohmann::json jsonObject);
H A Dpending_want.h42 WantAgentConstant::OperationType GetType(sptr<AAFwk::IWantSender> target);
287 WantAgentConstant::OperationType serviceKind,
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/panding_want_manager_test/
H A Dpanding_want_manager_test.cpp261 WantAgentConstant::OperationType type = WantAgentConstant::OperationType::SEND_COMMON_EVENT;
263 WantAgentConstant::Flags flag = WantAgentConstant::Flags::ONE_TIME_FLAG;
264 std::vector<WantAgentConstant::Flags> flags;
316 WantAgentConstant::OperationType type = WantAgentConstant::OperationType::START_ABILITY;
318 WantAgentConstant::Flags flag = WantAgentConstant::Flags::UPDATE_PRESENT_FLAG;
319 std::vector<WantAgentConstant::Flags> flags;
387 WantAgentConstant::OperationType type = WantAgentConstant::OperationType::START_ABILITY;
389 WantAgentConstant::Flags flag = WantAgentConstant::Flags::NO_BUILD_FLAG;
425 WantAgentConstant::Flags flag1 = WantAgentConstant::Flags::ONE_TIME_FLAG;
436 WantAgentConstant::Flags flag2 = WantAgentConstant::Flags::UPDATE_PRESENT_FLAG;
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/wantagenthelpertrigger_fuzzer/
H A Dwantagenthelpertrigger_fuzzer.cpp39WantAgentConstant::OperationType operationType = WantAgentConstant::OperationType::START_ABILITY; in DoSomethingInterestingWithMyAPI()
40 WantAgentConstant::Flags flag = WantAgentConstant::Flags::ONE_TIME_FLAG; in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/pending_want_test/
H A Dpending_want_test.cpp161 EXPECT_EQ(pendingWant.GetType(target), WantAgentConstant::OperationType::UNKNOWN_TYPE);
411WantAgentConstant::OperationType type = WantAgentConstant::OperationType::START_FOREGROUND_SERVICE;
430WantAgentConstant::OperationType type = WantAgentConstant::OperationType::START_FOREGROUND_SERVICE;
449WantAgentConstant::OperationType type = WantAgentConstant::OperationType::START_FOREGROUND_SERVICE;
719 int32_t type = static_cast<int32_t>(WantAgentConstant::OperationType::UNKNOWN_TYPE);
721 EXPECT_EQ(type, static_cast<int32_t>(WantAgentConstant::OperationType::UNKNOWN_TYPE));
1267WantAgentConstant::OperationType type = WantAgentConstant::OperationType::START_FOREGROUND_SERVICE;
1293WantAgentConstant::OperationType type = WantAgentConstant::OperationType::START_FOREGROUND_SERVICE;
1319WantAgentConstant::OperationType type = WantAgentConstant::OperationType::START_FOREGROUND_SERVICE;
1363WantAgentConstant::OperationType type = WantAgentConstant::OperationType::START_FOREGROUND_SERVICE;
/ohos5.0/base/usb/usb_manager/services/native/src/
H A Dusb_mass_storage_notification.cpp203 std::vector<OHOS::AbilityRuntime::WantAgent::WantAgentConstant::Flags> flags; in PublishUsbNotification()
204 flags.push_back(OHOS::AbilityRuntime::WantAgent::WantAgentConstant::Flags::UPDATE_PRESENT_FLAG); in PublishUsbNotification()
207 AbilityRuntime::WantAgent::WantAgentConstant::OperationType::START_ABILITY, in PublishUsbNotification()
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dreminder_request.cpp1450 std::vector<AbilityRuntime::WantAgent::WantAgentConstant::Flags> flags; in AddActionButtons()
1451 flags.push_back(AbilityRuntime::WantAgent::WantAgentConstant::Flags::UPDATE_PRESENT_FLAG); in AddActionButtons()
1484 AbilityRuntime::WantAgent::WantAgentConstant::OperationType::SEND_COMMON_EVENT, in AddActionButtons()
1504 std::vector<AbilityRuntime::WantAgent::WantAgentConstant::Flags> flags; in AddRemovalWantAgent()
1505 flags.push_back(AbilityRuntime::WantAgent::WantAgentConstant::Flags::UPDATE_PRESENT_FLAG); in AddRemovalWantAgent()
1513 AbilityRuntime::WantAgent::WantAgentConstant::OperationType::SEND_COMMON_EVENT, in AddRemovalWantAgent()
1531 std::vector<AbilityRuntime::WantAgent::WantAgentConstant::Flags> wantFlags; in CreateWantAgent()
1540 AbilityRuntime::WantAgent::WantAgentConstant::OperationType::SEND_COMMON_EVENT, in CreateWantAgent()
1555 std::vector<AbilityRuntime::WantAgent::WantAgentConstant::Flags> flags; in CreateMaxWantAgent()
1556 flags.push_back(AbilityRuntime::WantAgent::WantAgentConstant::Flags::UPDATE_PRESENT_FLAG); in CreateMaxWantAgent()
[all …]
/ohos5.0/foundation/communication/nfc/services/src/notification/
H A Dnfc_notification.cpp299 std::vector<AbilityRuntime::WantAgent::WantAgentConstant::Flags> flags; in SetActionButton()
300 flags.push_back(AbilityRuntime::WantAgent::WantAgentConstant::Flags::CONSTANT_FLAG); in SetActionButton()
302 0, AbilityRuntime::WantAgent::WantAgentConstant::OperationType::UNKNOWN_TYPE, in SetActionButton()
/ohos5.0/foundation/ability/form_fwk/services/src/
H A Dform_timer_mgr.cpp978 …WantAgentInfo wantAgentInfo(REQUEST_UPDATE_AT_CODE, WantAgentConstant::OperationType::SEND_COMMON_… in GetUpdateAtWantAgent()
979 WantAgentConstant::Flags::CANCEL_PRESENT_FLAG, wants, nullptr); in GetUpdateAtWantAgent()
1095 …WantAgentInfo wantAgentInfo(REQUEST_LIMITER_CODE, WantAgentConstant::OperationType::SEND_COMMON_EV… in GetLimiterWantAgent()
1096 WantAgentConstant::Flags::UPDATE_PRESENT_FLAG, wants, nullptr); in GetLimiterWantAgent()
1186 …WantAgentInfo wantAgentInfo(REQUEST_DYNAMIC_CODE, WantAgentConstant::OperationType::SEND_COMMON_EV… in GetDynamicWantAgent()
1187 WantAgentConstant::Flags::CANCEL_PRESENT_FLAG, wants, nullptr); in GetDynamicWantAgent()
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dpublish.cpp293 std::vector<WantAgentConstant::Flags> wantAgentFlags = {}; in ParseShowOptions()
296 … WantAgentInfo wantAgentInfo(-1, WantAgentConstant::OperationType::START_ABILITY, wantAgentFlags, in ParseShowOptions()
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/wantagent/
H A Dnapi_want_agent.h75 std::vector<WantAgentConstant::Flags> wantAgentFlags = {};
H A Dnapi_want_agent.cpp953 paras.wantAgentFlags.emplace_back(static_cast<WantAgentConstant::Flags>(actionFlag)); in GetWantAgentParam()
983 paras.wantAgentFlags.emplace_back(static_cast<WantAgentConstant::Flags>(wantAgentFlag)); in GetWantAgentParam()
1099 … static_cast<WantAgentConstant::OperationType>(parasobj->operationType), in OnGetWantAgent()
1239 … static_cast<WantAgentConstant::OperationType>(parasobj->operationType), in SetOnNapiGetWantAgentCallback()
/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_publish_test.cpp1634 std::vector<AbilityRuntime::WantAgent::WantAgentConstant::Flags> flags {
1635 AbilityRuntime::WantAgent::WantAgentConstant::Flags::CONSTANT_FLAG };
1638 AbilityRuntime::WantAgent::WantAgentConstant::OperationType::SEND_COMMON_EVENT,
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dreminder_data_manager.cpp437 std::vector<AbilityRuntime::WantAgent::WantAgentConstant::Flags> flags; in CreateTimerInfo()
438 flags.push_back(AbilityRuntime::WantAgent::WantAgentConstant::Flags::UPDATE_PRESENT_FLAG); in CreateTimerInfo()
466 AbilityRuntime::WantAgent::WantAgentConstant::OperationType::SEND_COMMON_EVENT, in CreateTimerInfo()
/ohos5.0/foundation/multimedia/av_session/services/session/server/
H A Davsession_service.cpp3061 std::vector<AbilityRuntime::WantAgent::WantAgentConstant::Flags> flags; in CreateWantAgent()
3062 flags.push_back(AbilityRuntime::WantAgent::WantAgentConstant::Flags::UPDATE_PRESENT_FLAG); in CreateWantAgent()
3095 AbilityRuntime::WantAgent::WantAgentConstant::OperationType::START_ABILITY, in CreateWantAgent()