OSDN Git Service

android-x86/bionic.git
7 years agoReserve a realtime signal for debuggerd. am: f8a6d4745d am: 3d8c6aa3a1
Josh Gao [Wed, 18 Jan 2017 23:55:09 +0000 (23:55 +0000)]
Reserve a realtime signal for debuggerd. am: f8a6d4745d am: 3d8c6aa3a1
am: 2562ae8215

Change-Id: Ic03d57d7f66bacf8daf8dc58b83652c76022bb99

7 years agoReserve a realtime signal for debuggerd. am: f8a6d4745d
Josh Gao [Wed, 18 Jan 2017 23:42:24 +0000 (23:42 +0000)]
Reserve a realtime signal for debuggerd. am: f8a6d4745d
am: 3d8c6aa3a1

Change-Id: I24d59d8b77a8df6658637ae44afc2af5bc109f5c

7 years agoReserve a realtime signal for debuggerd.
Josh Gao [Wed, 18 Jan 2017 23:16:39 +0000 (23:16 +0000)]
Reserve a realtime signal for debuggerd.
am: f8a6d4745d

Change-Id: If7eced969434e50beec04625c905ef374cdcdfb1

7 years agoMerge "Declare dependency on android_filesystem_config.h" am: 2f238b32cd am: 5b91973fb7
Colin Cross [Wed, 18 Jan 2017 18:21:59 +0000 (18:21 +0000)]
Merge "Declare dependency on android_filesystem_config.h" am: 2f238b32cd am: 5b91973fb7
am: 19b40c7e14

Change-Id: If5ef695f2f34ae5401e4d84760602f417231edc8

7 years agoMerge "Revert "property_contexts: split into platform and non-platform components...
Jorim Jaggi [Wed, 18 Jan 2017 18:21:46 +0000 (18:21 +0000)]
Merge "Revert "property_contexts: split into platform and non-platform components"" am: dbfa1bd292 am: e6a17b4baf
am: 07e74ea198

Change-Id: Ib9a5a94c95f24cbf36aa25ad297b48f3643a8fbe

7 years agoRevert "property_contexts: split into platform and non-platform components" am: e2f5e...
Jorim Jaggi [Wed, 18 Jan 2017 18:18:50 +0000 (18:18 +0000)]
Revert "property_contexts: split into platform and non-platform components" am: e2f5ea14c5 am: 860a1db8fd
am: abea8788e8

Change-Id: I023ee1f9c879287b7e40d9af2f0c7a948bd8c251

7 years agoMerge "Declare dependency on android_filesystem_config.h" am: 2f238b32cd
Colin Cross [Wed, 18 Jan 2017 17:06:18 +0000 (17:06 +0000)]
Merge "Declare dependency on android_filesystem_config.h" am: 2f238b32cd
am: 5b91973fb7

Change-Id: I4ede35c4deab0b6cbe59a958633ac89b4cee0204

7 years agoMerge "Declare dependency on android_filesystem_config.h"
Colin Cross [Wed, 18 Jan 2017 16:59:52 +0000 (16:59 +0000)]
Merge "Declare dependency on android_filesystem_config.h"
am: 2f238b32cd

Change-Id: Ia69ebf6c7d1aeefc61ff301197d3d994a009b477

7 years agoMerge "Declare dependency on android_filesystem_config.h"
Colin Cross [Wed, 18 Jan 2017 16:53:25 +0000 (16:53 +0000)]
Merge "Declare dependency on android_filesystem_config.h"

7 years agoMerge "Revert "property_contexts: split into platform and non-platform components...
Jorim Jaggi [Wed, 18 Jan 2017 16:53:16 +0000 (16:53 +0000)]
Merge "Revert "property_contexts: split into platform and non-platform components"" am: dbfa1bd292
am: e6a17b4baf

Change-Id: I3124b8b82cf42f116322082d53462863a97cca09

7 years agoRevert "property_contexts: split into platform and non-platform components" am: e2f5e...
Jorim Jaggi [Wed, 18 Jan 2017 16:47:36 +0000 (16:47 +0000)]
Revert "property_contexts: split into platform and non-platform components" am: e2f5ea14c5
am: 860a1db8fd

Change-Id: I98f7277d7f8e4f3eb6474ec62f82a80fbf63f1b4

7 years agoMerge "Revert "property_contexts: split into platform and non-platform components""
Jorim Jaggi [Wed, 18 Jan 2017 16:47:31 +0000 (16:47 +0000)]
Merge "Revert "property_contexts: split into platform and non-platform components""
am: dbfa1bd292

Change-Id: I7279216d6987fa853ee759997e2c571fc01ce5ed

7 years agoRevert "property_contexts: split into platform and non-platform components"
Jorim Jaggi [Wed, 18 Jan 2017 16:41:36 +0000 (16:41 +0000)]
Revert "property_contexts: split into platform and non-platform components"
am: e2f5ea14c5

