Searched refs:property_val (Results 1 - 2 of 2) sorted by relevance

/system/core/reboot/
H A Dreboot.c28 char property_val[PROPERTY_VALUE_MAX]; local
60 prop_len = snprintf(property_val, sizeof(property_val), "%s,%s", cmd, optarg);
61 if (prop_len >= sizeof(property_val)) {
66 ret = property_set(ANDROID_RB_PROPERTY, property_val);
/system/core/adb/
H A Dservices.cpp157 char property_val[PROPERTY_VALUE_MAX]; local
158 int ret = snprintf(property_val, sizeof(property_val), "reboot,%s", reboot_arg);
159 if (ret >= static_cast<int>(sizeof(property_val))) {
164 ret = property_set(ANDROID_RB_PROPERTY, property_val);

Completed in 778 milliseconds