Searched refs:bootmode (Results 1 – 2 of 2) sorted by relevance
59 char bootmode[PROPERTY_VALUE_MAX] = {0}; in setIpFwdEnabled() local60 property_get("ro.bootmode", bootmode, "unknown"); in setIpFwdEnabled()61 if ((enable == false) && (0 == strcmp("bp-tools", bootmode))) { in setIpFwdEnabled()
73 static char bootmode[32]; variable749 strlcpy(bootmode, tmp, sizeof(bootmode)); in export_kernel_boot_props()762 if (!strcmp(bootmode,"factory")) in export_kernel_boot_props()764 else if (!strcmp(bootmode,"factory2")) in export_kernel_boot_props()1031 is_charger = !strcmp(bootmode, "charger"); in main()