/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | notification_preferences_database_test.cpp | 91 NotificationPreferencesInfo::BundleInfo bundleInfo; in HWTEST_F() local 92 bundleInfo.SetBundleName(bundleName_); in HWTEST_F() 93 bundleInfo.SetBundleUid(bundleUid_); in HWTEST_F() 94 EXPECT_TRUE(preferncesDB_->PutShowBadge(bundleInfo, true)); in HWTEST_F() 95 EXPECT_TRUE(preferncesDB_->PutShowBadge(bundleInfo, false)); in HWTEST_F() 105 NotificationPreferencesInfo::BundleInfo bundleInfo; in HWTEST_F() local 106 bundleInfo.SetBundleName(std::string()); in HWTEST_F() 107 EXPECT_FALSE(preferncesDB_->PutShowBadge(bundleInfo, false)); in HWTEST_F() 117 NotificationPreferencesInfo::BundleInfo bundleInfo; in HWTEST_F() local 118 bundleInfo in HWTEST_F() 142 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 157 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 170 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 183 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 197 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 299 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 412 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 460 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 477 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 494 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 511 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 528 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 545 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 562 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 579 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 596 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 613 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 630 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 647 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 664 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 681 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 698 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 715 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 732 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 749 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 766 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 783 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 800 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 819 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 833 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 930 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 945 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 961 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 977 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 993 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local [all...] |
H A D | notification_preferences_info_test.cpp | 48 NotificationPreferencesInfo::BundleInfo bundleInfo; in HWTEST_F() local 49 const char *res= bundleInfo.GetSlotFlagsKeyFromType(NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F() 53 res = bundleInfo.GetSlotFlagsKeyFromType(NotificationConstant::SlotType::SERVICE_REMINDER); in HWTEST_F() 57 res = bundleInfo.GetSlotFlagsKeyFromType(NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F() 61 res = bundleInfo.GetSlotFlagsKeyFromType(NotificationConstant::SlotType::OTHER); in HWTEST_F() 65 res = bundleInfo.GetSlotFlagsKeyFromType(NotificationConstant::SlotType::CUSTOM); in HWTEST_F() 69 res = bundleInfo.GetSlotFlagsKeyFromType(NotificationConstant::SlotType::LIVE_VIEW); in HWTEST_F() 73 res = bundleInfo.GetSlotFlagsKeyFromType(NotificationConstant::SlotType::CUSTOMER_SERVICE); in HWTEST_F() 87 NotificationPreferencesInfo::BundleInfo bundleInfo; in HWTEST_F() local 88 bundleInfo in HWTEST_F() 174 sptr<NotificationBundleOption> bundleInfo = new NotificationBundleOption("test", 1);; HWTEST_F() local [all...] |
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | notification_preferences.cpp | 108 NotificationPreferencesInfo::BundleInfo bundleInfo; in AddNotificationBundleProperty() local 109 preferencesInfo.SetBundleInfo(bundleInfo); in AddNotificationBundleProperty() 111 if (preferncesDB_->PutBundlePropertyToDisturbeDB(bundleInfo)) { in AddNotificationBundleProperty() 161 NotificationPreferencesInfo::BundleInfo bundleInfo; in RemoveNotificationAllSlots() local 162 if (preferencesInfo.GetBundleInfo(bundleOption, bundleInfo)) { in RemoveNotificationAllSlots() 163 bundleInfo.RemoveAllSlots(); in RemoveNotificationAllSlots() 164 preferencesInfo.SetBundleInfo(bundleInfo); in RemoveNotificationAllSlots() 251 NotificationPreferencesInfo::BundleInfo bundleInfo; in GetNotificationSlot() local 253 if (preferencesInfo_.GetBundleInfo(bundleOption, bundleInfo)) { in GetNotificationSlot() 254 if (!bundleInfo in GetNotificationSlot() 273 NotificationPreferencesInfo::BundleInfo bundleInfo; GetNotificationAllSlots() local 293 NotificationPreferencesInfo::BundleInfo bundleInfo; GetNotificationSlotsNumForBundle() local 648 NotificationPreferencesInfo::BundleInfo bundleInfo; UpdateCloneBundleInfo() local 812 NotificationPreferencesInfo::BundleInfo bundleInfo; CheckSlotForCreateSlot() local 828 NotificationPreferencesInfo::BundleInfo bundleInfo; CheckSlotForRemoveSlot() local 853 NotificationPreferencesInfo::BundleInfo bundleInfo; CheckSlotForUpdateSlot() local 877 NotificationPreferencesInfo::BundleInfo bundleInfo; SetBundleProperty() local 892 SaveBundleProperty(NotificationPreferencesInfo::BundleInfo &bundleInfo, const sptr<NotificationBundleOption> &bundleOption, const BundleType &type, const T &value) SaveBundleProperty() argument 938 NotificationPreferencesInfo::BundleInfo bundleInfo; GetBundleProperty() local 1022 NotificationPreferencesInfo::BundleInfo bundleInfo; SetDistributedEnabledByBundle() local 1040 NotificationPreferencesInfo::BundleInfo bundleInfo; IsDistributedEnabledByBundle() local [all...] |
H A D | notification_preferences_database.cpp | 283 const NotificationPreferencesInfo::BundleInfo &bundleInfo) in PutBundlePropertyToDisturbeDB() 285 if (bundleInfo.GetBundleName().empty()) { in PutBundlePropertyToDisturbeDB() 295 std::string bundleKeyStr = KEY_BUNDLE_LABEL + GenerateBundleLablel(bundleInfo); in PutBundlePropertyToDisturbeDB() 297 OsAccountManagerHelper::GetInstance().GetOsAccountLocalIdFromUid(bundleInfo.GetBundleUid(), userId); in PutBundlePropertyToDisturbeDB() 302 result = PutBundleToDisturbeDB(bundleKeyStr, bundleInfo); in PutBundlePropertyToDisturbeDB() 317 const NotificationPreferencesInfo::BundleInfo &bundleInfo, const bool &enable) in PutShowBadge() 319 if (bundleInfo.GetBundleName().empty()) { in PutShowBadge() 324 if (!CheckBundle(bundleInfo.GetBundleName(), bundleInfo.GetBundleUid())) { in PutShowBadge() 328 std::string bundleKey = GenerateBundleLablel(bundleInfo); in PutShowBadge() 282 PutBundlePropertyToDisturbeDB( const NotificationPreferencesInfo::BundleInfo &bundleInfo) PutBundlePropertyToDisturbeDB() argument 316 PutShowBadge( const NotificationPreferencesInfo::BundleInfo &bundleInfo, const bool &enable) PutShowBadge() argument 334 PutImportance( const NotificationPreferencesInfo::BundleInfo &bundleInfo, const int32_t &importance) PutImportance() argument 352 PutTotalBadgeNums( const NotificationPreferencesInfo::BundleInfo &bundleInfo, const int32_t &totalBadgeNum) PutTotalBadgeNums() argument 369 PutNotificationsEnabledForBundle( const NotificationPreferencesInfo::BundleInfo &bundleInfo, const bool &enabled) PutNotificationsEnabledForBundle() argument 406 PutSlotFlags(NotificationPreferencesInfo::BundleInfo &bundleInfo, const int32_t &slotFlags) PutSlotFlags() argument 420 PutHasPoppedDialog( const NotificationPreferencesInfo::BundleInfo &bundleInfo, const bool &hasPopped) PutHasPoppedDialog() argument 615 PutBundlePropertyValueToDisturbeDB( const NotificationPreferencesInfo::BundleInfo &bundleInfo) PutBundlePropertyValueToDisturbeDB() argument 904 PutBundleToDisturbeDB( const std::string &bundleKey, const NotificationPreferencesInfo::BundleInfo &bundleInfo) PutBundleToDisturbeDB() argument 1019 ParseSlotFromDisturbeDB(NotificationPreferencesInfo::BundleInfo &bundleInfo, const std::string &bundleKey, const std::pair<std::string, std::string> &entry, const int32_t &userId) ParseSlotFromDisturbeDB() argument 1038 ParseBundlePropertyFromDisturbeDB( NotificationPreferencesInfo::BundleInfo &bundleInfo, const std::string &bundleKey, const std::pair<std::string, std::string> &entry) ParseBundlePropertyFromDisturbeDB() argument 1264 ParseBundleName( NotificationPreferencesInfo::BundleInfo &bundleInfo, const std::string &value) const ParseBundleName() argument 1271 ParseBundleImportance( NotificationPreferencesInfo::BundleInfo &bundleInfo, const std::string &value) const ParseBundleImportance() argument 1278 ParseBundleShowBadgeEnable( NotificationPreferencesInfo::BundleInfo &bundleInfo, const std::string &value) const ParseBundleShowBadgeEnable() argument 1285 ParseBundleBadgeNum( NotificationPreferencesInfo::BundleInfo &bundleInfo, const std::string &value) const ParseBundleBadgeNum() argument 1292 ParseBundleEnableNotification( NotificationPreferencesInfo::BundleInfo &bundleInfo, const std::string &value) const ParseBundleEnableNotification() argument 1299 ParseBundlePoppedDialog( NotificationPreferencesInfo::BundleInfo &bundleInfo, const std::string &value) const ParseBundlePoppedDialog() argument 1306 ParseBundleUid( NotificationPreferencesInfo::BundleInfo &bundleInfo, const std::string &value) const ParseBundleUid() argument 1341 ParseBundleSlotFlags(NotificationPreferencesInfo::BundleInfo &bundleInfo, const std::string &value) const ParseBundleSlotFlags() argument 1852 PutDistributedEnabledForBundle(const std::string deviceType, const NotificationPreferencesInfo::BundleInfo &bundleInfo, const bool &enabled) PutDistributedEnabledForBundle() argument 1869 GenerateBundleLablel( const NotificationPreferencesInfo::BundleInfo &bundleInfo, const std::string &deviceType) const GenerateBundleLablel() argument 1889 GetDistributedEnabledForBundle(const std::string deviceType, const NotificationPreferencesInfo::BundleInfo &bundleInfo, bool &enabled) GetDistributedEnabledForBundle() argument 2007 UpdateBundlePropertyToDisturbeDB(int32_t userId, const NotificationPreferencesInfo::BundleInfo &bundleInfo) UpdateBundlePropertyToDisturbeDB() argument [all...] |
H A D | bundle_manager_helper.cpp | 91 AppExecFwk::BundleInfo bundleInfo; in CheckApiCompatibility() local 94 if (!GetBundleInfoByBundleName(bundleName, callingUserId, bundleInfo)) { in CheckApiCompatibility() 100 for (auto abilityInfo : bundleInfo.abilityInfos) { in CheckApiCompatibility() 109 const std::string bundle, const int32_t userId, AppExecFwk::BundleInfo &bundleInfo) in GetBundleInfoByBundleName() 119 ret = bundleMgr_->GetBundleInfo(bundle, AppExecFwk::BundleFlag::GET_BUNDLE_WITH_ABILITIES, bundleInfo, userId); in GetBundleInfoByBundleName() 197 int32_t userId, AppExecFwk::BundleInfo &bundleInfo) in GetBundleInfo() 209 bool ret = bundleMgr_->GetBundleInfo(bundleName, flag, bundleInfo, callingUserId); in GetBundleInfo() 108 GetBundleInfoByBundleName( const std::string bundle, const int32_t userId, AppExecFwk::BundleInfo &bundleInfo) GetBundleInfoByBundleName() argument 196 GetBundleInfo(const std::string &bundleName, const AppExecFwk::BundleFlag flag, int32_t userId, AppExecFwk::BundleInfo &bundleInfo) GetBundleInfo() argument
|
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_preferences_database_branch_test/ |
H A D | notification_preferences_database_branch_test.cpp | 56 NotificationPreferencesInfo::BundleInfo bundleInfo;
in HWTEST_F() local 58 bundleInfo.SetBundleName(name);
in HWTEST_F() 62 ASSERT_EQ(preferncesDB_->PutBundlePropertyToDisturbeDB(bundleInfo), false);
in HWTEST_F() 72 NotificationPreferencesInfo::BundleInfo bundleInfo;
in HWTEST_F() local 74 bundleInfo.SetBundleName(name);
in HWTEST_F() 82 ASSERT_EQ(preferncesDB_->PutBundlePropertyToDisturbeDB(bundleInfo), false);
in HWTEST_F() 92 NotificationPreferencesInfo::BundleInfo bundleInfo;
in HWTEST_F() local 94 bundleInfo.SetBundleName(name);
in HWTEST_F() 100 ASSERT_EQ(preferncesDB_->PutBundlePropertyToDisturbeDB(bundleInfo), false);
in HWTEST_F() 128 NotificationPreferencesInfo::BundleInfo bundleInfo;
in HWTEST_F() local 148 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 168 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 188 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 239 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 340 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 357 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 643 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 662 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 677 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 688 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 710 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local 1029 NotificationPreferencesInfo::BundleInfo bundleInfo; HWTEST_F() local [all...] |
/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/ |
H A D | dlp_bundle_adapter_test.cpp | 50 BundleInfo bundleInfo; in HWTEST_F() local 52 BUNDLE_NAME, BundleFlag::GET_BUNDLE_WITH_ABILITIES, bundleInfo, USER_ID); in HWTEST_F() 64 BundleInfo bundleInfo; in HWTEST_F() local 66 BUNDLE_NAME, BundleFlag::GET_BUNDLE_WITH_ABILITIES, bundleInfo, USER_ID); in HWTEST_F()
|
/base/security/appverify/interfaces/innerkits/appverify/src/provision/ |
H A D | provision_verify.cpp | 177 cJSON* bundleInfo = NULL;
in ParseBundleInfo() local 178 GetJsonObjectIfExist(obj, KEY_BUNDLE_INFO, &bundleInfo);
in ParseBundleInfo() 179 GetStringIfExist(bundleInfo, KEY_DEVELOPER_ID, out.bundleInfo.developerId);
in ParseBundleInfo() 180 GetStringIfExist(bundleInfo, KEY_DEVELOPMENT_CERTIFICATE, out.bundleInfo.developmentCertificate);
in ParseBundleInfo() 181 GetStringIfExist(bundleInfo, KEY_DISTRIBUTION_CERTIFICATE, out.bundleInfo.distributionCertificate);
in ParseBundleInfo() 182 GetStringIfExist(bundleInfo, KEY_BUNDLE_NAME, out.bundleInfo in ParseBundleInfo() [all...] |
H A D | provision_info.cpp | 50 this->bundleInfo = info.bundleInfo; in operator =()
|
/base/notification/distributed_notification_service/services/ans/include/ |
H A D | notification_preferences_database.h | 48 * @param bundleInfo Indicates bundle info. 51 bool PutBundlePropertyToDisturbeDB(const NotificationPreferencesInfo::BundleInfo &bundleInfo); 56 * @param bundleInfo Indicates bundle info. 60 bool PutShowBadge(const NotificationPreferencesInfo::BundleInfo &bundleInfo, const bool &enable); 65 * @param bundleInfo Indicates bundle info. 70 bool PutImportance(const NotificationPreferencesInfo::BundleInfo &bundleInfo, const int32_t &importance); 75 * @param bundleInfo Indicates bundle info. 79 bool PutTotalBadgeNums(const NotificationPreferencesInfo::BundleInfo &bundleInfo, const int32_t &totalBadgeNum); 84 * @param bundleInfo Indicates bundle info. 89 const NotificationPreferencesInfo::BundleInfo &bundleInfo, cons [all...] |
/base/security/asset/services/os_dependency/src/ |
H A D | bms_wrapper.cpp | 51 AppExecFwk::BundleInfo bundleInfo; in GetHapProcessInfo() local 53 bundleInfo, userId)) { in GetHapProcessInfo() 57 processInfo->hapInfo.appIndex = bundleInfo.appIndex; in GetHapProcessInfo() 59 if (memcpy_s(processInfo->hapInfo.appId, processInfo->hapInfo.appIdLen, bundleInfo.appId.c_str(), in GetHapProcessInfo() 60 bundleInfo.appId.size()) != EOK) { in GetHapProcessInfo() 62 bundleInfo.appId.size(), processInfo->hapInfo.appIdLen); in GetHapProcessInfo() 65 processInfo->hapInfo.appIdLen = bundleInfo.appId.size(); in GetHapProcessInfo()
|
/base/customization/enterprise_device_management/test/unittest/common/external/ |
H A D | edm_bundle_manager_impl_test.cpp | 85 AppExecFwk::BundleInfo bundleInfo; in HWTEST_F() local 87 EMPTY_BUNDLE_NAME, AppExecFwk::BundleFlag::GET_BUNDLE_WITH_ABILITIES, bundleInfo, USER_ID); in HWTEST_F() 91 INVALID_BUNDLE_NAME, AppExecFwk::BundleFlag::GET_BUNDLE_WITH_ABILITIES, bundleInfo, USER_ID); in HWTEST_F() 103 AppExecFwk::BundleInfo bundleInfo; in HWTEST_F() local 105 BUNDLE_NAME, AppExecFwk::BundleFlag::GET_BUNDLE_WITH_ABILITIES, bundleInfo, USER_ID); in HWTEST_F()
|
/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/ |
H A D | ticket_verify_test.cpp | 68 profileInfo.bundleInfo.bundleName = OVER_MAX_PATH_SIZE; in HWTEST_F() 81 profileInfo.bundleInfo.bundleName = BUNDLE_NAME; in HWTEST_F() 94 profileInfo.bundleInfo.bundleName = VERIFY_TEST; in HWTEST_F() 107 profileInfo.bundleInfo.bundleName = VERIFY_ERR; in HWTEST_F()
|
/base/telephony/call_manager/services/call_report/src/ |
H A D | call_ability_report_proxy.cpp | 51 sptr<ICallAbilityCallback> callAbilityCallbackPtr, const std::string &bundleInfo) in RegisterCallBack() 57 callAbilityCallbackPtr->SetBundleInfo(bundleInfo); in RegisterCallBack() 60 TELEPHONY_LOGI("%{public}s successfully registered the callback!", bundleInfo.c_str()); in RegisterCallBack() 73 int32_t CallAbilityReportProxy::UnRegisterCallBack(const std::string &bundleInfo) in UnRegisterCallBack() argument 77 TELEPHONY_LOGE("callbackPtrList_ is null! %{public}s UnRegisterCallBack failed", bundleInfo.c_str()); in UnRegisterCallBack() 82 if ((*it)->GetBundleInfo() == bundleInfo) { in UnRegisterCallBack() 84 TELEPHONY_LOGI("%{public}s UnRegisterCallBack success", bundleInfo.c_str()); in UnRegisterCallBack() 149 TELEPHONY_LOGW("OnCallDisconnectedCause failed, errcode:%{public}d, bundleInfo:%{public}s", ret, in CallDestroyed() 161 std::string bundleInfo = ""; in ReportCallStateInfo() local 166 bundleInfo in ReportCallStateInfo() 50 RegisterCallBack( sptr<ICallAbilityCallback> callAbilityCallbackPtr, const std::string &bundleInfo) RegisterCallBack() argument 183 ReportCallStateInfo(const CallAttributeInfo &info, std::string bundleInfo) ReportCallStateInfo() argument 269 std::string bundleInfo = (*it)->GetBundleInfo(); OttCallRequest() local [all...] |
/base/startup/appspawn/modules/sandbox/ |
H A D | sandbox_cfgvar.c | 28 AppSpawnMsgBundleInfo *bundleInfo = ( in VarPackageNameIndexReplace() local 30 APPSPAWN_CHECK(bundleInfo != NULL, return APPSPAWN_TLV_NONE, in VarPackageNameIndexReplace() 33 if (bundleInfo->bundleIndex > 0) { in VarPackageNameIndexReplace() 34 len = sprintf_s((char *)buffer, bufferLen, "%s_%d", bundleInfo->bundleName, bundleInfo->bundleIndex); in VarPackageNameIndexReplace() 36 len = sprintf_s((char *)buffer, bufferLen, "%s", bundleInfo->bundleName); in VarPackageNameIndexReplace() 163 AppSpawnMsgBundleInfo *bundleInfo = (AppSpawnMsgBundleInfo *)GetSpawningMsgInfo(context, TLV_BUNDLE_INFO); in ReplaceVariableForpackageName() local 164 APPSPAWN_CHECK(bundleInfo != NULL, return APPSPAWN_TLV_NONE, in ReplaceVariableForpackageName() 173 bundleInfo->bundleIndex > 0) ? SANDBOX_PACKAGENAME_CLONE : 0; in ReplaceVariableForpackageName() 182 len = sprintf_s((char *)buffer, bufferLen, "%s", bundleInfo in ReplaceVariableForpackageName() [all...] |
/base/security/appverify/interfaces/innerkits/appverify/src/ticket/ |
H A D | ticket_verify.cpp | 121 if (ticketInfo.bundleInfo.bundleName != profileInfo.bundleInfo.bundleName) { in CompareTicketAndProfile() 131 if (ticketInfo.bundleInfo.developmentCertificate != profileInfo.bundleInfo.developmentCertificate) { in CompareTicketAndProfile() 136 if (ticketInfo.bundleInfo.distributionCertificate != profileInfo.bundleInfo.distributionCertificate) { in CompareTicketAndProfile() 255 std::string ticketfilepath = TICKET_FILE_PATH + profileInfo.bundleInfo.bundleName + ".p7b"; in CheckTicketSource()
|
/base/global/resource_management/frameworks/resmgr/src/ |
H A D | theme_pack_resource.cpp | 108 void ThemeResource::InitThemeRes(std::pair<std::string, std::string> bundleInfo, cJSON *root, in InitThemeRes() argument 131 ThemeKey themeKey = ThemeKey(bundleInfo.first, bundleInfo.second, resType, name->valuestring); in InitThemeRes() 167 std::pair<std::string, std::string> bundleInfo(bundleName, moduleName); in ParseJson() 169 InitThemeRes(bundleInfo, floatRoot, themeConfig, "float"); in ParseJson() 172 InitThemeRes(bundleInfo, colorRoot, themeConfig, "color"); in ParseJson() 285 auto bundleInfo = GetBundleInfo(rootDir, path); in LoadThemeResource() local 293 themeRes->ParseJson(std::get<FIRST_ELEMENT>(bundleInfo), std::get<SECOND_ELEMENT>(bundleInfo), path); in LoadThemeResource() 295 themeRes->ParseIcon(std::get<FIRST_ELEMENT>(bundleInfo), st in LoadThemeResource() 373 GetThemeAppIcon(const std::pair<std::string, std::string> &bundleInfo, const std::string &iconName, const std::string &abilityName) GetThemeAppIcon() argument 395 GetThemeAppIconByAbilityName(const std::pair<std::string, std::string> &bundleInfo, const std::string &iconName, const std::string &abilityName) GetThemeAppIconByAbilityName() argument [all...] |
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/ |
H A D | mock_bundle_mgr_proxy.cpp | 42 const std::string &bundleName, const BundleFlag flag, BundleInfo &bundleInfo, int32_t userId) in GetBundleInfo() 44 bundleInfo.uid = 1; in GetBundleInfo() 41 GetBundleInfo( const std::string &bundleName, const BundleFlag flag, BundleInfo &bundleInfo, int32_t userId) GetBundleInfo() argument
|
/base/account/os_account/services/accountmgr/test/mock/common/ |
H A D | bundle_manager_adapter.cpp | 24 const std::string STRING_BUNDLEINFO_WITH_NO_VALID_EXTENSION = "com.bundleInfo.noExtension"; 25 const std::string STRING_BUNDLEINFO_WITH_NO_VALID_TYPE_EXTENSION = "com.bundleInfo.noValidTypeExtension"; 26 const std::string STRING_BUNDLEINFO_WITH_MULTIPLE_VALID_EXTENSION = "com.bundleInfo.noExtension"; 71 AppExecFwk::BundleInfo &bundleInfo, int32_t userId) in GetBundleInfo() 81 bundleInfo.extensionInfos.emplace_back(extensionInfo); in GetBundleInfo() 90 bundleInfo.extensionInfos.emplace_back(extensionInfo); in GetBundleInfo() 97 bundleInfo.extensionInfos.emplace_back(extensionInfo1); in GetBundleInfo() 101 bundleInfo.extensionInfos.emplace_back(extensionInfo2); in GetBundleInfo() 70 GetBundleInfo(const std::string &bundleName, const AppExecFwk::BundleFlag flag, AppExecFwk::BundleInfo &bundleInfo, int32_t userId) GetBundleInfo() argument
|
/base/telephony/call_manager/services/call_report/include/ |
H A D | call_ability_report_proxy.h | 34 int32_t RegisterCallBack(sptr<ICallAbilityCallback> callback, const std::string &bundleInfo); 35 int32_t UnRegisterCallBack(const std::string &bundleInfo); 45 int32_t ReportCallStateInfo(const CallAttributeInfo &info, std::string bundleInfo);
|
/base/hiviewdfx/hiview/plugins/faultlogger/service/sanitizer_collector/ |
H A D | zip_helper.cpp | 96 bool GetDfxBundleInfo(const std::string& bundleName, DfxBundleInfo& bundleInfo) in GetDfxBundleInfo() argument 108 bundleInfo.isPreInstalled = info.isPreInstallApp; in GetDfxBundleInfo() 109 bundleInfo.versionName = info.versionName; in GetDfxBundleInfo() 110 bundleInfo.versionCode = info.versionCode; in GetDfxBundleInfo()
|
/base/security/dlp_permission_service/services/dlp_permission/sa/sa_common/ |
H A D | bundle_manager_adapter.cpp | 73 AppExecFwk::BundleInfo &bundleInfo, int32_t userId) in GetBundleInfo() 81 return proxy_->GetBundleInfo(bundleName, flag, bundleInfo, userId); in GetBundleInfo() 97 AppExecFwk::BundleInfo &bundleInfo, int32_t userId) in GetBundleInfoV9() 105 return proxy_->GetBundleInfoV9(bundleName, flag, bundleInfo, userId); in GetBundleInfoV9() 72 GetBundleInfo(const std::string &bundleName, int32_t flag, AppExecFwk::BundleInfo &bundleInfo, int32_t userId) GetBundleInfo() argument 96 GetBundleInfoV9(const std::string &bundleName, AppExecFwk::BundleFlag flag, AppExecFwk::BundleInfo &bundleInfo, int32_t userId) GetBundleInfoV9() argument
|
H A D | bundle_manager_adapter.h | 35 AppExecFwk::BundleInfo &bundleInfo, int32_t userId); 39 AppExecFwk::BundleInfo &bundleInfo, int32_t userId);
|
/base/customization/enterprise_device_management/common/external/src/ |
H A D | edm_bundle_manager_impl.cpp | 54 AppExecFwk::BundleInfo &bundleInfo, int32_t userId) in GetBundleInfo() 58 if (proxy && proxy->GetBundleInfo(bundleName, flag, bundleInfo, userId)) { in GetBundleInfo() 53 GetBundleInfo(const std::string &bundleName, const AppExecFwk::BundleFlag flag, AppExecFwk::BundleInfo &bundleInfo, int32_t userId) GetBundleInfo() argument
|
/base/notification/distributed_notification_service/services/ans/test/unittest/bundle_manager_helper_branch_test/ |
H A D | bundle_manager_helper_branch_test.cpp | 103 AppExecFwk::BundleInfo bundleInfo;
in HWTEST_F() local 104 ASSERT_EQ(false, bundleManagerHelper.GetBundleInfoByBundleName(bundle, userId, bundleInfo));
in HWTEST_F() 119 AppExecFwk::BundleInfo bundleInfo;
in HWTEST_F() local 120 ASSERT_EQ(false, bundleManagerHelper.GetBundleInfoByBundleName(bundle, userId, bundleInfo));
in HWTEST_F()
|