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

/system/netd/
H A DTetherController.cpp59 char bootmode[PROPERTY_VALUE_MAX] = {0}; local
60 property_get("ro.bootmode", bootmode, "unknown");
61 if ((enable == false) && (0 == strcmp("bp-tools", bootmode))) {
/system/core/init/
H A Dinit.c73 static char bootmode[32]; variable
730 { "ro.boot.mode", "ro.bootmode", "unknown", },
748 property_get("ro.bootmode", tmp);
749 strlcpy(bootmode, tmp, sizeof(bootmode));
762 if (!strcmp(bootmode,"factory"))
764 else if (!strcmp(bootmode,"factory2"))
1032 is_charger = !strcmp(bootmode, "charger");

Completed in 92 milliseconds