/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/src/provision/ |
H A D | provision_info.cpp | 60 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 D | hap_verify_v2.cpp | 290 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 D | provision_info.h | 99 int32_t profileBlockLength = 0; member
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/ |
H A D | installd_host.cpp | 799 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 D | installd_proxy.cpp | 756 …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 D | installd_client.cpp | 403 …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 D | mock_install_client.cpp | 273 …Code InstalldClient::DeliverySignProfile(const std::string &bundleName, int32_t profileBlockLength, in DeliverySignProfile() argument
|
H A D | mock_installd_host_impl.cpp | 269 …de InstalldHostImpl::DeliverySignProfile(const std::string &bundleName, int32_t profileBlockLength, in DeliverySignProfile() argument
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | installd_client.cpp | 465 …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 D | base_bundle_installer.cpp | 5654 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 D | bms_installd_client_test.cpp | 1372 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 D | installd_client.h | 223 ErrCode DeliverySignProfile(const std::string &bundleName, int32_t profileBlockLength,
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/ |
H A D | installd_interface.h | 384 virtual ErrCode DeliverySignProfile(const std::string &bundleName, int32_t profileBlockLength, in DeliverySignProfile() argument
|
H A D | installd_proxy.h | 216 virtual ErrCode DeliverySignProfile(const std::string &bundleName, int32_t profileBlockLength,
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/shared/ |
H A D | inner_shared_bundle_installer.cpp | 767 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 D | installd_host_impl.h | 218 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 D | bms_install_daemon_host_impl_test.cpp | 1070 int32_t profileBlockLength = 0; variable 1072 ErrCode ret = installdProxy->DeliverySignProfile(bundleName, profileBlockLength, profileBlock);
|
H A D | bms_install_daemon_test.cpp | 1399 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 D | installd_host_impl.cpp | 1499 …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 D | app_service_fwk_installer.cpp | 1027 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 D | bms_bundle_app_provision_info_test.cpp | 1727 provisionInfo.profileBlockLength = 0 ; 1742 provisionInfo.profileBlockLength = 0; 1761 provisionInfo.profileBlockLength = 1;
|