OSDN Git Service
Logan Chien [Wed, 14 Feb 2018 03:16:49 +0000 (03:16 +0000)]
Merge "Fix PDK build" am:
24e34e4b8e
am:
9a393de28f
Change-Id: Ifbca60968122be56fc1aa4567354f26e5a41d848
Logan Chien [Wed, 14 Feb 2018 03:09:56 +0000 (03:09 +0000)]
Merge "Fix PDK build"
am:
24e34e4b8e
Change-Id: I559cb5436686fd9214dcabf7509fc8b176938c61
Logan Chien [Wed, 14 Feb 2018 03:03:57 +0000 (03:03 +0000)]
Merge "Fix PDK build"
Logan Chien [Tue, 13 Feb 2018 10:08:53 +0000 (18:08 +0800)]
Fix PDK build
This commit disables "bootstat" in PDK builds because "bootstat" depends
on "libstatslog" (from "frameworks/base") which is not included in PDK
builds as well.
Test: Build a target (described in http://b/
72961456) with
`platform.zip` built from master FSK source tree.
Bug:
72961456
Change-Id: I06b1555694510e17ea82d5c6dfcdeaf99b905e4d
Pavel Grafov [Wed, 14 Feb 2018 01:11:45 +0000 (01:11 +0000)]
Merge "Make log_event_list.h available to vendor code." am:
fd01164a8d
am:
ab30115581
Change-Id: Idc4109867a85d30bfacbd91ec725c78450641f23
Pavel Grafov [Wed, 14 Feb 2018 01:02:08 +0000 (01:02 +0000)]
Merge "Make log_event_list.h available to vendor code."
am:
fd01164a8d
Change-Id: Ie72c87f9bf5a65ae6c806f9b35778e1e2788bfb3
Treehugger Robot [Wed, 14 Feb 2018 00:02:33 +0000 (00:02 +0000)]
Merge "Make log_event_list.h available to vendor code."
Josh Gao [Wed, 14 Feb 2018 00:00:11 +0000 (00:00 +0000)]
Merge "adbd: receive jdwp pids from art as raw integers." am:
d31df3a1be
am:
f6a2296aff
Change-Id: Ib69f5cb5cc956ec8948cb0f1b997d6c6260d8888
Josh Gao [Tue, 13 Feb 2018 23:54:49 +0000 (23:54 +0000)]
Merge "adbd: receive jdwp pids from art as raw integers."
am:
d31df3a1be
Change-Id: I91bba1e12a7b20e1e4be104dd306d0fdafa7af55
Treehugger Robot [Tue, 13 Feb 2018 23:34:49 +0000 (23:34 +0000)]
Merge "adbd: receive jdwp pids from art as raw integers."
Luis Hector Chavez [Tue, 13 Feb 2018 22:41:35 +0000 (22:41 +0000)]
Merge "init.rc: Perform some mounts with nodev,nosuid,noexec" am:
cd66e4c6ea
am:
8cb681fa1f
Change-Id: I89c176ac07da5d238dd0391ddf31434fb69ead67
Luis Hector Chavez [Tue, 13 Feb 2018 22:32:40 +0000 (22:32 +0000)]
Merge "init.rc: Perform some mounts with nodev,nosuid,noexec"
am:
cd66e4c6ea
Change-Id: I4d5496ae210c19f03ff1588f37cd848231f7b3e8
Treehugger Robot [Tue, 13 Feb 2018 21:02:47 +0000 (21:02 +0000)]
Merge "init.rc: Perform some mounts with nodev,nosuid,noexec"
Pavel Grafov [Thu, 8 Feb 2018 19:20:56 +0000 (19:20 +0000)]
Make log_event_list.h available to vendor code.
This is required in order to be able to log audit
events from wpa_supplicant. Only log writing functions
from log_event_list.h are made available.
Test: manually
Bug:
70886042
Change-Id: I097d4ad1de573662658678e6a9f1fc8f17820542
Jerry Zhang [Tue, 13 Feb 2018 08:13:45 +0000 (08:13 +0000)]
Merge "Remove urb request size maximum." am:
1cb765c867
am:
1ab6e9d018
Change-Id: Ib11513a31b2f1d02a35adc0da16f616a0c2da307
Christopher Ferris [Tue, 13 Feb 2018 08:11:57 +0000 (08:11 +0000)]
Merge "Fix computation of pc." am:
71fa8125b9
am:
b84d662e54
Change-Id: I92ea4539584cc79926e178a1e2e5d36581fd1fce
Josh Gao [Tue, 13 Feb 2018 08:10:15 +0000 (08:10 +0000)]
Merge "adb: fix build breakage." am:
14d7cdce51
am:
a4c4ef463b
Change-Id: I49766025464814d15029196a080477f6b8aa5215
Josh Gao [Tue, 13 Feb 2018 08:05:45 +0000 (08:05 +0000)]
Merge "adb: use delete on objects with destructors." am:
e504360f3d
am:
854879ecdc
Change-Id: I1048bf7c391b1570845b99e7e2846eb71e2c3160
Jerry Zhang [Tue, 13 Feb 2018 07:40:07 +0000 (07:40 +0000)]
Merge "Remove urb request size maximum."
am:
1cb765c867
Change-Id: I2915011f47e312888d5e330be62cf76576d9cf3a
Christopher Ferris [Tue, 13 Feb 2018 07:38:23 +0000 (07:38 +0000)]
Merge "Fix computation of pc."
am:
71fa8125b9
Change-Id: I2a600c1fbe47ff5e4efadc0ff961d174b64f29c3
Josh Gao [Tue, 13 Feb 2018 07:36:35 +0000 (07:36 +0000)]
Merge "adb: fix build breakage."
am:
14d7cdce51
Change-Id: I497739c7573be43483fd801ec2083f66fa425305
Josh Gao [Tue, 13 Feb 2018 07:33:45 +0000 (07:33 +0000)]
Merge "adb: use delete on objects with destructors."
am:
e504360f3d
Change-Id: I1ade6caf84ed8798db5ae194e52c9187789a885d
Treehugger Robot [Tue, 13 Feb 2018 07:25:04 +0000 (07:25 +0000)]
Merge "Remove urb request size maximum."
Christopher Ferris [Tue, 13 Feb 2018 03:02:19 +0000 (03:02 +0000)]
Merge "Fix computation of pc."
Josh Gao [Tue, 13 Feb 2018 02:05:52 +0000 (02:05 +0000)]
Merge "adb: fix build breakage."
Josh Gao [Tue, 13 Feb 2018 02:03:49 +0000 (18:03 -0800)]
adb: fix build breakage.
Test: mma
Change-Id: Id8e7ffd2212449bbac5b64b50e7b3aef7e97d649
Josh Gao [Tue, 13 Feb 2018 01:37:46 +0000 (01:37 +0000)]
Merge "adb: use delete on objects with destructors."
Josh Gao [Tue, 13 Feb 2018 01:24:00 +0000 (17:24 -0800)]
adb: use delete on objects with destructors.
asocket has a destructor now, so we have to delete it, or leak the
data pointed to by its std::string.
Bug: http://b/
73257049
Test: manual testing with asan
Change-Id: Ia88199292cc74e10032a9a16226d3afc61c3e0be
Daniel Colascione [Mon, 12 Feb 2018 23:20:29 +0000 (23:20 +0000)]
Merge "Support * as a wildcard for ATRACE_TAG_APP" am:
53c964f53b
am:
2e50045f60
Change-Id: I8b593eb2752483b825acfac55eba5013fd427f33
Luis Hector Chavez [Mon, 12 Feb 2018 19:30:46 +0000 (11:30 -0800)]
init.rc: Perform some mounts with nodev,nosuid,noexec
This change adds some additional flags to some mounts. This is to reduce
the number of mounts with these flags.
Bug:
73255020
Test: aosp_sailfish still boots
Change-Id: I285e6d7b3dcc19f691a3d6780e7d3a3a5d7cb3de
Daniel Colascione [Mon, 12 Feb 2018 23:14:23 +0000 (23:14 +0000)]
Merge "Support * as a wildcard for ATRACE_TAG_APP"
am:
53c964f53b
Change-Id: Ie6721a7c126908a6c1522a578094434a09b29db3
Josh Gao [Mon, 12 Feb 2018 23:05:05 +0000 (15:05 -0800)]
adbd: receive jdwp pids from art as raw integers.
Don't go through a pointless conversion to hex that reduces our maximum
pid to 64k.
Bug: http://b/
17661822
Test: `adb jdwp`
Change-Id: Idd572eac827f3ed3825ac2cf55fc4db109e70854
Daniel Colascione [Mon, 12 Feb 2018 22:51:33 +0000 (22:51 +0000)]
Merge "Support * as a wildcard for ATRACE_TAG_APP"
Christopher Ferris [Mon, 12 Feb 2018 21:24:18 +0000 (13:24 -0800)]
Fix computation of pc.
Fix the case where a non-zero load bias or a non-zero elf offset causes
the pc to be set incorrectly.
Add unit tests for these cases.
Bug:
73172903
Test: Ran unit tests.
Test: Ran the unit tests from the simpleperf CL that detected the failure.
Change-Id: Id8802c00b34c66875edd4926a20c5fccd2bb7d72
Christopher Ferris [Mon, 12 Feb 2018 20:22:27 +0000 (20:22 +0000)]
Merge "Fix off by 4 error handling eh_frame hdr." am:
73a2508dc4
am:
5384c29b55
Change-Id: I594b42148331d1349f8733eb36460c85a2d8bcd4
Elliott Hughes [Mon, 12 Feb 2018 20:21:46 +0000 (20:21 +0000)]
Merge "Fix a few demangler issues." am:
ecff589728
am:
bb5b8ab90d
Change-Id: I942d758028657ba9fbc613a50e4e91bcb62681d4
Christopher Ferris [Mon, 12 Feb 2018 20:20:52 +0000 (20:20 +0000)]
Merge "Clear dex pc to avoid duplicate frames." am:
643f1e93ae
am:
d25de127bf
Change-Id: Ie3c6e1cb4c8f1b2a212a2b6ea872c51a267bfe2d
Christopher Ferris [Mon, 12 Feb 2018 20:09:12 +0000 (20:09 +0000)]
Merge "Fix off by 4 error handling eh_frame hdr."
am:
73a2508dc4
Change-Id: Ic5374ce8305b29fa471bd2591a1943918ac74111
Elliott Hughes [Mon, 12 Feb 2018 20:08:27 +0000 (20:08 +0000)]
Merge "Fix a few demangler issues."
am:
ecff589728
Change-Id: I4cd74455f1055ab02c0599035e3d789ce8a97520
Christopher Ferris [Mon, 12 Feb 2018 20:07:46 +0000 (20:07 +0000)]
Merge "Clear dex pc to avoid duplicate frames."
am:
643f1e93ae
Change-Id: I1efa6a2331da06a019b126924ec0ca074068760d
Christopher Ferris [Mon, 12 Feb 2018 18:58:34 +0000 (18:58 +0000)]
Merge "Fix off by 4 error handling eh_frame hdr."
Elliott Hughes [Mon, 12 Feb 2018 18:54:29 +0000 (18:54 +0000)]
Merge "Fix a few demangler issues."
Christopher Ferris [Mon, 12 Feb 2018 18:44:20 +0000 (18:44 +0000)]
Merge "Clear dex pc to avoid duplicate frames."
Christopher Ferris [Mon, 12 Feb 2018 16:46:19 +0000 (08:46 -0800)]
Clear dex pc to avoid duplicate frames.
Bug:
73228466
Test: Passes new unit tests, fails without change.
Change-Id: I3660bfd16cbf2d5cf96490ca7714bc5f97914884
Christopher Ferris [Fri, 9 Feb 2018 23:57:39 +0000 (15:57 -0800)]
Fix off by 4 error handling eh_frame hdr.
- Add a new tool that can dump the register information given a pc.
- Add a new offline unwinder test that fails without this change.
- Update unit tests.
- Refactor offline unwind tests to make it easier to add tests.
Bug:
73048324
Test: Passes new unit tests.
Test: Passes libbacktrace unit tests.
Test: Ran debuggerd -b on random processes.
Change-Id: If6c70a044299505c2274ae6888b35bf9ac34b74b
Daniel Colascione [Sat, 10 Feb 2018 04:07:23 +0000 (20:07 -0800)]
Support * as a wildcard for ATRACE_TAG_APP
Test: strcmp
Change-Id: I33ec3ae071e3856538444663bbabb3c779ed8afa
Josh Gao [Sat, 10 Feb 2018 02:05:47 +0000 (02:05 +0000)]
Merge "debuggerd_fallback: fix race." am:
cd2fa1f432
am:
135dacd4d1
Change-Id: I5330f48b7f1d713644465865ac33badcce046d7a
Josh Gao [Sat, 10 Feb 2018 01:59:44 +0000 (01:59 +0000)]
Merge "debuggerd_fallback: fix race."
am:
cd2fa1f432
Change-Id: Ie074a05e7eacbf8234c4ece44e98a9f8b5b96a2e
Treehugger Robot [Sat, 10 Feb 2018 01:44:07 +0000 (01:44 +0000)]
Merge "debuggerd_fallback: fix race."
Elliott Hughes [Sat, 10 Feb 2018 01:30:14 +0000 (17:30 -0800)]
Fix a few demangler issues.
Specifically:
* rvalue references.
* St does not require N...E delimiters (explicit special case in the spec).
* ".cfi" suffixes.
Bug: http://b/
67678053
Test: ran tests
Change-Id: If8cabad448b46b165eefc6c5487996428c9c6975
Josh Gao [Wed, 24 Jan 2018 22:23:42 +0000 (14:23 -0800)]
debuggerd_fallback: fix race.
A race condition occurs when one thread takes more than a second to get
scheduled to handle the signal we send to ask it to dump its stack.
When this happens, the main thread will continue on, close the fd, and
then ask the next thread to dump, but the slow thread will then wake up
and try to write to the new thread's fd, or trigger an assertion in
__linker_enable_fallback_allocator.
Do a few things to make this less bad:
- encode both target tid and fd in the shared atomic, so that we know
who each fd is for
- switch __linker_enable_fallback_allocator to return success instead
of aborting, and bail out if it's already in use
- write to the output fd right when we get to it, instead of doing it
whenever the dumping code decides to, to reduce the likelihood that
the timeout expires
Test: debuggerd_test
Change-Id: Ife0f6dae388b601e7f991605f14d7a0274013f6b
Daniel Colascione [Fri, 9 Feb 2018 22:30:14 +0000 (22:30 +0000)]
Merge "Add explanation for clone use" am:
bac72c884f
am:
c9d48b25fc
Change-Id: If5ceab48cb09a3d0f12bbfceb55dce061685d6ed
Christopher Ferris [Fri, 9 Feb 2018 22:28:07 +0000 (22:28 +0000)]
Merge "Expose per arch headers." am:
99888af9f1
am:
8711fbb08c
Change-Id: If25ba3a408bbf579cd0d99fcc0da6a8a1087cc91
Daniel Colascione [Fri, 9 Feb 2018 22:07:47 +0000 (22:07 +0000)]
Merge "Add explanation for clone use"
am:
bac72c884f
Change-Id: Ica0d295c327b0b8c20cf5feac859acec4222b48d
Christopher Ferris [Fri, 9 Feb 2018 22:05:57 +0000 (22:05 +0000)]
Merge "Expose per arch headers."
am:
99888af9f1
Change-Id: Ic26c025b5edae7867795c38074e6314b75d75d89
Daniel Colascione [Fri, 9 Feb 2018 19:33:09 +0000 (19:33 +0000)]
Merge "Add explanation for clone use"
Christopher Ferris [Fri, 9 Feb 2018 19:23:31 +0000 (19:23 +0000)]
Merge "Expose per arch headers."
Josh Gao [Fri, 9 Feb 2018 07:28:20 +0000 (07:28 +0000)]
Merge "debuggerd: update policy for recent sigaction changes." am:
26b69296fe
am:
6ab5e9c96b
Change-Id: I9825660d92f51a37003951566348b19074495713
Josh Gao [Fri, 9 Feb 2018 07:23:47 +0000 (07:23 +0000)]
Merge "debuggerd: update policy for recent sigaction changes."
am:
26b69296fe
Change-Id: I62891c34504f650a2b4c808f0e5cd4d38fe95e30
Treehugger Robot [Fri, 9 Feb 2018 07:12:50 +0000 (07:12 +0000)]
Merge "debuggerd: update policy for recent sigaction changes."
Christopher Ferris [Fri, 9 Feb 2018 03:27:47 +0000 (19:27 -0800)]
Expose per arch headers.
Bug:
73013352
Test: Compiles.
Change-Id: Ic05660db7d7858a9857143ee5e58cdaddcf52a35
Josh Gao [Fri, 9 Feb 2018 00:46:55 +0000 (16:46 -0800)]
debuggerd: update policy for recent sigaction changes.
Commit
3e235911 in bionic switched LP32's sigaction implementation over
to using the rt_sigaction syscall, matching LP64. Update our seccomp
policy to match.
Bug: http://b/
73119572
Test: debuggerd_test32
Change-Id: I0a662a1c874298d434468d2dcdb4ebf9f276110c
Daniel Colascione [Thu, 8 Feb 2018 23:06:43 +0000 (15:06 -0800)]
Add explanation for clone use
Test: no code changes
Change-Id: I70c8af8261cda3163677557fd78ae0119b1f1be0
David Sehr [Thu, 8 Feb 2018 21:47:50 +0000 (21:47 +0000)]
Merge "Remove dependency on -no_art variant" am:
2ccde89153
am:
1f5228709c
Change-Id: Ib04dba9f020f5f28344bdd8c2a32eebb3f95c59a
David Sehr [Thu, 8 Feb 2018 21:43:44 +0000 (21:43 +0000)]
Merge "Remove dependency on -no_art variant"
am:
2ccde89153
Change-Id: I73179b52f72d82b167d4bfaf38493feac89484a9
David Sehr [Thu, 8 Feb 2018 21:26:05 +0000 (21:26 +0000)]
Merge "Remove dependency on -no_art variant"
Paul Crowley [Thu, 8 Feb 2018 17:39:24 +0000 (17:39 +0000)]
Merge "Revert "Don't initialize atrace if it's already disabled."" am:
c50d19c0b0
am:
33d3758684
Change-Id: I46f1627713be963686a5f5d36e5af24e2cd25626
Paul Crowley [Thu, 8 Feb 2018 17:35:14 +0000 (17:35 +0000)]
Merge "Revert "Don't initialize atrace if it's already disabled.""
am:
c50d19c0b0
Change-Id: I55076549651d386ed7bdfab8ec05061049735271
Treehugger Robot [Thu, 8 Feb 2018 17:27:41 +0000 (17:27 +0000)]
Merge "Revert "Don't initialize atrace if it's already disabled.""
Justin Yun [Thu, 8 Feb 2018 06:11:06 +0000 (06:11 +0000)]
Merge changes from topic "vndk-sp-list-update" am:
4c0ee1e8a0
am:
6edfca6e3b
Change-Id: I542fcb67e5a7aaef0f976d652a42902b0ff521cb
Justin Yun [Thu, 8 Feb 2018 06:10:31 +0000 (06:10 +0000)]
Use actual VNDK list for non-VNDK-enforcing devices am:
8a9a8eeb85
am:
c2ff3dbbfe
Change-Id: I7a0f5abaad4ed062caf21000ff304c734dba22d6
Justin Yun [Thu, 8 Feb 2018 06:05:30 +0000 (06:05 +0000)]
Merge changes from topic "vndk-sp-list-update"
am:
4c0ee1e8a0
Change-Id: I155e3e864678401e0858842b4bd3ace7600da381
Justin Yun [Thu, 8 Feb 2018 06:04:37 +0000 (06:04 +0000)]
Use actual VNDK list for non-VNDK-enforcing devices
am:
8a9a8eeb85
Change-Id: I2677acd9dbd266873fb12d20674e298cc9d1444c
Treehugger Robot [Thu, 8 Feb 2018 05:52:02 +0000 (05:52 +0000)]
Merge changes from topic "vndk-sp-list-update"
* changes:
Rename namespace configuration source files.
Use actual VNDK list for non-VNDK-enforcing devices
Josh Gao [Thu, 8 Feb 2018 02:59:26 +0000 (02:59 +0000)]
Merge "adb: switch asocket::enqueue to std::string." am:
9bf624cd3a
am:
e523a6c94f
Change-Id: I1a41300d93477f008f6a8f9eca611b1985897c3d
Josh Gao [Thu, 8 Feb 2018 02:55:18 +0000 (02:55 +0000)]
Merge changes I86bcfaaa,I24d7f5d0 am:
f99711fe87
am:
157c2fa504
Change-Id: Ie9e05081da1ba2c67d80b197aaeaa0706cc7c64a
Josh Gao [Thu, 8 Feb 2018 02:34:57 +0000 (02:34 +0000)]
Merge "adb: switch asocket::enqueue to std::string."
am:
9bf624cd3a
Change-Id: Ifd2c3237cb6f12d7b8592f42ec3c378053a01491
Josh Gao [Thu, 8 Feb 2018 02:30:18 +0000 (02:30 +0000)]
Merge changes I86bcfaaa,I24d7f5d0
am:
f99711fe87
Change-Id: I4e21cf95ef677dd14c90830456eba400deb32eda
Josh Gao [Thu, 8 Feb 2018 01:06:22 +0000 (01:06 +0000)]
Merge "adb: switch asocket::enqueue to std::string."
Paul Crowley [Thu, 8 Feb 2018 00:49:37 +0000 (00:49 +0000)]
Revert "Don't initialize atrace if it's already disabled."
This reverts commit
e184423526888dade9c672ea2584127ae1d9d949.
Reason for revert: b/
73081734
Bug:
73081734
Change-Id: I8ae835f5575292ebd3c4457ef26c2e8f98cfa11e
Josh Gao [Thu, 8 Feb 2018 00:34:40 +0000 (00:34 +0000)]
Merge changes I86bcfaaa,I24d7f5d0
* changes:
adb: restore packet data length checks.
adb: switch asocket's intrusive linked list to vectors.
Jerry Zhang [Wed, 7 Feb 2018 02:25:44 +0000 (18:25 -0800)]
Remove urb request size maximum.
The 16kB maximum for transfers was removed from
the kernel in 3.3. Devio has since supported
arbitrary transfer sizes through scatter gather.
See the following kernel patches for context:
"USB: change the memory limits in usbfs URB submission"
"usbdevfs: Use scatter-gather lists for large bulk transfers"
Bug:
67683483
Test: Run usb_async_test app with USB3 : 38MB/s -> 300MB/s
Change-Id: Ia52440cb725561b0f1db1a75aa1b8ab952585826
Justin Yun [Wed, 7 Feb 2018 23:46:59 +0000 (08:46 +0900)]
Rename namespace configuration source files.
For strict VNDK runtime restriction, use ld.config.txt as a source
file. For treblized devices without BOARD_VNDK_VERSION, use
ld.config.vndk_lite.txt file.
Test: Build and boot on Pixel 2017 and 2018 devices.
Change-Id: Ie5b77facd4c11bc73219ecf13ad1298ac5d60d8e
Justin Yun [Fri, 2 Feb 2018 04:22:02 +0000 (13:22 +0900)]
Use actual VNDK list for non-VNDK-enforcing devices
Rename ld.config.txt.in to ld.config.vndk.txt and
ld.config.txt to ld.config.vndk_light.txt.
For FULL_TREBLE devices without BOARD_VNDK_VERSION, update the VNDK
library list in ld.config.vndk_light.txt with the actual VNDK list.
Bug:
69526027
Test: Build marlin/sailfish and check boot
Change-Id: Idbb0cc97d11037c1493d4739e84961297ce51dbd
Merged-In: Idbb0cc97d11037c1493d4739e84961297ce51dbd
David Sehr [Wed, 7 Feb 2018 23:19:22 +0000 (15:19 -0800)]
Remove dependency on -no_art variant
Remove an external dependency on a shim I used to protect against
renaming.
Bug:
22322814
Test: make -j 50
Change-Id: I7e6eaee7d82a1a42d4c37daa74803cefc7bb68ce
Todd Poynor [Wed, 7 Feb 2018 20:50:46 +0000 (20:50 +0000)]
Merge "healthd: don't report fake data for battery-less devices" am:
ab26cc4b12
am:
d9960d84d1
Change-Id: I30f0925d6b6f14d56197a52eb61e47fdc46d0af3
Todd Poynor [Wed, 7 Feb 2018 20:46:07 +0000 (20:46 +0000)]
Merge "healthd: don't report fake data for battery-less devices"
am:
ab26cc4b12
Change-Id: I2597154b24428ca806d628ad567c5742722caeac
Treehugger Robot [Wed, 7 Feb 2018 20:38:32 +0000 (20:38 +0000)]
Merge "healthd: don't report fake data for battery-less devices"
Christopher Ferris [Wed, 7 Feb 2018 15:02:37 +0000 (15:02 +0000)]
Merge "Check that dex pc is in a valid map." am:
3ff3ff1c36
am:
7d362f1eb7
Change-Id: I0ebc59d03f920ad1d98a7b99ccd25d465b06b57a
Christopher Ferris [Wed, 7 Feb 2018 14:58:03 +0000 (14:58 +0000)]
Merge "Check that dex pc is in a valid map."
am:
3ff3ff1c36
Change-Id: If82d8eacf0186ba49c4728bf9dfb78a781ae19e5
Christopher Ferris [Wed, 7 Feb 2018 14:50:03 +0000 (14:50 +0000)]
Merge "Check that dex pc is in a valid map."
Josh Gao [Wed, 7 Feb 2018 06:12:53 +0000 (06:12 +0000)]
Merge "adb: don't spew to logcat when tracing is enabled." am:
28c44863f6
am:
b652ac4bd8
Change-Id: I47e464c9d9e50e67cde76340f9109f28cc3845a2
Josh Gao [Wed, 7 Feb 2018 06:08:16 +0000 (06:08 +0000)]
Merge "adb: don't spew to logcat when tracing is enabled."
am:
28c44863f6
Change-Id: I8f848151e5df370c43382bb01bddeda0f252da67
Treehugger Robot [Wed, 7 Feb 2018 05:57:46 +0000 (05:57 +0000)]
Merge "adb: don't spew to logcat when tracing is enabled."
Mark Salyzyn [Wed, 7 Feb 2018 02:40:04 +0000 (02:40 +0000)]
Merge "lmkd: use after free" am:
7c3c8c27e1
am:
c95fb64f0f
Change-Id: I14be93f1bb37bab59b68c874017c4979cf9655db
Mark Salyzyn [Wed, 7 Feb 2018 02:26:30 +0000 (02:26 +0000)]
Merge "lmkd: use after free"
am:
7c3c8c27e1
Change-Id: If54ce69ac7ca03a67e25a2e3a3f4392ba2a8aeca
Treehugger Robot [Wed, 7 Feb 2018 01:53:15 +0000 (01:53 +0000)]
Merge "lmkd: use after free"
Josh Gao [Tue, 6 Feb 2018 23:49:26 +0000 (15:49 -0800)]
adb: don't spew to logcat when tracing is enabled.
When persist.adb.trace_mask is used to enable verbose logging, avoid
exponential logging when a user runs `adb logcat`. As a side-effect,
set the minimum logging level to include everything when ADB_TRACE is
used on the client (which is something we want anyway).
Bug: http://b/
72971016
Test: `adb shell 'setprop persist.adb.trace_mask; killall adbd'; adb logcat`
Change-Id: Id4bca1f3933a920345499dbeaeb103c8a2e220cd
Christopher Ferris [Tue, 6 Feb 2018 22:51:48 +0000 (14:51 -0800)]
Check that dex pc is in a valid map.
Add new unit tests for dex pc being non-zero.
Bug:
73004673
Test: Ran unit tests.
Test: Ran art 137-cfi test on host for interpreter.
Change-Id: I09bbf96d0ed65fc1e5896e4ab2bc67867e3b7fdb
Josh Gao [Thu, 1 Feb 2018 21:17:50 +0000 (13:17 -0800)]
adb: switch asocket::enqueue to std::string.
Switch asocket over to taking a std::string instead of apacket* for
data. This allows us to remove asocket specific fields from apacket*.
Test: python test_device.py with x86_64 emulator, walleye
Test: adb_test on host
Change-Id: I9d157ff331a75ba49a54fdd4194e3f6cdff722f4