Searched refs:PutSlotsToDisturbeDB (Results 1 - 5 of 5) sorted by relevance
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | notification_preferences_database_test.cpp | 55 EXPECT_TRUE(preferncesDB_->PutSlotsToDisturbeDB(bundleName_, bundleUid_, slots)); in HWTEST_F() 70 EXPECT_FALSE(preferncesDB_->PutSlotsToDisturbeDB(std::string(), 0, slots)); in HWTEST_F() 81 EXPECT_FALSE(preferncesDB_->PutSlotsToDisturbeDB(bundleName_, bundleUid_, slots)); in HWTEST_F() 328 EXPECT_TRUE(preferncesDB_->PutSlotsToDisturbeDB(bundleName_, bundleUid_, slots)); in HWTEST_F() 368 EXPECT_TRUE(preferncesDB_->PutSlotsToDisturbeDB(bundleName_, bundleUid_, slots)); in HWTEST_F()
|
/base/notification/distributed_notification_service/services/ans/include/ |
H A D | notification_preferences_database.h | 42 bool PutSlotsToDisturbeDB(
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | notification_preferences.cpp | 89 (!preferncesDB_->PutSlotsToDisturbeDB(bundleOption->GetBundleName(), bundleOption->GetUid(), slots))) { in AddNotificationSlots() 229 (!preferncesDB_->PutSlotsToDisturbeDB(bundleOption->GetBundleName(), bundleOption->GetUid(), slots))) { in UpdateNotificationSlots()
|
H A D | notification_preferences_database.cpp | 250 bool NotificationPreferencesDatabase::PutSlotsToDisturbeDB( in PutSlotsToDisturbeDB() function in OHOS::Notification::NotificationPreferencesDatabase
|
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_preferences_database_branch_test/ |
H A D | notification_preferences_database_branch_test.cpp | 706 * @tc.desc : test PutSlotsToDisturbeDB function and result is false
717 // test PutSlotsToDisturbeDB function
in HWTEST_F() 723 ASSERT_EQ(preferncesDB_->PutSlotsToDisturbeDB(bundleName, bundleUid, slots), false);
in HWTEST_F()
|
Completed in 10 milliseconds