/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/launcherservice_fuzzer/ |
H A D | launcherservice_fuzzer.cpp | 36 launcherService.GetShortcutInfos(bundleName, shortcutInfos); in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/ |
H A D | launcher_service.h | 72 virtual ErrCode GetShortcutInfos(const std::string &bundleName, std::vector<ShortcutInfo> &shortcutInfo);
|
H A D | bundle_mgr_interface.h | 969 virtual bool GetShortcutInfos(const std::string &bundleName, std::vector<ShortcutInfo> &shortcutInfos) in GetShortcutInfos() function in OHOS::AppExecFwk::IBundleMgr
|
H A D | bundle_mgr_proxy.h | 712 virtual bool GetShortcutInfos(const std::string &bundleName, std::vector<ShortcutInfo> &shortcutInfos) override;
|
/foundation/bundlemanager/bundle_framework/test/benchmarktest/launcher_service_test/ |
H A D | launcher_service_test.cpp | 116 * @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 D | launcher_service.cpp | 246 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 D | bundle_mgr_host.cpp | 2177 bool ret = GetShortcutInfos(bundlename, infos); in HandleGetShortcutInfos()
|
H A D | bundle_mgr_proxy.cpp | 2579 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 D | bundle_mgr_host_impl.h | 689 * @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 D | bundle_data_mgr.h | 556 bool GetShortcutInfos(
|
H A D | inner_bundle_info.h | 1171 void GetShortcutInfos(std::vector<ShortcutInfo> &shortcutInfos) const;
|
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_launcher_service_system_test/ |
H A D | bms_launcher_service_system_test.cpp | 820 * @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 D | bundle_mgr.h | 326 napi_value GetShortcutInfos(napi_env env, napi_callback_info info);
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlemgrproxy_fuzzer/ |
H A D | bundlemgrproxy_fuzzer.cpp | 71 bundleMgrProxy.GetShortcutInfos(bundleName, shortcutInfos); in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework/test/benchmarktest/bundlemgr_proxy_test/ |
H A D | bundlemgr_proxy_test.cpp | 1015 * @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 D | bundle_mgr_host_impl.cpp | 1937 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 D | inner_bundle_info.cpp | 2673 void InnerBundleInfo::GetShortcutInfos(std::vector<ShortcutInfo> &shortcutInfos) const in GetShortcutInfos() function in OHOS::AppExecFwk::InnerBundleInfo
|
H A D | bundle_data_mgr.cpp | 4818 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 D | js_launcher.cpp | 916 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 D | bms_bundle_permission_false_test.cpp | 684 * @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 D | bms_bundle_permission_system_app_test.cpp | 520 * @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 D | bms_bundle_kit_service_test.cpp | 5602 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 D | bms_bundle_data_mgr_test.cpp | 3632 * @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 D | bms_bundle_manager_test.cpp | 2080 info.GetShortcutInfos(shortcutInfos); in HWTEST_F() 2645 retBool = hostImpl->GetShortcutInfos("", USERID, shortcutInfos); in HWTEST_F() 3408 bool testRet = GetBundleDataMgr()->GetShortcutInfos( in HWTEST_F()
|