Commit graph

51543 commits

Author SHA1 Message Date
Tom Cherry
b3da4feb5a Merge "init: simplify keyword_map" am: 3af3fcce45
am: 6ce842e335

Change-Id: If5d6897b10288388d82e7e377b2e5e646ce8bd2d
2019-07-24 15:24:05 -07:00
Tom Cherry
6ce842e335 Merge "init: simplify keyword_map"
am: 3af3fcce45

Change-Id: I388b9417dbb6988db59d192c8071900d317c17dc
2019-07-24 15:12:28 -07:00
Tom Cherry
3af3fcce45 Merge "init: simplify keyword_map" 2019-07-24 21:50:22 +00:00
Tomasz Wasilczyk
cefafca6e1 Merge "Implement unique_fd.ok()" am: c9ec95272c
am: 90fec0a0b4

Change-Id: Ibdce3680a5b5554fdceda1cd585ef2c5c775572c
2019-07-24 07:26:13 -07:00
Tomasz Wasilczyk
90fec0a0b4 Merge "Implement unique_fd.ok()"
am: c9ec95272c

Change-Id: I6030fd103c9df905c84161817560c55330627345
2019-07-24 07:16:12 -07:00
Tomasz Wasilczyk
c9ec95272c Merge "Implement unique_fd.ok()" 2019-07-24 13:51:43 +00:00
Przemyslaw Szczepaniak
18c64a08d6 Merge "ld.config for com.android.neuralnetworks APEX." am: 2f40aa0f60
am: d91345d64c

Change-Id: I4d0da2ec61249b6cb0f6a3b3d37f1047c444d43c
2019-07-24 02:35:39 -07:00
Przemyslaw Szczepaniak
d91345d64c Merge "ld.config for com.android.neuralnetworks APEX."
am: 2f40aa0f60

Change-Id: I64f4f2253d0bf0f789f80a17cecb62ed7a2eb997
2019-07-24 02:25:36 -07:00
Przemyslaw Szczepaniak
2f40aa0f60 Merge "ld.config for com.android.neuralnetworks APEX." 2019-07-24 09:12:18 +00:00
Josh Gao
d2a00f50b2 Merge "adb: switch from system_clock to steady_clock." am: 278754aeac
am: f2dd09ff5b

Change-Id: I3bdae32bb3350e3b1137f43b32559e9a13331b40
2019-07-23 18:40:53 -07:00
Josh Gao
f2dd09ff5b Merge "adb: switch from system_clock to steady_clock."
am: 278754aeac

Change-Id: Ifd0e99d4caade013ed809d21818fa5f5fc86f1bf
2019-07-23 18:31:24 -07:00
Treehugger Robot
278754aeac Merge "adb: switch from system_clock to steady_clock." 2019-07-24 00:56:34 +00:00
Donald Chai
353d0293c3 Merge "Avoid using data descriptors in ZIP files when possible." am: 69055b5a37
am: a589dd1e0a

Change-Id: I4831b3d78e9eb7424baf3164ebec3b64f5480599
2019-07-23 16:41:01 -07:00
Tomasz Wasilczyk
c3fc9607c2 Implement unique_fd.ok()
While I'm here, I'll fix how unique_fd disallows copy and assignment
constructors (detele instead of marking them private).

Bug: 135918744
Test: WiP change in master
Change-Id: Idefcc685943326c511f59d18790c1c4fa2e04989
2019-07-23 16:35:38 -07:00
Donald Chai
a589dd1e0a Merge "Avoid using data descriptors in ZIP files when possible."
am: 69055b5a37

Change-Id: I8657c9a4407620c9861d58bcebeaa588508de69b
2019-07-23 16:31:31 -07:00
Donald Chai
69055b5a37 Merge "Avoid using data descriptors in ZIP files when possible." 2019-07-23 23:02:34 +00:00
Tom Cherry
d52a5b3c10 init: simplify keyword_map
I've heard that keyword_map is too complex, in particular the tuple
and the pair in BuiltinFunctionMap, so this change removes a lot of
that complexity and, more importantly, better documents how all of
this works.

Test: boot, init unit tests

