Commit graph

66748 commits

Author SHA1 Message Date
Joshua Duong
47e1b822ca Merge "[adb] Correctly read host/user name on Windows." am: a65d905b4a am: a0c115a38b am: 56eb247d3a am: 176c1e097d am: 5538671804
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1380298

Change-Id: I0dbf8b3912697593734c7645d97e9861730a3134
2020-08-05 16:59:29 +00:00
Joshua Duong
5538671804 Merge "[adb] Correctly read host/user name on Windows." am: a65d905b4a am: a0c115a38b am: 56eb247d3a am: 176c1e097d
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1380298

Change-Id: Ibff61d51d32294943c6322c1249fc248830fc610
2020-08-05 16:43:54 +00:00
Joshua Duong
176c1e097d Merge "[adb] Correctly read host/user name on Windows." am: a65d905b4a am: a0c115a38b am: 56eb247d3a
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1380298

Change-Id: I4e6cfc8323f0533f99657133c26b9fb960a1b3a0
2020-08-05 16:22:39 +00:00
Joshua Duong
56eb247d3a Merge "[adb] Correctly read host/user name on Windows." am: a65d905b4a am: a0c115a38b
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1380298

Change-Id: I7c74450e5485824fee0ab04eaca8fb4f91f84823
2020-08-05 16:03:06 +00:00
Joshua Duong
a0c115a38b Merge "[adb] Correctly read host/user name on Windows." am: a65d905b4a
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1380298

Change-Id: I95aefaaf1a599266532149e848c4bc0d373dc926
2020-08-05 15:45:29 +00:00
Joshua Duong
a65d905b4a Merge "[adb] Correctly read host/user name on Windows." 2020-08-05 15:25:47 +00:00
Steven Moreland
a5edde2552 [automerger skipped] Merge "libutils: check vsnprintf error" into oc-dev am: a03d37d542 am: d8801aaad8 am: d05ecb8d9d am: dc99a094dd am: 64b312bbd8 am: 0cb14f1fe7 am: ce44c8ac3c am: 1db089dc83 am: b6b96398f4 -s ours am: a7b4476ac7 -s ours
am skip reason: Change-Id Ia85067d4258bde4b875c832d6223db5dd26b8838 with SHA-1 ee22384c54 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12254459

Change-Id: I7e2bd084cefbb70ad59705a457e4215aef55252a
2020-08-05 00:38:58 +00:00
Steven Moreland
504c23b69b [automerger skipped] Merge "libutils: check vsnprintf error" into oc-dev am: a03d37d542 am: d8801aaad8 am: d05ecb8d9d am: dc99a094dd am: 64b312bbd8 am: 0cb14f1fe7 am: ce44c8ac3c am: f1c0be76ab -s ours am: 34d119cf10 -s ours am: e08102816c -s ours
am skip reason: Change-Id Ia85067d4258bde4b875c832d6223db5dd26b8838 with SHA-1 ee22384c54 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12254459

Change-Id: If6d2c3e37644517777e5e4dc21ab5cae0d8299b5
2020-08-05 00:38:46 +00:00
Steven Moreland
1fa711510e [automerger skipped] Merge "libutils: check vsnprintf error" into oc-dev am: a03d37d542 am: d8801aaad8 am: d05ecb8d9d am: dc99a094dd am: 64b312bbd8 am: 0cb14f1fe7 am: ce44c8ac3c am: 1db089dc83 am: 990cdd687f am: 4f479f861e -s ours
am skip reason: Change-Id Ia85067d4258bde4b875c832d6223db5dd26b8838 with SHA-1 0f0cb957b2 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12254459

Change-Id: I0ea9423e6b12bee638aaf97079ea7d00d1d49ddc
2020-08-05 00:38:29 +00:00
Steven Moreland
a7b4476ac7 [automerger skipped] Merge "libutils: check vsnprintf error" into oc-dev am: a03d37d542 am: d8801aaad8 am: d05ecb8d9d am: dc99a094dd am: 64b312bbd8 am: 0cb14f1fe7 am: ce44c8ac3c am: 1db089dc83 am: b6b96398f4 -s ours
am skip reason: Change-Id Ia85067d4258bde4b875c832d6223db5dd26b8838 with SHA-1 ee22384c54 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12254459

