Home
last modified time | relevance | path

Searched refs:isAlertOnce (Results 1 - 6 of 6) sorted by relevance

/base/notification/distributed_notification_service/frameworks/cj/ffi/include/
H A Dnotification_utils.h187 bool isAlertOnce; member
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/
H A Dnotification_utils.cpp181 // isAlertOnce?: boolean in GetNotificationRequestByBool()
182 bool isAlertOnce = cjRequest.isAlertOnce; in GetNotificationRequestByBool() local
183 request.SetAlertOneTime(isAlertOnce); in GetNotificationRequestByBool()
997 // isAlertOnce?: boolean in SetNotificationRequestByBool()
998 notificationRequest.isAlertOnce = request->IsAlertOneTime(); in SetNotificationRequestByBool()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_request.h439 * @param isAlertOnce Specifies whether to have this notification alert only once.
441 void SetAlertOneTime(bool isAlertOnce);
/base/location/frameworks/js/napi/notification/src/
H A Dnotification_napi_convert_request.cpp116 // isAlertOnce?: boolean in GetNotificationRequestByBool()
865 bool isAlertOnce = false; in GetNotificationIsAlertOnce() local
867 NAPI_CALL(env, napi_has_named_property(env, value, "isAlertOnce", &hasProperty)); in GetNotificationIsAlertOnce()
869 napi_get_named_property(env, value, "isAlertOnce", &result); in GetNotificationIsAlertOnce()
875 napi_get_value_bool(env, result, &isAlertOnce); in GetNotificationIsAlertOnce()
876 request.SetAlertOneTime(isAlertOnce); in GetNotificationIsAlertOnce()
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dcommon_convert_request.cpp160 // isAlertOnce?: boolean in SetNotificationRequestByBool()
162 napi_set_named_property(env, result, "isAlertOnce", value); in SetNotificationRequestByBool()
642 // isAlertOnce?: boolean in GetNotificationRequestByBool()
1401 bool isAlertOnce = false; in GetNotificationIsAlertOnce() local
1403 NAPI_CALL(env, napi_has_named_property(env, value, "isAlertOnce", &hasProperty)); in GetNotificationIsAlertOnce()
1405 napi_get_named_property(env, value, "isAlertOnce", &result); in GetNotificationIsAlertOnce()
1411 napi_get_value_bool(env, result, &isAlertOnce); in GetNotificationIsAlertOnce()
1412 request.SetAlertOneTime(isAlertOnce); in GetNotificationIsAlertOnce()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_request.cpp255 void NotificationRequest::SetAlertOneTime(bool isAlertOnce) in SetAlertOneTime() argument
257 alertOneTime_ = isAlertOnce; in SetAlertOneTime()
827 jsonObject["isAlertOnce"] = alertOneTime_; in ToJson()
2222 if (jsonObject.find("isAlertOnce") != jsonEnd && jsonObject.at("isAlertOnce").is_boolean()) { in ConvertJsonToBool()
2223 target->alertOneTime_ = jsonObject.at("isAlertOnce").get<bool>(); in ConvertJsonToBool()

Completed in 13 milliseconds