/ohos5.0/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()); in OnConsumed() 174 EXPECT_EQ(NotificationConstant::CUSTOM, notificationRequest.GetSlotType()); in OnConsumed() 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() 395 EXPECT_EQ(NotificationConstant::OTHER, notificationRequest.GetSlotType()); in CheckCaseNineResult() [all …]
|
/ohos5.0/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;
|
/ohos5.0/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 | 428 if ((request->GetSlotType() == NotificationConstant::SlotType::CUSTOM) && in PrepareNotificationInfo() 663 if (record->request->GetSlotType() == NotificationConstant::SlotType::LIVE_VIEW && in PublishPreparedNotification() 828 if (record->request->GetSlotType() == NotificationConstant::SlotType::LIVE_VIEW) { in UpdateSlotAuthInfo() 985 …if (!isSystemApp && record->request->GetSlotType() == NotificationConstant::SlotType::EMERGENCY_IN… in CheckPublishPreparedNotification() 1915 NotificationConstant::SlotType slotType = notificationCheckRequest->GetSlotType(); in RegisterPushCallback() 1970 NotificationConstant::SlotType slotType = request->GetSlotType(); in IsNeedPushCheck() 2037 if (pushCallBacks_.find(request->GetSlotType()) == pushCallBacks_.end()) { in PushCheck() 2040 sptr<IPushCallBack> pushCallBack = pushCallBacks_[request->GetSlotType()]; in PushCheck() 2041 sptr<NotificationCheckRequest> checkRequest = checkRequests_[request->GetSlotType()]; in PushCheck() 2051 jsonObject["slotType"] = static_cast<int32_t>(request->GetSlotType()); in PushCheck()
|
H A D | advanced_notification_slot_service.cpp | 469 NotificationConstant::SlotType slotType = record->request->GetSlotType(); in AssignValidNotificationSlot() 584 NotificationConstant::SlotType type = request->GetSlotType(); in SetRequestBySlotType() 588 NotificationConstant::SlotType slotType = request->GetSlotType(); in SetRequestBySlotType()
|
H A D | advanced_notification_utils.cpp | 376 stream << "\t\tSlotType = " << record->request->GetSlotType() << "\n"; in ActiveNotificationDump() 421 stream << "\t\tSlotType = " << notificationRequest.GetSlotType() << "\n"; in RecentNotificationDump() 464 stream << "\t\tSlotType = " << record->request->GetSlotType() << "\n"; in DistributedNotificationDump() 672 if (notification->request != nullptr && notification->request->GetSlotType()== slotType && in GetTargetRecordList() 693 notification->request->GetSlotType()== slotType && in GetCommonTargetRecordList() 1734 ErrCode result = publishProcess_[request->GetSlotType()]->PublishPreWork(request, false); in PrePublishRequest()
|
/ohos5.0/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 | 504 NotificationConstant::SlotType NotificationRequest::GetSlotType() const in GetSlotType() function in OHOS::Notification::NotificationRequest 2427 GetSlotType(), GetNotificationType()); in CheckNotificationRequest() 2448 oldRequest->GetSlotType(), oldRequest->GetNotificationType()); in CheckNotificationRequest() 2641 if (GetSlotType() == NotificationConstant::SlotType::LIVE_VIEW) { in CheckImageSizeForContent() 2695 if (GetSlotType() == NotificationConstant::SlotType::LIVE_VIEW) { in GenerateUniqueKey()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_check_request_test.cpp | 54 EXPECT_EQ(NotificationConstant::SlotType::LIVE_VIEW, checkRequest.GetSlotType());
|
H A D | notification_check_info_test.cpp | 93 EXPECT_EQ(1, checkInfo.GetSlotType());
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/reminderrequestannex_fuzzer/ |
H A D | reminderrequestannex_fuzzer.cpp | 51 reminderRequest.GetSlotType(); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/setprogressbar_fuzzer/ |
H A D | setprogressbar_fuzzer.cpp | 57 request.GetSlotType(); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/ |
H A D | napi_push_callback.cpp | 139 …tant::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()
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/network/observer/src/ |
H A D | network_observer.cpp | 46 int32_t ret = NetConnClient::GetInstance().GetSlotType(type); in MakeNetworkResponse()
|
/ohos5.0/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() 362 string strSlotType = to_string(static_cast<int32_t>(request->GetSlotType())); in GetReminderAffecteds()
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/network/network_exec/src/ |
H A D | network_exec.cpp | 45 int32_t ret = NetConnClient::GetInstance().GetSlotType(type); in MakeNetworkResponse()
|
/ohos5.0/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/proxy/ |
H A D | i_net_conn_service.h | 99 virtual int32_t GetSlotType(std::string &type) = 0;
|
H A D | net_conn_service_proxy.h | 83 int32_t GetSlotType(std::string &type) override;
|
/ohos5.0/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_manager_test/ |
H A D | net_conn_service_stub_test.h | 262 int32_t GetSlotType(std::string &type) override in GetSlotType() function
|
/ohos5.0/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/ |
H A D | net_conn_client.h | 414 int32_t GetSlotType(std::string &type);
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | advanced_notification_service_test.cpp | 2333 …advancedNotificationService_->pushCallBacks_.insert_or_assign(checkRequest->GetSlotType(), pushCal… 2360 …advancedNotificationService_->pushCallBacks_.insert_or_assign(checkRequest->GetSlotType(), pushCal… 2564 …advancedNotificationService_->pushCallBacks_.insert_or_assign(checkRequest->GetSlotType(), pushCal… 3030 notificationCheckRequest->GetSlotType(), pushCallBack); 3032 notificationCheckRequest->GetSlotType(), notificationCheckRequest); 3123 notificationCheckRequest->GetSlotType(), pushCallBack); 3125 notificationCheckRequest->GetSlotType(), notificationCheckRequest); 3153 notificationCheckRequest->GetSlotType(), pushCallBack); 3155 notificationCheckRequest->GetSlotType(), notificationCheckRequest);
|