Change-Id: I74e5f9de7f2ec524cb6127bb9da2956b5f307f56
2019-07-23 14:39:38 -07:00
Jiyong Park
df0967409b Merge changes I0940d13e,I38f2d013 am: b42e558b5a
am: 183454f0c7

Change-Id: I44b6248ff856c7c19220f34006c9088a14cb0640
2019-07-23 09:30:16 -07:00
Jiyong Park
183454f0c7 Merge changes I0940d13e,I38f2d013
am: b42e558b5a

Change-Id: I86eac53776180c14a72389dee88238c2bd489269
2019-07-23 09:22:22 -07:00
Treehugger Robot
b42e558b5a Merge changes I0940d13e,I38f2d013
* changes:
  Add TEST_MAPPING for libnativeloader
  Test the link to the sphal namespace when only needed
2019-07-23 15:57:37 +00:00
Donald Chai
e170d7fe85 Avoid using data descriptors in ZIP files when possible.
These add 16 bytes per ZIP entry, and are usually avoidable.  APKs contain thousands of
deflated entries, so this overhead adds up to tens of kilobytes.

Bug: 135470635
Change-Id: Ib928aa41dd55cacc41f7394c218c4340d3bbd570
2019-07-23 06:58:53 +00:00
Jiyong Park
28efde2b7a Add TEST_MAPPING for libnativeloader
Bug: 130388701
Test: watch TH to see if libnativeloader_test is running
Change-Id: I0940d13ec4e5c680ce1dbf2f5980b3b20080f7e4
2019-07-23 11:14:48 +09:00
Jiyong Park
713878d335 Test the link to the sphal namespace when only needed
The link to the spahal namespace is not done when there is no lib in
vendor/etc/public.libraries.txt

Bug: 130388701
Test: libnativeloader_test on cuttlefish
Change-Id: I38f2d01305bca5ea942573484a0e0b9b44b1c0be
2019-07-23 11:14:48 +09:00
Josh Gao
63e8d9815f adb: switch from system_clock to steady_clock.
Test: treehugger
Change-Id: I10b884dc159a5ba624bc0f7ad53a402bffb14293
2019-07-22 16:18:25 -07:00
Christopher Ferris
622db672cc Merge "Remove demangle, everyone use libc++ demangle." am: b3fc1b7441
am: 58454b9741

Change-Id: Icd5d5a2789f015993366e2fcd21a8992b4adfb8b
2019-07-22 13:43:52 -07:00
Christopher Ferris
58454b9741 Merge "Remove demangle, everyone use libc++ demangle."
am: b3fc1b7441

Change-Id: I646c14136a4fd9346333be77a4ab12abe37676ed
2019-07-22 13:34:18 -07:00
Christopher Ferris
b3fc1b7441 Merge "Remove demangle, everyone use libc++ demangle." 2019-07-22 19:43:21 +00:00
Przemyslaw Szczepaniak
0bb871dc9f ld.config for com.android.neuralnetworks APEX.
Makes updated libneuralnetworks.so in /apex/com.android.neuralnetworks/{LIB}
loadable from all relevant namespaces.

Test: Verified that right library is being loaded using lsof and
Test: verbose debug logs from bionic/ld.
Bug: 137320025
Change-Id: I38140bb9915a3f85f10456e15ed0f492dbdba802
2019-07-22 11:28:42 +01:00
Kalesh Singh
5a3bea1e6b Merge "Add wchan data to ANR dump" am: 44e343837f
am: 00ac529e72

Change-Id: I564a299e2385ddd3fa58273a91591e7eb21bc811
2019-07-20 09:59:11 -07:00
Kalesh Singh
00ac529e72 Merge "Add wchan data to ANR dump"
am: 44e343837f

Change-Id: I74471a19790618a41c4f8dda1afcc3a2e0fa3edd
2019-07-20 09:54:11 -07:00
Treehugger Robot
44e343837f Merge "Add wchan data to ANR dump" 2019-07-20 16:40:54 +00:00
Tianjie Xu
80e0d570bf Merge "init: Write the reason in BCB on "reboot recovery"" am: cccb573f93
am: ae884a2ce1

Change-Id: I64d5bbc4739ce73db4a555d0684f203e8d9dda0b
2019-07-19 22:31:43 -07:00
Tianjie Xu
ae884a2ce1 Merge "init: Write the reason in BCB on "reboot recovery""
am: cccb573f93

