OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bootmode
(Results
1 - 2
of
2
) sorted by null
/system/netd/
TetherController.cpp
59
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/
init.c
73
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"))
1031
is_charger = !strcmp(
bootmode
, "charger");
Completed in 487 milliseconds