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

/system/netd/
H A DTetherController.cpp60 char bootmode[PROPERTY_VALUE_MAX] = {0}; local
61 property_get("ro.bootmode", bootmode, "unknown");
62 if ((enable == false) && (0 == strcmp("bp-tools", bootmode))) {
/system/core/init/
H A Dinit.c76 static char bootmode[32]; variable
664 { "ro.boot.mode", "ro.bootmode", "unknown", },
679 strlcpy(bootmode, property_get("ro.bootmode"), sizeof(bootmode));
692 if (!strcmp(bootmode,"factory"))
694 else if (!strcmp(bootmode,"factory2"))
916 is_charger = !strcmp(bootmode, "charger");

Completed in 68 milliseconds