Home
last modified time | relevance | path

Searched refs:getenv (Results 1 – 25 of 28) sorted by relevance

12

/system/netd/client/
DFwmarkClient.cpp37 return (family == AF_INET || family == AF_INET6) && !getenv(ANDROID_NO_USE_FWMARK_CLIENT); in shouldSetFwmark()
43 return shouldSetFwmark(family) && !getenv(ANDROID_FWMARK_METRICS_ONLY); in shouldReportConnectComplete()
/system/core/adb/
Dadb_auth_host.cpp114 if (getenv("HOSTNAME") != NULL) { in get_user_info()
115 strncpy(hostname, getenv("HOSTNAME"), sizeof(hostname)); in get_user_info()
129 if (getenv("LOGNAME") != NULL) { in get_user_info()
130 strncpy(username, getenv("LOGNAME"), sizeof(username)); in get_user_info()
335 const char* adb_keys_path = getenv("ADB_VENDOR_KEYS"); in get_vendor_keys()
Dadb_utils.cpp245 if (const char* const home = getenv("ANDROID_SDK_HOME")) { in adb_get_homedir_path()
262 if (const char* const home = getenv("HOME")) { in adb_get_homedir_path()
Dline_printer.cpp48 const char* term = getenv("TERM"); in LinePrinter()
Dadb_trace.cpp83 const char* setting = getenv("ADB_TRACE"); in get_trace_setting_from_env()
Dcommandline.cpp616 const char* terminal_type = getenv("TERM"); in ShellServiceString()
1174 char* log_tags = getenv("ANDROID_LOG_TAGS"); in logcat()
1343 char* top = getenv("ANDROID_BUILD_TOP"); in find_product_out_path()
1461 char* ANDROID_PRODUCT_OUT = getenv("ANDROID_PRODUCT_OUT"); in adb_commandline()
1468 const char* server_port_str = getenv("ANDROID_ADB_SERVER_PORT"); in adb_commandline()
1575 serial = getenv("ANDROID_SERIAL"); in adb_commandline()
Dtransport_local.cpp107 const char *host = getenv("ADBHOST"); in local_connect_arbitrary_ports()
Dsysdeps.h372 #define getenv adb_getenv macro
/system/extras/tests/bootloader/
Dshelltest.py22 self.device = adb.get_device(os.getenv("BOOTLOADER_TEST_SERIAL"));
/system/bt/osi/include/socket_utils/
Dsockets.h45 const char *val = getenv(key); in osi_android_get_control_socket()
/system/connectivity/shill/shims/
Denvironment.cc42 char* v = getenv(name.c_str()); in GetVariable()
/system/core/include/cutils/
Dsockets.h63 const char* val = getenv(key); in android_get_control_socket()
/system/core/toolbox/upstream-netbsd/lib/libc/gen/
Dgetbsize.c66 if ((p = getenv("BLOCKSIZE")) != NULL && *p != '\0') { in __weak_alias()
/system/core/liblog/
Dfake_log_device.c202 const char* tags = getenv("ANDROID_LOG_TAGS"); in configureInitialState()
279 const char* fstr = getenv("ANDROID_PRINTF_LOG"); in configureInitialState()
668 ws = getenv("ANDROID_WRAPSIM"); in setRedirects()
Dlogprint.c306 char *cp = getenv(tz); in android_log_formatFromString()
1116 cp = getenv(tz); in convertMonotonic()
/system/core/toolbox/upstream-netbsd/usr.bin/grep/
Dgrep.c309 c = getenv("GREP_COLOR"); in init_color()
362 eopts = getenv("GREP_OPTIONS"); in main()
586 term = getenv("TERM"); in main()
/system/core/libnativeloader/
Dnative_loader.cpp125 const char* android_root_env = getenv("ANDROID_ROOT"); in Initialize()
138 const char* additional_libs = getenv("ANDROID_ADDITIONAL_PUBLIC_LIBRARIES"); in Initialize()
/system/core/adb/client/
Dmain.cpp58 const char* tmp_dir = getenv("TMPDIR"); in GetLogFilePath()
/system/core/adb/daemon/
Dmain.cpp181 const char* adb_external_storage = getenv("ADB_EXTERNAL_STORAGE"); in adbd_main()
/system/update_engine/common/
Dsubprocess.cc85 const char* value = getenv(key); in LaunchProcess()
/system/core/base/
Dlogging.cpp254 const char* tags = getenv("ANDROID_LOG_TAGS"); in InitLogging()
/system/netd/tests/benchmarks/
Dconnect_benchmark.cpp189 const char* prevEnvStr = getenv(setting.c_str()); in run_at_reporting_level()
/system/core/logcat/
Dlogcat.cpp973 const char* logFormat = getenv("ANDROID_PRINTF_LOG"); in main()
993 char *env_tags_orig = getenv("ANDROID_LOG_TAGS"); in main()
/system/core/init/
Dperfboot.py407 parser.add_argument('-s', '--serial', default=os.getenv('ANDROID_SERIAL'),
/system/core/fastboot/
Dfastboot.cpp129 char *dir = getenv("ANDROID_PRODUCT_OUT"); in find_item_given_name()
547 const char *tmpdir = getenv("TMPDIR"); in make_temporary_directory()
1431 serial = getenv("ANDROID_SERIAL"); in main()

12