Searched refs:getenv (Results 1 – 25 of 40) sorted by relevance
12
119 const char* reject_kill_server = getenv("ADB_REJECT_KILL_SERVER"); in adb_server_main()124 const char* leak = getenv("ADB_LEAK"); in adb_server_main()142 if (!getenv("ADB_USB") || strcmp(getenv("ADB_USB"), "0") != 0) { in adb_server_main()152 if (!getenv("ADB_EMU") || strcmp(getenv("ADB_EMU"), "0") != 0) { in adb_server_main()
78 return !getenv("ADB_MDNS") || strcmp(getenv("ADB_MDNS"), "0") != 0; in is_enabled()
78 const char* ANDROID_PRODUCT_OUT = getenv("ANDROID_PRODUCT_OUT"); in product_file()602 const char* terminal_type = getenv("TERM"); in ShellServiceString()1152 char* log_tags = getenv("ANDROID_LOG_TAGS"); in logcat()1315 if (const char* adb_compression = getenv("ADB_COMPRESSION")) { in parse_push_pull_args()1669 server_socket_str = getenv("ADB_SERVER_SOCKET"); in adb_commandline()1674 server_host_str = server_host_str ? server_host_str : getenv("ANDROID_ADB_SERVER_ADDRESS"); in adb_commandline()1677 server_port_str = server_port_str ? server_port_str : getenv("ANDROID_ADB_SERVER_PORT"); in adb_commandline()1712 serial = getenv("ANDROID_SERIAL"); in adb_commandline()2042 if (const char* adb_compression = getenv("ADB_COMPRESSION"); adb_compression) { in adb_commandline()
42 static const char* env = getenv("ADB_LIBUSB_START_DETACHED"); in ShouldStartDetached()
55 const char* env_max_s = getenv("ADB_LOCAL_TRANSPORT_MAX_PORT"); in adb_local_transport_max_port_env_override()143 const char* host = getenv("ADBHOST"); in connect_emulator_arbitrary_ports()
50 const char* term = getenv("TERM"); in LinePrinter()
184 char* env = getenv("ADB_LIBUSB"); in is_libusb_enabled()
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")
238 const char* adb_external_storage = getenv("ADB_EXTERNAL_STORAGE"); in adbd_main()281 if (prop_port.empty() && getenv("ADBD_PORT")) { in adbd_main()282 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()183 char* ANDROID_LOG_TAGS = getenv("ANDROID_LOG_TAGS"); in adb_trace_init()
51 const char* srvs = getenv("ADB_MDNS_AUTO_CONNECT"); in config_auto_connect_services()
29 if os.getenv("ANDROID_BUILD_TOP") is None:
39 val android_build_top = System.getenv("ANDROID_BUILD_TOP") ?: "../../../../../../"
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()