Home
last modified time | relevance | path

Searched refs:propertyVal (Results 1 - 3 of 3) sorted by relevance

/base/notification/distributed_notification_service/frameworks/js/napi/include/reminder/
H A Dreminder_common.h106 const char* propertyName, char* propertyVal, const int32_t size);
109 const char* propertyName, bool& propertyVal);
112 const char* propertyName, int32_t& propertyVal, bool isNecessary);
115 const char* propertyName, int64_t& propertyVal);
118 const char* propertyName, napi_value& propertyVal);
161 const char* propertyName, napi_value& propertyVal);
188 const char* propertyName, std::vector<uint8_t> &propertyVal, uint8_t maxLen);
/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
H A Dreminder_common.cpp567 int32_t propertyVal = 0; in GenReminderIntInner() local
568 if (GetInt32(env, value, ReminderAgentNapi::NOTIFICATION_ID, propertyVal, false)) { in GenReminderIntInner()
569 reminder->SetNotificationId(propertyVal); in GenReminderIntInner()
573 if (GetInt32(env, value, ReminderAgentNapi::SNOOZE_TIMES, propertyVal, false)) { in GenReminderIntInner()
574 if (propertyVal < 0) { in GenReminderIntInner()
577 uint8_t snoozeTimes = propertyVal > UINT8_MAX ? UINT8_MAX : static_cast<uint8_t>(propertyVal); in GenReminderIntInner()
616 const char* propertyName, char* propertyVal, const int32_t size) in GetStringUtf8()
631 NAPI_CALL_BASE(env, napi_get_value_string_utf8(env, result, propertyVal, size - 1, &strLen), false); in GetStringUtf8()
637 const char* propertyName, bool& propertyVal) in GetBool()
615 GetStringUtf8(const napi_env &env, const napi_value &value, const char* propertyName, char* propertyVal, const int32_t size) GetStringUtf8() argument
636 GetBool(const napi_env &env, const napi_value &value, const char* propertyName, bool& propertyVal) GetBool() argument
657 GetInt32(const napi_env &env, const napi_value &value, const char* propertyName, int32_t& propertyVal, bool isNecessary) GetInt32() argument
671 GetInt64(const napi_env &env, const napi_value &value, const char* propertyName, int64_t& propertyVal) GetInt64() argument
682 GetPropertyValIfExist(const napi_env &env, const napi_value &value, const char* propertyName, napi_value& propertyVal) GetPropertyValIfExist() argument
708 GetObject(const napi_env &env, const napi_value &value, const char* propertyName, napi_value& propertyVal) GetObject() argument
958 ParseInt32Array(const napi_env &env, const napi_value &value, const char* propertyName, std::vector<uint8_t> &propertyVal, uint8_t maxLen) ParseInt32Array() argument
[all...]
H A Dpublish.cpp159 int32_t propertyVal = 0; in ParseSlotParameters() local
160 if (!ReminderCommon::GetInt32(env, argv[0], propertyKey, propertyVal, false) && in ParseSlotParameters()
161 !ReminderCommon::GetInt32(env, argv[0], propertyNewKey, propertyVal, false)) { in ParseSlotParameters()
170 if (!NotificationNapi::AnsEnumUtil::SlotTypeJSToC(NotificationNapi::SlotType(propertyVal), params.inType)) { in ParseSlotParameters()

Completed in 5 milliseconds