Change-Id: I9898a741ff2629593a3f8c0c806eccb48a76e7b1
2019-07-19 22:25:42 -07:00
Tianjie Xu
cccb573f93 Merge "init: Write the reason in BCB on "reboot recovery"" 2019-07-20 05:03:41 +00:00
Christopher Ferris
845b8ec4a3 Merge "Move to the libc++ demangler." am: 89bb586d52
am: 057b4cfa0f

Change-Id: I20aa63896d80e4243f3bd1e0398d849ac4612423
2019-07-19 16:30:42 -07:00
Christopher Ferris
057b4cfa0f Merge "Move to the libc++ demangler."
am: 89bb586d52

Change-Id: I711860b8e024f0763be96e94740cb688132aa005
2019-07-19 16:20:42 -07:00
Christopher Ferris
df7939a26c Remove demangle, everyone use libc++ demangle.
Bug: 136138882

Test: Builds.
Change-Id: I7575871e26fac36e4946588784fff165c7df47bf
2019-07-19 16:15:52 -07:00
Christopher Ferris
89bb586d52 Merge "Move to the libc++ demangler." 2019-07-19 22:48:37 +00:00
Tianjie Xu
5e98b633a7 init: Write the reason in BCB on "reboot recovery"
Without this change "adb reboot recovery" leads to normal boot.

Bug: 137523800
Test: peform factory reset, adb reboot recovery
Change-Id: Ie791c8107d3434bf4ae6f5785b24e7d97921a7a9
2019-07-19 13:02:59 -07:00
Colin Cross
593fb1db96 Merge "Fix darwin build" am: 0b7dd9f40d
am: fc0fb4f0e2

Change-Id: I58f8b1303bc385cefabc2544fa7b8fd7fe4c9639
2019-07-19 10:06:24 -07:00
Colin Cross
fc0fb4f0e2 Merge "Fix darwin build"
am: 0b7dd9f40d

Change-Id: I59ca894ee3a671e281bb015571797b9e5d1d9c24
2019-07-19 09:57:23 -07:00
Treehugger Robot
0b7dd9f40d Merge "Fix darwin build" 2019-07-19 16:32:06 +00:00
Jiyong Park
63eef14725 Merge "Revert "Revert "add unittests for libnativeloader""" am: 879415f6c0
am: 7e490c14b1

Change-Id: Id9797749bb55c3906ef93726f1bad7f515a4a222
2019-07-19 05:24:48 -07:00
Jiyong Park
7e490c14b1 Merge "Revert "Revert "add unittests for libnativeloader"""
am: 879415f6c0

Change-Id: I5d98d3925b4f64c3c8e51ec3a1e2689b06960bbc
2019-07-19 05:19:50 -07:00
Treehugger Robot
879415f6c0 Merge "Revert "Revert "add unittests for libnativeloader""" 2019-07-19 11:43:57 +00:00
Tianjie Xu
65d0bc725b Merge "Revert "init: Write the reason in BCB on "reboot recovery""" am: 85bbbe5695
am: 79d95556b1

Change-Id: Ibd4b5218634dffb060fcd01cb80ec190165ab0dc
2019-07-18 23:08:55 -07:00
Tianjie Xu
79d95556b1 Merge "Revert "init: Write the reason in BCB on "reboot recovery"""
am: 85bbbe5695

Change-Id: I0c7234ad4b1d797ae031844b51df4d717f44e6a7
2019-07-18 22:59:55 -07:00
Treehugger Robot
85bbbe5695 Merge "Revert "init: Write the reason in BCB on "reboot recovery""" 2019-07-19 05:34:43 +00:00
Kiyoung Kim
08e56a5826 Merge "Replace xargs with other shell command" am: 18545d3852
am: 6aa4d948b9

Change-Id: I5f9d7149598e14dd446bd63722152a0757c86dbe
2019-07-18 18:51:32 -07:00
Kiyoung Kim
6aa4d948b9 Merge "Replace xargs with other shell command"
am: 18545d3852

Change-Id: I08355acaa6c57a557ca53791c00a6e51c02020fb
2019-07-18 18:40:06 -07:00