Home
last modified time | relevance | path

Searched refs:profileBlockLength (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/src/provision/
H A Dprovision_info.cpp60 this->profileBlockLength = info.profileBlockLength; in operator =()
62 if (info.profileBlockLength != 0 && info.profileBlock != nullptr) { in operator =()
63 this->profileBlock = std::make_unique<unsigned char[]>(info.profileBlockLength); in operator =()
69 …if (memcpy_s(profileBlockData, info.profileBlockLength, originalProfile, info.profileBlockLength) … in operator =()
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/src/verify/
H A Dhap_verify_v2.cpp290 provisionInfo.profileBlockLength = hapProfileBlock.GetCapacity(); in SetProfileBlockData()
291 … HAPVERIFY_LOG_DEBUG("profile block data length is %{public}d", provisionInfo.profileBlockLength); in SetProfileBlockData()
292 if (provisionInfo.profileBlockLength == 0) { in SetProfileBlockData()
296 … provisionInfo.profileBlock = std::make_unique<unsigned char[]>(provisionInfo.profileBlockLength); in SetProfileBlockData()
303 if (memcpy_s(profileBlockData, provisionInfo.profileBlockLength, originalProfile, in SetProfileBlockData()
304 provisionInfo.profileBlockLength) != 0) { in SetProfileBlockData()
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/include/provision/
H A Dprovision_info.h99 int32_t profileBlockLength = 0; member
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/
H A Dinstalld_host.cpp799 int32_t profileBlockLength = data.ReadInt32(); in HandDeliverySignProfile() local
800 if (profileBlockLength == 0 || profileBlockLength > Constants::MAX_PARCEL_CAPACITY) { in HandDeliverySignProfile()
804 auto dataInfo = data.ReadRawData(profileBlockLength); in HandDeliverySignProfile()
815 ErrCode result = DeliverySignProfile(bundleName, profileBlockLength, profileBlock); in HandDeliverySignProfile()
H A Dinstalld_proxy.cpp756 …rCode InstalldProxy::DeliverySignProfile(const std::string &bundleName, int32_t profileBlockLength, in DeliverySignProfile() argument
759 …if (profileBlockLength == 0 || profileBlockLength > Constants::MAX_PARCEL_CAPACITY || profileBlock… in DeliverySignProfile()
767 INSTALLD_PARCEL_WRITE(data, Int32, profileBlockLength); in DeliverySignProfile()
768 if (!data.WriteRawData(profileBlock, profileBlockLength)) { in DeliverySignProfile()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dinstalld_client.cpp403 …Code InstalldClient::DeliverySignProfile(const std::string &bundleName, int32_t profileBlockLength, in DeliverySignProfile() argument
409 … return CallService(&IInstalld::DeliverySignProfile, bundleName, profileBlockLength, profileBlock); in DeliverySignProfile()
H A Dmock_install_client.cpp273 …Code InstalldClient::DeliverySignProfile(const std::string &bundleName, int32_t profileBlockLength, in DeliverySignProfile() argument
H A Dmock_installd_host_impl.cpp269 …de InstalldHostImpl::DeliverySignProfile(const std::string &bundleName, int32_t profileBlockLength, in DeliverySignProfile() argument
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dinstalld_client.cpp465 …Code InstalldClient::DeliverySignProfile(const std::string &bundleName, int32_t profileBlockLength, in DeliverySignProfile() argument
472 … return CallService(&IInstalld::DeliverySignProfile, bundleName, profileBlockLength, profileBlock); in DeliverySignProfile()
H A Dbase_bundle_installer.cpp5654 if (provisionInfo.profileBlockLength == 0 || provisionInfo.profileBlock == nullptr) { in DeliveryProfileToCodeSign()
5664 provisionInfo.profileBlockLength, provisionInfo.profileBlock.get()); in DeliveryProfileToCodeSign()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_installd_client_test/
H A Dbms_installd_client_test.cpp1372 int32_t profileBlockLength = 0; variable
1374 …ErrCode result = installClient_->DeliverySignProfile(bundleName, profileBlockLength, profileBlock);
1386 int32_t profileBlockLength = 1; variable
1388 …ErrCode result = installClient_->DeliverySignProfile(bundleName, profileBlockLength, profileBlock);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dinstalld_client.h223 ErrCode DeliverySignProfile(const std::string &bundleName, int32_t profileBlockLength,
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/
H A Dinstalld_interface.h384 virtual ErrCode DeliverySignProfile(const std::string &bundleName, int32_t profileBlockLength, in DeliverySignProfile() argument
H A Dinstalld_proxy.h216 virtual ErrCode DeliverySignProfile(const std::string &bundleName, int32_t profileBlockLength,
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/shared/
H A Dinner_shared_bundle_installer.cpp767 if (provisionInfo.profileBlockLength == 0 || provisionInfo.profileBlock == nullptr) { in DeliveryProfileToCodeSign()
772 provisionInfo.profileBlockLength, provisionInfo.profileBlock.get()); in DeliveryProfileToCodeSign()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/
H A Dinstalld_host_impl.h218 virtual ErrCode DeliverySignProfile(const std::string &bundleName, int32_t profileBlockLength,
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/
H A Dbms_install_daemon_host_impl_test.cpp1070 int32_t profileBlockLength = 0; variable
1072 ErrCode ret = installdProxy->DeliverySignProfile(bundleName, profileBlockLength, profileBlock);
H A Dbms_install_daemon_test.cpp1399 int32_t profileBlockLength = 0; variable
1401 ErrCode ret = hostImpl.DeliverySignProfile(bundleName, profileBlockLength, profileBlock);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/
H A Dinstalld_host_impl.cpp1499 …de InstalldHostImpl::DeliverySignProfile(const std::string &bundleName, int32_t profileBlockLength, in DeliverySignProfile() argument
1509 if (bundleName.empty() || profileBlock == nullptr || profileBlockLength == 0) { in DeliverySignProfile()
1515 profileBlockLength); in DeliverySignProfile()
1517 byteBuffer.CopyFrom(reinterpret_cast<const uint8_t *>(profileBlock), profileBlockLength); in DeliverySignProfile()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_service_fwk/
H A Dapp_service_fwk_installer.cpp1027 if (provisionInfo.profileBlockLength == 0 || provisionInfo.profileBlock == nullptr) { in DeliveryProfileToCodeSign()
1032 provisionInfo.profileBlockLength, provisionInfo.profileBlock.get()); in DeliveryProfileToCodeSign()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_app_provision_info_test/
H A Dbms_bundle_app_provision_info_test.cpp1727 provisionInfo.profileBlockLength = 0 ;
1742 provisionInfo.profileBlockLength = 0;
1761 provisionInfo.profileBlockLength = 1;