platform_system_core/adb/sysdeps
Joshua Duong 62a42ec8ca [adb] Correctly read host/user name on Windows.
Bug: 162111908

Test: On linux/mac:
HOSTNAME="" adb keygen mykey; cat mykey.pub # Also LOGNAME
HOSTNAME="测试" adb keygen mykey; cat mykey.pub
HOSTNAME="test" adb keygen mykey; cat mykey.pub

Test: On Windows:
set COMPUTERNAME=&& adb keygen mykey
&& powershell -command "get-content -encoding utf8 mykey.pub" # Also USERNAME
set COMPUTERNAME=测试&& adb keygen mykey
&& powershell -command "get-content -encoding utf8 mykey.pub"
set COMPUTERNAME=test&& adb keygen mykey
&& powershell -command "get-content -encoding utf8 mykey.pub"

Change-Id: I62c952c511a620286aa4e05b1763361406e9f89a
2020-08-03 18:55:17 -07:00
..
posix Allow the adb server to bind on ::1 2019-11-07 08:32:01 -08:00
win32 Revert "Revert "adb: move adb_strerror to sysdeps/win32/errno.cpp."" 2016-12-05 17:38:30 -08:00
chrono.h adb: implement fdevent_set_timeout. 2019-01-31 23:36:41 -08:00
env.cpp [adb] Correctly read host/user name on Windows. 2020-08-03 18:55:17 -07:00
env.h [adb] Correctly read host/user name on Windows. 2020-08-03 18:55:17 -07:00
errno.cpp Remove various bits of dead code and unused workarounds. 2020-02-22 16:53:24 +00:00
errno.h Revert "Revert "adb: extend sync protocol's stat support."" 2016-12-05 17:38:30 -08:00
network.h Allow the adb server to bind on ::1 2019-11-07 08:32:01 -08:00
stat.h adb: make sure that file mode macros match linux. 2016-11-21 18:39:21 -08:00
stat_test.cpp switch to using android-base/file.h instead of android-base/test_utils.h 2018-11-14 09:35:34 -08:00
uio.h Revert "Revert "Add a way to turn off unique_fd's operator int."" 2019-05-06 16:18:02 -07:00
vm_sockets.h Add native vsock support to ADB. 2019-01-25 17:55:06 -08:00