Searched refs:CheckSlotForCreateSlot (Results 1 - 3 of 3) sorted by relevance
/base/notification/distributed_notification_service/services/ans/include/ |
H A D | notification_preferences.h | 389 ErrCode CheckSlotForCreateSlot(const sptr<NotificationBundleOption> &bundleOption,
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | notification_preferences_test.cpp | 80 NotificationPreferences::GetInstance()->CheckSlotForCreateSlot(bundleOption_, slot, info); in TestAddNotificationSlot() 1135 * @tc.name : CheckSlotForCreateSlot 1136 * @tc.desc : Test CheckSlotForCreateSlot function when slot is null, return is ERR_ANS_INVALID_PARAM. 1143 ASSERT_EQ((int)NotificationPreferences::GetInstance()->CheckSlotForCreateSlot(bundleOption_, nullptr, info), in HWTEST_F() 1149 * @tc.name : CheckSlotForCreateSlot 1150 * @tc.desc : Test CheckSlotForCreateSlot function, return ERR_OK. 1157 ASSERT_EQ((int)NotificationPreferences::GetInstance()->CheckSlotForCreateSlot(bundleOption_, slot, info), in HWTEST_F()
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | notification_preferences.cpp | 81 result = CheckSlotForCreateSlot(bundleOption, slot, preferencesInfo); in AddNotificationSlots() 804 ErrCode NotificationPreferences::CheckSlotForCreateSlot(const sptr<NotificationBundleOption> &bundleOption, in CheckSlotForCreateSlot() function in OHOS::Notification::NotificationPreferences
|
Completed in 6 milliseconds