/foundation/appexecfwk/appexecfwk_lite/frameworks/bundle_lite/src/ |
D | ability_info_utils.cpp | 43 bool AbilityInfoUtils::SetAbilityInfoBundleName(AbilityInfo *abilityInfo, const char *bundleName) in SetAbilityInfoBundleName() argument 45 if (abilityInfo == nullptr || bundleName == nullptr) { in SetAbilityInfoBundleName() 49 AdapterFree(abilityInfo->bundleName); in SetAbilityInfoBundleName() 50 abilityInfo->bundleName = Utils::Strdup(bundleName); in SetAbilityInfoBundleName() 51 return abilityInfo->bundleName != nullptr; in SetAbilityInfoBundleName() 55 bool AbilityInfoUtils::SetAbilityInfoModuleName(AbilityInfo *abilityInfo, const char *moduleName) in SetAbilityInfoModuleName() argument 57 if (abilityInfo == nullptr || moduleName == nullptr) { in SetAbilityInfoModuleName() 61 AdapterFree(abilityInfo->moduleName); in SetAbilityInfoModuleName() 62 abilityInfo->moduleName = Utils::Strdup(moduleName); in SetAbilityInfoModuleName() 63 return abilityInfo->moduleName != nullptr; in SetAbilityInfoModuleName() [all …]
|
D | ability_info.cpp | 20 void ClearAbilityInfo(AbilityInfo *abilityInfo) in ClearAbilityInfo() argument 22 if (abilityInfo == nullptr) { in ClearAbilityInfo() 25 AdapterFree(abilityInfo->bundleName); in ClearAbilityInfo() 27 AdapterFree(abilityInfo->moduleName); in ClearAbilityInfo() 28 AdapterFree(abilityInfo->name); in ClearAbilityInfo() 29 AdapterFree(abilityInfo->description); in ClearAbilityInfo() 30 AdapterFree(abilityInfo->iconPath); in ClearAbilityInfo() 31 AdapterFree(abilityInfo->deviceId); in ClearAbilityInfo() 32 AdapterFree(abilityInfo->label); in ClearAbilityInfo() 34 AdapterFree(abilityInfo->srcPath); in ClearAbilityInfo()
|
/foundation/aafwk/standard/services/test/mock/include/ |
D | mock_bundle_mgr.h | 51 auto HiWordInfo = [](std::string bundleName, AbilityInfo &abilityInfo, ElementName &elementTemp) { 52 abilityInfo.name = elementTemp.GetAbilityName(); 53 abilityInfo.bundleName = elementTemp.GetBundleName(); 54 abilityInfo.applicationInfo.bundleName = elementTemp.GetBundleName(); 55 abilityInfo.applicationName = "Helloworld"; 56 abilityInfo.applicationInfo.name = "Helloworld"; 57 abilityInfo.type = AbilityType::PAGE; 58 abilityInfo.applicationInfo.isLauncherApp = true; 61 abilityInfo.configChanges.push_back("fontSize"); 66 auto HiMusicInfo = [](std::string bundleName, AbilityInfo &abilityInfo, ElementName &elementTemp) { [all …]
|
/foundation/aafwk/standard/services/abilitymgr/test/mock/libs/appexecfwk_core/include/bundlemgr/ |
D | mock_bundle_manager.h | 51 auto HiWordInfo = [](std::string bundleName, AbilityInfo &abilityInfo, ElementName &elementTemp) { 52 abilityInfo.name = elementTemp.GetAbilityName(); 53 abilityInfo.bundleName = elementTemp.GetBundleName(); 54 abilityInfo.applicationInfo.bundleName = elementTemp.GetBundleName(); 55 abilityInfo.applicationName = "Helloworld"; 56 abilityInfo.applicationInfo.name = "Helloworld"; 57 abilityInfo.type = AbilityType::PAGE; 58 abilityInfo.applicationInfo.isLauncherApp = true; 59 abilityInfo.applicationInfo.apiCompatibleVersion = 8; 63 auto HiMusicInfo = [](std::string bundleName, AbilityInfo &abilityInfo, ElementName &elementTemp) { [all …]
|
/foundation/aafwk/standard/services/test/mock/src/ |
D | mock_bundle_mgr.cpp | 35 bool BundleMgrProxy::QueryAbilityInfo(const AAFwk::Want &want, AbilityInfo &abilityInfo) in QueryAbilityInfo() argument 41 abilityInfo.visible = true; in QueryAbilityInfo() 42 abilityInfo.name = eleName.GetAbilityName(); in QueryAbilityInfo() 43 abilityInfo.bundleName = eleName.GetBundleName(); in QueryAbilityInfo() 44 abilityInfo.applicationName = eleName.GetAbilityName() + "App"; in QueryAbilityInfo() 45 if (abilityInfo.bundleName != "com.ix.hiworld") { in QueryAbilityInfo() 46 abilityInfo.applicationInfo.isLauncherApp = false; in QueryAbilityInfo() 57 bool BundleMgrProxy::QueryAbilityInfoByUri(const std::string &uri, AbilityInfo &abilityInfo) in QueryAbilityInfoByUri() argument 86 AbilityInfo &abilityInfo) in QueryAbilityInfo() argument 88 auto flag = QueryAbilityInfo(want, abilityInfo); in QueryAbilityInfo() [all …]
|
/foundation/appexecfwk/standard/interfaces/innerkits/appexecfwk_base/src/ |
D | compatible_ability_info.cpp | 217 void CompatibleAbilityInfo::ConvertToAbilityInfo(AbilityInfo& abilityInfo) const in ConvertToAbilityInfo() 220 abilityInfo.package = package; in ConvertToAbilityInfo() 221 abilityInfo.name = name; in ConvertToAbilityInfo() 222 abilityInfo.label = label; in ConvertToAbilityInfo() 223 abilityInfo.description = description; in ConvertToAbilityInfo() 224 abilityInfo.iconPath = iconPath; in ConvertToAbilityInfo() 225 abilityInfo.uri = uri; in ConvertToAbilityInfo() 226 abilityInfo.moduleName = moduleName; in ConvertToAbilityInfo() 227 abilityInfo.process = process; in ConvertToAbilityInfo() 228 abilityInfo.targetAbility = targetAbility; in ConvertToAbilityInfo() [all …]
|
D | ability_info.cpp | 352 void to_json(nlohmann::json &jsonObject, const AbilityInfo &abilityInfo) in to_json() argument 355 {JSON_KEY_NAME, abilityInfo.name}, in to_json() 356 {JSON_KEY_LABEL, abilityInfo.label}, in to_json() 357 {JSON_KEY_DESCRIPTION, abilityInfo.description}, in to_json() 358 {JSON_KEY_ICON_PATH, abilityInfo.iconPath}, in to_json() 359 {JSON_KEY_THEME, abilityInfo.theme}, in to_json() 360 {JSON_KEY_VISIBLE, abilityInfo.visible}, in to_json() 361 {JSON_KEY_ABILITY_CONTINUABLE, abilityInfo.continuable}, in to_json() 362 {PRIORITY, abilityInfo.priority}, in to_json() 363 {JSON_KEY_IS_LAUNCHER_ABILITY, abilityInfo.isLauncherAbility}, in to_json() [all …]
|
/foundation/aafwk/standard/services/abilitymgr/test/mock/libs/appexecfwk_core/src/bundlemgr/ |
D | mock_bundle_manager.cpp | 35 bool BundleMgrProxy::QueryAbilityInfo(const AAFwk::Want &want, AbilityInfo &abilityInfo) in QueryAbilityInfo() argument 41 abilityInfo.name = eleName.GetAbilityName(); in QueryAbilityInfo() 42 abilityInfo.bundleName = eleName.GetBundleName(); in QueryAbilityInfo() 43 abilityInfo.applicationName = eleName.GetAbilityName() + "App"; in QueryAbilityInfo() 44 abilityInfo.visible = true; in QueryAbilityInfo() 45 if (abilityInfo.bundleName != "com.ix.hiworld") { in QueryAbilityInfo() 46 abilityInfo.applicationInfo.isLauncherApp = false; in QueryAbilityInfo() 57 bool BundleMgrProxy::QueryAbilityInfoByUri(const std::string &uri, AbilityInfo &abilityInfo) in QueryAbilityInfoByUri() argument 114 bool BundleMgrService::QueryAbilityInfo(const AAFwk::Want &want, AbilityInfo &abilityInfo) in QueryAbilityInfo() argument 116 if (CheckWantEntity(want, abilityInfo)) { in QueryAbilityInfo() [all …]
|
/foundation/aafwk/standard/frameworks/kits/ability/native/test/unittest/ |
D | ability_thread_test.cpp | 91 std::shared_ptr<AbilityInfo> abilityInfo = std::make_shared<AbilityInfo>(); variable 92 abilityInfo->name = "MockPageAbility"; 93 abilityInfo->type = AbilityType::PAGE; 96 …d_ptr<AbilityLocalRecord> abilityRecord = std::make_shared<AbilityLocalRecord>(abilityInfo, token); 97 std::shared_ptr<EventRunner> mainRunner = EventRunner::Create(abilityInfo->name); 128 std::shared_ptr<AbilityInfo> abilityInfo = std::make_shared<AbilityInfo>(); variable 129 abilityInfo->name = "MockPageAbility"; 130 abilityInfo->type = AbilityType::PAGE; 136 std::make_shared<AbilityLocalRecord>(abilityInfo, token); 137 std::shared_ptr<EventRunner> mainRunner = EventRunner::Create(abilityInfo->name); [all …]
|
D | ability_test.cpp | 73 std::shared_ptr<AbilityInfo> abilityInfo = std::make_shared<AbilityInfo>(); variable 74 abilityInfo->name = "ability"; 76 std::shared_ptr<EventRunner> eventRunner = EventRunner::Create(abilityInfo->name); 81 ability_->Init(abilityInfo, application, handler, token); 82 EXPECT_STREQ(abilityInfo->name.c_str(), ability_->GetAbilityName().c_str()); 96 std::shared_ptr<AbilityInfo> abilityInfo = std::make_shared<AbilityInfo>(); variable 98 std::shared_ptr<EventRunner> eventRunner = EventRunner::Create(abilityInfo->name); 103 ability_->Init(abilityInfo, application, handler, token); 120 std::shared_ptr<AbilityInfo> abilityInfo = std::make_shared<AbilityInfo>(); variable 122 std::shared_ptr<EventRunner> eventRunner = EventRunner::Create(abilityInfo->name); [all …]
|
D | page_ability_impl_test.cpp | 70 std::shared_ptr<AbilityInfo> abilityInfo = std::make_shared<AbilityInfo>(); variable 71 abilityInfo->name = "pageAbility"; 73 …std::shared_ptr<AbilityLocalRecord> record = std::make_shared<AbilityLocalRecord>(abilityInfo, tok… 75 std::shared_ptr<EventRunner> eventRunner = EventRunner::Create(abilityInfo->name); 82 contextDeal->SetAbilityInfo(abilityInfo); 103 std::shared_ptr<AbilityInfo> abilityInfo = std::make_shared<AbilityInfo>(); variable 104 abilityInfo->name = "pageAbility"; 106 …std::shared_ptr<AbilityLocalRecord> record = std::make_shared<AbilityLocalRecord>(abilityInfo, tok… 108 std::shared_ptr<EventRunner> eventRunner = EventRunner::Create(abilityInfo->name); 115 contextDeal->SetAbilityInfo(abilityInfo); [all …]
|
D | form_ability_test.cpp | 83 std::shared_ptr<AbilityInfo> abilityInfo = std::make_shared<AbilityInfo>(); variable 84 abilityInfo->type = AbilityType::PAGE; 85 std::shared_ptr<EventRunner> eventRunner = EventRunner::Create(abilityInfo->name); 89 ability_->Init(abilityInfo, nullptr, handler, nullptr); 108 std::shared_ptr<AbilityInfo> abilityInfo = std::make_shared<AbilityInfo>(); variable 109 abilityInfo->type = AbilityType::PAGE; 110 std::shared_ptr<EventRunner> eventRunner = EventRunner::Create(abilityInfo->name); 114 ability_->Init(abilityInfo, nullptr, handler, nullptr); 143 std::shared_ptr<AbilityInfo> abilityInfo = std::make_shared<AbilityInfo>(); variable 144 abilityInfo->type = AbilityType::PAGE; [all …]
|
/foundation/aafwk/standard/frameworks/kits/test/moduletest/cpp/abilitytest/ |
D | ability_test.cpp | 91 std::shared_ptr<AbilityInfo> abilityInfo = std::make_shared<AbilityInfo>(); variable 92 abilityInfo->type = AppExecFwk::AbilityType::PAGE; 93 abilityInfo->name = ABILITY_NAME; 94 abilityInfo->isNativeAbility = true; 96 std::make_shared<AbilityLocalRecord>(abilityInfo, abilityToken); 115 std::shared_ptr<AbilityInfo> abilityInfo = std::make_shared<AbilityInfo>(); variable 116 abilityInfo->type = AppExecFwk::AbilityType::PAGE; 117 abilityInfo->name = ABILITY_NAME; 118 abilityInfo->isNativeAbility = true; 120 std::make_shared<AbilityLocalRecord>(abilityInfo, abilityToken); [all …]
|
D | ability_context_test.cpp | 85 std::shared_ptr<AbilityInfo> abilityInfo = std::make_shared<AbilityInfo>(); variable 86 abilityInfo->type = AppExecFwk::AbilityType::SERVICE; 87 abilityInfo->name = "DemoAbility"; 88 …bilityLocalRecord> abilityRecord = std::make_shared<AbilityLocalRecord>(abilityInfo, abilityToken); 93 deal->SetAbilityInfo(abilityInfo); 111 std::shared_ptr<AbilityInfo> abilityInfo = std::make_shared<AbilityInfo>(); variable 112 abilityInfo->type = AppExecFwk::AbilityType::SERVICE; 113 abilityInfo->name = "DemoAbility"; 114 …bilityLocalRecord> abilityRecord = std::make_shared<AbilityLocalRecord>(abilityInfo, abilityToken); 119 deal->SetAbilityInfo(abilityInfo); [all …]
|
/foundation/aafwk/standard/services/abilitymgr/test/unittest/phone/mission_list_test/ |
D | mission_list_test_call.cpp | 62 AppExecFwk::AbilityInfo abilityInfo; variable 63 abilityInfo.deviceId = DEVICE_ID; 64 abilityInfo.bundleName = BUNDLE_NAME; 65 abilityInfo.name = NAME; 68 …r<AbilityRecord> abilityRecord = std::make_shared<AbilityRecord>(want, abilityInfo, applicationInf… 88 AppExecFwk::AbilityInfo abilityInfo; variable 89 abilityInfo.deviceId = DEVICE_ID; 90 abilityInfo.bundleName = BUNDLE_NAME; 91 abilityInfo.name = NAME; 94 …r<AbilityRecord> abilityRecord = std::make_shared<AbilityRecord>(want, abilityInfo, applicationInf… [all …]
|
/foundation/appexecfwk/appexecfwk_lite/frameworks/bundle_lite/include/ |
D | ability_info_utils.h | 24 static bool SetAbilityInfoBundleName(AbilityInfo *abilityInfo, const char *bundleName); 26 static bool SetAbilityInfoModuleName(AbilityInfo *abilityInfo, const char *moduleName); 27 static bool SetAbilityInfoName(AbilityInfo *abilityInfo, const char *name); 28 static bool SetAbilityInfoDescription(AbilityInfo *abilityInfo, const char *description); 29 static bool SetAbilityInfoIconPath(AbilityInfo *abilityInfo, const char *iconPath); 30 static bool SetAbilityInfoDeviceId(AbilityInfo *abilityInfo, const char *deviceId); 31 static bool SetAbilityInfoLabel(AbilityInfo *abilityInfo, const char *label); 33 static bool SetAbilityInfoSrcPath(AbilityInfo *abilityInfo, const char *srcPath);
|
/foundation/aafwk/standard/services/abilitymgr/test/unittest/phone/mission_test/ |
D | mission_test.cpp | 63 AbilityInfo abilityInfo; in GenerateAbilityRequest() local 64 abilityInfo.visible = true; in GenerateAbilityRequest() 65 abilityInfo.applicationName = appName; in GenerateAbilityRequest() 71 abilityRequest.abilityInfo = abilityInfo; in GenerateAbilityRequest() 164 AppExecFwk::AbilityInfo abilityInfo; variable 165 abilityInfo.launchMode = AppExecFwk::LaunchMode::STANDARD; 168 …r<AbilityRecord> abilityRecord = std::make_shared<AbilityRecord>(want, abilityInfo, applicationInf… 183 AppExecFwk::AbilityInfo abilityInfo; variable 184 abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON; 187 …r<AbilityRecord> abilityRecord = std::make_shared<AbilityRecord>(want, abilityInfo, applicationInf… [all …]
|
/foundation/aafwk/standard/services/appmgr/test/unittest/ams_service_load_ability_process_test/ |
D | ams_service_load_ability_process_test.cpp | 65 const sptr<IRemoteObject> &preToken, const std::shared_ptr<AbilityInfo> &abilityInfo, 99 const sptr<IRemoteObject> &preToken, const std::shared_ptr<AbilityInfo> &abilityInfo, in StartLoadAbility() argument 106 service_->LoadAbility(token, preToken, abilityInfo, appInfo, nullptr); in StartLoadAbility() 111 appInfo->name, abilityInfo->process, appInfo->uid, bundleInfo); in StartLoadAbility() 127 auto abilityInfo = std::make_shared<AbilityInfo>(); variable 128 abilityInfo->name = GetTestAbilityName(); 129 abilityInfo->applicationName = GetTestAppName(); 130 abilityInfo->process = GetTestAppName(); 131 abilityInfo->applicationInfo.bundleName = GetTestAppName(); 138 StartLoadAbility(token, nullptr, abilityInfo, appInfo, PID); [all …]
|
/foundation/distributedschedule/dmsfwk/services/dtbschedmgr/test/unittest/ |
D | distributed_sched_permission_test.cpp | 64 AppExecFwk::AbilityInfo abilityInfo; variable 65 abilityInfo.visible = true; 68 callerInfo, accountInfo, abilityInfo, localDeviceId); 85 AppExecFwk::AbilityInfo abilityInfo; variable 86 abilityInfo.visible = false; 89 callerInfo, accountInfo, abilityInfo, localDeviceId); 106 AppExecFwk::AbilityInfo abilityInfo; variable 107 abilityInfo.visible = true; 110 callerInfo, accountInfo, abilityInfo, localDeviceId); 127 AppExecFwk::AbilityInfo abilityInfo; variable [all …]
|
/foundation/aafwk/standard/services/test/moduletest/static_start_ability_test/ |
D | static_start_ability_test.cpp | 287 AbilityInfo abilityInfo = record->GetAbilityInfo(); variable 289 EXPECT_EQ(abilityInfo.name, COM_OHOS_Test + MAIN_ABILITY); 290 EXPECT_EQ(abilityInfo.bundleName, COM_OHOS_Test); 291 EXPECT_EQ(abilityInfo.applicationInfo.bundleName, COM_OHOS_Test); 292 EXPECT_EQ(abilityInfo.applicationName, COM_OHOS_Test); 293 EXPECT_EQ(abilityInfo.applicationInfo.name, COM_OHOS_Test); 294 EXPECT_EQ(abilityInfo.bundleName, COM_OHOS_Test); 295 EXPECT_EQ(abilityInfo.bundleName, COM_OHOS_Test); 296 EXPECT_EQ(abilityInfo.bundleName, COM_OHOS_Test); 297 EXPECT_EQ(abilityInfo.bundleName, COM_OHOS_Test); [all …]
|
/foundation/aafwk/standard/services/test/moduletest/on_new_want_module_test/ |
D | on_new_want_module_test.cpp | 54 AbilityInfo abilityInfo; in CreateAbilityInfo() local 55 abilityInfo.visible = true; in CreateAbilityInfo() 56 abilityInfo.name = name; in CreateAbilityInfo() 57 abilityInfo.applicationName = appName; in CreateAbilityInfo() 58 abilityInfo.bundleName = bundleName; in CreateAbilityInfo() 59 abilityInfo.applicationInfo.bundleName = bundleName; in CreateAbilityInfo() 60 abilityInfo.applicationName = "com.ix.hiMusic"; in CreateAbilityInfo() 61 abilityInfo.applicationInfo.name = "com.ix.hiMusic"; in CreateAbilityInfo() 62 abilityInfo.type = AbilityType::PAGE; in CreateAbilityInfo() 63 abilityInfo.applicationInfo.isLauncherApp = false; in CreateAbilityInfo() [all …]
|
/foundation/aafwk/standard/frameworks/kits/runtime/native/ |
D | js_data_struct_converter.cpp | 41 NativeValue* CreateJsAbilityInfo(NativeEngine& engine, const AppExecFwk::AbilityInfo& abilityInfo) in CreateJsAbilityInfo() argument 46 object->SetProperty("bundleName", CreateJsValue(engine, abilityInfo.bundleName)); in CreateJsAbilityInfo() 47 object->SetProperty("name", CreateJsValue(engine, abilityInfo.name)); in CreateJsAbilityInfo() 48 object->SetProperty("label", CreateJsValue(engine, abilityInfo.label)); in CreateJsAbilityInfo() 49 object->SetProperty("description", CreateJsValue(engine, abilityInfo.description)); in CreateJsAbilityInfo() 50 object->SetProperty("icon", CreateJsValue(engine, abilityInfo.iconPath)); in CreateJsAbilityInfo() 51 object->SetProperty("labelId", CreateJsValue(engine, abilityInfo.labelId)); in CreateJsAbilityInfo() 52 object->SetProperty("descriptionId", CreateJsValue(engine, abilityInfo.descriptionId)); in CreateJsAbilityInfo() 53 object->SetProperty("iconId", CreateJsValue(engine, abilityInfo.iconId)); in CreateJsAbilityInfo() 54 object->SetProperty("moduleName", CreateJsValue(engine, abilityInfo.moduleName)); in CreateJsAbilityInfo() [all …]
|
/foundation/aafwk/standard/services/appmgr/test/unittest/ams_app_running_record_test/ |
D | ams_app_running_record_test.cpp | 73 … const std::shared_ptr<AbilityInfo> &abilityInfo, const std::shared_ptr<ApplicationInfo> &appInfo, 132 … const std::shared_ptr<AbilityInfo> &abilityInfo, const std::shared_ptr<ApplicationInfo> &appInfo, in StartLoadAbility() argument 139 service_->LoadAbility(token, nullptr, abilityInfo, appInfo, nullptr); in StartLoadAbility() 165 auto abilityInfo = std::make_shared<AbilityInfo>(); variable 166 abilityInfo->name = GetTestAbilityName(); 176 …GetMockToken(), nullptr, appInfo, abilityInfo, GetTestProcessName(), bundleInfo, hapModuleInfo, nu… 197 auto abilityInfo = std::make_shared<AbilityInfo>(); variable 198 abilityInfo->name = GetTestAbilityName(); 201 abilityInfo->applicationInfo.uid = 1010; 212 …GetMockToken(), nullptr, appInfo, abilityInfo, GetTestProcessName(), bundleInfo, hapModuleInfo, nu… [all …]
|
/foundation/aafwk/standard/services/abilitymgr/test/unittest/phone/ability_timeout_test/ |
D | ability_timeout_test.cpp | 235 abilityRequest.abilityInfo.type = AbilityType::PAGE; 236 abilityRequest.abilityInfo.name = "com.test.DiedAbility001"; 237 abilityRequest.abilityInfo.bundleName = "com.test"; 240 …= std::make_shared<Mission>(MOCK_MISSION_ID, abilityRecord, abilityRequest.abilityInfo.bundleName); 270 abilityRequest.abilityInfo.type = AbilityType::PAGE; 271 abilityRequest.abilityInfo.name = "com.test.DiedAbility002"; 272 abilityRequest.abilityInfo.bundleName = "com.test"; 276 …= std::make_shared<Mission>(MOCK_MISSION_ID, abilityRecord, abilityRequest.abilityInfo.bundleName); 310 abilityRequest.abilityInfo.type = AbilityType::PAGE; 311 abilityRequest.abilityInfo.name = "com.test.Timeout001"; [all …]
|
/foundation/aafwk/standard/services/abilitymgr/test/unittest/phone/mission_list_manager_test/ |
D | mission_list_manager_test.cpp | 63 abilityRequest.abilityInfo.launchMode = AppExecFwk::LaunchMode::SPECIFIED; 85 AppExecFwk::AbilityInfo abilityInfo; variable 86 abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON; 89 auto ability = std::make_shared<AbilityRecord>(want, abilityInfo, applicationInfo); 114 AppExecFwk::AbilityInfo abilityInfo; variable 115 abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON; 118 auto ability = std::make_shared<AbilityRecord>(want, abilityInfo, applicationInfo); 143 AppExecFwk::AbilityInfo abilityInfo; variable 144 abilityInfo.launchMode = AppExecFwk::LaunchMode::SINGLETON; 147 auto ability = std::make_shared<AbilityRecord>(want, abilityInfo, applicationInfo); [all …]
|