Searched refs:getenv (Results 1 – 25 of 36) sorted by relevance
12
116 const char* reject_kill_server = getenv("ADB_REJECT_KILL_SERVER"); in adb_server_main()121 const char* leak = getenv("ADB_LEAK"); in adb_server_main()135 if (!getenv("ADB_MDNS") || strcmp(getenv("ADB_MDNS"), "0") != 0) { in adb_server_main()139 if (!getenv("ADB_USB") || strcmp(getenv("ADB_USB"), "0") != 0) { in adb_server_main()149 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()599 const char* terminal_type = getenv("TERM"); in ShellServiceString()1149 char* log_tags = getenv("ANDROID_LOG_TAGS"); in logcat()1312 if (const char* adb_compression = getenv("ADB_COMPRESSION")) { in parse_push_pull_args()1635 server_socket_str = getenv("ADB_SERVER_SOCKET"); in adb_commandline()1640 server_host_str = server_host_str ? server_host_str : getenv("ANDROID_ADB_SERVER_ADDRESS"); in adb_commandline()1643 server_port_str = server_port_str ? server_port_str : getenv("ANDROID_ADB_SERVER_PORT"); in adb_commandline()1678 serial = getenv("ANDROID_SERIAL"); in adb_commandline()2008 if (const char* adb_compression = getenv("ADB_COMPRESSION"); adb_compression) { in adb_commandline()
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()
185 char* env = getenv("ADB_LIBUSB"); in should_use_libusb()
235 const char* mdns_osp = getenv("ADB_MDNS_OPENSCREEN"); in init_mdns_transport_discovery()
41 android_build_top = os.getenv('ANDROID_BUILD_TOP')118 out = os.getenv('OUT')119 android_host_out = os.getenv('ANDROID_HOST_OUT')245 out = os.getenv('OUT')246 android_build_top = os.getenv('ANDROID_BUILD_TOP')
40 rootDir = os.getenv("ANDROID_BUILD_TOP")45 javaHomeDir = os.getenv("JAVA_HOME")
231 const char* adb_external_storage = getenv("ADB_EXTERNAL_STORAGE"); in adbd_main()274 if (prop_port.empty() && getenv("ADBD_PORT")) { in adbd_main()275 prop_port = getenv("ADBD_PORT"); in adbd_main()
94 const char* setting = getenv("ADB_TRACE"); in get_trace_setting()171 char* ANDROID_LOG_TAGS = getenv("ANDROID_LOG_TAGS"); in adb_trace_init()
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()
64 const char* srvs = getenv("ADB_MDNS_AUTO_CONNECT"); in config_auto_connect_services()
26 if os.getenv("ANDROID_BUILD_TOP") is None:
42 const char* val = getenv(key); in osi_android_get_control_socket()
25 rootDir = os.getenv("ANDROID_BUILD_TOP")
17 rootDir = os.getenv("ANDROID_BUILD_TOP")
24 rootDir = os.getenv("ANDROID_BUILD_TOP")
75 javaHomeDir = os.getenv("JAVA_HOME")
56 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()
84 if (System.getenv('STUDIO_LAUNCHED_WITH_WRAPPER') == null) {
104 String rootDir = System.getenv(ANDROID_BUILD_TOP); in main()
250 return System.getenv("ANDROID_SERIAL"); in getDefaultDevice()