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.c118 char property_val[PROPERTY_VALUE_MAX]; local
123 ret = snprintf(property_val, sizeof(property_val), "reboot,%s", (char *) arg);
124 if (ret >= (int) sizeof(property_val)) {
130 ret = property_set(ANDROID_RB_PROPERTY, property_val);

Completed in 167 milliseconds