Home
last modified time | relevance | path

Searched refs:CheckSlotForCreateSlot (Results 1 - 3 of 3) sorted by relevance

/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_preferences.h389 ErrCode CheckSlotForCreateSlot(const sptr<NotificationBundleOption> &bundleOption,
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_preferences_test.cpp80 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 Dnotification_preferences.cpp81 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