Home
last modified time | relevance | path

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

/system/netd/
DTetherController.cpp59 char bootmode[PROPERTY_VALUE_MAX] = {0}; in setIpFwdEnabled() local
60 property_get("ro.bootmode", bootmode, "unknown"); in setIpFwdEnabled()
61 if ((enable == false) && (0 == strcmp("bp-tools", bootmode))) { in setIpFwdEnabled()
/system/core/init/
Dinit.c73 static char bootmode[32]; variable
749 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()