Home
last modified time | relevance | path

Searched refs:SetEncryptionPolicy (Results 1 - 19 of 19) sorted by relevance

/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Del5_filekey_callback.cpp46 auto result = InstalldClient::GetInstance()->SetEncryptionPolicy( in OnRegenerateAppKey()
49 APP_LOGE("SetEncryptionPolicy failed for %{public}s", info.bundleName.c_str()); in OnRegenerateAppKey()
H A Dinstalld_client.cpp516 ErrCode InstalldClient::SetEncryptionPolicy(int32_t uid, const std::string &bundleName, in SetEncryptionPolicy() function in OHOS::AppExecFwk::InstalldClient
523 return CallService(&IInstalld::SetEncryptionPolicy, uid, bundleName, userId, keyId); in SetEncryptionPolicy()
H A Dbase_bundle_installer.cpp3009 auto result = InstalldClient::GetInstance()->SetEncryptionPolicy(uid, bundleName, userId_, keyId); in SetEncryptionDirPolicy()
3011 LOG_E(BMS_TAG_INSTALLER, "SetEncryptionPolicy failed"); in SetEncryptionDirPolicy()
H A Dbundle_data_mgr.cpp7865 auto result = InstalldClient::GetInstance()->SetEncryptionPolicy(uid, info.GetBundleName(), el5Param.userId, keyId); in SetEl5DirPolicy()
7867 LOG_E(BMS_TAG_INSTALLER, "SetEncryptionPolicy failed"); in SetEl5DirPolicy()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dinstalld_client.cpp415 ErrCode InstalldClient::SetEncryptionPolicy(int32_t uid, const std::string &bundleName, in SetEncryptionPolicy() function in OHOS::AppExecFwk::InstalldClient
422 return CallService(&IInstalld::SetEncryptionPolicy, uid, bundleName, userId, keyId); in SetEncryptionPolicy()
H A Dmock_installd_host_impl.cpp273 ErrCode InstalldHostImpl::SetEncryptionPolicy(int32_t uid, const std::string &bundleName, in SetEncryptionPolicy() function in OHOS::AppExecFwk::InstalldHostImpl
H A Dmock_install_client.cpp277 ErrCode InstalldClient::SetEncryptionPolicy(int32_t uid, const std::string &bundleName, in SetEncryptionPolicy() function in OHOS::AppExecFwk::InstalldClient
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/
H A Dinstalld_host_impl.h220 virtual ErrCode SetEncryptionPolicy(int32_t uid, const std::string &bundleName,
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dinstalld_client.h223 ErrCode SetEncryptionPolicy(int32_t uid, const std::string &bundleName,
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/
H A Dinstalld_interface.h389 virtual ErrCode SetEncryptionPolicy(int32_t uid, const std::string &bundleName, in SetEncryptionPolicy() function in OHOS::AppExecFwk::IInstalld
H A Dinstalld_proxy.h218 virtual ErrCode SetEncryptionPolicy(int32_t uid, const std::string &bundleName,
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/
H A Dbms_install_daemon_ipc_test.cpp815 * @tc.name: test function SetEncryptionPolicy
816 * @tc.desc: 1. calling SetEncryptionPolicy of proxy
827 auto ret = proxy->SetEncryptionPolicy(uid, bundleName, userId, keyId); in HWTEST_F()
1122 * @tc.name: test function SetEncryptionPolicy
1123 * @tc.desc: 1. calling SetEncryptionPolicy of proxy
1134 auto ret = proxy->SetEncryptionPolicy(uid, bundleName, userId, keyId); in HWTEST_F()
H A Dbms_install_daemon_host_impl_test.cpp902 * @tc.name: test SetEncryptionPolicy
904 * 2.SetEncryptionPolicy failed
911 auto ret = hostImpl->SetEncryptionPolicy(0, "", 100, keyId); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_bundle_installer_permission_test.cpp684 * @tc.name: test SetEncryptionPolicy
685 * @tc.desc: 1.Test the SetEncryptionPolicy of InstalldHostImpl without permission
694 ErrCode ret = hostImpl.SetEncryptionPolicy(uid, bundleName, userId, keyId); in HWTEST_F()
H A Dbms_bundle_installer_test.cpp6373 * @tc.name: test SetEncryptionPolicy
6374 * @tc.desc: test SetEncryptionPolicy of InstalldHostImpl
6383 ErrCode ret = hostImpl.SetEncryptionPolicy(uid, bundleName, userId, keyId); in HWTEST_F()
6386 ret = hostImpl.SetEncryptionPolicy(uid, bundleName, userId, keyId); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/
H A Dinstalld_host.cpp809 ErrCode result = SetEncryptionPolicy(uid, bundleName, userId, keyId); in HandleSetEncryptionDir()
H A Dinstalld_proxy.cpp770 ErrCode InstalldProxy::SetEncryptionPolicy(int32_t uid, const std::string &bundleName, in SetEncryptionPolicy() function in OHOS::AppExecFwk::InstalldProxy
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_installd_client_test/
H A Dbms_installd_client_test.cpp1107 * @tc.name: SetEncryptionPolicy
1108 * @tc.desc: call SetEncryptionPolicy.
1113 ErrCode result = installClient_->SetEncryptionPolicy(0, "", 100, keyId); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/
H A Dinstalld_host_impl.cpp1518 ErrCode InstalldHostImpl::SetEncryptionPolicy(int32_t uid, const std::string &bundleName, in SetEncryptionPolicy() function in OHOS::AppExecFwk::InstalldHostImpl
1526 LOG_E(BMS_TAG_INSTALLD, "Calling the function SetEncryptionPolicy with invalid param"); in SetEncryptionPolicy()

Completed in 61 milliseconds