Home
last modified time | relevance | path

Searched refs:GetShortcutInfos (Results 1 - 24 of 24) sorted by relevance

/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/launcherservice_fuzzer/
H A Dlauncherservice_fuzzer.cpp36 launcherService.GetShortcutInfos(bundleName, shortcutInfos); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/
H A Dlauncher_service.h72 virtual ErrCode GetShortcutInfos(const std::string &bundleName, std::vector<ShortcutInfo> &shortcutInfo);
H A Dbundle_mgr_interface.h969 virtual bool GetShortcutInfos(const std::string &bundleName, std::vector<ShortcutInfo> &shortcutInfos) in GetShortcutInfos() function in OHOS::AppExecFwk::IBundleMgr
H A Dbundle_mgr_proxy.h712 virtual bool GetShortcutInfos(const std::string &bundleName, std::vector<ShortcutInfo> &shortcutInfos) override;
/foundation/bundlemanager/bundle_framework/test/benchmarktest/launcher_service_test/
H A Dlauncher_service_test.cpp116 * @tc.desc: Testcase for testing 'GetShortcutInfos' function.
126 /* @tc.steps: step1.call GetShortcutInfos in loop */ in BenchmarkTestForGetShortcutInfos()
127 launcherservice.GetShortcutInfos(bundleName, shortcutInfo); in BenchmarkTestForGetShortcutInfos()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dlauncher_service.cpp246 ErrCode LauncherService::GetShortcutInfos( in GetShortcutInfos() function in OHOS::AppExecFwk::LauncherService
249 APP_LOGD("GetShortcutInfos called"); in GetShortcutInfos()
264 if (!iBundleMgr->GetShortcutInfos(bundleName, infos)) { in GetShortcutInfos()
265 APP_LOGE("GetShortcutInfos is empty"); in GetShortcutInfos()
H A Dbundle_mgr_host.cpp2177 bool ret = GetShortcutInfos(bundlename, infos); in HandleGetShortcutInfos()
H A Dbundle_mgr_proxy.cpp2579 bool BundleMgrProxy::GetShortcutInfos(const std::string &bundleName, std::vector<ShortcutInfo> &shortcutInfos) in GetShortcutInfos() function in OHOS::AppExecFwk::BundleMgrProxy
2583 APP_LOGE("fail to GetShortcutInfos due to params empty"); in GetShortcutInfos()
2589 APP_LOGE("fail to GetShortcutInfos due to write MessageParcel fail"); in GetShortcutInfos()
2594 APP_LOGE("fail to GetShortcutInfos due to write bundleName fail"); in GetShortcutInfos()
2599 APP_LOGE("fail to GetShortcutInfos from server"); in GetShortcutInfos()
2610 APP_LOGE("fail to GetShortcutInfos due to params empty"); in GetShortcutInfoV9()
2616 APP_LOGE("fail to GetShortcutInfos due to write MessageParcel fail"); in GetShortcutInfoV9()
2621 APP_LOGE("fail to GetShortcutInfos due to write bundleName fail"); in GetShortcutInfoV9()
2625 APP_LOGE("fail to GetShortcutInfos due to write userId fail"); in GetShortcutInfoV9()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_mgr_host_impl.h689 * @return Returns true if GetShortcutInfos successfully; returns false otherwise.
691 virtual bool GetShortcutInfos(const std::string &bundleName, std::vector<ShortcutInfo> &shortcutInfos) override;
1051 bool GetShortcutInfos(
H A Dbundle_data_mgr.h556 bool GetShortcutInfos(
H A Dinner_bundle_info.h1171 void GetShortcutInfos(std::vector<ShortcutInfo> &shortcutInfos) const;
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_launcher_service_system_test/
H A Dbms_launcher_service_system_test.cpp820 * @tc.name: test GetShortcutInfos by LauncherService
835 auto result = launcherservice.GetShortcutInfos(bundleName, shortcutInfos); in HWTEST_F()
846 * @tc.name: test GetShortcutInfos by LauncherService
857 auto result = launcherservice.GetShortcutInfos("", shortcutInfos); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundlemgr/
H A Dbundle_mgr.h326 napi_value GetShortcutInfos(napi_env env, napi_callback_info info);
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlemgrproxy_fuzzer/
H A Dbundlemgrproxy_fuzzer.cpp71 bundleMgrProxy.GetShortcutInfos(bundleName, shortcutInfos); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/benchmarktest/bundlemgr_proxy_test/
H A Dbundlemgr_proxy_test.cpp1015 * @tc.desc: Testcase for testing GetShortcutInfos.
1029 /* @tc.steps: step1.call GetShortcutInfos in loop */ in BenchmarkTestGetShortcutInfos()
1030 bundleMgrProxy->GetShortcutInfos(BUNDLE_NAME, shortcutInfos); in BenchmarkTestGetShortcutInfos()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_mgr_host_impl.cpp1937 if (!GetShortcutInfos(bundleName, userId, shortcutInfos)) { in DumpShortcutInfo()
2382 bool BundleMgrHostImpl::GetShortcutInfos( in GetShortcutInfos() function in OHOS::AppExecFwk::BundleMgrHostImpl
2392 return GetShortcutInfos(bundleName, currentUserId, shortcutInfos); in GetShortcutInfos()
2395 bool BundleMgrHostImpl::GetShortcutInfos( in GetShortcutInfos() function in OHOS::AppExecFwk::BundleMgrHostImpl
2398 APP_LOGD("start GetShortcutInfos, bundleName : %{public}s, userId : %{public}d", bundleName.c_str(), userId); in GetShortcutInfos()
2409 APP_LOGD("verify permission success, begin to GetShortcutInfos"); in GetShortcutInfos()
2415 return dataMgr->GetShortcutInfos(bundleName, userId, shortcutInfos); in GetShortcutInfos()
H A Dinner_bundle_info.cpp2673 void InnerBundleInfo::GetShortcutInfos(std::vector<ShortcutInfo> &shortcutInfos) const in GetShortcutInfos() function in OHOS::AppExecFwk::InnerBundleInfo
H A Dbundle_data_mgr.cpp4818 bool BundleDataMgr::GetShortcutInfos( in GetShortcutInfos() function in OHOS::AppExecFwk::BundleDataMgr
4831 APP_LOGW("GetShortcutInfos failed, bundleName:%{public}s, requestUserId:%{public}d", in GetShortcutInfos()
4842 info.GetShortcutInfos(shortcutInfos); in GetShortcutInfosByInnerBundleInfo()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/launchermgr/
H A Djs_launcher.cpp916 auto result = launcher->GetShortcutInfos(bundleName, shortcutInfos); in InnerJSGetShortcutInfos()
918 APP_LOGD("GetShortcutInfos call error, bundleName is %{public}s", bundleName.c_str()); in InnerJSGetShortcutInfos()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_permission_grant_test/
H A Dbms_bundle_permission_false_test.cpp684 * @tc.name: test GetShortcutInfos of BundleMgrHostImpl
686 * 2. GetShortcutInfos false by no permission
691 bool ret = bundleMgrHostImpl_->GetShortcutInfos(BUNDLE_NAME, USERID, shortcutInfos); in HWTEST_F()
697 * @tc.name: test GetShortcutInfos of BundleMgrHostImpl
699 * 2. GetShortcutInfos false by no permission
H A Dbms_bundle_permission_system_app_test.cpp520 * @tc.name: test GetShortcutInfos of BundleMgrHostImpl
522 * 2. GetShortcutInfos false by no permission
527 bool ret = bundleMgrHostImpl_->GetShortcutInfos(BUNDLE_NAME, USERID, shortcutInfos); in HWTEST_F()
533 * @tc.name: test GetShortcutInfos of BundleMgrHostImpl
535 * 2. GetShortcutInfos false by no permission
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/
H A Dbms_bundle_kit_service_test.cpp5602 auto result = GetBundleDataMgr()->GetShortcutInfos( in HWTEST_F()
5619 auto result1 = GetBundleDataMgr()->GetShortcutInfos( in HWTEST_F()
5624 auto result2 = GetBundleDataMgr()->GetShortcutInfos( in HWTEST_F()
5641 GetBundleDataMgr()->GetShortcutInfos( in HWTEST_F()
5656 GetBundleDataMgr()->GetShortcutInfos( in HWTEST_F()
5671 GetBundleDataMgr()->GetShortcutInfos( in HWTEST_F()
5690 bundleMgrProxy->GetShortcutInfos( in HWTEST_F()
5710 bundleMgrProxy->GetShortcutInfos( in HWTEST_F()
5725 auto result = hostImpl->GetShortcutInfos("", shortcutInfos); in HWTEST_F()
5727 result = hostImpl->GetShortcutInfos( in HWTEST_F()
[all...]
H A Dbms_bundle_data_mgr_test.cpp3632 * @tc.name: test GetShortcutInfos
3633 * @tc.desc: 1.GetShortcutInfos
3641 info.GetShortcutInfos(shortcutInfos); in HWTEST_F()
3647 * @tc.name: test GetShortcutInfos without abilityInfo metadata
3648 * @tc.desc: 1.GetShortcutInfos
3664 info.GetShortcutInfos(shortcutInfos); in HWTEST_F()
3670 * @tc.name: test GetShortcutInfos with wrong abilityInfo
3671 * @tc.desc: 1.GetShortcutInfos
3689 info.GetShortcutInfos(shortcutInfos); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_manager_test/
H A Dbms_bundle_manager_test.cpp2080 info.GetShortcutInfos(shortcutInfos); in HWTEST_F()
2645 retBool = hostImpl->GetShortcutInfos("", USERID, shortcutInfos); in HWTEST_F()
3408 bool testRet = GetBundleDataMgr()->GetShortcutInfos( in HWTEST_F()

Completed in 106 milliseconds