Martijn Coenen
a5c1eecde7
healthd: Replace hwbinder-specific calls with generic ones.
...
To remove dependencies on libhwbinder.
Bug: 34388964
Test: sailfish boots
Change-Id: Ia1b8d8d8da91a510ef5739bac14236b7b3a9d3b9
2017-12-18 10:07:43 +01:00
Jiyong Park
0327278abf
Merge "Do not use versioned VNDK directory in vendor partition" am: 3459e5823e am: c56fafa4fc
...
am: 963685ed53
Change-Id: Ib19db37bdb6d030806f42ac9ecbeb88f71007456
2017-12-18 05:07:00 +00:00
Jiyong Park
963685ed53
Merge "Do not use versioned VNDK directory in vendor partition" am: 3459e5823e
...
am: c56fafa4fc
Change-Id: I246264682f84fcf61fe7b58fb505a930ef76572b
2017-12-18 05:04:18 +00:00
Jiyong Park
c56fafa4fc
Merge "Do not use versioned VNDK directory in vendor partition"
...
am: 3459e5823e
Change-Id: I71264e329c01771a694999c710cdc41f4db69b7b
2017-12-18 05:01:46 +00:00
Treehugger Robot
3459e5823e
Merge "Do not use versioned VNDK directory in vendor partition"
2017-12-18 04:58:39 +00:00
Yabin Cui
c676d38c10
Merge "libbacktrace: export offline unwinding failures." am: 742fc190c8 am: 29088725b2
...
am: d5637c548a
Change-Id: I6c6d6657b7ffbd6f2003a4d485c3e9297740eedd
2017-12-16 20:49:11 +00:00
Yabin Cui
d5637c548a
Merge "libbacktrace: export offline unwinding failures." am: 742fc190c8
...
am: 29088725b2
Change-Id: Icb05763a85e9e844eb03b49f6b45bf23339b94c8
2017-12-16 20:46:45 +00:00
Yabin Cui
29088725b2
Merge "libbacktrace: export offline unwinding failures."
...
am: 742fc190c8
Change-Id: Ic0443e038996a0b8d88af3c03c196aca5df85fee
2017-12-16 20:43:54 +00:00
Yabin Cui
742fc190c8
Merge "libbacktrace: export offline unwinding failures."
2017-12-16 20:40:25 +00:00
Christopher Ferris
a1d9a9a882
Merge "Fix issues in libunwindstack." am: e05d6afb90 am: 31bf08431c
...
am: c7f911ac9c
Change-Id: Iff75e670d4311eecaa1f3780adaf23725420cb31
2017-12-16 02:54:06 +00:00
Christopher Ferris
c7f911ac9c
Merge "Fix issues in libunwindstack." am: e05d6afb90
...
am: 31bf08431c
Change-Id: Ieca0fc29f7004d2324011e646f2e42d7ebeafe5e
2017-12-16 02:51:26 +00:00
Christopher Ferris
31bf08431c
Merge "Fix issues in libunwindstack."
...
am: e05d6afb90
Change-Id: I69d62a4d9fb9810ce13e22d57b84b1cc3d29f05f
2017-12-16 02:48:54 +00:00
Christopher Ferris
e05d6afb90
Merge "Fix issues in libunwindstack."
2017-12-16 02:44:35 +00:00
Josh Gao
b7e543b7f8
Merge "crash_dump: fork a copy of the target's address space." am: 152bcf9b80 am: 664de1b788
...
am: c6e98a1a26
Change-Id: I499ffe3d5f45731850d8896e480001b4daab65ab
2017-12-16 01:12:35 +00:00
Josh Gao
c6e98a1a26
Merge "crash_dump: fork a copy of the target's address space." am: 152bcf9b80
...
am: 664de1b788
Change-Id: I27fa7a4da377d7ee50ad8c8a316e15e9943e4aa3
2017-12-16 01:10:33 +00:00
Josh Gao
664de1b788
Merge "crash_dump: fork a copy of the target's address space."
...
am: 152bcf9b80
Change-Id: I222a960a411d3f1ab0b5ee8f61c3c812a875a0b4
2017-12-16 01:07:58 +00:00
Josh Gao
152bcf9b80
Merge "crash_dump: fork a copy of the target's address space."
2017-12-16 01:01:13 +00:00
Josh Gao
2b2ae0c88e
crash_dump: fork a copy of the target's address space.
...
Reduce the amount of time that a process remains paused by pausing its
threads, fetching their registers, and then performing unwinding on a
copy of its address space. This also works around a kernel change
that's in 4.9 that prevents ptrace from reading memory of processes
that we don't have immediate permissions to ptrace (even if we
previously ptraced them).
Bug: http://b/62112103
Bug: http://b/63989615
Test: treehugger
Change-Id: I7b9cc5dd8f54a354bc61f1bda0d2b7a8a55733c4
2017-12-15 14:11:12 -08:00
Yabin Cui
f88082811a
libbacktrace: export offline unwinding failures.
...
This is to help debugging different offline unwiding failures.
Bug: http://b/69383534
Test: run backtrace_test.
Change-Id: I5ed4837027a9f17d032925e97e9f5927161444b3
2017-12-15 13:29:53 -08:00
Christopher Ferris
e7b6624c3f
Fix issues in libunwindstack.
...
- Add a load_bias field in MapInfo so that it can be loaded offline,
and also so it can be cached.
- Add an Add function to the Maps class so that it's possible to manually
create a map.
- Remove the OfflineMaps class since I haven't found a reason for this to
exist.
- Add a pointer to the gnu debugdata compressed section in the interface
itself and modify the step path to try eh_frame, then debug_frame, then
gnu_debugdata. This way arm can add exidx as the last step behind
gnu_debugdata. Add an offline test to verify the order of unwind.
- Fix x86_64_ucontext_t since it was a different size on 32 bit and 64 bit
systems.
Test: Pass new unit tests.
Change-Id: I978b70d6c244bd307c62a29886d24c1a8cb2af23
2017-12-15 11:17:45 -08:00
Steve Paik
36e1943114
Merge "Fix LOG() messages to drop \n" am: 3fca67514a am: d5c078986e
...
am: 795911f88c
Change-Id: I112f553f4e456cc4f133109f41940904bdd62c7d
2017-12-15 17:09:10 +00:00
Steve Paik
795911f88c
Merge "Fix LOG() messages to drop \n" am: 3fca67514a
...
am: d5c078986e
Change-Id: Ibbd0bc18f8b4d944d94dfd3c25e4a267028a33a5
2017-12-15 17:06:02 +00:00
Steve Paik
d5c078986e
Merge "Fix LOG() messages to drop \n"
...
am: 3fca67514a
Change-Id: I666cd47c924f5d6f767517bc3c9631907fb44f5e
2017-12-15 17:03:24 +00:00
Treehugger Robot
3fca67514a
Merge "Fix LOG() messages to drop \n"
2017-12-15 16:54:41 +00:00
Todd Poynor
d6fb5bd84c
Merge "Revert "healthd: don't report fake data for battery-less devices""
2017-12-15 06:53:44 +00:00
Todd Poynor
1bc572dfe8
Revert "healthd: don't report fake data for battery-less devices"
...
This reverts commit de610c9a0e .
Reason for revert: May trigger flakiness in CTS ActivityManagerAssistantStackTests.
Change-Id: I02f831048f7802d91331e67bd9006860e4572b92
2017-12-15 06:51:04 +00:00
Tim Murray
b5f0faa9b3
Merge "adb: disable checksum on new versions" am: 578a564994 am: b9b168bdad
...
am: 4d1d0d5673
Change-Id: I8db0fbc63730dfcdebcca7c5039f5a955ea3375c
2017-12-15 02:52:23 +00:00
Tim Murray
4d1d0d5673
Merge "adb: disable checksum on new versions" am: 578a564994
...
am: b9b168bdad
Change-Id: Id3cbe70d8dedc053b42fdf5d0b8763d31d0d1564
2017-12-15 02:44:14 +00:00
Tim Murray
b9b168bdad
Merge "adb: disable checksum on new versions"
...
am: 578a564994
Change-Id: I5f9abf1c91296ae7c488a26d3d77489e4ce70d18
2017-12-15 02:38:08 +00:00
Treehugger Robot
578a564994
Merge "adb: disable checksum on new versions"
2017-12-15 02:28:59 +00:00
Steve Paik
fea16e1dea
Fix LOG() messages to drop \n
...
Bug: 70669809
Test: It's gone
Change-Id: Id66776a229be677c89968d1e0dc81fc8b4b7de5d
2017-12-14 17:31:58 -08:00
Jiyong Park
baca81639c
Merge "Re-format ld.config.*.txt files" am: eef035f641 am: ca33a874fe
...
am: 6546c650fa
Change-Id: If26449caae94fb2e372c382d25033930f3c6d5b5
2017-12-15 01:06:13 +00:00
Jiyong Park
6546c650fa
Merge "Re-format ld.config.*.txt files" am: eef035f641
...
am: ca33a874fe
Change-Id: Ia720a7f87647888410235c356b9e88fc3a2a7c62
2017-12-15 01:02:59 +00:00
Jiyong Park
ca33a874fe
Merge "Re-format ld.config.*.txt files"
...
am: eef035f641
Change-Id: I0c840069e3ec17a051427e52e99ece6cfc53e93f
2017-12-15 01:00:04 +00:00
Treehugger Robot
eef035f641
Merge "Re-format ld.config.*.txt files"
2017-12-15 00:52:48 +00:00
Dan Albert
f17d9e252d
Merge "Include what we use." am: 5b6c9f5fb2 am: 1c9e17f8b0
...
am: ae35bf5266
Change-Id: I144b630aae659306a0c66608d47676dddc2f818b
2017-12-15 00:06:40 +00:00
Dan Albert
ae35bf5266
Merge "Include what we use." am: 5b6c9f5fb2
...
am: 1c9e17f8b0
Change-Id: I190229a01ab0ca64b67335231356e75f376c8af8
2017-12-15 00:03:27 +00:00
Dan Albert
1c9e17f8b0
Merge "Include what we use."
...
am: 5b6c9f5fb2
Change-Id: I258b635153dbd0f42cbf285dd09f269d91ec290a
2017-12-14 23:59:13 +00:00
Treehugger Robot
5b6c9f5fb2
Merge "Include what we use."
2017-12-14 23:52:55 +00:00
Elliott Hughes
304b1a182e
Merge "BENCHMARK_MAIN now requires a semicolon." am: 981379b70f am: 64c59c23f3
...
am: 1aee775518
Change-Id: I34a85e2786407dc3d9bdd0e64dc6dc0a627974b5
2017-12-14 23:45:42 +00:00
Elliott Hughes
1aee775518
Merge "BENCHMARK_MAIN now requires a semicolon." am: 981379b70f
...
am: 64c59c23f3
Change-Id: I430d1a3abfdc163a0f0ccc215030106ed3a20c6c
2017-12-14 23:34:38 +00:00
Elliott Hughes
64c59c23f3
Merge "BENCHMARK_MAIN now requires a semicolon."
...
am: 981379b70f
Change-Id: Id61096655f23b5c4679a2b0edfca58a1329ff6ad
2017-12-14 23:29:34 +00:00
Elliott Hughes
981379b70f
Merge "BENCHMARK_MAIN now requires a semicolon."
2017-12-14 23:24:15 +00:00
Tim Murray
de47194940
adb: disable checksum on new versions
...
The checksum is unnecessary. Improves adb performance by 40% on USB2.
Test: new adb works with new + old adbd, old adb works with new adbd
bug 67327728
Change-Id: I761d8a5a62deaea9bbb092ea9926b2d6d312f00d
2017-12-14 14:18:26 -08:00
Todd Poynor
de610c9a0e
healthd: don't report fake data for battery-less devices
...
If the kernel does not implement a power_supply class device of type
battery, do not report fake data, instead report the following by
default:
* batteryPresent = false (instead of true),
* charging status = unknown (instead of charging),
* capacity = 0 (instead of 100%),
* health = unknown (instead of good),
* AC charger online not modified (instead of forcing true)
If no charger and no battery devices are supplied by the kernel, the
AC charger online property will no longer be forced to true. Devices
that are always plugged into AC power should either implement a
power_supply class charger device or implement a Health HAL that sets
properties appropriately.
Bug: 34507420
Test: manual: gce_x6_phone (no battery or charger),
boots and stays booted, inspect properties
Change-Id: I14cb3b685e8130428e417e7d08c4246f7415210a
2017-12-14 21:13:06 +00:00
TreeHugger Robot
d21c204b74
Merge "storaged: align buffer address and size for direct_io"
2017-12-14 18:34:42 +00:00
Tom Cherry
86181337b8
Merge "Always check prefix matches array at each node" am: 385ea22741 am: 0b75d1987e
...
am: 249e392dc1
Change-Id: Iad87ee2da9b78b20146d1c8798677535fc3c2f70
2017-12-14 17:05:32 +00:00
Tom Cherry
249e392dc1
Merge "Always check prefix matches array at each node" am: 385ea22741
...
am: 0b75d1987e
Change-Id: Ieb1fe032177827720b28ccec698e0743c5934235
2017-12-14 16:57:47 +00:00
Tom Cherry
0b75d1987e
Merge "Always check prefix matches array at each node"
...
am: 385ea22741
Change-Id: I9d4b9d9587212061dabcba206a17e3f18176641d
2017-12-14 16:55:41 +00:00
Treehugger Robot
385ea22741
Merge "Always check prefix matches array at each node"
2017-12-14 16:47:40 +00:00