Home
last modified time | relevance | path

Searched refs:launchMode (Results 1 – 25 of 74) sorted by relevance

123

/ohos5.0/foundation/ability/ability_runtime/test/moduletest/mock/include/
H A Dmock_bundle_mgr.h76 abilityInfo.launchMode = LaunchMode::STANDARD;
80 abilityInfo.launchMode = LaunchMode::STANDARD;
84 abilityInfo.launchMode = LaunchMode::SINGLETON;
88 abilityInfo.launchMode = LaunchMode::STANDARD;
94 abilityInfo.launchMode = LaunchMode::SINGLETON;
109 abilityInfo.launchMode = LaunchMode::STANDARD;
112 abilityInfo.launchMode = LaunchMode::SINGLETON;
115 abilityInfo.launchMode = LaunchMode::STANDARD;
164 abilityInfo.launchMode = LaunchMode::SINGLETON;
167 abilityInfo.launchMode = LaunchMode::SINGLETON;
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/mission_test/
H A Dmission_test.cpp165 abilityInfo.launchMode = AppExecFwk::LaunchMode::STANDARD;
184 abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
203 abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
222 abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
241 abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
260 abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
279 abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
299 abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
321 abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
363 abilityInfo.launchMode = AppExecFwk::LaunchMode::STANDARD;
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/uiabilitylifecyclemanagerb_fuzzer/
H A Duiabilitylifecyclemanagerb_fuzzer.cpp81 abilityRequest1.abilityInfo.launchMode = AppExecFwk::LaunchMode::SPECIFIED; in DoSomethingInterestingWithMyAPI1()
82 if (abilityRequest1.abilityInfo.launchMode == AppExecFwk::LaunchMode::SPECIFIED) { in DoSomethingInterestingWithMyAPI1()
86 abilityRequest1.abilityInfo.launchMode = AppExecFwk::LaunchMode::STANDARD; in DoSomethingInterestingWithMyAPI1()
87 if (abilityRequest1.abilityInfo.launchMode == AppExecFwk::LaunchMode::STANDARD) { in DoSomethingInterestingWithMyAPI1()
92 abilityRequest1.abilityInfo.launchMode = AppExecFwk::LaunchMode::SPECIFIED; in DoSomethingInterestingWithMyAPI1()
93 if (abilityRequest1.abilityInfo.launchMode == AppExecFwk::LaunchMode::SPECIFIED) { in DoSomethingInterestingWithMyAPI1()
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dinner_mission_info.cpp44 value[KEY_LAUNCH_MODE] = launchMode; in ToJsonStr()
83 launchMode = value[KEY_LAUNCH_MODE].get<int32_t>(); in FromJsonStr()
192 launchMode = info.launchMode; in UpdateMissionInfo()
208 info.launchMode = launchMode; in ConvertInnerMissionInfoDto()
H A Dmission.cpp59 return abilityRecord_->GetAbilityInfo().launchMode == AppExecFwk::LaunchMode::SINGLETON; in IsSingletonAbility()
68 return abilityRecord_->GetAbilityInfo().launchMode == AppExecFwk::LaunchMode::SPECIFIED; in IsSpecifiedAbility()
77 return abilityRecord_->GetAbilityInfo().launchMode == AppExecFwk::LaunchMode::STANDARD; in IsStandardAbility()
H A Dcall_record.cpp133 handler->SubmitTask([callback, remoteObject, launchMode = abilityInfo.launchMode, element]() { in SchedulerConnectDone()
135 remoteObject, static_cast<int32_t>(launchMode)); in SchedulerConnectDone()
140 element.GetURI().c_str(), static_cast<int32_t>(abilityInfo.launchMode), state_); in SchedulerConnectDone()
H A Dmission_info.cpp137 launchMode = parcel.ReadInt32(); in ReadFromParcel()
172 if (!(parcel).WriteInt32(launchMode)) { in Marshalling()
/ohos5.0/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/appexecfwk_core/include/bundlemgr/
H A Dmock_bundle_manager.h74 abilityInfo.launchMode = LaunchMode::STANDARD;
78 abilityInfo.launchMode = LaunchMode::STANDARD;
82 abilityInfo.launchMode = LaunchMode::SINGLETON;
96 abilityInfo.launchMode = LaunchMode::STANDARD;
99 abilityInfo.launchMode = LaunchMode::SINGLETON;
194 abilityInfo.launchMode = LaunchMode::STANDARD;
197 abilityInfo.launchMode = LaunchMode::SINGLETON;
/ohos5.0/foundation/barrierfree/accessibility/services/test/mock/
H A Dmock_bundle_manager.cpp60 abilityInfo.launchMode = LaunchMode::STANDARD; in __anone94a0cbf0302()
64 abilityInfo.launchMode = LaunchMode::STANDARD; in __anone94a0cbf0302()
68 abilityInfo.launchMode = LaunchMode::SINGLETON; in __anone94a0cbf0302()
82 abilityInfo.launchMode = LaunchMode::STANDARD; in __anone94a0cbf0402()
85 abilityInfo.launchMode = LaunchMode::SINGLETON; in __anone94a0cbf0402()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/dlp_state_item_test/
H A Ddlp_state_item_test.cpp59 abilityInfo.launchMode = AppExecFwk::LaunchMode::STANDARD;
86 abilityInfo.launchMode = AppExecFwk::LaunchMode::STANDARD;
127 abilityInfo.launchMode = AppExecFwk::LaunchMode::STANDARD;
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dcompatible_ability_info.cpp66 launchMode = static_cast<LaunchMode>(launchModeData); in ReadFromParcel()
178 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, static_cast<int32_t>(launchMode)); in Marshalling()
245 abilityInfo.launchMode = launchMode; in ConvertToAbilityInfo()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/mission_list_test/
H A Dmission_list_test.cpp250 abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
274 abilityInfo.launchMode = AppExecFwk::LaunchMode::STANDARD;
298 abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
343 abilityInfo.launchMode = AppExecFwk::LaunchMode::SPECIFIED;
368 abilityInfo.launchMode = AppExecFwk::LaunchMode::SPECIFIED;
396 abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
435 abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
468 abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
575 abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DjsEnumStyle.js2277 let launchMode = LaunchMode.STANDARD;
2285 if (param.launchMode !== undefined) {
2286 launchMode = param.launchMode;
2289 return [launchMode, animated];
2292 …if (launchMode === LaunchMode.MOVE_TO_TOP_SINGLETON || launchMode === LaunchMode.POP_TO_SINGLETON)…
2299 if (launchMode === LaunchMode.MOVE_TO_TOP_SINGLETON) {
2316 let [launchMode, animated] = this.parseNavigationOptions(optionParam);
2322 if (launchMode === LaunchMode.NEW_INSTANCE) {
2347 if (launchMode === LaunchMode.NEW_INSTANCE) {
2357 …if (launchMode === LaunchMode.MOVE_TO_TOP_SINGLETON || launchMode === LaunchMode.POP_TO_SINGLETON)…
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/mission_list_manager_test/
H A Dmission_list_manager_test.cpp66 abilityInfo.launchMode = AppExecFwk::LaunchMode::SPECIFIED; in InitMockMission()
149 abilityRequest.abilityInfo.launchMode = AppExecFwk::LaunchMode::SPECIFIED;
210 abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
239 abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
268 abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
297 abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
326 abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
360 abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
466 abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
492 abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/on_new_want_module_test/
H A Don_new_want_module_test.cpp66 abilityInfo.launchMode = LaunchMode::SINGLETON; in CreateAbilityInfo()
68 abilityInfo.launchMode = LaunchMode::STANDARD; in CreateAbilityInfo()
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dbundle_parser.cpp815 char *launchMode = ParseValue(abilityObjectItem, PROFILE_KEY_MODULE_ABILITY_LAUNCHTYPE); in ParseAbilityLauchMode() local
816 CHECK_NULL(launchMode, ERR_APPEXECFWK_INSTALL_FAILED_PARSE_ABILITY_LAUNCHTYPE_ERROR); in ParseAbilityLauchMode()
818 [&launchMode] (const auto &item) { in ParseAbilityLauchMode()
819 return item.first == std::string(launchMode); in ParseAbilityLauchMode()
822 abilityInfo.launchMode = iter->second; in ParseAbilityLauchMode()
824 abilityInfo.launchMode = SINGLETON; in ParseAbilityLauchMode()
827 abilityInfo.launchMode = SINGLETON; in ParseAbilityLauchMode()
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/interfaces/kits/bundle_lite/
H A Dability_info.h123 LaunchMode launchMode; member
/ohos5.0/foundation/ability/ability_runtime/test/unittest/mission_info_mgr_test/
H A Dmission_info_mgr_test.cpp411 missionInfo.launchMode = static_cast<int32_t>(AppExecFwk::LaunchMode::STANDARD);
416 missionInfo.launchMode = static_cast<int32_t>(AppExecFwk::LaunchMode::SINGLETON);
425 missionInfo.launchMode = static_cast<int32_t>(AppExecFwk::LaunchMode::SPECIFIED);
442 missionInfo.launchMode = 1000;
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dinner_mission_info.h46 int32_t launchMode; member
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ui_ability_lifecycle_manager_test/
H A Dui_ability_lifecycle_manager_test.cpp1649 abilityRequest.abilityInfo.launchMode = AppExecFwk::LaunchMode::SPECIFIED;
1664 abilityRequest.abilityInfo.launchMode = AppExecFwk::LaunchMode::STANDARD;
1679 abilityRequest.abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
1745 abilityRequest.abilityInfo.launchMode = AppExecFwk::LaunchMode::SPECIFIED;
1776 abilityRequest.abilityInfo.launchMode = AppExecFwk::LaunchMode::SPECIFIED;
1816 abilityRequest.abilityInfo.launchMode = AppExecFwk::LaunchMode::STANDARD;
1904 abilityRequest.abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
2878 abilityRequest.abilityInfo.launchMode = AppExecFwk::LaunchMode::STANDARD;
3901 AppExecFwk::LaunchMode launchMode = AppExecFwk::LaunchMode::SPECIFIED; variable
3925 AppExecFwk::LaunchMode launchMode = AppExecFwk::LaunchMode::STANDARD; variable
[all …]
/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/ability_manager/include/
H A Dmission_info.h77 int32_t launchMode; member
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/call_module_test/
H A Dcall_ability_service_module_test.cpp86 abilityRequest_.abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/scene_board/
H A Dui_ability_lifecycle_manager.cpp369 auto isSpecified = (abilityRequest.abilityInfo.launchMode == AppExecFwk::LaunchMode::SPECIFIED); in NotifySCBToStartUIAbility()
1416 if (abilityRequest.abilityInfo.launchMode == AppExecFwk::LaunchMode::SPECIFIED) { in GetPersistentIdByAbilityRequest()
1420 if (abilityRequest.abilityInfo.launchMode == AppExecFwk::LaunchMode::STANDARD) { in GetPersistentIdByAbilityRequest()
1424 if (abilityRequest.abilityInfo.launchMode != AppExecFwk::LaunchMode::SINGLETON) { in GetPersistentIdByAbilityRequest()
1445 if (abilityRequest.abilityInfo.launchMode != AppExecFwk::LaunchMode::SPECIFIED) { in GetReusedSpecifiedPersistentId()
1466 if (abilityRequest.abilityInfo.launchMode != AppExecFwk::LaunchMode::STANDARD) { in GetReusedStandardPersistentId()
1510 const AbilityRequest &abilityRequest, AppExecFwk::LaunchMode launchMode) const in CheckProperties()
1515 …return abilityInfo.launchMode == launchMode && abilityRequest.abilityInfo.name == abilityInfo.name… in CheckProperties()
1687 if (abilityRequest.abilityInfo.launchMode != AppExecFwk::LaunchMode::SPECIFIED) { in OnAcceptWantResponse()
2066 if (abilityRecord->GetAbilityInfo().launchMode == AppExecFwk::LaunchMode::STANDARD) { in SetLastExitReason()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Dability_info.h144 LaunchMode launchMode = LaunchMode::SINGLETON; member
199 LaunchMode launchMode = LaunchMode::SINGLETON; member
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/src/
H A Dability_info_utils.cpp31 des->launchMode = src.launchMode; in CopyAbilityInfo()

123