Home
last modified time | relevance | path

Searched refs:profileBlockLength (Results 1 - 20 of 20) sorted by relevance

/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/
H A Dinstalld_host.cpp772 int32_t profileBlockLength = data.ReadInt32(); in HandDeliverySignProfile() local
773 if (profileBlockLength <= 0 || profileBlockLength > Constants::MAX_PARCEL_CAPACITY) { in HandDeliverySignProfile()
777 auto dataInfo = data.ReadRawData(profileBlockLength); in HandDeliverySignProfile()
788 ErrCode result = DeliverySignProfile(bundleName, profileBlockLength, profileBlock); in HandDeliverySignProfile()
H A Dinstalld_proxy.cpp727 ErrCode InstalldProxy::DeliverySignProfile(const std::string &bundleName, int32_t profileBlockLength, in DeliverySignProfile() argument
730 if (profileBlockLength == 0 || profileBlockLength > Constants::MAX_PARCEL_CAPACITY || profileBlock == nullptr) { in DeliverySignProfile()
738 INSTALLD_PARCEL_WRITE(data, Int32, profileBlockLength); in DeliverySignProfile()
739 if (!data.WriteRawData(profileBlock, profileBlockLength)) { in DeliverySignProfile()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dinstalld_client.cpp398 ErrCode InstalldClient::DeliverySignProfile(const std::string &bundleName, int32_t profileBlockLength, in DeliverySignProfile() argument
404 return CallService(&IInstalld::DeliverySignProfile, bundleName, profileBlockLength, profileBlock); in DeliverySignProfile()
H A Dmock_installd_host_impl.cpp262 ErrCode InstalldHostImpl::DeliverySignProfile(const std::string &bundleName, int32_t profileBlockLength, in DeliverySignProfile() argument
H A Dmock_install_client.cpp266 ErrCode InstalldClient::DeliverySignProfile(const std::string &bundleName, int32_t profileBlockLength, in DeliverySignProfile() argument
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_bundle_app_service_fwk_installer.cpp1364 provisionInfo.profileBlockLength = 0; in HWTEST_F()
1432 provisionInfo.profileBlockLength = 0; in HWTEST_F()
1456 provisionInfo.profileBlockLength = 0; in HWTEST_F()
1480 provisionInfo.profileBlockLength = 1; in HWTEST_F()
1482 provisionInfo.profileBlock = std::make_unique<unsigned char[]>(provisionInfo.profileBlockLength); in HWTEST_F()
1552 provisionInfo.profileBlockLength = 1; in HWTEST_F()
1554 provisionInfo.profileBlock = std::make_unique<unsigned char[]>(provisionInfo.profileBlockLength); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dinstalld_client.cpp454 ErrCode InstalldClient::DeliverySignProfile(const std::string &bundleName, int32_t profileBlockLength, in DeliverySignProfile() argument
461 return CallService(&IInstalld::DeliverySignProfile, bundleName, profileBlockLength, profileBlock); in DeliverySignProfile()
H A Dbase_bundle_installer.cpp5766 if (provisionInfo.profileBlockLength == 0 || provisionInfo.profileBlock == nullptr) { in DeliveryProfileToCodeSign()
5776 provisionInfo.profileBlockLength, provisionInfo.profileBlock.get()); in DeliveryProfileToCodeSign()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/
H A Dinstalld_host_impl.h215 virtual ErrCode DeliverySignProfile(const std::string &bundleName, int32_t profileBlockLength,
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dinstalld_client.h218 ErrCode DeliverySignProfile(const std::string &bundleName, int32_t profileBlockLength,
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/
H A Dinstalld_interface.h378 virtual ErrCode DeliverySignProfile(const std::string &bundleName, int32_t profileBlockLength, in DeliverySignProfile() argument
H A Dinstalld_proxy.h213 virtual ErrCode DeliverySignProfile(const std::string &bundleName, int32_t profileBlockLength,
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/shared/
H A Dinner_shared_bundle_installer.cpp775 if (provisionInfo.profileBlockLength == 0 || provisionInfo.profileBlock == nullptr) { in DeliveryProfileToCodeSign()
780 provisionInfo.profileBlockLength, provisionInfo.profileBlock.get()); in DeliveryProfileToCodeSign()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_installd_client_test/
H A Dbms_installd_client_test.cpp1388 int32_t profileBlockLength = 0; in HWTEST_F() local
1391 ErrCode result = installClient_->DeliverySignProfile(bundleName, profileBlockLength, profileBlock); in HWTEST_F()
1403 int32_t profileBlockLength = 1; in HWTEST_F() local
1406 ErrCode result = installClient_->DeliverySignProfile(bundleName, profileBlockLength, profileBlock); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/
H A Dinstalld_host_impl.cpp1447 ErrCode InstalldHostImpl::DeliverySignProfile(const std::string &bundleName, int32_t profileBlockLength, in DeliverySignProfile() argument
1457 if (bundleName.empty() || profileBlock == nullptr || profileBlockLength == 0) { in DeliverySignProfile()
1463 profileBlockLength); in DeliverySignProfile()
1465 byteBuffer.CopyFrom(reinterpret_cast<const uint8_t *>(profileBlock), profileBlockLength); in DeliverySignProfile() local
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_service_fwk/
H A Dapp_service_fwk_installer.cpp1120 if (provisionInfo.profileBlockLength == 0 || provisionInfo.profileBlock == nullptr) { in DeliveryProfileToCodeSign()
1125 provisionInfo.profileBlockLength, provisionInfo.profileBlock.get()); in DeliveryProfileToCodeSign()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/
H A Dbms_install_daemon_ipc_test.cpp888 int32_t profileBlockLength = 1; in HWTEST_F() local
890 auto ret = proxy->DeliverySignProfile(TEST_STRING, profileBlockLength, profileBlock); in HWTEST_F()
H A Dbms_install_daemon_host_impl_test.cpp1073 int32_t profileBlockLength = 0; in HWTEST_F() local
1075 ErrCode ret = installdProxy->DeliverySignProfile(bundleName, profileBlockLength, profileBlock); in HWTEST_F()
H A Dbms_install_daemon_test.cpp1109 int32_t profileBlockLength = 0; in HWTEST_F() local
1111 ErrCode ret = hostImpl.DeliverySignProfile(bundleName, profileBlockLength, profileBlock); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_app_provision_info_test/
H A Dbms_bundle_app_provision_info_test.cpp1766 provisionInfo.profileBlockLength = 0 ; in HWTEST_F()
1781 provisionInfo.profileBlockLength = 0; in HWTEST_F()
1800 provisionInfo.profileBlockLength = 1; in HWTEST_F()

Completed in 42 milliseconds