Change-Id: Idcb148427d85aab5dffa56a207a39f8116ac77bd
2020-08-05 00:28:08 +00:00
Steven Moreland
e08102816c [automerger skipped] Merge "libutils: check vsnprintf error" into oc-dev am: a03d37d542 am: d8801aaad8 am: d05ecb8d9d am: dc99a094dd am: 64b312bbd8 am: 0cb14f1fe7 am: ce44c8ac3c am: f1c0be76ab -s ours am: 34d119cf10 -s ours
am skip reason: Change-Id Ia85067d4258bde4b875c832d6223db5dd26b8838 with SHA-1 ee22384c54 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12254459

Change-Id: I70b3b11191775d1627fe14e212023ede5af189b4
2020-08-05 00:18:49 +00:00
Steven Moreland
4f479f861e Merge "libutils: check vsnprintf error" into oc-dev am: a03d37d542 am: d8801aaad8 am: d05ecb8d9d am: dc99a094dd am: 64b312bbd8 am: 0cb14f1fe7 am: ce44c8ac3c am: 1db089dc83 am: 990cdd687f
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12254459

Change-Id: I01b5f0aa3e4c78cd8e1528dd30fe9a57d90df422
2020-08-05 00:18:37 +00:00
Steven Moreland
b6b96398f4 Merge "libutils: check vsnprintf error" into oc-dev am: a03d37d542 am: d8801aaad8 am: d05ecb8d9d am: dc99a094dd am: 64b312bbd8 am: 0cb14f1fe7 am: ce44c8ac3c am: 1db089dc83
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12254459

Change-Id: Id855ccb8767afbc80338315d8a0522054855a749
2020-08-05 00:08:49 +00:00
Steven Moreland
34d119cf10 [automerger skipped] Merge "libutils: check vsnprintf error" into oc-dev am: a03d37d542 am: d8801aaad8 am: d05ecb8d9d am: dc99a094dd am: 64b312bbd8 am: 0cb14f1fe7 am: ce44c8ac3c am: f1c0be76ab -s ours
am skip reason: Change-Id Ia85067d4258bde4b875c832d6223db5dd26b8838 with SHA-1 ee22384c54 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12254459

Change-Id: I67d383e0e91758a494e6d5bf9ac218d59810790e
2020-08-04 23:57:20 +00:00
Steven Moreland
990cdd687f Merge "libutils: check vsnprintf error" into oc-dev am: a03d37d542 am: d8801aaad8 am: d05ecb8d9d am: dc99a094dd am: 64b312bbd8 am: 0cb14f1fe7 am: ce44c8ac3c am: 1db089dc83
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12254459

Change-Id: Iff7d2369ae16046560092265db6adf95a0176603
2020-08-04 23:56:05 +00:00
Steven Moreland
f1c0be76ab Merge "libutils: check vsnprintf error" into oc-dev am: a03d37d542 am: d8801aaad8 am: d05ecb8d9d am: dc99a094dd am: 64b312bbd8 am: 0cb14f1fe7 am: ce44c8ac3c
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12254459

Change-Id: I6fb2a6370b202cbe476aee558e09c702605d8328
2020-08-04 23:38:00 +00:00
Steven Moreland
1db089dc83 Merge "libutils: check vsnprintf error" into oc-dev am: a03d37d542 am: d8801aaad8 am: d05ecb8d9d am: dc99a094dd am: 64b312bbd8 am: 0cb14f1fe7 am: ce44c8ac3c
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12254459

Change-Id: I51d7fd41157708b398888aac7f70dd09c397ee81
2020-08-04 23:37:56 +00:00
Steven Moreland
ce44c8ac3c Merge "libutils: check vsnprintf error" into oc-dev am: a03d37d542 am: d8801aaad8 am: d05ecb8d9d am: dc99a094dd am: 64b312bbd8 am: 0cb14f1fe7
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12254459

Change-Id: I1cb83a4a22e205dddd10536f61392215d5cb33dc
2020-08-04 23:19:46 +00:00
Steven Moreland
0cb14f1fe7 Merge "libutils: check vsnprintf error" into oc-dev am: a03d37d542 am: d8801aaad8 am: d05ecb8d9d am: dc99a094dd am: 64b312bbd8
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12254459

Change-Id: I7d40bc3c63aa13c4050662f17b8a0854f8864ce4
2020-08-04 23:02:18 +00:00
Tom Cherry
cbfb0e38e9 Merge "libmodprobe: remove SetMinimumLogSeverity() from constructor" am: 03325fb854 am: daa14e59cd am: 3b7f554c8e am: 3793693264 am: f664dd717f
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1387857