Change-Id: I9a794b93b077791ce46016cb9f8965a52c98b88e

7 years agoMerge "Revert "property_contexts: split into platform and non-platform components""
Jorim Jaggi [Wed, 18 Jan 2017 16:33:31 +0000 (16:33 +0000)]
Merge "Revert "property_contexts: split into platform and non-platform components""

7 years agoRevert "property_contexts: split into platform and non-platform components"
Jorim Jaggi [Wed, 18 Jan 2017 15:37:18 +0000 (15:37 +0000)]
Revert "property_contexts: split into platform and non-platform components"

This reverts commit 8213615461f7d39620e44f73980acc6107c76ac7.

Change-Id: Id2982eafadc5d1c307b60c1f8abe78df8dc8b82e

7 years agoMerge "property_contexts: split into platform and non-platform components" am: 0b6d0a...
Sandeep Patil [Wed, 18 Jan 2017 06:26:39 +0000 (06:26 +0000)]
Merge "property_contexts: split into platform and non-platform components" am: 0b6d0a8b38 am: dbfa403a75
am: dc67d13c97

Change-Id: I539bbb47e69ca8d1f8f550b4090a1a3c5bcebe81

7 years agoproperty_contexts: split into platform and non-platform components am: 8213615461...
Sandeep Patil [Wed, 18 Jan 2017 06:21:53 +0000 (06:21 +0000)]
property_contexts: split into platform and non-platform components am: 8213615461 am: 045ba4b249
am: 84ac3e4354

Change-Id: I8c7543563a3ce1f0d9fed028e504b72fd197a3c6

7 years agoMerge "property_contexts: split into platform and non-platform components" am: 0b6d0a8b38
Sandeep Patil [Wed, 18 Jan 2017 06:21:38 +0000 (06:21 +0000)]
Merge "property_contexts: split into platform and non-platform components" am: 0b6d0a8b38
am: dbfa403a75

Change-Id: I66db487ba16d0fcad7a5c67385c69de05419e07f

7 years agoproperty_contexts: split into platform and non-platform components am: 8213615461
Sandeep Patil [Wed, 18 Jan 2017 06:16:51 +0000 (06:16 +0000)]
property_contexts: split into platform and non-platform components am: 8213615461
am: 045ba4b249

Change-Id: Ie92f9de186e3ff723e67ee17f4d6224569dee65f

7 years agoMerge "property_contexts: split into platform and non-platform components"
Sandeep Patil [Wed, 18 Jan 2017 06:16:50 +0000 (06:16 +0000)]
Merge "property_contexts: split into platform and non-platform components"
am: 0b6d0a8b38

Change-Id: I10c9caa9f85f21e681b8ab02cd3ea5e8ef489eb0

7 years agoproperty_contexts: split into platform and non-platform components
Sandeep Patil [Wed, 18 Jan 2017 06:12:19 +0000 (06:12 +0000)]
property_contexts: split into platform and non-platform components
am: 8213615461

Change-Id: Ifa1bb1e295cef8ecf74a4a4702114a88f3e6859e

7 years agoMerge "property_contexts: split into platform and non-platform components"
Treehugger Robot [Wed, 18 Jan 2017 06:09:02 +0000 (06:09 +0000)]
Merge "property_contexts: split into platform and non-platform components"

7 years agoDeclare dependency on android_filesystem_config.h
Colin Cross [Wed, 18 Jan 2017 02:16:07 +0000 (18:16 -0800)]
Declare dependency on android_filesystem_config.h

android_filesystem_config.h comes from a directory outside bionic/libc
so it can't be referenced directly, add it as a source file through
a filegroup module.

Bug: 34283327
Test: builds
Test: libc rebuilds after touch system/core/include/private/android_filesystem_config.h
Change-Id: I90f6b7b25b70842b8619d558074449f13e6e6b03

7 years agoReserve a realtime signal for debuggerd.
Josh Gao [Wed, 26 Oct 2016 20:27:19 +0000 (13:27 -0700)]
Reserve a realtime signal for debuggerd.

Allocate __SIGRTMIN + 3 for triggering native stack dumps (like SIGQUIT
for Java processes).

Bug: http://b/30705528
Test: debuggerd_test
Change-Id: I81d622fba32a651555268a8a2ba6721c61c93a58

7 years agoMerge "linker: convert 'mov pc' instruction to 'bx'" am: 8d0e0d4952 am: 3fecb76551
Elliott Hughes [Sat, 14 Jan 2017 18:41:50 +0000 (18:41 +0000)]
Merge "linker: convert 'mov pc' instruction to 'bx'" am: 8d0e0d4952 am: 3fecb76551
am: 56dea3b74c

Change-Id: Ibabad9725915c8eb9e16d86e96b2c03309f28a8a

7 years agoMerge "linker: convert 'mov pc' instruction to 'bx'" am: 8d0e0d4952
Elliott Hughes [Sat, 14 Jan 2017 18:38:50 +0000 (18:38 +0000)]
Merge "linker: convert 'mov pc' instruction to 'bx'" am: 8d0e0d4952
am: 3fecb76551

