Home
last modified time | relevance | path

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

/packages/modules/adb/client/
Dmain.cpp111 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()
Dcommandline.cpp77 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()
Dtransport_usb.cpp209 static bool enable = getenv("ADB_LIBUSB") && strcmp(getenv("ADB_LIBUSB"), "1") == 0; in should_use_libusb()
Dtransport_local.cpp57 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()
Dline_printer.cpp50 const char* term = getenv("TERM"); in LinePrinter()
Dtransport_mdns.cpp246 const char* mdns_osp = getenv("ADB_MDNS_OPENSCREEN"); in init_mdns_transport_discovery()
Dauth.cpp231 const char* adb_keys_path = getenv("ADB_VENDOR_KEYS"); in get_vendor_keys()
Dadb_install.cpp387 if (const char* incrementalFromEnv = getenv("ADB_INSTALL_DEFAULT_INCREMENTAL")) { in calculate_install_mode()
Dfile_sync_client.cpp213 char* out = getenv("ANDROID_PRODUCT_OUT"); in ReportTransferRate()
/packages/modules/adb/daemon/
Dmain.cpp219 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()
/packages/modules/adb/
Dadb_utils.cpp289 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()
Dadb_trace.cpp94 const char* setting = getenv("ADB_TRACE"); in get_trace_setting()
171 char* ANDROID_LOG_TAGS = getenv("ANDROID_LOG_TAGS"); in adb_trace_init()
Dadb_mdns.cpp63 const char* srvs = getenv("ADB_MDNS_AUTO_CONNECT"); in config_auto_connect_services()
Dsocket_spec.cpp226 if (const char* keepalive_env = getenv("ADB_TCP_KEEPALIVE_INTERVAL")) { in socket_spec_connect()
Dsysdeps.h306 #define getenv adb_getenv macro
Dsysdeps_win32.cpp3126 #undef getenv in _init_console()
3129 if (getenv("TERM") == nullptr) { in _init_console()
Dtransport.cpp1045 char* ADB_VENDOR_KEYS = getenv("ADB_VENDOR_KEYS"); in acquire_one_transport()
/packages/modules/adb/sysdeps/
Denv.cpp54 const char* val = getenv(var.data()); in GetEnvironmentVariable()
/packages/modules/adb/tools/
Dadb_usbreset.cpp92 const char* env = getenv("ANDROID_SERIAL"); in main()
Dcheck_ms_os_desc.cpp214 const char* expected_serial = getenv("ANDROID_SERIAL"); in main()
/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/
DUtils.java240 return System.getenv("ANDROID_SERIAL"); in getDefaultDevice()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dtutorial.md380 const char * cstr = getenv("USER");