Home
last modified time | relevance | path

Searched refs:GetSandboxBundleInfo (Results 1 - 25 of 31) sorted by relevance

12

/foundation/ability/ability_runtime/test/unittest/uri_permission_impl_test/mock/include/
H A Dmock_bundle_mgr_helper.h31 ErrCode GetSandboxBundleInfo(const std::string &bundleName, int32_t appIndex, int32_t userId, BundleInfo &info);
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_mgr_client.cpp165 ErrCode BundleMgrClient::GetSandboxBundleInfo( in GetSandboxBundleInfo() function in OHOS::AppExecFwk::BundleMgrClient
172 return impl_->GetSandboxBundleInfo(bundleName, appIndex, userId, info); in GetSandboxBundleInfo()
H A Dbundle_mgr_client_impl.cpp461 ErrCode BundleMgrClientImpl::GetSandboxBundleInfo( in GetSandboxBundleInfo() function in OHOS::AppExecFwk::BundleMgrClientImpl
464 APP_LOGD("GetSandboxBundleInfo begin"); in GetSandboxBundleInfo()
476 return bundleMgr_->GetSandboxBundleInfo(bundleName, appIndex, userId, info); in GetSandboxBundleInfo()
/foundation/ability/ability_runtime/test/unittest/uri_permission_impl_test/mock/src/
H A Dmock_bundle_mgr_helper.cpp43 ErrCode BundleMgrHelper::GetSandboxBundleInfo( in GetSandboxBundleInfo() function in OHOS::AppExecFwk::BundleMgrHelper
/foundation/ability/form_fwk/services/src/
H A Dform_sandbox_render_mgr_inner.cpp48 ErrCode ret = iBundleMgr->GetSandboxBundleInfo( in IsSandboxFRSInstalled()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/
H A Dbundle_mgr_client.h105 ErrCode GetSandboxBundleInfo(const std::string &bundleName, int32_t appIndex, int32_t userId, BundleInfo &info);
H A Dbundle_mgr_client_impl.h54 ErrCode GetSandboxBundleInfo(const std::string &bundleName, int32_t appIndex, int32_t userId, BundleInfo &info);
H A Dbundle_mgr_interface.h1179 virtual ErrCode GetSandboxBundleInfo( in GetSandboxBundleInfo() function in OHOS::AppExecFwk::IBundleMgr
H A Dbundle_mgr_proxy.h826 virtual ErrCode GetSandboxBundleInfo(
/foundation/ability/ability_runtime/test/unittest/bundle_mgr_helper_test/
H A Dbundle_mgr_helper_test.cpp601 * @tc.desc: GetSandboxBundleInfo
610 auto ret = bundleMgrHelper->GetSandboxBundleInfo(bundleName, appIndex, userId, bundleInfo); in HWTEST_F()
616 * @tc.desc: GetSandboxBundleInfo
625 auto ret = bundleMgrHelper->GetSandboxBundleInfo(bundleName, appIndex, userId, bundleInfo); in HWTEST_F()
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_bundle_manager_helper/
H A Dbundle_mgr_helper.h40 ErrCode GetSandboxBundleInfo(const std::string &bundleName, int32_t appIndex, int32_t userId, BundleInfo &info);
/foundation/ability/ability_runtime/test/fuzztest/bundlemgrhelper_fuzzer/
H A Dbundlemgrhelper_fuzzer.cpp76 bmHelper->GetSandboxBundleInfo(stringParam, int32Param, int32Param, bundleInfo); // branch in BundleMgrHelperFuzztest1()
/foundation/ability/ability_runtime/services/uripermmgr/src/
H A Duri_permission_utils.cpp274 if (IN_PROCESS_CALL(bms->GetSandboxBundleInfo(bundleName, appIndex, userId, bundleInfo) != ERR_OK)) { in GetTokenIdByBundleName()
275 TAG_LOGW(AAFwkTag::URIPERMMGR, "Failed GetSandboxBundleInfo"); in GetTokenIdByBundleName()
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_bundle_manager_helper/
H A Dbundle_mgr_helper.cpp129 ErrCode BundleMgrHelper::GetSandboxBundleInfo( in GetSandboxBundleInfo() function in OHOS::AppExecFwk::BundleMgrHelper
144 return bundleMgr->GetSandboxBundleInfo(bundleName, appIndex, userId, info); in GetSandboxBundleInfo()
608 if (bundleMgr->GetSandboxBundleInfo(appName, appIndex, userId, bundleInfo) == ERR_OK) { in GetApplicationInfoWithAppIndex()
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_sandbox_app_system_test/
H A Dbundle_mgr_sandbox_app_system_test.cpp331 auto ret = bundleMgrClient.GetSandboxBundleInfo(bundleName, appIndex, DEFAULT_USERID, info); in CheckSandboxAppInfo()
706 auto res = bundleMgrClient.GetSandboxBundleInfo(BUNDLE_NAME, appIndex1, DEFAULT_USERID, info); in HWTEST_F()
721 * 2. GetSandboxBundleInfo failed by empty
741 auto res = bundleMgrClient.GetSandboxBundleInfo("", appIndex1, DEFAULT_USERID, info); in HWTEST_F()
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dability_auto_startup_service.cpp469 if (!IN_PROCESS_CALL(bundleMgrHelper->GetSandboxBundleInfo(bundleName, appIndex, userId, bundleInfo))) { in GetBundleInfo()
470 TAG_LOGE(AAFwkTag::AUTO_STARTUP, "GetSandboxBundleInfo fail"); in GetBundleInfo()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlemgrproxy_fuzzer/
H A Dbundlemgrproxy_fuzzer.cpp122 bundleMgrProxy.GetSandboxBundleInfo(bundleName, reinterpret_cast<uintptr_t>(data), in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/benchmarktest/bundlemgr_proxy_test/
H A Dbundlemgr_proxy_test.cpp1239 * @tc.desc: Testcase for testing GetSandboxBundleInfo.
1252 /* @tc.steps: step1.call GetSandboxBundleInfo in loop */ in BenchmarkTestGetSandboxBundleInfo()
1253 bundleMgrProxy->GetSandboxBundleInfo(BUNDLE_NAME, 0, DEFAULT_USERID, info); in BenchmarkTestGetSandboxBundleInfo()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_mgr_host_impl.h852 virtual ErrCode GetSandboxBundleInfo(
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_permission_grant_test/
H A Dbms_bundle_permission_false_test.cpp894 * @tc.name: test GetSandboxBundleInfo of BundleMgrHostImpl
896 * 2. GetSandboxBundleInfo false by no permission
902 ErrCode ret = bundleMgrHostImpl_->GetSandboxBundleInfo(BUNDLE_NAME, appIndex, USERID, info); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_manager_test/
H A Dbms_bundle_manager_test.cpp2331 ErrCode ret = hostImpl->GetSandboxBundleInfo("", appIndex, USERID, info); in HWTEST_F()
2334 ret = hostImpl->GetSandboxBundleInfo(TEST_BUNDLE_NAME, appIndex, USERID, info); in HWTEST_F()
2338 ret = hostImpl->GetSandboxBundleInfo(TEST_BUNDLE_NAME, appIndex, USERID, info); in HWTEST_F()
2342 ret = hostImpl->GetSandboxBundleInfo( in HWTEST_F()
2347 ret = hostImpl->GetSandboxBundleInfo(TEST_BUNDLE_NAME, appIndex, USERID, info); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_client_system_test/
H A Dbundle_mgr_client_system_test.cpp2345 res1 = client.GetSandboxBundleInfo(BUNDLE_NAME, appIndex, DEFAULT_USERID, bundleInfo); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/acts_bms_kit_system_test/
H A Dacts_bms_kit_system_test.cpp7246 * @tc.name: test GetSandboxBundleInfo proxy
7259 auto ret = bundleMgrProxy->GetSandboxBundleInfo(bundleName1, appIndex1, USERID, info); in HWTEST_F()
7261 ret = bundleMgrProxy->GetSandboxBundleInfo(bundleName2, appIndex1, USERID, info); in HWTEST_F()
7263 ret = bundleMgrProxy->GetSandboxBundleInfo(bundleName1, appIndex2, USERID, info); in HWTEST_F()
/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Dmain_thread.cpp1205 queryResult = (bundleMgrHelper->GetSandboxBundleInfo(bundleName, in GetBundleForLaunchApplication()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/
H A Dbms_bundle_kit_service_test.cpp3456 * @tc.name: GetSandboxBundleInfo
3457 * @tc.desc: 1.test GetSandboxBundleInfo
3468 bool emptyRet = hostImpl->GetSandboxBundleInfo(bundleName, appIndex, DEFAULT_USERID, info); in HWTEST_F()
3470 emptyRet = hostImpl->GetSandboxBundleInfo(bundleName1, appIndex1, DEFAULT_USERID, info); in HWTEST_F()
3472 emptyRet = hostImpl->GetSandboxBundleInfo(bundleName1, appIndex2, DEFAULT_USERID, info); in HWTEST_F()

Completed in 77 milliseconds

12