Home
last modified time | relevance | path

Searched refs:GetSlotType (Results 1 - 25 of 32) sorted by relevance

12

/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_check_request.h73 NotificationConstant::SlotType GetSlotType() const;
H A Dnotification_check_info.h47 int32_t GetSlotType() const;
H A Dreminder_request.h393 NotificationConstant::SlotType GetSlotType() const;
H A Dnotification_request.h802 NotificationConstant::SlotType GetSlotType() const;
/base/notification/distributed_notification_service/services/ans/src/
H A Dpermission_filter.cpp48 NotificationConstant::SlotType slotType = record->request->GetSlotType(); in OnPublish()
H A Dadvanced_notification_service.cpp421 if ((request->GetSlotType() == NotificationConstant::SlotType::CUSTOM) && in PrepareNotificationInfo()
657 if (record->request->GetSlotType() == NotificationConstant::SlotType::LIVE_VIEW && in PublishPreparedNotification()
820 if (record->request->GetSlotType() == NotificationConstant::SlotType::LIVE_VIEW) { in UpdateSlotAuthInfo()
978 if (!isSystemApp && record->request->GetSlotType() == NotificationConstant::SlotType::EMERGENCY_INFORMATION) { in CheckPublishPreparedNotification()
2000 NotificationConstant::SlotType slotType = notificationCheckRequest->GetSlotType(); in RegisterPushCallback()
2050 NotificationConstant::SlotType slotType = request->GetSlotType(); in IsNeedPushCheck()
2117 if (pushCallBacks_.find(request->GetSlotType()) == pushCallBacks_.end()) { in PushCheck()
2120 sptr<IPushCallBack> pushCallBack = pushCallBacks_[request->GetSlotType()]; in PushCheck()
2121 sptr<NotificationCheckRequest> checkRequest = checkRequests_[request->GetSlotType()]; in PushCheck()
2131 jsonObject["slotType"] = static_cast<int32_t>(request->GetSlotType()); in PushCheck()
[all...]
H A Dadvanced_notification_slot_service.cpp459 NotificationConstant::SlotType slotType = record->request->GetSlotType(); in AssignValidNotificationSlot()
571 NotificationConstant::SlotType type = request->GetSlotType(); in SetRequestBySlotType()
575 NotificationConstant::SlotType slotType = request->GetSlotType(); in SetRequestBySlotType()
H A Dadvanced_notification_utils.cpp402 stream << "\t\tSlotType = " << record->request->GetSlotType() << "\n"; in ActiveNotificationDump()
448 stream << "\t\tSlotType = " << notificationRequest.GetSlotType() << "\n"; in RecentNotificationDump()
492 stream << "\t\tSlotType = " << record->request->GetSlotType() << "\n"; in DistributedNotificationDump()
701 if (notification->request != nullptr && notification->request->GetSlotType()== slotType && in GetTargetRecordList()
722 notification->request->GetSlotType()== slotType && in GetCommonTargetRecordList()
1745 ErrCode result = publishProcess_[request->GetSlotType()]->PublishPreWork(request, false); in PrePublishRequest()
H A Dadvanced_notification_live_view_service.cpp239 request->GetSlotType(), request->GetNotificationType()); in SetNotificationRequestToDb()
461 if (newRequest->GetSlotType() != NotificationConstant::SlotType::LIVE_VIEW) { in FillLockScreenPicture()
/base/notification/distributed_notification_service/test/fuzztest/setprogressbar_fuzzer/
H A Dsetprogressbar_fuzzer.cpp57 request.GetSlotType(); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dreminder_helper.cpp28 NotificationHelper::AddSlotByType(reminder.GetSlotType()); in PublishReminder()
H A Dnotification_check_request.cpp45 NotificationConstant::SlotType NotificationCheckRequest::GetSlotType() const in GetSlotType() function in OHOS::Notification::NotificationCheckRequest
H A Dnotification_check_info.cpp74 int32_t NotificationCheckInfo::GetSlotType() const in GetSlotType() function in OHOS::Notification::NotificationCheckInfo
H A Dnotification_request.cpp511 NotificationConstant::SlotType NotificationRequest::GetSlotType() const in GetSlotType() function in OHOS::Notification::NotificationRequest
2483 GetSlotType(), GetNotificationType()); in CheckNotificationRequest()
2504 oldRequest->GetSlotType(), oldRequest->GetNotificationType()); in CheckNotificationRequest()
2697 if (GetSlotType() == NotificationConstant::SlotType::LIVE_VIEW) { in CheckImageSizeForContent()
2751 if (GetSlotType() == NotificationConstant::SlotType::LIVE_VIEW) { in GenerateUniqueKey()
/base/notification/distributed_notification_service/test/fuzztest/reminderrequestannex_fuzzer/
H A Dreminderrequestannex_fuzzer.cpp51 reminderRequest.GetSlotType(); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_check_info_test.cpp93 EXPECT_EQ(1, checkInfo.GetSlotType()); in HWTEST_F()
H A Dnotification_check_request_test.cpp54 EXPECT_EQ(NotificationConstant::SlotType::LIVE_VIEW, checkRequest.GetSlotType()); in HWTEST_F()
H A Dreminder_request_test.cpp457 * @tc.desc: Test GetSlotType parameters.
466 EXPECT_EQ(rrc->GetSlotType(), mySlotType); in HWTEST_F()
1773 EXPECT_EQ(ret->GetSlotType(), NotificationConstant::SlotType::CONTENT_INFORMATION); in HWTEST_F()
1795 EXPECT_EQ(ret->GetSlotType(), NotificationConstant::SlotType::SERVICE_REMINDER); in HWTEST_F()
1818 EXPECT_EQ(ret->GetSlotType(), NotificationConstant::SlotType::SOCIAL_COMMUNICATION); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
H A Dnapi_push_callback.cpp139 NotificationConstant::SlotType outSlotType = static_cast<NotificationConstant::SlotType>(checkInfo->GetSlotType()); in OnCheckNotification()
159 static_cast<NotificationConstant::SlotType>(checkInfo->GetSlotType()), slotType); in OnCheckNotification()
H A Dnapi_push.cpp109 NotificationConstant::SlotType outSlotType = checkRequest->GetSlotType(); in OnRegisterPushCallback()
/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_publish_test.cpp170 EXPECT_EQ(NotificationConstant::SERVICE_REMINDER, notificationRequest.GetSlotType());
172 EXPECT_EQ(NotificationConstant::SOCIAL_COMMUNICATION, notificationRequest.GetSlotType());
174 EXPECT_EQ(NotificationConstant::CUSTOM, notificationRequest.GetSlotType());
223 EXPECT_EQ(NotificationConstant::OTHER, notificationRequest.GetSlotType()); in CheckCaseOneResult()
261 EXPECT_EQ(NotificationConstant::OTHER, notificationRequest.GetSlotType()); in CheckCaseTwoResult()
286 EXPECT_EQ(NotificationConstant::OTHER, notificationRequest.GetSlotType()); in CheckCaseThreeResult()
325 EXPECT_EQ(NotificationConstant::OTHER, notificationRequest.GetSlotType()); in CheckCaseFourResult()
343 EXPECT_EQ(NotificationConstant::OTHER, notificationRequest.GetSlotType()); in CheckCaseFiveResult()
359 EXPECT_EQ(NotificationConstant::OTHER, notificationRequest.GetSlotType()); in CheckCaseSixResult()
375 EXPECT_EQ(NotificationConstant::OTHER, notificationRequest.GetSlotType()); in CheckCaseSevenResult()
[all...]
/base/notification/distributed_notification_service/services/ans/src/notification_smart_reminder/
H A Dsmart_reminder_center.cpp232 NotificationConstant::SlotType slotType = request->GetSlotType(); in ReminderDecisionProcess()
367 string strSlotType = to_string(static_cast<int32_t>(request->GetSlotType())); in GetReminderAffecteds()
/base/telephony/cellular_data/test/mock/
H A Dmock_net_conn_service.h89 MOCK_METHOD(int32_t, GetSlotType, (std::string & type));
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_service_test.cpp2336 advancedNotificationService_->pushCallBacks_.insert_or_assign(checkRequest->GetSlotType(), pushCallBack); in HWTEST_F()
2363 advancedNotificationService_->pushCallBacks_.insert_or_assign(checkRequest->GetSlotType(), pushCallBack); in HWTEST_F()
2567 advancedNotificationService_->pushCallBacks_.insert_or_assign(checkRequest->GetSlotType(), pushCallBack); in HWTEST_F()
3033 notificationCheckRequest->GetSlotType(), pushCallBack); in HWTEST_F()
3035 notificationCheckRequest->GetSlotType(), notificationCheckRequest); in HWTEST_F()
3126 notificationCheckRequest->GetSlotType(), pushCallBack); in HWTEST_F()
3128 notificationCheckRequest->GetSlotType(), notificationCheckRequest); in HWTEST_F()
3156 notificationCheckRequest->GetSlotType(), pushCallBack); in HWTEST_F()
3158 notificationCheckRequest->GetSlotType(), notificationCheckRequest); in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/src/common/
H A Dnotification_analytics_util.cpp194 static_cast<NotificationConstant::SlotType>(request->GetSlotType()), slotType); in ReportNotificationEvent()

Completed in 31 milliseconds

12