Searched refs:getenv (Results 1 – 25 of 42) sorted by relevance
12
106 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()
50 const char* term = getenv("TERM"); in LinePrinter()
82 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()
72 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()
44 const char* const color_term_env = getenv("COLORTERM"); in ShouldUseColor()49 const char* const term_env = getenv("TERM"); in ShouldUseColor()
22 self.device = adb.get_device(os.getenv("BOOTLOADER_TEST_SERIAL"));
41 const char* val = getenv(key); in osi_android_get_control_socket()
93 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()
199 static bool enable = getenv("ADB_LIBUSB") && strcmp(getenv("ADB_LIBUSB"), "1") == 0; in should_use_libusb()
289 if (const char* const home = getenv("HOME")) { in adb_get_homedir_path()342 const char* tmp_dir = getenv("TMPDIR"); in GetLogFilePath()
63 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()
62 const char* val = getenv(key); in __android_get_control_from_env()
91 envStr = getenv("ANDROID_PRINTF_LOG"); in stderrOpen()115 envStr = getenv("ANDROID_LOG_TAGS"); in stderrOpen()
195 const char* tags = getenv("ANDROID_LOG_TAGS"); in configureInitialState()283 const char* fstr = getenv("ANDROID_PRINTF_LOG"); in configureInitialState()
46 return isBuildDebuggable && getenv(name); in isOverriddenBy()
313 c = getenv("GREP_COLOR"); in init_color()368 eopts = getenv("GREP_OPTIONS"); in main()594 term = getenv("TERM"); in main()
655 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()
402 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()
82 String testcasesPath = System.getenv(EnvVariable.ANDROID_HOST_OUT_TESTCASES.toString()); in getTestFile()
221 const char* adb_external_storage = getenv("ADB_EXTERNAL_STORAGE"); in adbd_main()
367 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()
77 const auto* tmpdir = getenv("TMPDIR"); in GetSystemTempDir()97 const auto* tmpdir = getenv("TMPDIR"); in GetSystemTempDir()
105 const auto val = getenv("ANDROID_FILE__dev_kmsg"); in OpenKmsg()298 const char* tags = getenv("ANDROID_LOG_TAGS"); in InitLogging()
88 const char* prefixOverride = getenv(kGcovPrefixOverrideEnvVar); in HidlInstrumentor()
86 const char* value = getenv(key); in LaunchProcess()