/ohos5.0/base/notification/distributed_notification_service/services/ans/include/ |
H A D | notification_preferences.h | 232 ErrCode GetHasPoppedDialog(const sptr<NotificationBundleOption> &bundleOption, bool &hasPopped); 233 ErrCode SetHasPoppedDialog(const sptr<NotificationBundleOption> &bundleOption, bool hasPopped);
|
H A D | notification_dialog_manager.h | 117 …static bool SetHasPoppedDialog(const sptr<NotificationBundleOption>& bundleOption, bool hasPopped);
|
H A D | notification_preferences_info.h | 108 void SetHasPoppedDialog(const bool &hasPopped);
|
H A D | notification_preferences_database.h | 147 …tHasPoppedDialog(const NotificationPreferencesInfo::BundleInfo &bundleInfo, const bool &hasPopped);
|
H A D | advanced_notification_service.h | 1296 ErrCode GetHasPoppedDialog(const sptr<NotificationBundleOption> bundleOption, bool &hasPopped);
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/ |
H A D | notification_dialog_manager.cpp | 218 const sptr<NotificationBundleOption>& bundleOption, bool hasPopped) in SetHasPoppedDialog() argument 224 …rCode result = NotificationPreferences::GetInstance()->SetHasPoppedDialog(bundleOption, hasPopped); in SetHasPoppedDialog()
|
H A D | notification_preferences_info.cpp | 86 void NotificationPreferencesInfo::BundleInfo::SetHasPoppedDialog(const bool &hasPopped) in SetHasPoppedDialog() argument 88 hasPoppedDialog_ = hasPopped; in SetHasPoppedDialog()
|
H A D | notification_preferences.cpp | 480 …references::GetHasPoppedDialog(const sptr<NotificationBundleOption> &bundleOption, bool &hasPopped) in GetHasPoppedDialog() argument 485 return GetBundleProperty(bundleOption, BundleType::BUNDLE_POPPED_DIALOG_TYPE, hasPopped); in GetHasPoppedDialog() 488 …Preferences::SetHasPoppedDialog(const sptr<NotificationBundleOption> &bundleOption, bool hasPopped) in SetHasPoppedDialog() argument 496 …SetBundleProperty(preferencesInfo, bundleOption, BundleType::BUNDLE_POPPED_DIALOG_TYPE, hasPopped); in SetHasPoppedDialog()
|
H A D | advanced_notification_publish_service.cpp | 903 bool hasPopped = false; in RequestEnableNotification() local 904 result = GetHasPoppedDialog(bundleOption, hasPopped); in RequestEnableNotification() 911 if (hasPopped) { in RequestEnableNotification() 1123 bool hasPopped = false; in CanPopEnableNotificationDialog() local 1124 result = GetHasPoppedDialog(bundleOption, hasPopped); in CanPopEnableNotificationDialog() 1131 if (hasPopped) { in CanPopEnableNotificationDialog()
|
H A D | advanced_notification_service.cpp | 1782 const sptr<NotificationBundleOption> bundleOption, bool &hasPopped) in GetHasPoppedDialog() argument 1791 … result = NotificationPreferences::GetInstance()->GetHasPoppedDialog(bundleOption, hasPopped); in GetHasPoppedDialog()
|
H A D | notification_preferences_database.cpp | 421 const NotificationPreferencesInfo::BundleInfo &bundleInfo, const bool &hasPopped) in PutHasPoppedDialog() argument 433 …result = PutBundlePropertyToDisturbeDB(bundleKey, BundleType::BUNDLE_POPPED_DIALOG_TYPE, hasPopped, in PutHasPoppedDialog()
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | notification_preferences_test.cpp | 992 bool hasPopped = false; variable 994 …NotificationPreferences::GetInstance()->SetHasPoppedDialog(bundleOption_, hasPopped), (int)ERR_OK); 1008 bool hasPopped = false; variable 1009 …NotificationPreferences::GetInstance()->GetHasPoppedDialog(bundleOption_, hasPopped), (int)ERR_OK); 1010 EXPECT_TRUE(hasPopped);
|
H A D | advanced_notification_service_test.cpp | 1169 bool hasPopped = true; variable 1170 …ASSERT_EQ(advancedNotificationService_->GetHasPoppedDialog(bundleOption, hasPopped), (int)ERR_ANS_…
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/notification_preferences_database_branch_test/ |
H A D | notification_preferences_database_branch_test.cpp | 247 bool hasPopped = true; variable 248 ASSERT_EQ(preferncesDB_->PutHasPoppedDialog(bundleInfo, hasPopped), false);
|