Home
last modified time | relevance | path

Searched refs:RemoveAllSlotsFromDisturbeDB (Results 1 - 5 of 5) sorted by relevance

/base/notification/distributed_notification_service/services/ans/test/unittest/notification_preferences_database_branch_test/
H A Dnotification_preferences_database_branch_test.cpp507 * @tc.desc : test RemoveAllSlotsFromDisturbeDB function and CheckRdbStore is false
513 // test RemoveAllSlotsFromDisturbeDB function in HWTEST_F()
515 ASSERT_EQ(preferncesDB_->RemoveAllSlotsFromDisturbeDB(bundleKey, -1), false); in HWTEST_F()
521 * @tc.desc : test RemoveAllSlotsFromDisturbeDB function and result == NativeRdb::E_ERROR
529 // test RemoveAllSlotsFromDisturbeDB function in HWTEST_F()
531 ASSERT_EQ(preferncesDB_->RemoveAllSlotsFromDisturbeDB(bundleKey, -1), false); in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_preferences_database.h208 bool RemoveAllSlotsFromDisturbeDB(const std::string &bundleKey, const int32_t &bundleUid);
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_preferences_database_test.cpp420 * @tc.name : RemoveAllSlotsFromDisturbeDB
421 * @tc.desc : Test RemoveAllSlotsFromDisturbeDB function return is true
427 ASSERT_EQ(preferncesDB_->RemoveAllSlotsFromDisturbeDB(bundleKey, -1), true); in HWTEST_F()
853 * @tc.name : RemoveAllSlotsFromDisturbeDB
854 * @tc.desc : Test RemoveAllSlotsFromDisturbeDB function return is true
860 ASSERT_EQ(preferncesDB_->RemoveAllSlotsFromDisturbeDB(bundleKey, -1), false); in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/src/
H A Dnotification_preferences.cpp165 if (!preferncesDB_->RemoveAllSlotsFromDisturbeDB(GenerateBundleKey(bundleOption), bundleOption->GetUid())) { in RemoveNotificationAllSlots()
H A Dnotification_preferences_database.cpp833 bool NotificationPreferencesDatabase::RemoveAllSlotsFromDisturbeDB( in RemoveAllSlotsFromDisturbeDB() function in OHOS::Notification::NotificationPreferencesDatabase

Completed in 12 milliseconds