Change-Id: Ia0d5a55bfbf555b17e56167ffc53d291d8397bbc

7 years agoMerge "linker: convert 'mov pc' instruction to 'bx'"
Elliott Hughes [Sat, 14 Jan 2017 18:35:50 +0000 (18:35 +0000)]
Merge "linker: convert 'mov pc' instruction to 'bx'"
am: 8d0e0d4952

Change-Id: I8664911d4c068c9c719f85e44b7a5ac99670581f

7 years agoMerge "linker: convert 'mov pc' instruction to 'bx'"
Elliott Hughes [Sat, 14 Jan 2017 18:30:09 +0000 (18:30 +0000)]
Merge "linker: convert 'mov pc' instruction to 'bx'"

7 years agolinker: convert 'mov pc' instruction to 'bx'
Park Ju Hyung [Thu, 12 Jan 2017 20:52:06 +0000 (05:52 +0900)]
linker: convert 'mov pc' instruction to 'bx'

From Linux 3.17 6ebbf2ce437b33022d30badd49dc94d33ecfa498:

    ARMv6 and greater introduced a new instruction ("bx") which can be used
    to return from function calls.  Recent CPUs perform better when the
    "bx lr" instruction is used rather than the "mov pc, lr" instruction,
    and this sequence is strongly recommended to be used by the ARM
    architecture manual (section A.4.1.1).

Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
Test: No regressions detected
Test: Passes full CTS run

Change-Id: Ie268f9893e3df0f68fbfe82a13f3c7cc5c5909d8
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
7 years agoMerge "Switch bionic-unit-tests to libc++_static." am: 37f1d11482 am: 820c7fae07
Yabin Cui [Sat, 14 Jan 2017 02:30:05 +0000 (02:30 +0000)]
Merge "Switch bionic-unit-tests to libc++_static." am: 37f1d11482 am: 820c7fae07
am: 5ec22b1eed

Change-Id: Ib570bc2a2e59905e69a93e72ab61afd0f8e98bac

7 years agoMerge "Switch bionic-unit-tests to libc++_static." am: 37f1d11482
Yabin Cui [Sat, 14 Jan 2017 02:27:04 +0000 (02:27 +0000)]
Merge "Switch bionic-unit-tests to libc++_static." am: 37f1d11482
am: 820c7fae07

Change-Id: I2cff12af37fa0888246498c91deda74cd92e4d1a

7 years agoMerge "Switch bionic-unit-tests to libc++_static."
Yabin Cui [Sat, 14 Jan 2017 02:24:35 +0000 (02:24 +0000)]
Merge "Switch bionic-unit-tests to libc++_static."
am: 37f1d11482

Change-Id: Ie427d277e5f1997a170e90cf98846cf1244d7a84

7 years agoMerge "Switch bionic-unit-tests to libc++_static."
Yabin Cui [Sat, 14 Jan 2017 02:20:19 +0000 (02:20 +0000)]
Merge "Switch bionic-unit-tests to libc++_static."

7 years agoMerge "Describe our dynamic linker compatibility policy." am: 98d200899b am: b74e48c4d6
Elliott Hughes [Fri, 13 Jan 2017 21:30:32 +0000 (21:30 +0000)]
Merge "Describe our dynamic linker compatibility policy." am: 98d200899b am: b74e48c4d6
am: 8fd26de167

Change-Id: Ib5f4af6ffb6dec2c339c461c937249bed3c868ca

7 years agoMerge "Describe our dynamic linker compatibility policy." am: 98d200899b
Elliott Hughes [Fri, 13 Jan 2017 21:18:29 +0000 (21:18 +0000)]
Merge "Describe our dynamic linker compatibility policy." am: 98d200899b
am: b74e48c4d6

Change-Id: Id608d6597a29a6a16224bb865364e8393d570e60

7 years agoMerge "Describe our dynamic linker compatibility policy."
Elliott Hughes [Fri, 13 Jan 2017 21:16:00 +0000 (21:16 +0000)]
Merge "Describe our dynamic linker compatibility policy."
am: 98d200899b

Change-Id: I247f8d16edb201e251670e699a3a16244a4e510e

7 years agoMerge "Describe our dynamic linker compatibility policy."
Elliott Hughes [Fri, 13 Jan 2017 21:12:14 +0000 (21:12 +0000)]
Merge "Describe our dynamic linker compatibility policy."

7 years agoSwitch bionic-unit-tests to libc++_static.
Yabin Cui [Fri, 13 Jan 2017 20:31:59 +0000 (12:31 -0800)]
Switch bionic-unit-tests to libc++_static.

Bug: http://b/27549327
Test: run bionic-unit-tests, bionic-unit-tests-glibc.
Change-Id: I719899624dec83728a3d5b8169079e5c91c63c04

