Home
last modified time | relevance | path

Searched refs:hasPopped (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_preferences.h232 ErrCode GetHasPoppedDialog(const sptr<NotificationBundleOption> &bundleOption, bool &hasPopped);
233 ErrCode SetHasPoppedDialog(const sptr<NotificationBundleOption> &bundleOption, bool hasPopped);
H A Dnotification_dialog_manager.h117 …static bool SetHasPoppedDialog(const sptr<NotificationBundleOption>& bundleOption, bool hasPopped);
H A Dnotification_preferences_info.h108 void SetHasPoppedDialog(const bool &hasPopped);
H A Dnotification_preferences_database.h147 …tHasPoppedDialog(const NotificationPreferencesInfo::BundleInfo &bundleInfo, const bool &hasPopped);
H A Dadvanced_notification_service.h1296 ErrCode GetHasPoppedDialog(const sptr<NotificationBundleOption> bundleOption, bool &hasPopped);
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dnotification_dialog_manager.cpp218 const sptr<NotificationBundleOption>& bundleOption, bool hasPopped) in SetHasPoppedDialog() argument
224 …rCode result = NotificationPreferences::GetInstance()->SetHasPoppedDialog(bundleOption, hasPopped); in SetHasPoppedDialog()
H A Dnotification_preferences_info.cpp86 void NotificationPreferencesInfo::BundleInfo::SetHasPoppedDialog(const bool &hasPopped) in SetHasPoppedDialog() argument
88 hasPoppedDialog_ = hasPopped; in SetHasPoppedDialog()
H A Dnotification_preferences.cpp480 …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 Dadvanced_notification_publish_service.cpp903 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 Dadvanced_notification_service.cpp1782 const sptr<NotificationBundleOption> bundleOption, bool &hasPopped) in GetHasPoppedDialog() argument
1791 … result = NotificationPreferences::GetInstance()->GetHasPoppedDialog(bundleOption, hasPopped); in GetHasPoppedDialog()
H A Dnotification_preferences_database.cpp421 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 Dnotification_preferences_test.cpp992 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 Dadvanced_notification_service_test.cpp1169 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 Dnotification_preferences_database_branch_test.cpp247 bool hasPopped = true; variable
248 ASSERT_EQ(preferncesDB_->PutHasPoppedDialog(bundleInfo, hasPopped), false);