Home
last modified time | relevance | path

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

/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_dialog_manager.h117 static bool SetHasPoppedDialog(const sptr<NotificationBundleOption>& bundleOption, bool hasPopped);
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_preferences_info.h108 void SetHasPoppedDialog(const bool &hasPopped);
H A Dnotification_preferences_database.h147 bool PutHasPoppedDialog(const NotificationPreferencesInfo::BundleInfo &bundleInfo, const bool &hasPopped);
H A Dadvanced_notification_service.h1288 ErrCode GetHasPoppedDialog(const sptr<NotificationBundleOption> bundleOption, bool &hasPopped);
/base/notification/distributed_notification_service/services/ans/src/
H A Dnotification_dialog_manager.cpp219 const sptr<NotificationBundleOption>& bundleOption, bool hasPopped) in SetHasPoppedDialog()
225 ErrCode result = NotificationPreferences::GetInstance()->SetHasPoppedDialog(bundleOption, hasPopped); in SetHasPoppedDialog()
218 SetHasPoppedDialog( const sptr<NotificationBundleOption>& bundleOption, bool hasPopped) SetHasPoppedDialog() argument
H A Dnotification_preferences_info.cpp85 void NotificationPreferencesInfo::BundleInfo::SetHasPoppedDialog(const bool &hasPopped) in SetHasPoppedDialog() argument
87 hasPoppedDialog_ = hasPopped; in SetHasPoppedDialog()
H A Dnotification_preferences.cpp461 ErrCode NotificationPreferences::GetHasPoppedDialog(const sptr<NotificationBundleOption> &bundleOption, bool &hasPopped) in GetHasPoppedDialog() argument
466 return GetBundleProperty(bundleOption, BundleType::BUNDLE_POPPED_DIALOG_TYPE, hasPopped); in GetHasPoppedDialog()
469 ErrCode NotificationPreferences::SetHasPoppedDialog(const sptr<NotificationBundleOption> &bundleOption, bool hasPopped) in SetHasPoppedDialog() argument
477 result = SetBundleProperty(preferencesInfo, bundleOption, BundleType::BUNDLE_POPPED_DIALOG_TYPE, hasPopped); in SetHasPoppedDialog()
H A Dadvanced_notification_publish_service.cpp875 bool hasPopped = false; in RequestEnableNotification() local
876 result = GetHasPoppedDialog(bundleOption, hasPopped); in RequestEnableNotification()
882 if (hasPopped) { in RequestEnableNotification()
1067 bool hasPopped = false; in CanPopEnableNotificationDialog() local
1068 result = GetHasPoppedDialog(bundleOption, hasPopped); in CanPopEnableNotificationDialog()
1074 if (hasPopped) { in CanPopEnableNotificationDialog()
H A Dadvanced_notification_service.cpp1867 const sptr<NotificationBundleOption> bundleOption, bool &hasPopped) in GetHasPoppedDialog()
1876 result = NotificationPreferences::GetInstance()->GetHasPoppedDialog(bundleOption, hasPopped); in GetHasPoppedDialog()
1866 GetHasPoppedDialog( const sptr<NotificationBundleOption> bundleOption, bool &hasPopped) GetHasPoppedDialog() argument
H A Dnotification_preferences_database.cpp421 const NotificationPreferencesInfo::BundleInfo &bundleInfo, const bool &hasPopped) in PutHasPoppedDialog()
433 int32_t result = PutBundlePropertyToDisturbeDB(bundleKey, BundleType::BUNDLE_POPPED_DIALOG_TYPE, hasPopped, in PutHasPoppedDialog()
420 PutHasPoppedDialog( const NotificationPreferencesInfo::BundleInfo &bundleInfo, const bool &hasPopped) PutHasPoppedDialog() argument
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_preferences_test.cpp992 bool hasPopped = false; in HWTEST_F() local
994 ASSERT_EQ((int)NotificationPreferences::GetInstance()->SetHasPoppedDialog(bundleOption_, hasPopped), (int)ERR_OK); in HWTEST_F()
1008 bool hasPopped = false; in HWTEST_F() local
1009 ASSERT_EQ((int)NotificationPreferences::GetInstance()->GetHasPoppedDialog(bundleOption_, hasPopped), (int)ERR_OK); in HWTEST_F()
1010 EXPECT_TRUE(hasPopped); in HWTEST_F()
H A Dadvanced_notification_service_test.cpp1171 bool hasPopped = true; in HWTEST_F() local
1172 ASSERT_EQ(advancedNotificationService_->GetHasPoppedDialog(bundleOption, hasPopped), (int)ERR_ANS_INVALID_PARAM); in HWTEST_F()
/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; in HWTEST_F() local
248 ASSERT_EQ(preferncesDB_->PutHasPoppedDialog(bundleInfo, hasPopped), false); in HWTEST_F()

Completed in 28 milliseconds