Searched refs:bootmode (Results 1 – 2 of 2) sorted by relevance
64 char bootmode[PROPERTY_VALUE_MAX] = {0}; in inBpToolsMode() local65 property_get("ro.bootmode", bootmode, "unknown"); in inBpToolsMode()66 return !strcmp(BP_TOOLS_MODE, bootmode); in inBpToolsMode()
1099 char bootmode[PROP_VALUE_MAX]; in main() local1100 if (property_get("ro.bootmode", bootmode) > 0 && strcmp(bootmode, "charger") == 0) { in main()