/base/notification/distributed_notification_service/services/ans/src/clone/ |
H A D | notification_clone_bundle_service.cpp | 48 ANS_LOGI("Notification bundle backup."); in OnBackup() 54 ANS_LOGI("Notification bundle list is empty."); in OnBackup() 62 ANS_LOGD("Event bundle backup %{public}s.", cloneBundles[index].Dump().c_str()); in OnBackup() 64 ANS_LOGD("Notification bundle list %{public}s", jsonObject.dump().c_str()); in OnBackup() 70 ANS_LOGI("Notification bundle list on restore."); in OnRestore() 84 ANS_LOGI("Notification bundle list size %{public}zu.", bundlesInfo_.size()); in OnRestore() 86 ANS_LOGE("Clone bundle is invalidated or empty."); in OnRestore() 90 for (auto bundle = bundlesInfo_.begin(); bundle != bundlesInfo_.end();) { in OnRestore() 91 int32_t uid = NotificationCloneUtil::GetBundleUid(bundle in OnRestore() [all...] |
H A D | notification_clone_disturb_service.cpp | 122 // get application uid with bundle name and appindex. in GetProfileUid() 123 for (auto& bundle : trustList) { in GetProfileUid() 124 std::string key = bundle.GetBundleName() + std::to_string(bundle.GetAppIndex()); in GetProfileUid() 126 bundle.SetUid(uidMap[key]); in GetProfileUid() 128 int32_t uid = NotificationCloneUtil::GetBundleUid(bundle.GetBundleName(), userId, bundle.GetAppIndex()); in GetProfileUid() 129 ANS_LOGW("Notification get uid %{public}d %{public}d %{public}s.", uid, bundle.GetAppIndex(), in GetProfileUid() 130 bundle.GetBundleName().c_str()); in GetProfileUid() 131 bundle in GetProfileUid() 206 CheckBundleInfo(std::vector<NotificationBundleOption>& trustList, std::vector<NotificationBundleOption>& bundleList, const NotificationBundleOption& bundle) CheckBundleInfo() argument [all...] |
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | enabled_notification_callback_data_test.cpp | 43 std::string bundle = "Bundle"; in HWTEST_F() local 46 auto rrc = std::make_shared<EnabledNotificationCallbackData>(bundle, uid, enable); in HWTEST_F() 47 rrc->SetBundle(bundle); in HWTEST_F() 48 EXPECT_EQ(rrc->GetBundle(), bundle); in HWTEST_F() 59 std::string bundle = "Bundle"; in HWTEST_F() local 62 auto rrc = std::make_shared<EnabledNotificationCallbackData>(bundle, uid, enable); in HWTEST_F() 75 std::string bundle = "Bundle"; in HWTEST_F() local 78 auto rrc = std::make_shared<EnabledNotificationCallbackData>(bundle, uid, enable); in HWTEST_F() 91 std::string bundle = "Bundle"; in HWTEST_F() local 94 std::string result = "EnabledNotificationCallbackData{ bundle in HWTEST_F() 107 std::string bundle = "Bundle"; HWTEST_F() local 123 std::string bundle = "Bundle"; HWTEST_F() local 145 std::string bundle = "Bundle"; HWTEST_F() local [all...] |
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | advanced_notification_slot_service_test.cpp | 134 sptr<NotificationBundleOption> bundle = nullptr; in HWTEST_F() local 135 ASSERT_EQ(advancedNotificationService_->GetSlotsByBundle(bundle, slots), (int)ERR_ANS_INVALID_BUNDLE); in HWTEST_F() 149 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1); in HWTEST_F() local 151 ASSERT_EQ(advancedNotificationService_->GetSlotsByBundle(bundle, slots), (int)ERR_ANS_INVALID_PARAM); in HWTEST_F() 165 sptr<NotificationBundleOption> bundle = nullptr; in HWTEST_F() local 166 ASSERT_EQ(advancedNotificationService_->UpdateSlots(bundle, slots), (int)ERR_ANS_INVALID_BUNDLE); in HWTEST_F() 168 bundle = new NotificationBundleOption("test", 1); in HWTEST_F() 170 ASSERT_EQ(advancedNotificationService_->UpdateSlots(bundle, slots), (int)ERR_ANS_INVALID_PARAM); in HWTEST_F() 188 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1); in HWTEST_F() local 189 auto ret = advancedNotificationService_->UpdateSlots(bundle, slot in HWTEST_F() 243 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1); HWTEST_F() local 262 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1); HWTEST_F() local 282 sptr<NotificationBundleOption> bundle = nullptr; HWTEST_F() local 302 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1); HWTEST_F() local 323 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1); HWTEST_F() local 346 sptr<NotificationBundleOption> bundle = nullptr; HWTEST_F() local 414 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1); HWTEST_F() local 433 sptr<NotificationBundleOption> bundle = nullptr; HWTEST_F() local 450 sptr<NotificationBundleOption> bundle = nullptr; HWTEST_F() local 477 sptr<NotificationBundleOption> bundle = nullptr; HWTEST_F() local 493 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1); HWTEST_F() local 516 sptr<NotificationBundleOption> bundle = nullptr; HWTEST_F() local 530 sptr<NotificationBundleOption> bundle = nullptr; HWTEST_F() local [all...] |
H A D | advanced_notification_utils_test.cpp | 60 void TestAddNotification(int notificationId, const sptr<NotificationBundleOption> &bundle); 126 void AnsUtilsTest::TestAddNotification(int notificationId, const sptr<NotificationBundleOption> &bundle) in TestAddNotification() argument 136 auto record = advancedNotificationService_->MakeNotificationRecord(request, bundle); in TestAddNotification() 173 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1); in HWTEST_F() local 176 int ret = advancedNotificationService_->IsAllowedGetNotificationByFilter(record, bundle); in HWTEST_F() 180 ret = advancedNotificationService_->IsAllowedGetNotificationByFilter(record, bundle); in HWTEST_F() 214 sptr<NotificationBundleOption> bundle; in HWTEST_F() local 217 bundle, notificationId, label, keys, newRequest), in HWTEST_F() 246 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1); in HWTEST_F() local 247 auto record = advancedNotificationService_->MakeNotificationRecord(oldRequest, bundle); in HWTEST_F() 307 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1); HWTEST_F() local 329 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1); HWTEST_F() local 369 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1); HWTEST_F() local 387 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1); HWTEST_F() local 406 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1); HWTEST_F() local [all...] |
H A D | bundle_manager_helper_test.cpp | 104 std::string bundle = "Bundle"; in HWTEST_F() local 108 bool result = bundleManagerHelper.GetBundleInfoByBundleName(bundle, userId, bundleInfo); in HWTEST_F() 120 std::string bundle = "Bundle"; in HWTEST_F() local 123 int32_t result = bundleManagerHelper.GetDefaultUidByBundleName(bundle, userId); in HWTEST_F() 135 std::string bundle = "Bundle"; in HWTEST_F() local 138 bool result = bundleManagerHelper.GetDistributedNotificationEnabled(bundle, userId); in HWTEST_F() 150 std::string bundle = "Bundle"; in HWTEST_F() local 156 bool result = bundleManagerHelper->GetDistributedNotificationEnabled(bundle, userId); in HWTEST_F()
|
H A D | advanced_notification_live_view_service_test.cpp | 112 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1); in HWTEST_F() local 114 auto record = advancedNotificationService_->MakeNotificationRecord(request, bundle); in HWTEST_F() 116 { .request = record->request, .bundleOption = bundle}; in HWTEST_F() 147 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", 1); in HWTEST_F() local 150 { .request = request, .bundleOption = bundle}; in HWTEST_F() 189 auto bundle = new NotificationBundleOption("test", 1); in HWTEST_F() local 191 { .request = request, .bundleOption = bundle}; in HWTEST_F() 269 sptr<NotificationBundleOption> bundle = new NotificationBundleOption("test", creatorUid); in HWTEST_F() local 270 auto record = advancedNotificationService_->MakeNotificationRecord(request, bundle); in HWTEST_F() 295 sptr<NotificationBundleOption> bundle in HWTEST_F() local [all...] |
H A D | advanced_notification_publish_service_test.cpp | 53 void TestAddNotification(int notificationId, const sptr<NotificationBundleOption> &bundle); 85 void AnsPublishServiceTest::TestAddNotification(int notificationId, const sptr<NotificationBundleOption> &bundle) in TestAddNotification() argument 95 auto record = advancedNotificationService_->MakeNotificationRecord(request, bundle); in TestAddNotification() 301 sptr<NotificationBundleOption> bundle = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID); in HWTEST_F() local 303 auto ret = advancedNotificationService_->DeleteByBundle(bundle); in HWTEST_F() 315 auto bundle = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID); in HWTEST_F() local 316 TestAddNotification(1, bundle); in HWTEST_F() 317 auto ret = advancedNotificationService_->DeleteByBundle(bundle); in HWTEST_F() 360 sptr<NotificationBundleOption> bundle = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID); in HWTEST_F() local 362 auto ret = advancedNotificationService_->SetShowBadgeEnabledForBundle(bundle, tru in HWTEST_F() 463 auto bundle = advancedNotificationService_->GenerateBundleOption(); HWTEST_F() local 496 sptr<NotificationBundleOption> bundle = nullptr; HWTEST_F() local 526 sptr<NotificationBundleOption> bundle = nullptr; HWTEST_F() local 540 sptr<NotificationBundleOption> bundle = nullptr; HWTEST_F() local 568 auto bundle = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID); HWTEST_F() local 613 auto bundle = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID); HWTEST_F() local 637 sptr<NotificationBundleOption> bundle = nullptr; HWTEST_F() local 658 auto bundle = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID); HWTEST_F() local 687 auto bundle = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID); HWTEST_F() local 1060 auto bundle = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID); HWTEST_F() local 1096 auto bundle = new NotificationBundleOption(TEST_DEFUALT_BUNDLE, NON_SYSTEM_APP_UID); HWTEST_F() local [all...] |
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | advanced_notification_slot_service.cpp | 142 sptr<NotificationBundleOption> bundle = GenerateValidBundleOption(bundleOption); in GetSlotsByBundle() local 143 if (bundle == nullptr) { in GetSlotsByBundle() 155 result = NotificationPreferences::GetInstance()->GetNotificationAllSlots(bundle, slots); in GetSlotsByBundle() 182 sptr<NotificationBundleOption> bundle = GenerateValidBundleOption(bundleOption); in GetSlotByBundle() local 195 result = NotificationPreferences::GetInstance()->GetNotificationSlot(bundle, slotType, slot); in GetSlotByBundle() 220 sptr<NotificationBundleOption> bundle = GenerateValidBundleOption(bundleOption); in UpdateSlots() local 221 if (bundle == nullptr) { in UpdateSlots() 232 result = NotificationPreferences::GetInstance()->UpdateNotificationSlots(bundle, slots); in UpdateSlots() 240 PublishSlotChangeCommonEvent(bundle); in UpdateSlots() 384 sptr<NotificationBundleOption> bundle in GetSlotFlagsAsBundle() local 427 sptr<NotificationBundleOption> bundle = GenerateValidBundleOption(bundleOption); SetSlotFlagsAsBundle() local 496 UpdateSlotReminderModeBySlotFlags( const sptr<NotificationBundleOption> &bundle, uint32_t slotFlags) UpdateSlotReminderModeBySlotFlags() argument 531 GenerateSlotReminderMode(const sptr<NotificationSlot> &slot, const sptr<NotificationBundleOption> &bundle, bool isSpecifiedSlot, uint32_t defaultSlotFlags) GenerateSlotReminderMode() argument 688 sptr<NotificationBundleOption> bundle = GenerateValidBundleOption(bundleOption); GetSlotNumAsBundle() local 712 AddSlotThenPublishEvent( const sptr<NotificationSlot> &slot, const sptr<NotificationBundleOption> &bundle, bool enabled, bool isForceControl) AddSlotThenPublishEvent() argument 748 SetEnabledForBundleSlotInner( const sptr<NotificationBundleOption> &bundleOption, const sptr<NotificationBundleOption> &bundle, const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl) SetEnabledForBundleSlotInner() argument 791 sptr<NotificationBundleOption> bundle = GenerateValidBundleOption(bundleOption); SetEnabledForBundleSlot() local 820 sptr<NotificationBundleOption> bundle = GenerateValidBundleOption(bundleOption); GetEnabledForBundleSlot() local [all...] |
H A D | notification_dialog_manager.cpp | 89 const sptr<NotificationBundleOption>& bundle, in RequestEnableNotificationDailog() 93 if (bundle == nullptr || callback == nullptr) { in RequestEnableNotificationDailog() 96 if (!AddDialogInfoIfNotExist(bundle, callback)) { in RequestEnableNotificationDailog() 97 ANS_LOGE("AddDialogIfNotExist failed. Dialog already exists. bundle = %{public}s", in RequestEnableNotificationDailog() 98 bundle->GetBundleName().c_str()); in RequestEnableNotificationDailog() 104 bundle->GetUid(), in RequestEnableNotificationDailog() 105 bundle->GetBundleName(), in RequestEnableNotificationDailog() 110 RemoveDialogInfoByBundleOption(bundle, dialogInfoRemoved); in RequestEnableNotificationDailog() 146 ErrCode NotificationDialogManager::AddDialogInfo(const sptr<NotificationBundleOption>& bundle, in AddDialogInfo() argument 149 if (!AddDialogInfoIfNotExist(bundle, callbac in AddDialogInfo() 88 RequestEnableNotificationDailog( const sptr<NotificationBundleOption>& bundle, const sptr<AnsDialogCallback>& callback, const sptr<IRemoteObject>& callerToken) RequestEnableNotificationDailog() argument 155 AddDialogInfoIfNotExist( const sptr<NotificationBundleOption>& bundle, const sptr<AnsDialogCallback>& callback) AddDialogInfoIfNotExist() argument 191 RemoveDialogInfoByBundleOption(const sptr<NotificationBundleOption>& bundle, std::unique_ptr<DialogInfo>& dialogInfoRemoved) RemoveDialogInfoByBundleOption() argument [all...] |
H A D | bundle_manager_helper.cpp | 51 std::string bundle; in GetBundleNameByUid() local 59 bundleMgr_->GetNameForUid(uid, bundle); in GetBundleNameByUid() 63 return bundle; in GetBundleNameByUid() 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() 155 int32_t BundleManagerHelper::GetDefaultUidByBundleName(const std::string &bundle, const int32_t userId) in GetDefaultUidByBundleName() argument 165 uid = bundleMgr_->GetUidByBundleName(bundle, userId); in GetDefaultUidByBundleName() 167 ANS_LOGW("get invalid uid of bundle %{public}s in userId %{public}d", bundle.c_str(), userId); in GetDefaultUidByBundleName() 245 int32_t BundleManagerHelper::GetDefaultUidByBundleName(const std::string &bundle, cons argument 108 GetBundleInfoByBundleName( const std::string bundle, const int32_t userId, AppExecFwk::BundleInfo &bundleInfo) GetBundleInfoByBundleName() argument [all...] |
H A D | advanced_notification_publish_service.cpp | 71 sptr<NotificationBundleOption> bundle = GenerateValidBundleOption(bundleOption); in SetDefaultNotificationEnabled() local 72 if (bundle == nullptr) { in SetDefaultNotificationEnabled() 76 new (std::nothrow) EnabledNotificationCallbackData(bundle->GetBundleName(), bundle->GetUid(), enabled); in SetDefaultNotificationEnabled() 81 SetSlotFlagsTrustlistsAsBundle(bundle); in SetDefaultNotificationEnabled() 83 result = NotificationPreferences::GetInstance()->SetNotificationsEnabledForBundle(bundle, enabled); in SetDefaultNotificationEnabled() 86 PublishSlotChangeCommonEvent(bundle); in SetDefaultNotificationEnabled() 194 std::string bundle = request->GetCreatorBundleName(); in PublishNotificationForIndirectProxy() local 199 record->bundleOption = new (std::nothrow) NotificationBundleOption(bundle, uid); in PublishNotificationForIndirectProxy() 201 sptr<NotificationBundleOption> bundleOption = new (std::nothrow) NotificationBundleOption(bundle, ui in PublishNotificationForIndirectProxy() 425 sptr<NotificationBundleOption> bundle = new (std::nothrow) NotificationBundleOption( CancelAsBundle() local 492 sptr<NotificationBundleOption> bundle = new (std::nothrow) NotificationBundleOption( CancelAsBundleWithAgent() local 609 sptr<NotificationBundleOption> bundle = GenerateValidBundleOption(bundleOption); DeleteByBundle() local 744 sptr<NotificationBundleOption> bundle = GenerateValidBundleOption(bundleOption); SetShowBadgeEnabledForBundle() local 794 sptr<NotificationBundleOption> bundle = GenerateValidBundleOption(bundleOption); GetShowBadgeEnabledForBundle() local 958 sptr<NotificationBundleOption> bundle = GenerateValidBundleOption(bundleOption); SetNotificationsEnabledForSpecialBundle() local 1407 sptr<NotificationBundleOption> bundle = GenerateValidBundleOption(bundleOption); TriggerLocalLiveView() local 1471 sptr<NotificationBundleOption> bundle = GenerateValidBundleOption(bundleOption); RemoveNotification() local 1580 sptr<NotificationBundleOption> bundle = GenerateValidBundleOption(bundleOption); RemoveAllNotificationsInner() local 1731 sptr<NotificationBundleOption> bundle = GenerateValidBundleOption(bundleOption); RemoveNotificationBySlot() local 1954 sptr<NotificationBundleOption> bundle = GenerateValidBundleOption(bundleOption); RemoveGroupByBundle() local 2170 std::string bundle = ""; PublishNotificationBySa() local 2297 sptr<NotificationBundleOption> bundle = bundleOption; SetBadgeNumberByBundle() local 2389 sptr<NotificationBundleOption> bundle = GenerateValidBundleOption(bundleOption); SetDistributedEnabledByBundle() local 2414 sptr<NotificationBundleOption> bundle = GenerateValidBundleOption(bundleOption); IsDistributedEnabledByBundle() local [all...] |
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | badge_number_callback_data.cpp | 26 BadgeNumberCallbackData::BadgeNumberCallbackData(const std::string &bundle, int32_t uid, int32_t badgeNumber) in BadgeNumberCallbackData() argument 27 : bundle_(bundle), uid_(uid), badgeNumber_(badgeNumber) in BadgeNumberCallbackData() 30 BadgeNumberCallbackData::BadgeNumberCallbackData(const std::string &bundle, int32_t uid, in BadgeNumberCallbackData() argument 32 : bundle_(bundle), uid_(uid), badgeNumber_(badgeNumber), instanceKey_(instanceKey) in BadgeNumberCallbackData() 35 void BadgeNumberCallbackData::SetBundle(const std::string &bundle) in SetBundle() argument 37 bundle_ = bundle; in SetBundle() 78 "bundle = " + bundle_ + in Dump() 88 ANS_LOGE("Failed to write bundle name"); in Marshalling()
|
H A D | enabled_notification_callback_data.cpp | 26 EnabledNotificationCallbackData::EnabledNotificationCallbackData(std::string bundle, uid_t uid, bool enable) in EnabledNotificationCallbackData() argument 27 : bundle_(bundle), uid_(uid), enable_(enable) in EnabledNotificationCallbackData() 30 void EnabledNotificationCallbackData::SetBundle(const std::string bundle) in SetBundle() argument 32 bundle_ = bundle; in SetBundle() 63 "bundle = " + bundle_ + in Dump() 72 ANS_LOGE("Failed to write bundle name"); in Marshalling()
|
/base/request/request/services/src/task/ |
H A D | files.rs | 56 let bundle = config.bundle.as_str(); in open_task_files() 59 let bundle_and_account = check_atomic_convert_path(is_account, bundle, atomic_account); in open_task_files() 125 let bundle = config.bundle.as_str(); in open_body_files() 128 let bundle_and_account = check_atomic_convert_path(is_account, bundle, atomic_account); in open_body_files() 143 fn open_file_readwrite(uid: u64, bundle: &str, path: &str) -> io::Result<File> { in open_file_readwrite() 148 .open(convert_path(uid, bundle, path)), in open_file_readwrite() 164 bundle: &str, 168 format!("+auid-{}+{}", atomic_account, bundle) [all...] |
H A D | client.rs | 83 "ApiPolicy Domain check, tid {}, bundle {}, domain_type {}, url {}", 84 config.common_data.task_id, &config.bundle, &domain_type, &config.url 87 if let Some(is_accessed) = check_url_domain(&config.bundle, &domain_type, &config.url) { 90 "Intercept request by domain check, tid {}, bundle {}, domain_type {}, url {}", 91 config.common_data.task_id, &config.bundle, &domain_type, &config.url 106 let interceptors = DomainInterceptor::new(config.bundle.clone(), domain_type); 177 let bundle = config.bundle.as_str(); in build_task_certs() 181 let bundle_and_account = check_atomic_convert_path(is_account, bundle, atomic_account); in build_task_certs() 226 "ApiPolicy Domain check redirect, bundle {}, domain_typ in intercept_redirect_request() [all...] |
/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/ |
H A D | provision_verify_test.cpp | 48 "bundle-info": { 52 "bundle-name": "com.test1_1", 68 "bundle-info": { 72 "bundle-name": "com.test2", 88 "bundle-info": { 92 "bundle-name": "com.test2", 108 "bundle-info": { 112 "bundle-name": "com.test3", 133 "bundle-info": { 137 "bundle [all...] |
/base/notification/distributed_notification_service/services/ans/test/unittest/bundle_manager_helper_branch_test/ |
H A D | bundle_manager_helper_branch_test.cpp | 101 std::string bundle = "aa";
in HWTEST_F() local 104 ASSERT_EQ(false, bundleManagerHelper.GetBundleInfoByBundleName(bundle, userId, bundleInfo));
in HWTEST_F() 117 std::string bundle = "aa";
in HWTEST_F() local 120 ASSERT_EQ(false, bundleManagerHelper.GetBundleInfoByBundleName(bundle, userId, bundleInfo));
in HWTEST_F() 212 std::string bundle = "aa";
in HWTEST_F() local 214 ASSERT_EQ(-1, bundleManagerHelper.GetDefaultUidByBundleName(bundle, userId));
in HWTEST_F() 226 std::string bundle = "aa";
in HWTEST_F() local 228 ASSERT_EQ(-1, bundleManagerHelper.GetDefaultUidByBundleName(bundle, userId));
in HWTEST_F()
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | badge_number_callback_data.h | 33 * @param bundle Indicates the name of the application. 37 BadgeNumberCallbackData(const std::string &bundle, int32_t uid, int32_t badgeNumber); 41 * @param bundle Indicates the name of the application. 46 BadgeNumberCallbackData(const std::string &bundle, int32_t uid, int32_t badgeNumber, int32_t instanceKey); 53 void SetBundle(const std::string &bundle);
|
H A D | enabled_notification_callback_data.h | 33 * @param bundle Indicates the name of the application. 37 EnabledNotificationCallbackData(std::string bundle, uid_t uid, bool enable); 44 void SetBundle(const std::string bundle);
|
/base/security/code_signature/test/unittest/ |
H A D | rust_key_enable_test.rs | 122 "bundle-info": { in test_parse_enterprise_profile() 125 "bundle-name": "com.test.enterprise", in test_parse_enterprise_profile() 161 "bundle-info": { in test_parse_enterprise_normal_profile() 164 "bundle-name": "com.test.enterprise_normal", in test_parse_enterprise_normal_profile() 200 "bundle-info": { in test_parse_enterprise_mdm_profile() 203 "bundle-name": "com.test.enterprise_mdm", in test_parse_enterprise_mdm_profile() 239 "bundle-info": { in test_parse_debug_profile() 242 "bundle-name": "com.test.developer", in test_parse_debug_profile() 284 "bundle-info": { in test_parse_iternaltesting_profile() 287 "bundle in test_parse_iternaltesting_profile() [all...] |
/base/request/request/services/src/service/command/ |
H A D | search.rs | 24 let bundle: String = data.read()?; 27 debug!("Service system api search: bundle name is {}", bundle); 28 SearchMethod::System(bundle)
|
/base/hiviewdfx/hiview/core/include/ |
H A D | plugin_bundle.h | 32 PluginBundle(PluginBundle&& bundle) = delete; member in OHOS::HiviewDFX::PluginBundle 33 PluginBundle& operator=(PluginBundle&& bundle) = delete; member in OHOS::HiviewDFX::PluginBundle
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/ |
H A D | mock_bundle_manager_helper.cpp | 47 int BundleManagerHelper::GetDefaultUidByBundleName(const std::string &bundle, const int32_t userId) in GetDefaultUidByBundleName() argument 53 const std::string bundle, const int32_t userId, AppExecFwk::BundleInfo &bundleInfo) in GetBundleInfoByBundleName() 52 GetBundleInfoByBundleName( const std::string bundle, const int32_t userId, AppExecFwk::BundleInfo &bundleInfo) GetBundleInfoByBundleName() argument
|
/base/notification/distributed_notification_service/services/test/moduletest/mock/ |
H A D | mock_bundle_manager_helper.cpp | 52 int BundleManagerHelper::GetDefaultUidByBundleName(const std::string &bundle, const int32_t userId) in GetDefaultUidByBundleName() argument 58 const std::string bundle, const int32_t userId, AppExecFwk::BundleInfo &bundleInfo) in GetBundleInfoByBundleName() 57 GetBundleInfoByBundleName( const std::string bundle, const int32_t userId, AppExecFwk::BundleInfo &bundleInfo) GetBundleInfoByBundleName() argument
|