/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_check_request.h | 73 NotificationConstant::SlotType GetSlotType() const;
|
H A D | notification_check_info.h | 47 int32_t GetSlotType() const;
|
H A D | reminder_request.h | 393 NotificationConstant::SlotType GetSlotType() const;
|
H A D | notification_request.h | 802 NotificationConstant::SlotType GetSlotType() const;
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | permission_filter.cpp | 48 NotificationConstant::SlotType slotType = record->request->GetSlotType(); in OnPublish()
|
H A D | advanced_notification_service.cpp | 421 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 D | advanced_notification_slot_service.cpp | 459 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 D | advanced_notification_utils.cpp | 402 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 D | advanced_notification_live_view_service.cpp | 239 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 D | setprogressbar_fuzzer.cpp | 57 request.GetSlotType();
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | reminder_helper.cpp | 28 NotificationHelper::AddSlotByType(reminder.GetSlotType()); in PublishReminder()
|
H A D | notification_check_request.cpp | 45 NotificationConstant::SlotType NotificationCheckRequest::GetSlotType() const in GetSlotType() function in OHOS::Notification::NotificationCheckRequest
|
H A D | notification_check_info.cpp | 74 int32_t NotificationCheckInfo::GetSlotType() const in GetSlotType() function in OHOS::Notification::NotificationCheckInfo
|
H A D | notification_request.cpp | 511 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 D | reminderrequestannex_fuzzer.cpp | 51 reminderRequest.GetSlotType();
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_check_info_test.cpp | 93 EXPECT_EQ(1, checkInfo.GetSlotType()); in HWTEST_F()
|
H A D | notification_check_request_test.cpp | 54 EXPECT_EQ(NotificationConstant::SlotType::LIVE_VIEW, checkRequest.GetSlotType()); in HWTEST_F()
|
H A D | reminder_request_test.cpp | 457 * @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 D | napi_push_callback.cpp | 139 NotificationConstant::SlotType outSlotType = static_cast<NotificationConstant::SlotType>(checkInfo->GetSlotType()); in OnCheckNotification() 159 static_cast<NotificationConstant::SlotType>(checkInfo->GetSlotType()), slotType); in OnCheckNotification()
|
H A D | napi_push.cpp | 109 NotificationConstant::SlotType outSlotType = checkRequest->GetSlotType(); in OnRegisterPushCallback()
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_innerkits_module_publish_test.cpp | 170 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 D | smart_reminder_center.cpp | 232 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 D | mock_net_conn_service.h | 89 MOCK_METHOD(int32_t, GetSlotType, (std::string & type));
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | advanced_notification_service_test.cpp | 2336 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 D | notification_analytics_util.cpp | 194 static_cast<NotificationConstant::SlotType>(request->GetSlotType()), slotType); in ReportNotificationEvent()
|