7 years agoDescribe our dynamic linker compatibility policy.
Elliott Hughes [Fri, 13 Jan 2017 19:07:00 +0000 (11:07 -0800)]
Describe our dynamic linker compatibility policy.

Bug: N/A
Test: N/A
Change-Id: I6f472d1ab22636de74fd103e9a480fb1ab51e314

7 years agoMerge "Beef up process_vm_readv/writev tests" am: a970ac50d1 am: 8557ee78ec
Pavel Labath [Fri, 13 Jan 2017 10:30:16 +0000 (10:30 +0000)]
Merge "Beef up process_vm_readv/writev tests" am: a970ac50d1 am: 8557ee78ec
am: d779d1c037

Change-Id: Ifedc2116503c8795d3f020e2142add03d937a372

7 years agoMerge "Beef up process_vm_readv/writev tests" am: a970ac50d1
Pavel Labath [Fri, 13 Jan 2017 10:27:15 +0000 (10:27 +0000)]
Merge "Beef up process_vm_readv/writev tests" am: a970ac50d1
am: 8557ee78ec

Change-Id: I8bfb670a70fcd1f9c46525388a0d5a814a02777e

7 years agoMerge "Beef up process_vm_readv/writev tests"
Pavel Labath [Fri, 13 Jan 2017 10:24:46 +0000 (10:24 +0000)]
Merge "Beef up process_vm_readv/writev tests"
am: a970ac50d1

Change-Id: Ic1628705232788fdd871c0e91afe933707a15169

7 years agoMerge "Beef up process_vm_readv/writev tests"
Pavel Labath [Fri, 13 Jan 2017 10:21:31 +0000 (10:21 +0000)]
Merge "Beef up process_vm_readv/writev tests"

7 years agoBeef up process_vm_readv/writev tests
Pavel Labath [Thu, 12 Jan 2017 11:56:39 +0000 (11:56 +0000)]
Beef up process_vm_readv/writev tests

LLDB uses process_vm_readv quite extensively (it's an order of
magnitude faster than PTRACE_PEEKDATA). Add a bit more tests of
the function to make sure it stays working.

Change-Id: I64e17e6d56842f118a9485e3a18f42ca5e1b7577
Test: run the new test

7 years agoMerge "localtime_r(3) should act as if it calls tzset(3)." am: 1b2975d54b am: e767a92c57
Elliott Hughes [Thu, 12 Jan 2017 23:33:04 +0000 (23:33 +0000)]
Merge "localtime_r(3) should act as if it calls tzset(3)." am: 1b2975d54b am: e767a92c57
am: c9e91d1a98

Change-Id: I3ba74be33afd1b452b11e9ee99bbc303903fa1a2

7 years agoMerge "localtime_r(3) should act as if it calls tzset(3)." am: 1b2975d54b
Elliott Hughes [Thu, 12 Jan 2017 23:28:04 +0000 (23:28 +0000)]
Merge "localtime_r(3) should act as if it calls tzset(3)." am: 1b2975d54b
am: e767a92c57

Change-Id: I16eed5cb28e1df287f748d0028f8198f2861b428

7 years agoMerge "localtime_r(3) should act as if it calls tzset(3)."
Elliott Hughes [Thu, 12 Jan 2017 23:23:34 +0000 (23:23 +0000)]
Merge "localtime_r(3) should act as if it calls tzset(3)."
am: 1b2975d54b

Change-Id: I85c99ed325efbd119b5a7513b4cd997f9dc6b5aa

7 years agoMerge "localtime_r(3) should act as if it calls tzset(3)."
Elliott Hughes [Thu, 12 Jan 2017 23:19:50 +0000 (23:19 +0000)]
Merge "localtime_r(3) should act as if it calls tzset(3)."

7 years agoFix streaming(memcpy) performance on Cortex-A7 am: b7ec7cac7d
Chitti Babu Theegala [Thu, 12 Jan 2017 18:48:49 +0000 (18:48 +0000)]
Fix streaming(memcpy) performance on Cortex-A7 am: b7ec7cac7d
am: e360a1c8a3

Change-Id: I86775317fee5012f67ca0fd3952148cf8e1ff2e2

7 years agoAdd cortex-a7 specific routines. am: 8402b42312
Christopher Ferris [Thu, 12 Jan 2017 18:48:45 +0000 (18:48 +0000)]
Add cortex-a7 specific routines. am: 8402b42312
am: ca55343859

Change-Id: Ie304081280d33dbbec3d9d581421e105998d6162

7 years agoFix streaming(memcpy) performance on Cortex-A7 am: b7ec7cac7d
Chitti Babu Theegala [Thu, 12 Jan 2017 18:46:24 +0000 (18:46 +0000)]
Fix streaming(memcpy) performance on Cortex-A7 am: b7ec7cac7d
am: d55fc1ae59

Change-Id: I4a049bfc23acaecb764077d8fe112f2a3aed8b4f

