Searched refs:notificationControlFlags (Results 1 - 7 of 7) sorted by relevance
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | advanced_notification_service.cpp | 916 uint32_t notificationControlFlags = record->request->GetNotificationControlFlags(); in ChangeNotificationByControlFlags() local 917 if (notificationControlFlags == 0) { in ChangeNotificationByControlFlags() 918 ANS_LOGD("The notificationControlFlags is undefined."); in ChangeNotificationByControlFlags() 923 record->request->SetNotificationControlFlags(notificationControlFlags & 0xFFFF); in ChangeNotificationByControlFlags() 933 (notificationControlFlags & NotificationConstant::ReminderFlag::SOUND_FLAG) != 0) { in ChangeNotificationByControlFlags() 939 (notificationControlFlags & NotificationConstant::ReminderFlag::LOCKSCREEN_FLAG) != 0) { in ChangeNotificationByControlFlags() 944 if (flags->IsBannerEnabled() && (notificationControlFlags & NotificationConstant::ReminderFlag::BANNER_FLAG) != 0) { in ChangeNotificationByControlFlags() 949 (notificationControlFlags & NotificationConstant::ReminderFlag::LIGHTSCREEN_FLAG) != 0) { in ChangeNotificationByControlFlags() 954 (notificationControlFlags & NotificationConstant::ReminderFlag::VIBRATION_FLAG) != 0) { in ChangeNotificationByControlFlags() 960 (notificationControlFlags in ChangeNotificationByControlFlags() [all...] |
H A D | advanced_notification_slot_service.cpp | 556 uint32_t notificationControlFlags = request->GetNotificationControlFlags(); in GetDefaultSlotFlags() local 558 if (((notificationControlFlags & NotificationConstant::ReminderFlag::SA_SELF_BANNER_FLAG) != 0) && in GetDefaultSlotFlags()
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | advanced_notification_service_test.cpp | 3409 uint32_t notificationControlFlags = 0; in HWTEST_F() local 3410 notificationControlFlags |= NotificationConstant::ReminderFlag::SOUND_FLAG; in HWTEST_F() 3411 notificationControlFlags |= NotificationConstant::ReminderFlag::LOCKSCREEN_FLAG; in HWTEST_F() 3412 notificationControlFlags |= NotificationConstant::ReminderFlag::BANNER_FLAG; in HWTEST_F() 3413 notificationControlFlags |= NotificationConstant::ReminderFlag::LIGHTSCREEN_FLAG; in HWTEST_F() 3414 notificationControlFlags |= NotificationConstant::ReminderFlag::VIBRATION_FLAG; in HWTEST_F() 3415 notificationControlFlags |= NotificationConstant::ReminderFlag::STATUSBAR_ICON_FLAG; in HWTEST_F() 3416 request->SetNotificationControlFlags(notificationControlFlags); in HWTEST_F()
|
/base/location/frameworks/js/napi/notification/src/ |
H A D | notification_napi_convert_request.cpp | 61 // notificationControlFlags?: number in GetNotificationRequestByNumber() 1319 uint32_t notificationControlFlags = 0; in GetNotificationControlFlags() local 1321 NAPI_CALL(env, napi_has_named_property(env, value, "notificationControlFlags", &hasProperty)); in GetNotificationControlFlags() 1323 napi_get_named_property(env, value, "notificationControlFlags", &result); in GetNotificationControlFlags() 1330 napi_get_value_uint32(env, result, ¬ificationControlFlags); in GetNotificationControlFlags() 1331 if (notificationControlFlags == 0) { in GetNotificationControlFlags() 1336 request.SetNotificationControlFlags(notificationControlFlags); in GetNotificationControlFlags()
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_request.h | 246 * @param notificationControlFlags Indicates the flags to set. 248 void SetNotificationControlFlags(uint32_t notificationControlFlags);
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | common_convert_request.cpp | 583 // notificationControlFlags?: number in GetNotificationRequestByNumber() 1860 uint32_t notificationControlFlags = 0; in GetNotificationControlFlags() local 1862 NAPI_CALL(env, napi_has_named_property(env, value, "notificationControlFlags", &hasProperty)); in GetNotificationControlFlags() 1864 napi_get_named_property(env, value, "notificationControlFlags", &result); in GetNotificationControlFlags() 1871 napi_get_value_uint32(env, result, ¬ificationControlFlags); in GetNotificationControlFlags() 1872 request.SetNotificationControlFlags(notificationControlFlags); in GetNotificationControlFlags()
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_request.cpp | 110 void NotificationRequest::SetNotificationControlFlags(uint32_t notificationControlFlags) in SetNotificationControlFlags() argument 112 notificationControlFlags_ = notificationControlFlags; in SetNotificationControlFlags() 765 ", notificationControlFlags = " + std::to_string(notificationControlFlags_) + in Dump() 842 jsonObject["notificationControlFlags"] = notificationControlFlags_; in ToJson() 2079 if (jsonObject.find("notificationControlFlags") != jsonEnd && in ConvertJsonToNumExt() 2080 jsonObject.at("notificationControlFlags").is_number_integer()) { in ConvertJsonToNumExt() 2081 target->notificationControlFlags_ = jsonObject.at("notificationControlFlags").get<uint32_t>(); in ConvertJsonToNumExt()
|
Completed in 21 milliseconds