Home
last modified time | relevance | path

Searched refs:propertyVal (Results 1 – 4 of 4) sorted by relevance

/base/update/updater/services/flashd/daemon/
Dsystem_depend.cpp53 string propertyVal; in RebootDevice() local
56 propertyVal = "reboot"; in RebootDevice()
58 propertyVal = Base::StringFormat("reboot,%s", reason.c_str()); in RebootDevice()
60 return SetDevItem(rebootProperty.c_str(), propertyVal.c_str()); in RebootDevice()
/base/notification/distributed_notification_service/frameworks/js/napi/include/reminder/
Dreminder_common.h82 const char* propertyName, char* propertyVal, const int32_t size);
85 const char* propertyName, int32_t& propertyVal, bool isNecessary);
88 const char* propertyName, int64_t& propertyVal);
91 const char* propertyName, napi_value& propertyVal);
126 const char* propertyName, napi_value& propertyVal);
141 const char* propertyName, std::vector<uint8_t> &propertyVal, uint8_t maxLen);
/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
Dreminder_common.cpp216 int32_t propertyVal = 0; in GenReminder() local
217 if (GetInt32(env, value, ReminderAgentNapi::NOTIFICATION_ID, propertyVal, false)) { in GenReminder()
218 reminder->SetNotificationId(propertyVal); in GenReminder()
222 if (GetInt32(env, value, ReminderAgentNapi::SNOOZE_TIMES, propertyVal, false)) { in GenReminder()
223 if (propertyVal < 0) { in GenReminder()
226 … uint8_t snoozeTimes = propertyVal > UINT8_MAX ? UINT8_MAX : static_cast<uint8_t>(propertyVal); in GenReminder()
256 const char* propertyName, char* propertyVal, const int32_t size) in GetStringUtf8() argument
271 …NAPI_CALL_BASE(env, napi_get_value_string_utf8(env, result, propertyVal, size - 1, &strLen), false… in GetStringUtf8()
277 const char* propertyName, int32_t& propertyVal, bool isNecessary) in GetInt32() argument
286 napi_get_value_int32(env, result, &propertyVal); in GetInt32()
[all …]
Dpublish.cpp150 int32_t propertyVal = 0; in ParseSlotParameters() local
151 if (!ReminderCommon::GetInt32(env, argv[0], propertyKey, propertyVal, false)) { in ParseSlotParameters()
160 …if (!NotificationNapi::Common::SlotTypeJSToC(NotificationNapi::SlotType(propertyVal), params.inTyp… in ParseSlotParameters()