7 years agoAdd cortex-a7 specific routines. am: 8402b42312 -s ours
Christopher Ferris [Thu, 12 Jan 2017 18:46:19 +0000 (18:46 +0000)]
Add cortex-a7 specific routines. am: 8402b42312  -s ours
am: 28d0fd1af7

Change-Id: I5a8d2166ebf540f2fb222a50ae1609d21f89eed8

7 years agoFix streaming(memcpy) performance on Cortex-A7
Chitti Babu Theegala [Thu, 12 Jan 2017 18:44:16 +0000 (18:44 +0000)]
Fix streaming(memcpy) performance on Cortex-A7
am: b7ec7cac7d

Change-Id: Ie82fd9c00bf072252e6b5a3e42a36a01531bb489

7 years agoAdd cortex-a7 specific routines.
Christopher Ferris [Thu, 12 Jan 2017 18:44:13 +0000 (18:44 +0000)]
Add cortex-a7 specific routines.
am: 8402b42312  -s ours

Change-Id: I4e2e7919270dc41365a64c4afa2f1d923b9407bb

7 years agoFix streaming(memcpy) performance on Cortex-A7
Chitti Babu Theegala [Thu, 12 Jan 2017 18:37:18 +0000 (18:37 +0000)]
Fix streaming(memcpy) performance on Cortex-A7
am: b7ec7cac7d

Change-Id: I4f832430c4c473d76934511c2cf4ec2fbe4d0bc3

7 years agoAdd cortex-a7 specific routines.
Christopher Ferris [Thu, 12 Jan 2017 18:37:13 +0000 (18:37 +0000)]
Add cortex-a7 specific routines.
am: 8402b42312

Change-Id: I50484b7bf4d541bc19054559633a838e02fe2c30

7 years agoMerge "Improve fmemopen tests." am: 27fa754287 am: bbacec3f5d
Josh Gao [Thu, 12 Jan 2017 00:20:40 +0000 (00:20 +0000)]
Merge "Improve fmemopen tests." am: 27fa754287 am: bbacec3f5d
am: ab5b3c26db

Change-Id: I8de2b09c4e41148b65add0f189a975f7fb90c06f

7 years agoMerge "Improve fmemopen tests." am: 27fa754287
Josh Gao [Thu, 12 Jan 2017 00:14:54 +0000 (00:14 +0000)]
Merge "Improve fmemopen tests." am: 27fa754287
am: bbacec3f5d

Change-Id: I9a4fd254094c06efa21a0808b3c2ae73bfcc9e97

7 years agoMerge "Improve fmemopen tests."
Josh Gao [Thu, 12 Jan 2017 00:09:24 +0000 (00:09 +0000)]
Merge "Improve fmemopen tests."
am: 27fa754287

Change-Id: Ie62d2d2850fc4dee566317d5e0fcde54693694a1

7 years agoFix streaming(memcpy) performance on Cortex-A7
Chitti Babu Theegala [Thu, 15 Dec 2016 20:43:28 +0000 (02:13 +0530)]
Fix streaming(memcpy) performance on Cortex-A7

Stream-mode detection for L1 in A7-core is failing for
non cache-line-size (non 64 byte) aligned addresses.
This leads to destination data getting cached unnecessarily.
This A7 issue is confirmed by ARM

This issue is solved by aligning destination address to 64 byte before
entering the loop in memcpy routine.
Though we get lower score for micro_bench memcpy when L1 cache is bypassed,
it is desirable since it avoids unnecessary eviction of other process data
from L1 which is good for overall system performance.

Higher micro_bench memcpy numbers for < 64byte alignment shows good numbers
but this is at the cost of L1 cache pollution. During memcpy/memset,
unnecessary data is filled in L1 cache, this causes eviction of other
process data from L1.
For example during msmset(0), L1 cache gets filled with 0s which should be
avoided.

Additionally, there is another issue with cortex A7 that impacts performance
for all alignments / all Android Wear versions:
Store Buffer on A7 is 32 byte which limits the 32-byte back to back stores.
In the current implementation back to back 32bytes writes is causing CPU stalls.
This issue can be solved by interleaved Loads and Stores.
This helps in avoiding CPU stalls during memcpy by utilizing efficiently the
A7 internal load and store buffers.

Bug: 31917556

Change-Id: Ie5f12f2bb5d86f627686730416279057e4f5f6d0
(cherry picked from commit cbfdc7f9054e0bc8071aaf3a70afc00273a8a869)

7 years agoMerge "Improve fmemopen tests."
Josh Gao [Wed, 11 Jan 2017 23:59:01 +0000 (23:59 +0000)]
Merge "Improve fmemopen tests."

7 years agolocaltime_r(3) should act as if it calls tzset(3).
Elliott Hughes [Wed, 11 Jan 2017 22:34:16 +0000 (14:34 -0800)]
localtime_r(3) should act as if it calls tzset(3).

See code comment.

