Home
last modified time | relevance | path

Searched refs:dlpType (Results 1 - 25 of 30) sorted by relevance

12

/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundleinstallerproxy_fuzzer/
H A Dbundleinstallerproxy_fuzzer.cpp44 int32_t dlpType = reinterpret_cast<uintptr_t>(data); in DoSomethingInterestingWithMyAPI() local
47 bundleinstallerProxy.InstallSandboxApp(bundleName, dlpType, userId, appIndex); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_permission_mgr.h64 const int32_t dlpType, Security::AccessToken::AccessTokenIDEx& tokenIdeEx);
123 const int32_t userId, const int32_t dlpType);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/sandbox_app/
H A Dbundle_sandbox_installer.h34 * @param dlpType Indicates type of the sandbox application.
39 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() argument
168 return installer->InstallSandboxApp(bundleName, dlpType, userId, appIndex); in InstallSandboxApp()
H A Dbundle_sandbox_installer.cpp45 ErrCode BundleSandboxInstaller::InstallSandboxApp(const std::string &bundleName, const int32_t &dlpType, in InstallSandboxApp() argument
101 if (BundlePermissionMgr::InitHapToken(info, userId_, dlpType, newTokenIdEx) != ERR_OK) { in InstallSandboxApp()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dbundle_permission_mgr.cpp287 const int32_t userId, const int32_t dlpType) in CreateHapInfoParams()
294 const int32_t dlpType, Security::AccessToken::AccessTokenIDEx& tokenIdeEx) in InitHapToken()
286 CreateHapInfoParams(const InnerBundleInfo &innerBundleInfo, const int32_t userId, const int32_t dlpType) CreateHapInfoParams() argument
293 InitHapToken(const InnerBundleInfo &innerBundleInfo, const int32_t userId, const int32_t dlpType, Security::AccessToken::AccessTokenIDEx& tokenIdeEx) InitHapToken() argument
/foundation/bundlemanager/app_domain_verify/test/unittest/mock/src/
H A Dmock_access_token.cpp31 .dlpType = DLP_COMMON, in mockSystemApp()
/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() argument
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() argument
441 return bundleInstaller_->InstallSandboxApp(bundleName, dlpType, userId, appIndex); in InstallSandboxApp()
H A Dbundle_installer_proxy.cpp193 ErrCode BundleInstallerProxy::InstallSandboxApp(const std::string &bundleName, int32_t dlpType, int32_t userId, in InstallSandboxApp() argument
209 if (!data.WriteInt32(dlpType)) { in InstallSandboxApp()
/foundation/ability/ability_runtime/test/unittest/bundle_mgr_helper_test/
H A Dbundle_mgr_helper_test.cpp521 int32_t dlpType = 1; in HWTEST_F() local
524 auto ret = bundleMgrHelper->InstallSandboxApp(bundleName, dlpType, userId, appIndex); in HWTEST_F()
536 int32_t dlpType = 1; in HWTEST_F() local
539 auto ret = bundleMgrHelper->InstallSandboxApp(bundleName, dlpType, userId, appIndex); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_permission_mgr.cpp656 const int32_t userId, const int32_t dlpType)
663 hapInfo.dlpType = dlpType;
671 const int32_t dlpType, Security::AccessToken::AccessTokenIDEx& tokenIdeEx)
674 AccessToken::HapInfoParams hapInfo = CreateHapInfoParams(innerBundleInfo, userId, dlpType);
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/
H A Dbundle_installer_interface.h101 * @param dlpType Indicates type of the sandbox application.
106 virtual ErrCode InstallSandboxApp(const std::string &bundleName, int32_t dlpType, int32_t userId,
H A Dbundle_mgr_client.h89 * @param dlpType Indicates type of the sandbox application.
94 ErrCode InstallSandboxApp(const std::string &bundleName, int32_t dlpType, int32_t userId, int32_t &appIndex);
H A Dbundle_installer_proxy.h91 * @param dlpType Indicates type of the sandbox application.
95 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/services/bundlemgr/test/mock/include/
H A Daccess_token.h131 int dlpType; member in OHOS::Security::AccessToken::final
/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() argument
/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/bundlemanager/bundle_tool/frameworks/include/
H A Dbundle_test_tool.h142 const std::string &bundleName, const int32_t userId, const int32_t dlpType, int32_t &appIndex) const;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_proxy_test/
H A Dbms_bundle_installer_proxy_test.cpp299 int32_t dlpType = 1; in HWTEST_F() local
302 auto res = bundleInstallerProxy.InstallSandboxApp(bundleName, dlpType, userId, appIndex); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_service_startup_test/
H A Dbms_service_startup_test.cpp716 int32_t dlpType = 0; in HWTEST_F() local
717 auto hapInfo = BundlePermissionMgr::CreateHapInfoParams(innerBundleInfo, userId, dlpType); in HWTEST_F()
731 int32_t dlpType = 0; in HWTEST_F() local
734 ret = BundlePermissionMgr::InitHapToken(innerBundleInfo, userId, dlpType, tokenIdeEx); in HWTEST_F()
/foundation/filemanagement/app_file_service/interfaces/innerkits/native/file_share/src/
H A Dfile_share.cpp83 if (hapInfo.dlpType != DLP_COMMON) { in GetTargetInfo()
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_client_system_test/
H A Dbundle_mgr_client_system_test.cpp2155 int32_t dlpType = 0; in HWTEST_F() local
2159 bundleName, dlpType, userId, appIndex); in HWTEST_F()
2337 int32_t dlpType = 0; in HWTEST_F() local
2339 res1 = client.InstallSandboxApp(BUNDLE_NAME, dlpType, DEFAULT_USERID, appIndex); in HWTEST_F()

Completed in 40 milliseconds

12