Home
last modified time | relevance | path

Searched refs:LaunchMode (Results 1 – 25 of 65) 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 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 Dmission_info_mgr.cpp320 …sFindRecentStandard && item.launchMode == static_cast<int32_t>(AppExecFwk::LaunchMode::STANDARD)) { in FindReusedMissionInfo()
324 if (item.launchMode == static_cast<int32_t>(AppExecFwk::LaunchMode::SINGLETON)) { in FindReusedMissionInfo()
328 if (item.launchMode == static_cast<int32_t>(AppExecFwk::LaunchMode::SPECIFIED)) { in FindReusedMissionInfo()
/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/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Dability_info.h96 enum class LaunchMode { enum
144 LaunchMode launchMode = LaunchMode::SINGLETON;
199 LaunchMode launchMode = LaunchMode::SINGLETON;
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/interfaces/kits/bundle_lite/
H A Dability_info.h82 } LaunchMode; typedef
123 LaunchMode launchMode;
/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/ability/ability_runtime/frameworks/simulator/common/include/
H A Dability_info.h70 enum class LaunchMode { enum
97 LaunchMode launchMode = LaunchMode::SINGLETON;
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DjsEnumStyle.js2135 var LaunchMode; variable
2136 (function (LaunchMode) {
2137 LaunchMode[LaunchMode.STANDARD = 0] = 'STANDARD';
2138 LaunchMode[LaunchMode.MOVE_TO_TOP_SINGLETON = 1] = 'MOVE_TO_TOP_SINGLETON';
2139 LaunchMode[LaunchMode.POP_TO_SINGLETON = 2] = 'POP_TO_SINGLETON';
2140 LaunchMode[LaunchMode.NEW_INSTANCE = 3] = 'NEW_INSTANCE';
2141 })(LaunchMode || (LaunchMode = {}));
2277 let launchMode = LaunchMode.STANDARD;
2292 …if (launchMode === LaunchMode.MOVE_TO_TOP_SINGLETON || launchMode === LaunchMode.POP_TO_SINGLETON)…
2322 if (launchMode === LaunchMode.NEW_INSTANCE) {
[all …]
/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/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/ability/ability_runtime/test/moduletest/ability_caller_fw_module_test/
H A Dability_caller_fw_module_test.cpp100 element, callRemoteObject, static_cast<int32_t>(AppExecFwk::LaunchMode::SINGLETON));
161 … want.GetElement(), callRemoteObject, static_cast<int32_t>(AppExecFwk::LaunchMode::SINGLETON));
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/scene_board/
H A Dui_ability_lifecycle_manager.cpp1416 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()
1431 if (CheckProperties(second, abilityRequest, AppExecFwk::LaunchMode::SINGLETON)) { in GetPersistentIdByAbilityRequest()
1445 if (abilityRequest.abilityInfo.launchMode != AppExecFwk::LaunchMode::SPECIFIED) { in GetReusedSpecifiedPersistentId()
1454 CheckProperties(second, abilityRequest, AppExecFwk::LaunchMode::SPECIFIED)) { in GetReusedSpecifiedPersistentId()
1466 if (abilityRequest.abilityInfo.launchMode != AppExecFwk::LaunchMode::STANDARD) { in GetReusedStandardPersistentId()
1480 if (CheckProperties(second, abilityRequest, AppExecFwk::LaunchMode::STANDARD) && in GetReusedStandardPersistentId()
1510 const AbilityRequest &abilityRequest, AppExecFwk::LaunchMode launchMode) const in CheckProperties()
1687 if (abilityRequest.abilityInfo.launchMode != AppExecFwk::LaunchMode::SPECIFIED) { in OnAcceptWantResponse()
[all …]
/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;
3925 AppExecFwk::LaunchMode launchMode = AppExecFwk::LaunchMode::STANDARD;
[all …]
/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/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);
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/
H A Djs-apis-bundle-AbilityInfo.md31 | launchMode | [bundle.LaunchMode](js-apis-Bundle.md#launchmodedeprecated) | 是 …
/ohos5.0/foundation/ability/ability_runtime/test/unittest/mission_list_manager_ut_test/
H A Dmission_list_manager_ut_test.cpp251 abilityRequest.abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
299 abilityRequest.abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
557 abilityRequest.abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON;
607 abilityRequest.abilityInfo.launchMode = AppExecFwk::LaunchMode::STANDARD;
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dohos-atomicservice-NavPushPathHelper.md79 …nents-navdestination.md)页面信息入栈,使用Promise异步回调返回接口调用结果,具体根据options中指定不同的[LaunchMode](ts-basic-compon…
214 …nents-navdestination.md)页面信息入栈,使用Promise异步回调返回接口调用结果,具体根据options中指定不同的[LaunchMode](ts-basic-compon…
357 先判断分包是否存在,若不存在,则通过moduleName下载分包,再将当前页面栈栈顶退出,使用Promise异步回调返回接口调用结果,具体根据options中指定不同的[LaunchMode](ts…
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/bundle_parser/
H A Dmodule_profile.cpp121 const std::map<std::string, LaunchMode> LAUNCH_MODE_MAP = {
122 {"singleton", LaunchMode::SINGLETON},
123 {"standard", LaunchMode::STANDARD},
124 {"multiton", LaunchMode::STANDARD},
125 {"specified", LaunchMode::SPECIFIED}
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/continuation/distributed/
H A Dcontinuation_handler_stage.cpp245 if (abilityInfo_->launchMode != LaunchMode::STANDARD) { in SetWantParams()

123