Bug: http://b/31339449
Test: ran tests & benchmarks
Change-Id: I6b6a63750ef41664dc4698207e6a53e77cc28cdf

7 years agoMerge "Add support for expected failures to gtest runner." am: 94ea19895c am: 6b767b91cc
Josh Gao [Wed, 11 Jan 2017 22:48:59 +0000 (22:48 +0000)]
Merge "Add support for expected failures to gtest runner." am: 94ea19895c am: 6b767b91cc
am: 7290adbdcd

Change-Id: Ib14a678a56b1e71d0ad736d3f8560bf4f0078201

7 years agoMerge "Add support for expected failures to gtest runner." am: 94ea19895c
Josh Gao [Wed, 11 Jan 2017 22:43:36 +0000 (22:43 +0000)]
Merge "Add support for expected failures to gtest runner." am: 94ea19895c
am: 6b767b91cc

Change-Id: I792f935c1e7571ad7ccd8c904fe0d310d6ae08ab

7 years agoMerge "Add support for expected failures to gtest runner."
Josh Gao [Wed, 11 Jan 2017 22:38:08 +0000 (22:38 +0000)]
Merge "Add support for expected failures to gtest runner."
am: 94ea19895c

Change-Id: I91e4f3673d6715326a2f1a43937343e59e15048c

7 years agoMerge "Add support for expected failures to gtest runner."
Treehugger Robot [Wed, 11 Jan 2017 22:32:17 +0000 (22:32 +0000)]
Merge "Add support for expected failures to gtest runner."

7 years agoImprove fmemopen tests.
Josh Gao [Tue, 10 Jan 2017 21:00:37 +0000 (13:00 -0800)]
Improve fmemopen tests.

Tag fmemopen_NULL as a known failure, and make it reliably fail by
memsetting the buffer we read to.

Bug: http://b/33251022
Test: bionic-unit-tests/bionic-unit-tests64 on bullhead
Test: bionic-unit-tests-glibc --gtest_filter="*memopen*"
Change-Id: I381783282359851c9de47146dafbb5a291960c2a

7 years agoMerge "Hide __system_property_add/update, deprecate find_nth" am: 907fcc98b2 am:...
Dimitry Ivanov [Wed, 11 Jan 2017 02:12:51 +0000 (02:12 +0000)]
Merge "Hide __system_property_add/update, deprecate find_nth" am: 907fcc98b2 am: ee062c3577
am: e24dc59591

Change-Id: I56a2a4e08342dacd7c447756f559f0ecbada67a0

7 years agoMerge "Hide __system_property_add/update, deprecate find_nth" am: 907fcc98b2
Dimitry Ivanov [Wed, 11 Jan 2017 02:08:21 +0000 (02:08 +0000)]
Merge "Hide __system_property_add/update, deprecate find_nth" am: 907fcc98b2
am: ee062c3577

Change-Id: Ife3992252e7d979772126ee806fdd3f2957508a1

7 years agoMerge "Hide __system_property_add/update, deprecate find_nth"
Dimitry Ivanov [Wed, 11 Jan 2017 02:03:20 +0000 (02:03 +0000)]
Merge "Hide __system_property_add/update, deprecate find_nth"
am: 907fcc98b2

Change-Id: I68bbcf32432de9dba91116faae981701e122dbaa

7 years agoMerge "Hide __system_property_add/update, deprecate find_nth"
Treehugger Robot [Wed, 11 Jan 2017 01:57:56 +0000 (01:57 +0000)]
Merge "Hide __system_property_add/update, deprecate find_nth"

7 years agoHide __system_property_add/update, deprecate find_nth
Dimitry Ivanov [Mon, 9 Jan 2017 19:05:52 +0000 (11:05 -0800)]
Hide __system_property_add/update, deprecate find_nth

These functions are supposed to be used only by the
property service.

__system_property_find_nth is deprecated and no longer part
of NDK. Call to this function will result in abort for apps
targeting Android O.

Bug: http://b/34114501
Test: bionic-unit-tests --gtest_filter=prop*
Change-Id: I9846965bf248e2ddf45cd7b293618245bbd87145

7 years agoAdd support for expected failures to gtest runner.
Josh Gao [Tue, 10 Jan 2017 00:43:33 +0000 (16:43 -0800)]
Add support for expected failures to gtest runner.

Bug: http://b/33251022
Test: manually added tests that unexpectedly failed
Test: bionic-unit-tests/bionic-unit-tests64 on bullhead
Change-Id: Ie9aef80014b9fd6512b68f0e42abc298732a9b6e

7 years agoAdd cortex-a7 specific routines.
Christopher Ferris [Mon, 28 Nov 2016 19:09:49 +0000 (11:09 -0800)]
Add cortex-a7 specific routines.

Test: Changed angler target to use cortex-a7 and I compiled.
Test: Booted this version on angler and ran bionic-unit-tests.

Bug: 31917556

