Home
last modified time | relevance | path

Searched refs:GetBundlePackInfo (Results 1 - 25 of 35) sorted by relevance

12

/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/getbundlepackinfo_fuzzer/
H A Dgetbundlepackinfo_fuzzer.cpp32 bundleMgrProxy.GetBundlePackInfo(bundleName, flag, bundlePackInfo, reinterpret_cast<uintptr_t>(data)); in DoSomethingInterestingWithMyAPI()
33 bundleMgrProxy.GetBundlePackInfo(bundleName, reinterpret_cast<uintptr_t>(data), in DoSomethingInterestingWithMyAPI()
/foundation/ability/form_fwk/test/unittest/fms_form_event_util_test/
H A Dmock_form_bms_helper.cpp44 bool FormBmsHelper::GetBundlePackInfo(const std::string &bundleName, const int32_t userId, in GetBundlePackInfo() function in OHOS::AppExecFwk::FormBmsHelper
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/free_install/
H A Dnative_module.cpp41 DECLARE_NAPI_FUNCTION("getBundlePackInfo", GetBundlePackInfo), in FreeInstallExport()
H A Dfree_install_unsupported.cpp43 napi_value GetBundlePackInfo(napi_env env, napi_callback_info info) in GetBundlePackInfo() function
H A Dfree_install.h56 napi_value GetBundlePackInfo(napi_env env, napi_callback_info info);
H A Dfree_install.cpp556 auto ret = iBundleMgr->GetBundlePackInfo(bundleName, flags, bundlePackInfo); in InnerGetBundlePackInfo()
596 napi_value GetBundlePackInfo(napi_env env, napi_callback_info info) in GetBundlePackInfo() function
640 APP_LOGD("call GetBundlePackInfo end"); in GetBundlePackInfo()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_mgr_client.cpp57 ErrCode BundleMgrClient::GetBundlePackInfo( in GetBundlePackInfo() function in OHOS::AppExecFwk::BundleMgrClient
64 return impl_->GetBundlePackInfo(bundleName, flag, bundlePackInfo, userId); in GetBundlePackInfo()
H A Dbundle_mgr_client_impl.cpp85 ErrCode BundleMgrClientImpl::GetBundlePackInfo( in GetBundlePackInfo() function in OHOS::AppExecFwk::BundleMgrClientImpl
95 return bundleMgr_->GetBundlePackInfo(bundleName, flag, bundlePackInfo, userId); in GetBundlePackInfo()
/foundation/ability/form_fwk/test/unittest/fms_form_bms_helper_test/
H A Dfms_form_bms_helper_test.cpp136 ErrCode GetBundlePackInfo(const std::string &bundleName, int32_t flags,
139 GTEST_LOG_(INFO) << "GetBundlePackInfo int32_t";
143 ErrCode GetBundlePackInfo(const std::string &bundleName, const BundlePackFlag flag,
146 GTEST_LOG_(INFO) << "GetBundlePackInfo BundlePackFlag";
356 * @tc.desc: Verify that the GetBundlePackInfo interface executes normally and exits without exception.
366 EXPECT_FALSE(formBmsHelper.GetBundlePackInfo(bundleName, userId, bundlePackInfo)); in HWTEST_F()
371 EXPECT_FALSE(formBmsHelper.GetBundlePackInfo(bundleName, userId, bundlePackInfo)); in HWTEST_F()
480 * @tc.desc: Verify that the GetBundlePackInfo interface executes normally and exits without exception.
494 EXPECT_TRUE(formBmsHelper.GetBundlePackInfo(bundleName, userId, bundlePackInfo)); in HWTEST_F()
/foundation/ability/form_fwk/services/include/
H A Dform_bms_helper.h78 bool GetBundlePackInfo(const std::string &bundleName, int32_t userId, BundlePackInfo &bundlePackInfo);
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/
H A Dbundle_mgr_client.h40 ErrCode GetBundlePackInfo(const std::string &bundleName, const BundlePackFlag flag, BundlePackInfo &bundlePackInfo,
H A Dbundle_mgr_client_impl.h43 ErrCode GetBundlePackInfo(
H A Dbundle_mgr_interface.h242 virtual ErrCode GetBundlePackInfo(const std::string &bundleName, const BundlePackFlag flag, in GetBundlePackInfo() function in OHOS::AppExecFwk::IBundleMgr
256 virtual ErrCode GetBundlePackInfo(const std::string &bundleName, int32_t flags, in GetBundlePackInfo() function in OHOS::AppExecFwk::IBundleMgr
H A Dbundle_mgr_proxy.h177 virtual ErrCode GetBundlePackInfo(const std::string &bundleName, const BundlePackFlag flags,
187 virtual ErrCode GetBundlePackInfo(const std::string &bundleName, int32_t flags,
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_mgr_proxy_test/
H A Dbms_bundle_mgr_proxy_test.cpp276 * @tc.name: test the GetBundlePackInfo
278 * 2. test GetBundlePackInfo
288 auto res = bundleMgrProxy.GetBundlePackInfo(bundleName, flag, bundlePackInfo, userId); in HWTEST_F()
291 res = bundleMgrProxy.GetBundlePackInfo(bundleName, flag, bundlePackInfo, userId); in HWTEST_F()
298 * @tc.name: test the GetBundlePackInfo
300 * 2. test GetBundlePackInfo
310 auto res = bundleMgrProxy.GetBundlePackInfo(bundleName, flags, bundlePackInfo, userId); in HWTEST_F()
313 res = bundleMgrProxy.GetBundlePackInfo(bundleName, flags, bundlePackInfo, userId); in HWTEST_F()
/foundation/ability/form_fwk/services/src/
H A Dform_bms_helper.cpp140 bool FormBmsHelper::GetBundlePackInfo(const std::string &bundleName, const int32_t userId, in GetBundlePackInfo() function in OHOS::AppExecFwk::FormBmsHelper
150 if (IN_PROCESS_CALL(iBundleMgr->GetBundlePackInfo(bundleName, GET_PACK_INFO_ALL, bundlePackInfo, userId)) in GetBundlePackInfo()
H A Dform_event_util.cpp94 bool hasPackInfo = FormBmsHelper::GetInstance().GetBundlePackInfo(bundleName, userId, bundlePackInfo); in HandleProviderUpdated()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_free_install_test/
H A Dbms_bundle_free_install_test.cpp522 * Function: GetBundlePackInfo
523 * @tc.name: test GetBundlePackInfo
534 ErrCode ret = bundleMgr->GetBundlePackInfo(BUNDLE_NAME_DEMO, in HWTEST_F()
544 * Function: GetBundlePackInfo
545 * @tc.name: test GetBundlePackInfo
556 ErrCode ret = bundleMgr->GetBundlePackInfo(BUNDLE_NAME, in HWTEST_F()
566 * Function: GetBundlePackInfo
567 * @tc.name: test GetBundlePackInfo
578 ErrCode ret = bundleMgr->GetBundlePackInfo(BUNDLE_NAME, in HWTEST_F()
599 * Function: GetBundlePackInfo
[all...]
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlemgrproxy_fuzzer/
H A Dbundlemgrproxy_fuzzer.cpp185 bundleMgrProxy.GetBundlePackInfo(bundleName + "1", 0, bundlePackInfo, reinterpret_cast<uintptr_t>(data)); in DoSomethingInterestingWithMyAPI()
186 bundleMgrProxy.GetBundlePackInfo( in DoSomethingInterestingWithMyAPI()
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_service_test/
H A Dfms_form_mgr_service_test2.cpp114 ErrCode GetBundlePackInfo(const std::string &bundleName, int32_t flags,
117 GTEST_LOG_(INFO) << "GetBundlePackInfo int32_t";
121 ErrCode GetBundlePackInfo(const std::string &bundleName, const BundlePackFlag flag,
124 GTEST_LOG_(INFO) << "GetBundlePackInfo BundlePackFlag";
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_mgr_host_impl.h165 virtual ErrCode GetBundlePackInfo(const std::string &bundleName, const BundlePackFlag flag,
176 virtual ErrCode GetBundlePackInfo(const std::string &bundleName, int32_t flags, BundlePackInfo &bundlePackInfo,
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_client_system_test/
H A Dbundle_mgr_client_system_test.cpp1950 * @tc.name: GetBundlePackInfo
1967 auto ret = bundleMgrClient.GetBundlePackInfo(BUNDLE_NAME, BundlePackFlag::GET_PACK_INFO_ALL, info, DEFAULT_USERID); in HWTEST_F()
1970 ret = bundleMgrClient.GetBundlePackInfo("", BundlePackFlag::GET_PACK_INFO_ALL, info, DEFAULT_USERID); in HWTEST_F()
2307 auto res1 = client.GetBundlePackInfo( in HWTEST_F()
/foundation/ability/form_fwk/test/unittest/fms_form_host_record_test/
H A Dfms_form_host_record_test.cpp302 * @tc.desc: test GetBundlePackInfo function.
303 * @tc.type: GetBundlePackInfo
312 EXPECT_EQ(false, formBmsHelper.GetBundlePackInfo(bundleName, userId, bundlePackInfo)); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_mgr_host_impl.cpp355 ErrCode BundleMgrHostImpl::GetBundlePackInfo( in GetBundlePackInfo() function in OHOS::AppExecFwk::BundleMgrHostImpl
358 return GetBundlePackInfo(bundleName, static_cast<int32_t>(flag), bundlePackInfo, userId); in GetBundlePackInfo()
361 ErrCode BundleMgrHostImpl::GetBundlePackInfo( in GetBundlePackInfo() function in OHOS::AppExecFwk::BundleMgrHostImpl
370 APP_LOGE("GetBundlePackInfo failed due to lack of permission"); in GetBundlePackInfo()
378 return dataMgr->GetBundlePackInfo(bundleName, flags, bundlePackInfo, userId); in GetBundlePackInfo()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_permission_grant_test/
H A Dbms_bundle_permission_false_test.cpp219 * @tc.name: test GetBundlePackInfo of BundleMgrHostImpl
221 * 2. GetBundlePackInfo false by no permission
226 ErrCode ret = bundleMgrHostImpl_->GetBundlePackInfo(BUNDLE_NAME, FLAGS, bundlePackInfo, USERID); in HWTEST_F()

Completed in 37 milliseconds

12