Change-Id: Idf56c61fe7e7d74c911876266575c37e8d56b05a
2020-08-04 23:02:10 +00:00
Steven Moreland
64b312bbd8 Merge "libutils: check vsnprintf error" into oc-dev am: a03d37d542 am: d8801aaad8 am: d05ecb8d9d am: dc99a094dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12254459

Change-Id: I79dcbb310a2515e7f17ad2ebbb0367070084dab2
2020-08-04 22:46:49 +00:00
Tom Cherry
f664dd717f Merge "libmodprobe: remove SetMinimumLogSeverity() from constructor" am: 03325fb854 am: daa14e59cd am: 3b7f554c8e am: 3793693264
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1387857

Change-Id: I7273e533975375fb5191fe9dc8b4da3713368082
2020-08-04 22:45:13 +00:00
Tom Cherry
3793693264 Merge "libmodprobe: remove SetMinimumLogSeverity() from constructor" am: 03325fb854 am: daa14e59cd am: 3b7f554c8e
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1387857

Change-Id: I2cf894f9f71ed6caa383c71f4d9115d838d8af35
2020-08-04 22:31:23 +00:00
Steven Moreland
dc99a094dd Merge "libutils: check vsnprintf error" into oc-dev am: a03d37d542 am: d8801aaad8 am: d05ecb8d9d
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12254459

Change-Id: I816b8858c69e6481299f942401a16b5b39cd8b69
2020-08-04 22:21:36 +00:00
Tom Cherry
3b7f554c8e Merge "libmodprobe: remove SetMinimumLogSeverity() from constructor" am: 03325fb854 am: daa14e59cd
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1387857

Change-Id: Ibb1d40eb215a74182f81b0310ea63d762eb1a957
2020-08-04 22:11:30 +00:00
Steven Moreland
d05ecb8d9d Merge "libutils: check vsnprintf error" into oc-dev am: a03d37d542 am: d8801aaad8
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12254459

Change-Id: Ifa0692e4966e78f4e180a2efc53db991177b6006
2020-08-04 22:03:55 +00:00
Tom Cherry
daa14e59cd Merge "libmodprobe: remove SetMinimumLogSeverity() from constructor" am: 03325fb854
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1387857

Change-Id: Ifed528d6dfaaebe116b6b0714a77def969b76a27
2020-08-04 21:57:12 +00:00
Steven Moreland
d8801aaad8 Merge "libutils: check vsnprintf error" into oc-dev am: a03d37d542
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12254459

Change-Id: Id247c7079c146da8eaf52f098027d5daa25ce8d8
2020-08-04 21:37:54 +00:00
Tom Cherry
03325fb854 Merge "libmodprobe: remove SetMinimumLogSeverity() from constructor" 2020-08-04 21:30:09 +00:00
Steven Moreland
a03d37d542 Merge "libutils: check vsnprintf error" into oc-dev 2020-08-04 21:20:36 +00:00
Steven Moreland
0e998f69fa Merge "perfboot: significant figures + units for summary" am: fe8dec0447 am: b76d1b8873 am: 5b175d1261 am: bd246dfd1e am: f58a8fae60
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1386892

Change-Id: Idb2a73317f17be4ffd3d565eb869647687e8fc04
2020-08-04 19:39:27 +00:00
Steven Moreland
f58a8fae60 Merge "perfboot: significant figures + units for summary" am: fe8dec0447 am: b76d1b8873 am: 5b175d1261 am: bd246dfd1e
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1386892

Change-Id: I334b5cd416778d244bea14e6925a537a00117b95
2020-08-04 19:22:42 +00:00
Steven Moreland
bd246dfd1e Merge "perfboot: significant figures + units for summary" am: fe8dec0447 am: b76d1b8873 am: 5b175d1261
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1386892

Change-Id: I7ed82e502a94444d291107eedb0a56e1a0d0fb65
2020-08-04 19:06:37 +00:00
Steven Moreland
5b175d1261 Merge "perfboot: significant figures + units for summary" am: fe8dec0447 am: b76d1b8873
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1386892

Change-Id: I32a01ad3ebf2eae40bbcadeeada4babaf8d0696c
2020-08-04 18:46:14 +00:00
Steven Moreland
b76d1b8873 Merge "perfboot: significant figures + units for summary" am: fe8dec0447
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1386892

Change-Id: I0c3c4c09a23c9a9dd041b0d4d822d885bf1047b0
2020-08-04 18:28:54 +00:00
Steven Moreland
fe8dec0447 Merge "perfboot: significant figures + units for summary" 2020-08-04 18:10:32 +00:00
Tom Cherry
3085d957e8 libmodprobe: remove SetMinimumLogSeverity() from constructor
Only the parent executable, not libraries should set this value.