Change-Id: Ice7f6ea38a2569582161a8e659d7877918c1a45a
(cherry picked from commit ecebb49ac636b90b3db48b7375c26c07c95fd104)

7 years agoMerge "Fix streaming(memcpy) performance on Cortex-A7" am: 0625beb270 am: 7373d2ed3d
Christopher Ferris [Tue, 10 Jan 2017 18:57:51 +0000 (18:57 +0000)]
Merge "Fix streaming(memcpy) performance on Cortex-A7" am: 0625beb270 am: 7373d2ed3d
am: 08dacf8d7e

Change-Id: I45a88944f68387a278ea280ca544c6915e258196

7 years agoMerge "Fix streaming(memcpy) performance on Cortex-A7" am: 0625beb270
Christopher Ferris [Tue, 10 Jan 2017 18:52:51 +0000 (18:52 +0000)]
Merge "Fix streaming(memcpy) performance on Cortex-A7" am: 0625beb270
am: 7373d2ed3d

Change-Id: I9c1bdbab92815d05cb5bfd01bc930cb9a1523a5f

7 years agoMerge "Fix streaming(memcpy) performance on Cortex-A7"
Christopher Ferris [Tue, 10 Jan 2017 18:47:45 +0000 (18:47 +0000)]
Merge "Fix streaming(memcpy) performance on Cortex-A7"
am: 0625beb270

Change-Id: I24340a1b7d9e93505abf517e4ecc24175c58a164

7 years agoMerge "Fix streaming(memcpy) performance on Cortex-A7"
Christopher Ferris [Tue, 10 Jan 2017 18:41:14 +0000 (18:41 +0000)]
Merge "Fix streaming(memcpy) performance on Cortex-A7"

7 years agoMerge "Revert "Revert "move android_ids into bionic""" am: 940d460f59 am: 5720f1d55f
Elliott Hughes [Tue, 10 Jan 2017 01:33:31 +0000 (01:33 +0000)]
Merge "Revert "Revert "move android_ids into bionic""" am: 940d460f59 am: 5720f1d55f
am: 48567c33c8

Change-Id: Iaa6cc15cc7f9bac66320ab8e2b9f35931f317e09

7 years agoRevert "Revert "move android_ids into bionic"" am: 3f6eee9793 am: 45be5dfe98
Elliott Hughes [Tue, 10 Jan 2017 01:33:26 +0000 (01:33 +0000)]
Revert "Revert "move android_ids into bionic"" am: 3f6eee9793 am: 45be5dfe98
am: 80a477c4ea

Change-Id: I18423a5339e7d53c38555e1cedbf9dea09b59f55

7 years agoMerge "Revert "Revert "move android_ids into bionic""" am: 940d460f59
Elliott Hughes [Tue, 10 Jan 2017 01:28:05 +0000 (01:28 +0000)]
Merge "Revert "Revert "move android_ids into bionic""" am: 940d460f59
am: 5720f1d55f

Change-Id: I688a8f734e891724545b17f25b222b05e38a7f39

7 years agoRevert "Revert "move android_ids into bionic"" am: 3f6eee9793
Elliott Hughes [Tue, 10 Jan 2017 01:27:57 +0000 (01:27 +0000)]
Revert "Revert "move android_ids into bionic"" am: 3f6eee9793
am: 45be5dfe98

Change-Id: I56b1f2a8c10310d4ac54b0cb8a18951be6ef8bba

7 years agoMerge "Revert "Revert "move android_ids into bionic"""
Elliott Hughes [Tue, 10 Jan 2017 01:23:34 +0000 (01:23 +0000)]
Merge "Revert "Revert "move android_ids into bionic"""
am: 940d460f59

Change-Id: Id5e500e39cd544fab4398318ff48289764af1e59

7 years agoRevert "Revert "move android_ids into bionic""
Elliott Hughes [Tue, 10 Jan 2017 01:23:26 +0000 (01:23 +0000)]
Revert "Revert "move android_ids into bionic""
am: 3f6eee9793

Change-Id: I6a65710f926a76e48705fa4594f479f5d48df068

7 years agoMerge "Revert "Revert "move android_ids into bionic"""
Elliott Hughes [Tue, 10 Jan 2017 01:15:29 +0000 (01:15 +0000)]
Merge "Revert "Revert "move android_ids into bionic"""

7 years agoMerge "Dynamic linker errors should go to stderr." am: 74e1fe1cc0 am: 01a8e5bce3
Elliott Hughes [Tue, 10 Jan 2017 00:58:21 +0000 (00:58 +0000)]
Merge "Dynamic linker errors should go to stderr." am: 74e1fe1cc0 am: 01a8e5bce3
am: 59b02d10d0

Change-Id: Ied8eca677494ffdb84f10a2dd6becd1d0b36c789

