Home
last modified time | relevance | path

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

12

/packages/modules/adb/client/
Dmain.cpp116 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()
Dcommandline.cpp77 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()
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_usb.cpp185 char* env = getenv("ADB_LIBUSB"); in should_use_libusb()
Dtransport_mdns.cpp235 const char* mdns_osp = getenv("ADB_MDNS_OPENSCREEN"); in init_mdns_transport_discovery()
/packages/modules/Bluetooth/android/pandora/
Dgen_cov.py41 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')
/packages/services/Car/tools/GenericCarApiBuilder/
Dhidden_api_check.py40 rootDir = os.getenv("ANDROID_BUILD_TOP")
45 javaHomeDir = os.getenv("JAVA_HOME")
Dannotation_classlist_repohook.py40 rootDir = os.getenv("ANDROID_BUILD_TOP")
45 javaHomeDir = os.getenv("JAVA_HOME")
/packages/modules/adb/daemon/
Dmain.cpp231 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()
/packages/modules/adb/
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_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_mdns.cpp64 const char* srvs = getenv("ADB_MDNS_AUTO_CONNECT"); in config_auto_connect_services()
Dbenchmark_device.py26 if os.getenv("ANDROID_BUILD_TOP") is None:
/packages/modules/Bluetooth/system/osi/include/socket_utils/
Dsockets.h42 const char* val = getenv(key); in osi_android_get_control_socket()
/packages/services/Car/tools/scripts/
Dgenerate-apitest-annotation.py25 rootDir = os.getenv("ANDROID_BUILD_TOP")
Dremove-apirequirements.py17 rootDir = os.getenv("ANDROID_BUILD_TOP")
/packages/services/Car/tools/GenericCarApiBuilder/scripts/
Dadd_assertPlatformVersionAtLeast.py24 rootDir = os.getenv("ANDROID_BUILD_TOP")
/packages/services/Car/tools/vehiclepropertyidsparser/
Dverify_generated_prop_config_hook.py75 javaHomeDir = os.getenv("JAVA_HOME")
/packages/modules/adb/sysdeps/
Denv.cpp56 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/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/
Dbuild.gradle84 if (System.getenv('STUDIO_LAUNCHED_WITH_WRAPPER') == null) {
/packages/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/apibuilder/
DGenerateAPI.java104 String rootDir = System.getenv(ANDROID_BUILD_TOP); in main()
/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/
DUtils.java250 return System.getenv("ANDROID_SERIAL"); in getDefaultDevice()

12