Note that `modprobe` in toolbox and first stage init, the two primary
users of this library already set this same minimum log severity.

Test: build
Change-Id: I888968deede3323cc270efc3cfd1b40fc521d2da
2020-08-04 08:28:36 -07:00
Jaegeuk Kim
9e1b09355a Merge "support f2fs casefolding formatting tool" am: ef2c28bf71 am: ec91233684 am: a704bca725 am: 50a033ed3a am: dbaab1820d
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1367758

Change-Id: I70eb34942e53f3cac03439a9d1ba6fca3fc87713
2020-08-04 06:31:14 +00:00
Jaegeuk Kim
dbaab1820d Merge "support f2fs casefolding formatting tool" am: ef2c28bf71 am: ec91233684 am: a704bca725 am: 50a033ed3a
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1367758

Change-Id: Idbcf723a9d773c42037f0f6d86a27a8486f17503
2020-08-04 06:06:43 +00:00
Jaegeuk Kim
50a033ed3a Merge "support f2fs casefolding formatting tool" am: ef2c28bf71 am: ec91233684 am: a704bca725
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1367758

Change-Id: I92a6351be6f6fb067c67ff29bfdde6d1555cd55b
2020-08-04 05:44:53 +00:00
Jaegeuk Kim
a704bca725 Merge "support f2fs casefolding formatting tool" am: ef2c28bf71 am: ec91233684
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1367758

Change-Id: I626360c9acdf0fcbcd3320b27ea1af6a2a59f4aa
2020-08-04 05:10:19 +00:00
Jaegeuk Kim
ec91233684 Merge "support f2fs casefolding formatting tool" am: ef2c28bf71
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1367758

Change-Id: I5b7c3e91f42832db1186f8b10064f96cac0d2ee3
2020-08-04 04:49:13 +00:00
Jaegeuk Kim
ef2c28bf71 Merge "support f2fs casefolding formatting tool" 2020-08-04 04:18:07 +00:00
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
Steven Moreland
18b73dd0b6 perfboot: significant figures + units for summary
This is correct significant figures/units based on the precision of our
measurements, but it does not reflect our actual certainty re the output
data, since in reality, confidence is diminished by temperature, device,
hardware revision, time of day/month/year, spurious activity, data
connectivity, app install list, inherent randomness of multiprogramming,
sensor activity, user interaction, /data caches, build-by-build
differences, charging state, data fragmentation, race-driven sleeps,
cosmic radiation, factory defects, local magnetic or gravitational field
differences, changes in device momentum, or other known and unknown
causes.

Bug: N/A
Test: run perfboot.py, and output has:
    mean: 10801 ms
    median: 10801 ms
    standard deviation: 18 ms
Change-Id: I796396acc203b29e9a14e4d6dffa58db7b8cd9fb
2020-08-04 00:58:40 +00:00
Tom Cherry
59cb155197 Merge "liblog: don't cache property size values and move to own file" am: 001a5df898 am: 6c33a55292 am: 119daf8d48 am: 77b7348571 am: 15840d433e
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1386258

Change-Id: I9fc043bce2c9421a3f79a2e547bee9a79f19646f
2020-08-04 00:52:34 +00:00
Tom Cherry
15840d433e Merge "liblog: don't cache property size values and move to own file" am: 001a5df898 am: 6c33a55292 am: 119daf8d48 am: 77b7348571
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1386258

Change-Id: Id5e12fd64fd966d3840930760abc8fcf1b307d71
2020-08-04 00:33:23 +00:00
Tom Cherry
77b7348571 Merge "liblog: don't cache property size values and move to own file" am: 001a5df898 am: 6c33a55292 am: 119daf8d48
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1386258

Change-Id: I778f24358722093c4e1b62716c17483664004795
2020-08-04 00:06:22 +00:00
Tom Cherry
119daf8d48 Merge "liblog: don't cache property size values and move to own file" am: 001a5df898 am: 6c33a55292
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1386258

Change-Id: I28f115dba48abb789668d98bde792792c4618f33
2020-08-03 23:42:14 +00:00
Tom Cherry
6c33a55292 Merge "liblog: don't cache property size values and move to own file" am: 001a5df898
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1386258

Change-Id: If8240d3cc1761a201e80592a2bc5a84cb5bd773d
2020-08-03 23:18:36 +00:00