7 years agoMerge "Dynamic linker errors should go to stderr." am: 74e1fe1cc0
Elliott Hughes [Tue, 10 Jan 2017 00:53:50 +0000 (00:53 +0000)]
Merge "Dynamic linker errors should go to stderr." am: 74e1fe1cc0
am: 01a8e5bce3

Change-Id: Id029e9db75957d9d8572915f6122e81c5ac2bebb

7 years agoMerge "Dynamic linker errors should go to stderr."
Elliott Hughes [Tue, 10 Jan 2017 00:48:20 +0000 (00:48 +0000)]
Merge "Dynamic linker errors should go to stderr."
am: 74e1fe1cc0

Change-Id: I045e0116e73a69989e80d8bd281d38ee6c5112b9

7 years agoMerge "Dynamic linker errors should go to stderr."
Elliott Hughes [Tue, 10 Jan 2017 00:43:38 +0000 (00:43 +0000)]
Merge "Dynamic linker errors should go to stderr."

7 years agoproperty_contexts: split into platform and non-platform components
Sandeep Patil [Wed, 28 Dec 2016 01:37:44 +0000 (17:37 -0800)]
property_contexts: split into platform and non-platform components

Bug: 33746484
Test: Successfully boot with original service and property contexts.
Test: Successfully boot with split serivce and property contexts.

Change-Id: Id1acb8c4273c6f93396e8cf7a063571a2bf08786
Signed-off-by: Sandeep Patil <sspatil@google.com>
7 years agoDynamic linker errors should go to stderr.
Elliott Hughes [Mon, 9 Jan 2017 22:39:44 +0000 (14:39 -0800)]
Dynamic linker errors should go to stderr.

Also add the missing \n to the end of the error.

Addresses review comment.

Bug: N/A
Test: manual
Change-Id: I7c997a71e6e02381d21ac762595ba90370db9d05

7 years agoMerge "Exit rather than abort if asked to run a non-PIE executable." am: 71952ef625...
Elliott Hughes [Mon, 9 Jan 2017 22:43:13 +0000 (22:43 +0000)]
Merge "Exit rather than abort if asked to run a non-PIE executable." am: 71952ef625 am: 87e114bb7f
am: c66afc5adf

Change-Id: I7069c4677b114255ba1282267d7ff192a1618eea

7 years agoMerge "Exit rather than abort if asked to run a non-PIE executable." am: 71952ef625
Elliott Hughes [Mon, 9 Jan 2017 22:38:12 +0000 (22:38 +0000)]
Merge "Exit rather than abort if asked to run a non-PIE executable." am: 71952ef625
am: 87e114bb7f

Change-Id: Id3ea80a163a9000073ab6a1d74ca675f3078d7c7

7 years agoMerge "Exit rather than abort if asked to run a non-PIE executable."
Elliott Hughes [Mon, 9 Jan 2017 22:33:13 +0000 (22:33 +0000)]
Merge "Exit rather than abort if asked to run a non-PIE executable."
am: 71952ef625

Change-Id: Ibb2940eef382fabce0c2c5252fe962c145f5be95

7 years agoMerge "Exit rather than abort if asked to run a non-PIE executable."
Elliott Hughes [Mon, 9 Jan 2017 22:26:34 +0000 (22:26 +0000)]
Merge "Exit rather than abort if asked to run a non-PIE executable."

7 years agoMerge "Move to .md files for even trivial documentation." am: 39b6d59049 am: f561edeade
Elliott Hughes [Mon, 9 Jan 2017 21:40:39 +0000 (21:40 +0000)]
Merge "Move to .md files for even trivial documentation." am: 39b6d59049 am: f561edeade
am: 7b1b019a71

Change-Id: I454aa731c4a79f57d1fa5618881066befb1789ac

7 years agoMerge "Move to .md files for even trivial documentation." am: 39b6d59049
Elliott Hughes [Mon, 9 Jan 2017 21:35:39 +0000 (21:35 +0000)]
Merge "Move to .md files for even trivial documentation." am: 39b6d59049
am: f561edeade

Change-Id: If984fd9b2ea3d66b871b484314e79a6994ca5d6a

7 years agoMerge "Move to .md files for even trivial documentation."
Elliott Hughes [Mon, 9 Jan 2017 21:30:38 +0000 (21:30 +0000)]
Merge "Move to .md files for even trivial documentation."
am: 39b6d59049

Change-Id: Ia1950ac9cf0eaa9ca19904ae54d2903471e77626

7 years agoMerge "Move to .md files for even trivial documentation."
Elliott Hughes [Mon, 9 Jan 2017 21:23:00 +0000 (21:23 +0000)]
Merge "Move to .md files for even trivial documentation."

7 years agoMove to .md files for even trivial documentation.
Elliott Hughes [Sat, 7 Jan 2017 20:47:28 +0000 (12:47 -0800)]
Move to .md files for even trivial documentation.

So it's automatically displayed for folks browsing the source.

Bug: N/A
Test: N/A
Change-Id: I80e823415f1fb12ad8ce5348e926519b6e29580f