Home
last modified time | relevance | path

Searched refs:RemoveBundleFromDisturbeDB (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.cpp406 * @tc.desc : test RemoveBundleFromDisturbeDB function and CheckRdbStore is false
412 // test RemoveBundleFromDisturbeDB function in HWTEST_F()
415 ASSERT_EQ(preferncesDB_->RemoveBundleFromDisturbeDB(bundleKey, uid), false); in HWTEST_F()
421 * @tc.desc : test RemoveBundleFromDisturbeDB function and result == NativeRdb::E_ERROR
429 // test RemoveBundleFromDisturbeDB function in HWTEST_F()
432 ASSERT_EQ(preferncesDB_->RemoveBundleFromDisturbeDB(bundleKey, uid), false); in HWTEST_F()
438 * @tc.desc : test RemoveBundleFromDisturbeDB function and result != NativeRdb::E_OK
448 // test RemoveBundleFromDisturbeDB function in HWTEST_F()
450 ASSERT_EQ(preferncesDB_->RemoveBundleFromDisturbeDB(bundleKey, -1), false); in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_preferences_database.h180 bool RemoveBundleFromDisturbeDB(const std::string &bundleKey, const int32_t &bundleUid);
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_preferences_database_test.cpp304 ASSERT_EQ(true, preferncesDB_->RemoveBundleFromDisturbeDB(bundleName_, uid)); in HWTEST_F()
315 ASSERT_EQ(true, preferncesDB_->RemoveBundleFromDisturbeDB(std::string(), uid)); in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/src/
H A Dnotification_preferences.cpp193 if (!preferncesDB_->RemoveBundleFromDisturbeDB(GenerateBundleKey(bundleOption), bundleOption->GetUid())) { in RemoveNotificationForBundle()
H A Dnotification_preferences_database.cpp693 bool NotificationPreferencesDatabase::RemoveBundleFromDisturbeDB( in RemoveBundleFromDisturbeDB() function in OHOS::Notification::NotificationPreferencesDatabase

Completed in 10 milliseconds