Home
last modified time | relevance | path

Searched refs:GetSlotType (Results 1 – 25 of 43) sorted by relevance

12

/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_publish_test.cpp170 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 Dnotification_check_request.h73 NotificationConstant::SlotType GetSlotType() const;
H A Dnotification_check_info.h47 int32_t GetSlotType() const;
/ohos5.0/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.cpp428 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 Dadvanced_notification_slot_service.cpp469 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 Dadvanced_notification_utils.cpp376 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 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.cpp504 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 Dnotification_check_request_test.cpp54 EXPECT_EQ(NotificationConstant::SlotType::LIVE_VIEW, checkRequest.GetSlotType());
H A Dnotification_check_info_test.cpp93 EXPECT_EQ(1, checkInfo.GetSlotType());
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/reminderrequestannex_fuzzer/
H A Dreminderrequestannex_fuzzer.cpp51 reminderRequest.GetSlotType(); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/setprogressbar_fuzzer/
H A Dsetprogressbar_fuzzer.cpp57 request.GetSlotType(); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
H A Dnapi_push_callback.cpp139 …tant::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()
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/network/observer/src/
H A Dnetwork_observer.cpp46 int32_t ret = NetConnClient::GetInstance().GetSlotType(type); in MakeNetworkResponse()
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/notification_smart_reminder/
H A Dsmart_reminder_center.cpp232 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 Dnetwork_exec.cpp45 int32_t ret = NetConnClient::GetInstance().GetSlotType(type); in MakeNetworkResponse()
/ohos5.0/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/proxy/
H A Di_net_conn_service.h99 virtual int32_t GetSlotType(std::string &type) = 0;
H A Dnet_conn_service_proxy.h83 int32_t GetSlotType(std::string &type) override;
/ohos5.0/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_manager_test/
H A Dnet_conn_service_stub_test.h262 int32_t GetSlotType(std::string &type) override in GetSlotType() function
/ohos5.0/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/
H A Dnet_conn_client.h414 int32_t GetSlotType(std::string &type);
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_service_test.cpp2333 …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);

12