Home
last modified time | relevance | path

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

12

/system/core/adb/client/
Dmain.cpp106 char* leak = getenv("ADB_LEAK"); in adb_server_main()
121 if (!getenv("ADB_MDNS") || strcmp(getenv("ADB_MDNS"), "0") != 0) { in adb_server_main()
125 if (!getenv("ADB_USB") || strcmp(getenv("ADB_USB"), "0") != 0) { in adb_server_main()
131 if (!getenv("ADB_EMU") || strcmp(getenv("ADB_EMU"), "0") != 0) { in adb_server_main()
Dline_printer.cpp50 const char* term = getenv("TERM"); in LinePrinter()
Dfastdeploy.cpp82 const char* product_out = getenv("ANDROID_PRODUCT_OUT"); in get_agent_component_host_path()
244 const char* host_out = getenv("ANDROID_HOST_OUT"); in get_patch_generator_command()
Dcommandline.cpp72 const char* ANDROID_PRODUCT_OUT = getenv("ANDROID_PRODUCT_OUT"); in product_file()
568 const char* terminal_type = getenv("TERM"); in ShellServiceString()
1192 char* log_tags = getenv("ANDROID_LOG_TAGS"); in logcat()
1518 server_socket_str = getenv("ADB_SERVER_SOCKET"); in adb_commandline()
1523 server_host_str = server_host_str ? server_host_str : getenv("ANDROID_ADB_SERVER_ADDRESS"); in adb_commandline()
1526 server_port_str = server_port_str ? server_port_str : getenv("ANDROID_ADB_SERVER_PORT"); in adb_commandline()
1553 serial = getenv("ANDROID_SERIAL"); in adb_commandline()
/system/testing/gtest_extras/
DColor.cpp44 const char* const color_term_env = getenv("COLORTERM"); in ShouldUseColor()
49 const char* const term_env = getenv("TERM"); in ShouldUseColor()
/system/extras/tests/bootloader/
Dshelltest.py22 self.device = adb.get_device(os.getenv("BOOTLOADER_TEST_SERIAL"));
/system/bt/osi/include/socket_utils/
Dsockets.h41 const char* val = getenv(key); in osi_android_get_control_socket()
/system/core/adb/
Dadb_trace.cpp93 const char* setting = getenv("ADB_TRACE"); in get_trace_setting_from_env()
176 char* ANDROID_LOG_TAGS = getenv("ANDROID_LOG_TAGS"); in adb_trace_init()
Dtransport_usb.cpp199 static bool enable = getenv("ADB_LIBUSB") && strcmp(getenv("ADB_LIBUSB"), "1") == 0; in should_use_libusb()
Dadb_utils.cpp289 if (const char* const home = getenv("HOME")) { in adb_get_homedir_path()
342 const char* tmp_dir = getenv("TMPDIR"); in GetLogFilePath()
Dtransport_local.cpp63 const char* env_max_s = getenv("ADB_LOCAL_TRANSPORT_MAX_PORT"); in adb_local_transport_max_port_env_override()
160 const char *host = getenv("ADBHOST"); in local_connect_arbitrary_ports()
/system/core/libcutils/
Dandroid_get_control_file.cpp62 const char* val = getenv(key); in __android_get_control_from_env()
/system/core/liblog/
Dstderr_write.cpp91 envStr = getenv("ANDROID_PRINTF_LOG"); in stderrOpen()
115 envStr = getenv("ANDROID_LOG_TAGS"); in stderrOpen()
Dfake_log_device.cpp195 const char* tags = getenv("ANDROID_LOG_TAGS"); in configureInitialState()
283 const char* fstr = getenv("ANDROID_PRINTF_LOG"); in configureInitialState()
/system/netd/client/
DFwmarkClient.cpp46 return isBuildDebuggable && getenv(name); in isOverriddenBy()
/system/core/toolbox/upstream-netbsd/usr.bin/grep/
Dgrep.c313 c = getenv("GREP_COLOR"); in init_color()
368 eopts = getenv("GREP_OPTIONS"); in main()
594 term = getenv("TERM"); in main()
/system/core/init/
Dinit.cpp655 property_set("ro.boottime.init", getenv("INIT_STARTED_AT")); in SecondStageMain()
656 property_set("ro.boottime.init.selinux", getenv("INIT_SELINUX_TOOK")); in SecondStageMain()
659 const char* avb_version = getenv("INIT_AVB_VERSION"); in SecondStageMain()
663 const char* force_debuggable_env = getenv("INIT_FORCE_DEBUGGABLE"); in SecondStageMain()
/system/core/fs_mgr/libfiemap_writer/
Dfiemap_writer_test.cpp402 fs_path = std::string(getenv("TMPDIR")) + "/ext4_2G.img"; in SetUp()
411 mntpoint = std::string(getenv("TMPDIR")) + "/fiemap_mnt"; in SetUp()
444 fs_path = std::string(getenv("TMPDIR")) + "/f2fs_2G.img"; in SetUp()
453 mntpoint = std::string(getenv("TMPDIR")) + "/fiemap_mnt"; in SetUp()
/system/apex/tests/src/com/android/tests/apex/
DApexTestUtils.java82 String testcasesPath = System.getenv(EnvVariable.ANDROID_HOST_OUT_TESTCASES.toString()); in getTestFile()
/system/core/adb/daemon/
Dmain.cpp221 const char* adb_external_storage = getenv("ADB_EXTERNAL_STORAGE"); in adbd_main()
/system/libhidl/transport/
DServiceManagement.cpp367 const char* env = std::getenv("TREBLE_TESTING_OVERRIDE"); in openLibs()
380 const char* vtsRootPath = std::getenv("VTS_ROOT_PATH"); in openLibs()
760 const char* env = std::getenv("TREBLE_TESTING_OVERRIDE"); in getRawServiceInternal()
769 const char* env = std::getenv("TREBLE_TESTING_OVERRIDE"); in getRawServiceInternal()
/system/core/base/
Dfile.cpp77 const auto* tmpdir = getenv("TMPDIR"); in GetSystemTempDir()
97 const auto* tmpdir = getenv("TMPDIR"); in GetSystemTempDir()
Dlogging.cpp105 const auto val = getenv("ANDROID_FILE__dev_kmsg"); in OpenKmsg()
298 const char* tags = getenv("ANDROID_LOG_TAGS"); in InitLogging()
/system/libhidl/base/
DHidlInternal.cpp88 const char* prefixOverride = getenv(kGcovPrefixOverrideEnvVar); in HidlInstrumentor()
/system/update_engine/common/
Dsubprocess.cc86 const char* value = getenv(key); in LaunchProcess()

12