Home
last modified time | relevance | path

Searched refs:launcherAbilityInfos (Results 1 - 9 of 9) sorted by relevance

/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/launcherservice_fuzzer/
H A Dlauncherservice_fuzzer.cpp32 std::vector<LauncherAbilityInfo> launcherAbilityInfos; in DoSomethingInterestingWithMyAPI() local
33 launcherService.GetAbilityList(bundleName, reinterpret_cast<uintptr_t>(data), launcherAbilityInfos); in DoSomethingInterestingWithMyAPI()
37 launcherService.GetAllLauncherAbilityInfos(reinterpret_cast<uintptr_t>(data), launcherAbilityInfos); in DoSomethingInterestingWithMyAPI() local
39 reinterpret_cast<uintptr_t>(data), launcherAbilityInfos); in DoSomethingInterestingWithMyAPI()
40 launcherService.GetAllLauncherAbility(reinterpret_cast<uintptr_t>(data), launcherAbilityInfos); in DoSomethingInterestingWithMyAPI() local
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_launcher_service_system_test/
H A Dbms_launcher_service_system_test.cpp100 const std::vector<LauncherAbilityInfo> &launcherAbilityInfos, std::string &abilityName);
101 static void CheckAbilityInfo(LauncherAbilityInfo &launcherAbilityInfos, const std::string &abilityName);
236 const std::vector<LauncherAbilityInfo> &launcherAbilityInfos, std::string &abilityName) in CheckAbilityList()
238 for (auto launcherAbilityInfo : launcherAbilityInfos) { in CheckAbilityList()
247 LauncherAbilityInfo &launcherAbilityInfos, const std::string &abilityName) in CheckAbilityInfo()
249 EXPECT_EQ(launcherAbilityInfos.elementName.GetAbilityName(), abilityName); in CheckAbilityInfo()
250 EXPECT_EQ(launcherAbilityInfos.labelId, APP_LABELID); in CheckAbilityInfo()
251 EXPECT_GE(launcherAbilityInfos.userId, 0); in CheckAbilityInfo()
252 EXPECT_GT(launcherAbilityInfos.installTime, 0); in CheckAbilityInfo()
625 std::vector<LauncherAbilityInfo> launcherAbilityInfos; in HWTEST_F() local
235 CheckAbilityList( const std::vector<LauncherAbilityInfo> &launcherAbilityInfos, std::string &abilityName) CheckAbilityList() argument
246 CheckAbilityInfo( LauncherAbilityInfo &launcherAbilityInfos, const std::string &abilityName) CheckAbilityInfo() argument
661 std::vector<LauncherAbilityInfo> launcherAbilityInfos; HWTEST_F() local
689 std::vector<LauncherAbilityInfo> launcherAbilityInfos; HWTEST_F() local
723 std::vector<LauncherAbilityInfo> launcherAbilityInfos; HWTEST_F() local
743 std::vector<LauncherAbilityInfo> launcherAbilityInfos; HWTEST_F() local
768 std::vector<LauncherAbilityInfo> launcherAbilityInfos; HWTEST_F() local
794 std::vector<LauncherAbilityInfo> launcherAbilityInfos; HWTEST_F() local
811 std::vector<LauncherAbilityInfo> launcherAbilityInfos; HWTEST_F() local
923 std::vector<LauncherAbilityInfo> launcherAbilityInfos; HWTEST_F() local
946 std::vector<LauncherAbilityInfo> launcherAbilityInfos; HWTEST_F() local
962 std::vector<LauncherAbilityInfo> launcherAbilityInfos; HWTEST_F() local
977 std::vector<LauncherAbilityInfo> launcherAbilityInfos; HWTEST_F() local
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/
H A Dlauncher_service.h61 * @param launcherAbilityInfos List of LauncherAbilityInfo objects if obtained;
65 const std::string &bundleName, const int userId, std::vector<LauncherAbilityInfo> &launcherAbilityInfos);
79 virtual bool GetAllLauncherAbilityInfos(int32_t userId, std::vector<LauncherAbilityInfo> &launcherAbilityInfos);
84 * @param launcherAbilityInfos Indicates the obtained vector of the input bundle.
88 std::vector<LauncherAbilityInfo> &launcherAbilityInfos);
92 * @param launcherAbilityInfos Indicates the obtained vector of all launcher bundle.
95 ErrCode GetAllLauncherAbility(const int32_t userId, std::vector<LauncherAbilityInfo> &launcherAbilityInfos);
/foundation/bundlemanager/bundle_framework/test/benchmarktest/launcher_service_test/
H A Dlauncher_service_test.cpp107 std::vector<LauncherAbilityInfo> launcherAbilityInfos; in BenchmarkTestForGetAbilityList() local
110 launcherservice.GetAbilityList(bundleName, userId, launcherAbilityInfos); in BenchmarkTestForGetAbilityList()
141 std::vector<LauncherAbilityInfo> launcherAbilityInfos; in BenchmarkTestForGetAllLauncherAbilityInfos() local
144 launcherservice.GetAllLauncherAbilityInfos(userId, launcherAbilityInfos); in BenchmarkTestForGetAllLauncherAbilityInfos()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dlauncher_service.cpp141 const std::string &bundleName, const int userId, std::vector<LauncherAbilityInfo> &launcherAbilityInfos) in GetAbilityList()
184 launcherAbilityInfos.emplace_back(info); in GetAbilityList()
190 bool LauncherService::GetAllLauncherAbilityInfos(int32_t userId, std::vector<LauncherAbilityInfo> &launcherAbilityInfos) in GetAllLauncherAbilityInfos() argument
234 launcherAbilityInfos.emplace_back(info); in GetAllLauncherAbilityInfos()
237 if (launcherAbilityInfos.empty()) { in GetAllLauncherAbilityInfos()
238 APP_LOGW("success, but launcherAbilityInfos is empty"); in GetAllLauncherAbilityInfos()
309 std::vector<LauncherAbilityInfo> &launcherAbilityInfos) in GetLauncherAbilityByBundleName()
337 launcherAbilityInfos.push_back(info); in GetLauncherAbilityByBundleName()
343 std::vector<LauncherAbilityInfo> &launcherAbilityInfos) in GetAllLauncherAbility()
366 launcherAbilityInfos in GetAllLauncherAbility()
140 GetAbilityList( const std::string &bundleName, const int userId, std::vector<LauncherAbilityInfo> &launcherAbilityInfos) GetAbilityList() argument
308 GetLauncherAbilityByBundleName(const std::string &bundleName, const int32_t userId, std::vector<LauncherAbilityInfo> &launcherAbilityInfos) GetLauncherAbilityByBundleName() argument
342 GetAllLauncherAbility(const int32_t userId, std::vector<LauncherAbilityInfo> &launcherAbilityInfos) GetAllLauncherAbility() argument
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/launcher_bundle_manager/
H A Dlauncher_bundle_manager.cpp60 std::vector<OHOS::AppExecFwk::LauncherAbilityInfo>& launcherAbilityInfos) in InnerGetLauncherAbilityInfo()
66 return launcherService->GetLauncherAbilityByBundleName(bundleName, userId, launcherAbilityInfos); in InnerGetLauncherAbilityInfo()
77 asyncCallbackInfo->userId, asyncCallbackInfo->launcherAbilityInfos); in GetLauncherAbilityInfoExec()
93 CommonFunc::ConvertLauncherAbilityInfos(env, asyncCallbackInfo->launcherAbilityInfos, result[ARGS_POS_ONE]); in GetLauncherAbilityInfoComplete()
172 std::vector<OHOS::AppExecFwk::LauncherAbilityInfo> launcherAbilityInfos; in GetLauncherAbilityInfoSync() local
174 GetLauncherAbilityByBundleName(bundleName, userId, launcherAbilityInfos)); in GetLauncherAbilityInfoSync()
185 CommonFunc::ConvertLauncherAbilityInfos(env, launcherAbilityInfos, nLauncherAbilityInfos); in GetLauncherAbilityInfoSync()
191 std::vector<OHOS::AppExecFwk::LauncherAbilityInfo>& launcherAbilityInfos) in InnerGetAllLauncherAbilityInfo()
197 return launcherService->GetAllLauncherAbility(userId, launcherAbilityInfos); in InnerGetAllLauncherAbilityInfo()
208 asyncCallbackInfo->launcherAbilityInfos); in GetAllLauncherAbilityInfoExec()
59 InnerGetLauncherAbilityInfo(const std::string &bundleName, int32_t userId, std::vector<OHOS::AppExecFwk::LauncherAbilityInfo>& launcherAbilityInfos) InnerGetLauncherAbilityInfo() argument
190 InnerGetAllLauncherAbilityInfo(int32_t userId, std::vector<OHOS::AppExecFwk::LauncherAbilityInfo>& launcherAbilityInfos) InnerGetAllLauncherAbilityInfo() argument
[all...]
H A Dlauncher_bundle_manager.h38 std::vector<OHOS::AppExecFwk::LauncherAbilityInfo> launcherAbilityInfos; member
44 std::vector<OHOS::AppExecFwk::LauncherAbilityInfo> launcherAbilityInfos; member
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/launchermgr/
H A Djs_launcher.h30 std::vector<LauncherAbilityInfo> launcherAbilityInfos; member
H A Djs_launcher.cpp52 std::vector<OHOS::AppExecFwk::LauncherAbilityInfo> launcherAbilityInfos; member
316 const std::vector<OHOS::AppExecFwk::LauncherAbilityInfo> &launcherAbilityInfos) in ParseLauncherAbilityInfo()
318 if (launcherAbilityInfos.empty()) { in ParseLauncherAbilityInfo()
322 for (const auto& abilityInfo : launcherAbilityInfos) { in ParseLauncherAbilityInfo()
700 std::vector<OHOS::AppExecFwk::LauncherAbilityInfo> &launcherAbilityInfos) in InnerJSGetAllLauncherAbilityInfos()
708 auto result = launcher->GetAllLauncherAbilityInfos(userId, launcherAbilityInfos); in InnerJSGetAllLauncherAbilityInfos()
728 asyncCallbackInfo->launcherAbilityInfos)) { in JsGetAllLauncherAbilityInfoExec()
748 ParseLauncherAbilityInfo(env, result[ARGS_POS_ONE], asyncCallbackInfo->launcherAbilityInfos); in JsGetAllLauncherAbilityInfoComplete()
798 uint32_t userId, std::vector<OHOS::AppExecFwk::LauncherAbilityInfo>& launcherAbilityInfos) in InnerJSGetLauncherAbilityInfos()
806 auto result = launcher->GetAbilityList(bundleName, userId, launcherAbilityInfos); in InnerJSGetLauncherAbilityInfos()
314 ParseLauncherAbilityInfo( napi_env env, napi_value result, const std::vector<OHOS::AppExecFwk::LauncherAbilityInfo> &launcherAbilityInfos) ParseLauncherAbilityInfo() argument
699 InnerJSGetAllLauncherAbilityInfos(uint32_t userId, std::vector<OHOS::AppExecFwk::LauncherAbilityInfo> &launcherAbilityInfos) InnerJSGetAllLauncherAbilityInfos() argument
797 InnerJSGetLauncherAbilityInfos(napi_env env, std::string& bundleName, uint32_t userId, std::vector<OHOS::AppExecFwk::LauncherAbilityInfo>& launcherAbilityInfos) InnerJSGetLauncherAbilityInfos() argument
[all...]

Completed in 7 milliseconds