Searched refs:getenv (Results 1 – 22 of 22) sorted by relevance
111 const char* reject_kill_server = getenv("ADB_REJECT_KILL_SERVER"); in adb_server_main()116 const char* leak = getenv("ADB_LEAK"); in adb_server_main()132 if (!getenv("ADB_MDNS") || strcmp(getenv("ADB_MDNS"), "0") != 0) { in adb_server_main()136 if (!getenv("ADB_USB") || strcmp(getenv("ADB_USB"), "0") != 0) { in adb_server_main()146 if (!getenv("ADB_EMU") || strcmp(getenv("ADB_EMU"), "0") != 0) { in adb_server_main()
77 const char* ANDROID_PRODUCT_OUT = getenv("ANDROID_PRODUCT_OUT"); in product_file()585 const char* terminal_type = getenv("TERM"); in ShellServiceString()1199 char* log_tags = getenv("ANDROID_LOG_TAGS"); in logcat()1351 if (const char* adb_compression = getenv("ADB_COMPRESSION")) { in parse_push_pull_args()1621 server_socket_str = getenv("ADB_SERVER_SOCKET"); in adb_commandline()1626 server_host_str = server_host_str ? server_host_str : getenv("ANDROID_ADB_SERVER_ADDRESS"); in adb_commandline()1629 server_port_str = server_port_str ? server_port_str : getenv("ANDROID_ADB_SERVER_PORT"); in adb_commandline()1656 serial = getenv("ANDROID_SERIAL"); in adb_commandline()1999 if (const char* adb_compression = getenv("ADB_COMPRESSION"); adb_compression) { in adb_commandline()
209 static bool enable = getenv("ADB_LIBUSB") && strcmp(getenv("ADB_LIBUSB"), "1") == 0; in should_use_libusb()
57 const char* env_max_s = getenv("ADB_LOCAL_TRANSPORT_MAX_PORT"); in adb_local_transport_max_port_env_override()144 const char* host = getenv("ADBHOST"); in local_connect_arbitrary_ports()
50 const char* term = getenv("TERM"); in LinePrinter()
246 const char* mdns_osp = getenv("ADB_MDNS_OPENSCREEN"); in init_mdns_transport_discovery()
231 const char* adb_keys_path = getenv("ADB_VENDOR_KEYS"); in get_vendor_keys()
387 if (const char* incrementalFromEnv = getenv("ADB_INSTALL_DEFAULT_INCREMENTAL")) { in calculate_install_mode()
213 char* out = getenv("ANDROID_PRODUCT_OUT"); in ReportTransferRate()
219 const char* adb_external_storage = getenv("ADB_EXTERNAL_STORAGE"); in adbd_main()262 if (prop_port.empty() && getenv("ADBD_PORT")) { in adbd_main()263 prop_port = getenv("ADBD_PORT"); in adbd_main()
289 if (const char* const home = getenv("HOME")) { in adb_get_homedir_path()324 const char* path = getenv("ANDROID_ADB_LOG_PATH"); in GetLogFilePath()346 const char* tmp_dir = getenv("TMPDIR"); in GetLogFilePath()
94 const char* setting = getenv("ADB_TRACE"); in get_trace_setting()171 char* ANDROID_LOG_TAGS = getenv("ANDROID_LOG_TAGS"); in adb_trace_init()
63 const char* srvs = getenv("ADB_MDNS_AUTO_CONNECT"); in config_auto_connect_services()
226 if (const char* keepalive_env = getenv("ADB_TCP_KEEPALIVE_INTERVAL")) { in socket_spec_connect()
306 #define getenv adb_getenv macro
3126 #undef getenv in _init_console()3129 if (getenv("TERM") == nullptr) { in _init_console()
1045 char* ADB_VENDOR_KEYS = getenv("ADB_VENDOR_KEYS"); in acquire_one_transport()
54 const char* val = getenv(var.data()); in GetEnvironmentVariable()
92 const char* env = getenv("ANDROID_SERIAL"); in main()
214 const char* expected_serial = getenv("ANDROID_SERIAL"); in main()
240 return System.getenv("ANDROID_SERIAL"); in getDefaultDevice()
380 const char * cstr = getenv("USER");