/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/src/provision/ |
H A D | provision_info.cpp | 26 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 D | provision_info.h | 100 std::unique_ptr<unsigned char[]> profileBlock; member
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/ |
H A D | installd_client.cpp | 404 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 D | mock_install_client.cpp | 274 const unsigned char *profileBlock) in DeliverySignProfile() argument
|
H A D | mock_installd_host_impl.cpp | 270 const unsigned char *profileBlock) in DeliverySignProfile() argument
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | installd_client.cpp | 466 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 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_install_daemon_test/ |
H A D | bms_install_daemon_ipc_test.cpp | 791 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 D | bms_install_daemon_host_impl_test.cpp | 1071 const unsigned char * profileBlock = new unsigned char[0]; variable 1072 ErrCode ret = installdProxy->DeliverySignProfile(bundleName, profileBlockLength, profileBlock);
|
H A D | bms_install_daemon_test.cpp | 1400 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 D | hap_verify_v2.cpp | 296 … 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 D | bms_installd_client_test.cpp | 1373 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 D | installd_client.h | 224 const unsigned char *profileBlock);
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/ |
H A D | installd_host.cpp | 810 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 D | installd_proxy.cpp | 757 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 D | installd_interface.h | 385 const unsigned char *profileBlock) in DeliverySignProfile() argument
|
H A D | installd_proxy.h | 217 const unsigned char *profileBlock) override;
|
/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 | 219 const unsigned char *profileBlock) override;
|
/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/src/installd/ |
H A D | installd_host_impl.cpp | 1500 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()
|