Xin Li
74d57a37cb
Merge commit 'e3d21c84af0b8e3244e4c67a873d2a16bfb85034' into HEAD
...
Change-Id: I09b21c2e27a0dfbef10633b20d8ee7adbedc1597
2017-11-14 13:14:23 -08:00
Tom Cherry
fe0a16fa38
Merge changes I39663cc3,Ie75ec6fe
...
am: 315dd896de
Change-Id: Ieec9084c2f9b2daee095180c8ff6a0c817dea98c
2017-11-14 21:04:36 +00:00
Tom Cherry
315dd896de
Merge changes I39663cc3,Ie75ec6fe
...
* changes:
Remove some globals from system_properties
Split system_properties.cpp into its component pieces
2017-11-14 20:55:13 +00:00
Tom Cherry
f76bbf5384
Remove some globals from system_properties
...
pa_size should be static to prop_area, so make it so.
__system_property_area__ was reused for various purposes, but
realistically is a deprecated symbol and this finally separates us
from it.
Bug: 36001741
Test: boot bullhead, system property unit tests
Change-Id: I39663cc3b613093fa4c728b21d8ba58754f8e105
2017-11-14 08:55:27 -08:00
Tom Cherry
fd44b9f8d8
Split system_properties.cpp into its component pieces
...
system_properties.cpp is a little bit unmanageable in its current
form, and is overdue for a refactoring into more clearly defined
components.
Of particular interest, is creating of a Contexts interface that
handles mapping of system property name -> SEContext and its
associated prop_area, and creating two classes that implement the
current and legacy functionality. This is needed as there will likely
be a third even newer way to do this mapping.
Bug: 36001741
Test: boot bullhead, system property unit tests
Change-Id: Ie75ec6fea1a95f90813918f54669d533e51327c6
2017-11-14 08:50:52 -08:00
Elliott Hughes
4ccc650c66
Merge "Remove more trivial char/wchar_t printf differences."
...
am: 40a5cfa8d1
Change-Id: I2ffe7058aa5dc40f095f9d86eaa5edb6b77688a6
2017-11-14 01:08:36 +00:00
Elliott Hughes
40a5cfa8d1
Merge "Remove more trivial char/wchar_t printf differences."
2017-11-14 00:58:04 +00:00
Elliott Hughes
b70576b048
Remove more trivial char/wchar_t printf differences.
...
Bug: http://b/67371539
Test: ran tests
Change-Id: I899458af92517dc21f874519716fa3f3a0f0e3d6
2017-11-13 11:10:05 -08:00
Elliott Hughes
97da26384a
Merge "Yet more printf de-duplication."
...
am: 0793e3dd07
Change-Id: I174c65106f88b25fa41691dd79d46398c8ed8c18
2017-11-13 18:10:28 +00:00
Elliott Hughes
0793e3dd07
Merge "Yet more printf de-duplication."
2017-11-13 18:04:18 +00:00
Elliott Hughes
dbc4bc4bb1
Merge "Move public scanf functions away from implementation."
...
am: 13e86af056
Change-Id: I09aa9459f998d92a5bbfb9149210da1f86fbedd9
2017-11-13 17:19:50 +00:00
Treehugger Robot
13e86af056
Merge "Move public scanf functions away from implementation."
2017-11-13 17:17:10 +00:00
Elliott Hughes
345b727e96
Move public scanf functions away from implementation.
...
Bug: N/A
Test: ran tests
Change-Id: Ifb8bd91132865f8c6d0b95baf1021af3b3b3c353
2017-11-10 16:20:43 -08:00
Elliott Hughes
bc27bdc24f
Yet more printf de-duplication.
...
Bug: http://b/67371539
Test: ran tests
Change-Id: Iae38055426596919c0de4f5080c99eba95fac3a9
2017-11-10 15:25:49 -08:00
Tom Cherry
e2b484e290
Merge "Better test handling and logging in grp_pwd_test.cpp"
...
am: 1c9f04464b
Change-Id: I2ec11ad8de3a480ae61aa57092c57f0dc4c1bdff
2017-11-10 21:22:37 +00:00
Treehugger Robot
1c9f04464b
Merge "Better test handling and logging in grp_pwd_test.cpp"
2017-11-10 21:11:37 +00:00
Tom Cherry
2c05c0f9b0
Better test handling and logging in grp_pwd_test.cpp
...
grp_pwd_test.cpp uses ASSERT_ where EXPECT_ is possible, causing
missing failures when multiple failures are present.
Also, print out the uid/gid in the _iterate tests, to make debugging
easier.
Test: these same unit tests
Change-Id: I839b74fb86232b3e896091e76ab862cc5b6b8782
2017-11-10 10:57:21 -08:00
Elliott Hughes
c3f5a89e40
Merge "Add trivial test for __memrchr_chk."
...
am: 843e340874
Change-Id: I6c5c24cdfa91fc160797a993041ebbb55b716f25
2017-11-10 02:00:06 +00:00
Elliott Hughes
546c416fa4
Merge "Use builtins for fma/fmax/fmin/round on arm64."
...
am: 9b0def7139
Change-Id: I98996cd4216643c686e985136c9edb92aa6bf397
2017-11-10 01:58:07 +00:00
Treehugger Robot
843e340874
Merge "Add trivial test for __memrchr_chk."
2017-11-10 01:57:24 +00:00
Elliott Hughes
9b0def7139
Merge "Use builtins for fma/fmax/fmin/round on arm64."
2017-11-10 01:50:17 +00:00
Elliott Hughes
9a1bb70ba0
Use builtins for fma/fmax/fmin/round on arm64.
...
Bug: http://b/27829506
Change-Id: Id243e3ba0041d5efce496f0760815e591a2c00a0
Test: ran tests and inspected arm64 assembler
2017-11-09 15:57:34 -08:00
Elliott Hughes
55a8cc2a0d
Add trivial test for __memrchr_chk.
...
Bug: N/A
Test: ran tests
Change-Id: I42aefcbf1fac6b96e56a0e21f94586a3caa524dc
2017-11-09 15:46:51 -08:00
Elliott Hughes
9b0632011c
Merge "Move shared parts of the two printfs out."
...
am: 5e186f9a8e
Change-Id: Ic4569130f374f6fc16a8d2efcea7fd1fea13f760
2017-11-09 23:28:37 +00:00
Elliott Hughes
0a20534d5a
Merge "Add trivial tests for the <resolv.h> base64 functions."
...
am: a6092a9a75
Change-Id: Ic77e35e35c3e02bb5ad1c797e86b3e1154f10779
2017-11-09 23:28:15 +00:00
Elliott Hughes
51854ae96f
Merge "Add trivial ttyname(3) test."
...
am: 1670e2a298
Change-Id: I96b38a7ace770563cfa8de5432b90dbf1f2babd3
2017-11-09 23:27:53 +00:00
Elliott Hughes
5e186f9a8e
Merge "Move shared parts of the two printfs out."
2017-11-09 23:10:01 +00:00
Elliott Hughes
a6092a9a75
Merge "Add trivial tests for the <resolv.h> base64 functions."
2017-11-09 23:09:18 +00:00
Elliott Hughes
1670e2a298
Merge "Add trivial ttyname(3) test."
2017-11-09 23:08:28 +00:00
Elliott Hughes
44733d1cb5
Merge "Revert "Use builtins for fma/fmax/fmin/round on arm/arm64.""
...
am: 6e59a7817a
Change-Id: Ia1735feae5e8bbe203c2dad24738db7f4e433151
2017-11-09 22:38:29 +00:00
Treehugger Robot
6e59a7817a
Merge "Revert "Use builtins for fma/fmax/fmin/round on arm/arm64.""
2017-11-09 22:10:27 +00:00
Pirama Arumuga Nainar
d06f436f43
Merge "Make versioner depend on lib{LLVM,clang}_android.so"
...
am: c6fa2c3925
Change-Id: Iee1a56c5800fe643b468c4ebb80daf14d743a9ad
2017-11-09 22:10:00 +00:00
Pirama Arumuga Nainar
c6fa2c3925
Merge "Make versioner depend on lib{LLVM,clang}_android.so"
2017-11-09 21:59:54 +00:00
Elliott Hughes
3b583f6330
Revert "Use builtins for fma/fmax/fmin/round on arm/arm64."
...
Apparently we still build non-NEON variants of bionic!
This reverts commit e57d772353
.
Change-Id: I5436d913b1dc9b7d8f5e6afaea9b45002be7e825
2017-11-09 17:47:49 +00:00
Elliott Hughes
31e48e1bed
Merge "Remove test that adds no coverage."
...
am: ccea843084
Change-Id: Icadf70b90dafe0b0b5fcf688ddb0995b2f11fbd6
2017-11-09 17:32:26 +00:00
Elliott Hughes
ccea843084
Merge "Remove test that adds no coverage."
2017-11-09 17:21:32 +00:00
Elliott Hughes
b80b14256e
Merge "Use builtins for fma/fmax/fmin/round on arm/arm64."
...
am: d62d61de30
Change-Id: I932f3fe68b8156c682828c527a08a44df6816d3a
2017-11-09 17:01:54 +00:00
Elliott Hughes
d62d61de30
Merge "Use builtins for fma/fmax/fmin/round on arm/arm64."
2017-11-09 16:55:53 +00:00
Elliott Hughes
728cde5be9
Add trivial ttyname(3) test.
...
Bug: N/A
Test: ran tests
Change-Id: Id5bf51a9c50db0fdbc9df0225165e87e698d0c83
2017-11-08 21:53:50 -08:00
Elliott Hughes
32f608dd46
Remove test that adds no coverage.
...
qsort_test doesn't test anything that stdlib's qsort tests don't already cover.
Bug: N/A
Test: ran tests
Change-Id: I6df3008d82083f1120a2027e759dc7cf77cc4e3b
2017-11-08 21:40:55 -08:00
Elliott Hughes
70f020953b
Add trivial tests for the <resolv.h> base64 functions.
...
Bug: N/A
Test: ran tests
Change-Id: Ib57443efb03dbaddbe69e21949ebc8df6cf8a4bb
2017-11-08 21:13:15 -08:00
Elliott Hughes
1f4931751b
Move shared parts of the two printfs out.
...
Bug: http://b/67371539
Test: ran tests
Change-Id: I24eae6a5d2c64ff4fd65c8d508a3709bab5a11c4
2017-11-08 16:27:49 -08:00
Elliott Hughes
e57d772353
Use builtins for fma/fmax/fmin/round on arm/arm64.
...
Bug: http://b/27829506
Test: ran tests and inspected arm/arm64/x86/x86-64 assembler
Change-Id: I8af60b44c75dddbb11949f208a8a70ed3cff12c8
2017-11-08 15:13:58 -08:00
Nan Zhang
fc48bb3ee2
Merge "Change bool, and string properties to *bool, and *string for cc"
...
am: 265b1ab966
Change-Id: Ica10882dfd79072011a7b6deae1a313e2c32ed08
2017-11-08 18:49:06 +00:00
Treehugger Robot
265b1ab966
Merge "Change bool, and string properties to *bool, and *string for cc"
2017-11-08 18:41:33 +00:00
Elliott Hughes
8e065c8941
Merge "More printf de-duplication."
...
am: 08448561e6
Change-Id: I9ad3ff3fa8db3c03941ec4c40e1717bf0f896b31
2017-11-08 17:26:54 +00:00
Elliott Hughes
08448561e6
Merge "More printf de-duplication."
2017-11-08 17:21:39 +00:00
Christopher Ferris
8e1cc513f3
Merge "Fix bionic benchmark unit tests."
...
am: 946e02d9b0
Change-Id: I1fc260bcc9ad117c69d6319caa08cba050d621a1
2017-11-08 15:34:43 +00:00
Christopher Ferris
946e02d9b0
Merge "Fix bionic benchmark unit tests."
2017-11-08 15:30:50 +00:00
Elliott Hughes
93a1f8b1f5
More printf de-duplication.
...
Just trivial use of macros.
The %s/%ls case in __find_arguments was backwards in the wide copy of
the code, but not problematically so because all pointers are the same
size anyway.
Bug: http://b/67371539
Test: ran tests
Change-Id: I8d34915d75ae5425c56c59510a16c328fc481d20
2017-11-07 22:52:29 -08:00