Home
last modified time | relevance | path

Searched refs:InstallSandboxApp (Results 1 - 25 of 34) sorted by relevance

12

/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_sandbox_app_test/
H A Dbms_bundle_sandbox_app_test.cpp74 ErrCode InstallSandboxApp(const std::string &bundleName, int32_t dplType, int32_t userId, int32_t &appIndex) const;
155 ErrCode BmsSandboxAppTest::InstallSandboxApp(const std::string &bundleName, int32_t dplType, int32_t userId, in InstallSandboxApp() function in OHOS::BmsSandboxAppTest
164 return installer->InstallSandboxApp(bundleName, dplType, userId, appIndex); in InstallSandboxApp()
398 auto ret = InstallSandboxApp("", DLP_TYPE_1, USERID, appIndex); in HWTEST_F()
417 auto ret = InstallSandboxApp(BUNDLE_NAME, INVALID_DLP_TYPE, USERID, appIndex); in HWTEST_F()
439 auto ret = InstallSandboxApp(BUNDLE_NAME, DLP_TYPE_3, USERID, appIndex); in HWTEST_F()
461 auto ret = InstallSandboxApp(BUNDLE_NAME, DLP_TYPE_1, INVALID_USERID, appIndex); in HWTEST_F()
477 auto ret = InstallSandboxApp("", INVALID_DLP_TYPE, USERID, appIndex); in HWTEST_F()
490 auto ret = InstallSandboxApp("", DLP_TYPE_1, INVALID_USERID, appIndex); in HWTEST_F()
492 ret = InstallSandboxApp("", DLP_TYPE_ in HWTEST_F()
[all...]
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_sandbox_app_system_test/
H A Dbundle_mgr_sandbox_app_system_test.cpp346 * @tc.name: InstallSandboxApp
347 * @tc.desc: Test the interface of InstallSandboxApp
361 ErrCode ret = bundleMgrClient.InstallSandboxApp(BUNDLE_NAME, DLP_TYPE_1, DEFAULT_USERID, appIndex); in HWTEST_F()
378 * @tc.name: InstallSandboxApp
379 * @tc.desc: Test the interface of InstallSandboxApp
392 ErrCode ret = bundleMgrClient.InstallSandboxApp(BUNDLE_NAME, DLP_TYPE_1, DEFAULT_USERID, appIndex); in HWTEST_F()
399 ret = bundleMgrClient.InstallSandboxApp(BUNDLE_NAME, DLP_TYPE_1, DEFAULT_USERID, secondAppIndex); in HWTEST_F()
415 * @tc.name: InstallSandboxApp
416 * @tc.desc: Test the interface of InstallSandboxApp
430 ErrCode ret = bundleMgrClient.InstallSandboxApp(BUNDLE_NAM in HWTEST_F()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/sandbox_app/
H A Dbundle_sandbox_installer.h39 ErrCode InstallSandboxApp(const std::string &bundleName, const int32_t &dlpType, const int32_t &userId,
H A Dbundle_sandbox_app_helper.h51 ErrCode InstallSandboxApp(const std::string &bundleName, const int32_t &dlpType, const int32_t &userId,
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/sandbox_app/
H A Dbundle_sandbox_app_helper.cpp162 ErrCode BundleSandboxAppHelper::InstallSandboxApp(const std::string &bundleName, const int32_t &dlpType, in InstallSandboxApp() function in OHOS::AppExecFwk::BundleSandboxAppHelper
166 APP_LOGD("enter InstallSandboxApp"); in InstallSandboxApp()
168 return installer->InstallSandboxApp(bundleName, dlpType, userId, appIndex); in InstallSandboxApp()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_mgr_client.cpp146 ErrCode BundleMgrClient::InstallSandboxApp(const std::string &bundleName, int32_t dlpType, int32_t userId, in InstallSandboxApp() function in OHOS::AppExecFwk::BundleMgrClient
153 return impl_->InstallSandboxApp(bundleName, dlpType, userId, appIndex); in InstallSandboxApp()
H A Dbundle_mgr_client_impl.cpp426 ErrCode BundleMgrClientImpl::InstallSandboxApp(const std::string &bundleName, int32_t dlpType, int32_t userId, in InstallSandboxApp() function in OHOS::AppExecFwk::BundleMgrClientImpl
429 APP_LOGD("InstallSandboxApp begin"); in InstallSandboxApp()
431 APP_LOGE("InstallSandboxApp bundleName is empty"); in InstallSandboxApp()
441 return bundleInstaller_->InstallSandboxApp(bundleName, dlpType, userId, appIndex); in InstallSandboxApp()
/foundation/ability/ability_runtime/test/mock/common/include/
H A Dmock_bundle_installer_service.h41 MOCK_METHOD4(InstallSandboxApp, ErrCode(const std::string &, int32_t, int32_t, int32_t &));
/foundation/ability/form_fwk/services/src/
H A Dform_sandbox_render_mgr_inner.cpp62 return bundleInstallerProxy->InstallSandboxApp( in InstallSandboxFRS()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundleinstallerproxy_fuzzer/
H A Dbundleinstallerproxy_fuzzer.cpp47 bundleinstallerProxy.InstallSandboxApp(bundleName, dlpType, userId, appIndex); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/
H A Dbundle_installer_interface.h106 virtual ErrCode InstallSandboxApp(const std::string &bundleName, int32_t dlpType, int32_t userId,
H A Dbundle_mgr_client.h94 ErrCode InstallSandboxApp(const std::string &bundleName, int32_t dlpType, int32_t userId, int32_t &appIndex);
H A Dbundle_installer_proxy.h95 virtual ErrCode InstallSandboxApp(const std::string &bundleName, int32_t dlpType, int32_t userId,
H A Dbundle_mgr_client_impl.h52 ErrCode InstallSandboxApp(const std::string &bundleName, int32_t dlpType, int32_t userId, int32_t &appIndex);
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundleinstallerhost_fuzzer/
H A Dbundleinstallerhost_fuzzer.cpp74 bundleInstallerHost->InstallSandboxApp(bundleName, dplType, userId, appIndex); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_tool/test/mock/
H A Dmock_bundle_installer_host.h72 ErrCode InstallSandboxApp(const std::string &bundleName, int32_t dplType, int32_t userId,
H A Dmock_bundle_installer_host.cpp104 ErrCode MockBundleInstallerHost::InstallSandboxApp(const std::string &bundleName, int32_t dplType, int32_t userId, in InstallSandboxApp() function in OHOS::AppExecFwk::MockBundleInstallerHost
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_installer_host.h110 virtual ErrCode InstallSandboxApp(const std::string &bundleName, int32_t dplType, int32_t userId,
181 * @brief Handles the InstallSandboxApp function called from a IBundleInstaller proxy object.
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_multiuser_install_test/
H A Dbms_bundle_multiuser_install_ipc_test.cpp150 ErrCode InstallSandboxApp(const std::string &bundleName, int32_t dlpType, int32_t userId, in InstallSandboxApp() function in OHOS::EmptyTestBundleInstaller
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_permission_grant_test/
H A Dbms_bundle_permission_token_test.cpp122 * @tc.name: test InstallSandboxApp of BundleInstallerHost
124 * 2. InstallSandboxApp false by no permission
130 auto ret1 = bundleInstallerHost_->InstallSandboxApp(BUNDLE_NAME, dplType, USERID, appIndex); in HWTEST_F()
H A Dbms_bundle_permission_system_app_test.cpp1115 * @tc.name: test InstallSandboxApp of BundleInstallerHost
1117 * 2. InstallSandboxApp false by no permission
1124 ErrCode ret = bundleInstallerHost_->InstallSandboxApp(BUNDLE_NAME, dplType, USERID, appIndex); in HWTEST_F()
1128 ret = bundleInstallerHost_->InstallSandboxApp("", dplType, USERID, appIndex); in HWTEST_F()
1132 ret = bundleInstallerHost_->InstallSandboxApp(BUNDLE_NAME, dplType, USERID, appIndex); in HWTEST_F()
1135 ret = bundleInstallerHost_->InstallSandboxApp("", dplType, USERID, appIndex); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_installer_host.cpp249 auto ret = InstallSandboxApp(bundleName, dplType, userId, appIndex); in HandleInstallSandboxApp()
527 ErrCode BundleInstallerHost::InstallSandboxApp(const std::string &bundleName, int32_t dplType, int32_t userId, in InstallSandboxApp() function in OHOS::AppExecFwk::BundleInstallerHost
540 LOG_E(BMS_TAG_INSTALLER, "InstallSandboxApp permission denied"); in InstallSandboxApp()
547 auto res = helper->InstallSandboxApp(bundleName, dplType, userId, appIndex); in InstallSandboxApp()
/foundation/ability/ability_runtime/test/unittest/bundle_mgr_helper_test/
H A Dbundle_mgr_helper_test.cpp515 * @tc.desc: InstallSandboxApp
524 auto ret = bundleMgrHelper->InstallSandboxApp(bundleName, dlpType, userId, appIndex); in HWTEST_F()
530 * @tc.desc: InstallSandboxApp
539 auto ret = bundleMgrHelper->InstallSandboxApp(bundleName, dlpType, userId, appIndex); in HWTEST_F()
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_bundle_manager_helper/
H A Dbundle_mgr_helper.h37 ErrCode InstallSandboxApp(const std::string &bundleName, int32_t dlpType, int32_t userId, int32_t &appIndex);
/foundation/ability/ability_runtime/test/fuzztest/bundlemgrhelper_fuzzer/
H A Dbundlemgrhelper_fuzzer.cpp73 bmHelper->InstallSandboxApp(stringParam, int32Param, int32Param, int32Param); // branch in BundleMgrHelperFuzztest1()

Completed in 20 milliseconds

12