Home
last modified time | relevance | path

Searched refs:targetBundle (Results 1 - 7 of 7) sorted by relevance

/base/powermgr/battery_statistics/test/unittest/src/clienttest/
H A Dstats_dump_test.cpp248 std::string targetBundle = "TargetBundleName"; in HWTEST_F() local
255 "CALLING_TYPE", callType, "CALLING_UID", callUid, "CALLING_PID", callPid, "TARGET_BUNDLE", targetBundle, in HWTEST_F()
/base/powermgr/battery_statistics/test/unittest/src/servicetest/
H A Dstats_service_dump_test.cpp329 std::string targetBundle = "TargetBundleName"; in HWTEST_F() local
337 "CALLING_TYPE", callType, "CALLING_UID", callUid, "CALLING_PID", callPid, "TARGET_BUNDLE", targetBundle, in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_publish_service.cpp1190 sptr<NotificationBundleOption> targetBundle = nullptr; in IsSpecialBundleAllowedNotify() local
1193 targetBundle = GenerateValidBundleOption(bundleOption); in IsSpecialBundleAllowedNotify()
1196 ErrCode result = GetAppTargetBundle(bundleOption, targetBundle); in IsSpecialBundleAllowedNotify()
1202 if (targetBundle == nullptr) { in IsSpecialBundleAllowedNotify()
1215 result = NotificationPreferences::GetInstance()->GetNotificationsEnabledForBundle(targetBundle, allowed); in IsSpecialBundleAllowedNotify()
1218 allowed = CheckApiCompatibility(targetBundle); in IsSpecialBundleAllowedNotify()
H A Dadvanced_notification_utils.cpp203 sptr<NotificationBundleOption> &targetBundle) in GetAppTargetBundle()
211 targetBundle = clientBundle; in GetAppTargetBundle()
215 targetBundle = bundleOption; in GetAppTargetBundle()
221 targetBundle = GenerateValidBundleOption(bundleOption); in GetAppTargetBundle()
202 GetAppTargetBundle(const sptr<NotificationBundleOption> &bundleOption, sptr<NotificationBundleOption> &targetBundle) GetAppTargetBundle() argument
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_service_branch_test.cpp612 sptr<NotificationBundleOption> targetBundle(nullptr); in HWTEST_F()
614 ASSERT_EQ(advancedNotificationService_->GetAppTargetBundle(bundleOption, targetBundle), ERR_ANS_NON_SYSTEM_APP); in HWTEST_F()
H A Dadvanced_notification_service_test.cpp1651 sptr<NotificationBundleOption> targetBundle = nullptr; in HWTEST_F() local
1653 ASSERT_EQ(advancedNotificationService_->GetAppTargetBundle(bundleOption, targetBundle), ERR_OK); in HWTEST_F()
1669 sptr<NotificationBundleOption> targetBundle = nullptr; in HWTEST_F() local
1671 ASSERT_EQ(advancedNotificationService_->GetAppTargetBundle(bundleOption, targetBundle), ERR_OK); in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/include/
H A Dadvanced_notification_service.h1290 sptr<NotificationBundleOption> &targetBundle);

Completed in 18 milliseconds