Searched refs:getenv (Results 1 – 25 of 28) sorted by relevance
12
37 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()
114 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()
245 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()
48 const char* term = getenv("TERM"); in LinePrinter()
83 const char* setting = getenv("ADB_TRACE"); in get_trace_setting_from_env()
616 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()
107 const char *host = getenv("ADBHOST"); in local_connect_arbitrary_ports()
372 #define getenv adb_getenv macro
22 self.device = adb.get_device(os.getenv("BOOTLOADER_TEST_SERIAL"));
45 const char *val = getenv(key); in osi_android_get_control_socket()
42 char* v = getenv(name.c_str()); in GetVariable()
63 const char* val = getenv(key); in android_get_control_socket()
66 if ((p = getenv("BLOCKSIZE")) != NULL && *p != '\0') { in __weak_alias()
202 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()
306 char *cp = getenv(tz); in android_log_formatFromString()1116 cp = getenv(tz); in convertMonotonic()
309 c = getenv("GREP_COLOR"); in init_color()362 eopts = getenv("GREP_OPTIONS"); in main()586 term = getenv("TERM"); in main()
125 const char* android_root_env = getenv("ANDROID_ROOT"); in Initialize()138 const char* additional_libs = getenv("ANDROID_ADDITIONAL_PUBLIC_LIBRARIES"); in Initialize()
58 const char* tmp_dir = getenv("TMPDIR"); in GetLogFilePath()
181 const char* adb_external_storage = getenv("ADB_EXTERNAL_STORAGE"); in adbd_main()
85 const char* value = getenv(key); in LaunchProcess()
254 const char* tags = getenv("ANDROID_LOG_TAGS"); in InitLogging()
189 const char* prevEnvStr = getenv(setting.c_str()); in run_at_reporting_level()
973 const char* logFormat = getenv("ANDROID_PRINTF_LOG"); in main()993 char *env_tags_orig = getenv("ANDROID_LOG_TAGS"); in main()
407 parser.add_argument('-s', '--serial', default=os.getenv('ANDROID_SERIAL'),
129 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()