Home
last modified time | relevance | path

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

/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/src/provision/
H A Dprovision_info.cpp26 profileBlock = nullptr; in ProvisionInfo()
31 profileBlock.reset(nullptr); in ~ProvisionInfo()
61 (this->profileBlock).reset(nullptr); in operator =()
62 if (info.profileBlockLength != 0 && info.profileBlock != nullptr) { in operator =()
63 this->profileBlock = std::make_unique<unsigned char[]>(info.profileBlockLength); in operator =()
64 unsigned char *profileBlockData = (this->profileBlock).get(); in operator =()
65 unsigned char *originalProfile = info.profileBlock.get(); in operator =()
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/include/provision/
H A Dprovision_info.h100 std::unique_ptr<unsigned char[]> profileBlock; member
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dinstalld_client.cpp404 const unsigned char *profileBlock) in DeliverySignProfile() argument
406 if (bundleName.empty() || profileBlock == nullptr) { in DeliverySignProfile()
409 … return CallService(&IInstalld::DeliverySignProfile, bundleName, profileBlockLength, profileBlock); in DeliverySignProfile()
H A Dmock_install_client.cpp274 const unsigned char *profileBlock) in DeliverySignProfile() argument
H A Dmock_installd_host_impl.cpp270 const unsigned char *profileBlock) in DeliverySignProfile() argument
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dinstalld_client.cpp466 const unsigned char *profileBlock) in DeliverySignProfile() argument
468 if (bundleName.empty() || profileBlock == nullptr) { in DeliverySignProfile()
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_install_daemon_test/
H A Dbms_install_daemon_ipc_test.cpp791 unsigned char *profileBlock; variable
792 auto ret = installdProxy->DeliverySignProfile(TEST_STRING, DATA_LENGTH, profileBlock);
795 ret = installdProxy->DeliverySignProfile(TEST_STRING, MAX_PARCEL_CAPACITY, profileBlock);
H A Dbms_install_daemon_host_impl_test.cpp1071 const unsigned char * profileBlock = new unsigned char[0]; variable
1072 ErrCode ret = installdProxy->DeliverySignProfile(bundleName, profileBlockLength, profileBlock);
H A Dbms_install_daemon_test.cpp1400 unsigned char *profileBlock = new unsigned char[0]; variable
1401 ErrCode ret = hostImpl.DeliverySignProfile(bundleName, profileBlockLength, profileBlock);
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/src/verify/
H A Dhap_verify_v2.cpp296 … provisionInfo.profileBlock = std::make_unique<unsigned char[]>(provisionInfo.profileBlockLength); in SetProfileBlockData()
297 unsigned char *profileBlockData = provisionInfo.profileBlock.get(); in SetProfileBlockData()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_installd_client_test/
H A Dbms_installd_client_test.cpp1373 unsigned char *profileBlock = new unsigned char[0]; variable
1374 …ErrCode result = installClient_->DeliverySignProfile(bundleName, profileBlockLength, profileBlock);
1387 unsigned char *profileBlock = new unsigned char[1]; variable
1388 …ErrCode result = installClient_->DeliverySignProfile(bundleName, profileBlockLength, profileBlock);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dinstalld_client.h224 const unsigned char *profileBlock);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/
H A Dinstalld_host.cpp810 const unsigned char *profileBlock = reinterpret_cast<const unsigned char *>(dataInfo); in HandDeliverySignProfile() local
811 if (profileBlock == nullptr) { in HandDeliverySignProfile()
815 ErrCode result = DeliverySignProfile(bundleName, profileBlockLength, profileBlock); in HandDeliverySignProfile()
H A Dinstalld_proxy.cpp757 const unsigned char *profileBlock) in DeliverySignProfile() argument
759 …ockLength == 0 || profileBlockLength > Constants::MAX_PARCEL_CAPACITY || profileBlock == nullptr) { in DeliverySignProfile()
768 if (!data.WriteRawData(profileBlock, profileBlockLength)) { in DeliverySignProfile()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/
H A Dinstalld_interface.h385 const unsigned char *profileBlock) in DeliverySignProfile() argument
H A Dinstalld_proxy.h217 const unsigned char *profileBlock) override;
/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.h219 const unsigned char *profileBlock) override;
/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/src/installd/
H A Dinstalld_host_impl.cpp1500 const unsigned char *profileBlock) in DeliverySignProfile() argument
1509 if (bundleName.empty() || profileBlock == nullptr || profileBlockLength == 0) { in DeliverySignProfile()
1517 byteBuffer.CopyFrom(reinterpret_cast<const uint8_t *>(profileBlock), profileBlockLength); in DeliverySignProfile()