Logan Chien
2fd29edc71
Merge "Separate VNDK libs into another linker namespace" am: b00ed37a66
am: 3d5afa7b34
...
am: 2a736774dc
Change-Id: I11667b8f5e5bb450fb355fcfc6d1e533be78958c
2017-12-21 20:53:20 +00:00
Andrew Chant
ac9279da24
Merge "usblib: usb_device_get_string decoding fixes." am: d8dc605d6c
am: 499d82e5df
...
am: 382c219d09
-s ours
Change-Id: I12c965a1b7d6e5db4a57fda6a3b732ba34d64e4b
2017-12-21 20:52:21 +00:00
Christopher Ferris
5e5aa9fb66
Merge "Add tool to save information from a process." am: 7c20a6cd7c
am: ca0cae76eb
...
am: 6e0a1097fe
Change-Id: I3a07db53c688d10b58b9908132de0d56b9fa5b4d
2017-12-21 20:51:27 +00:00
Logan Chien
2a736774dc
Merge "Separate VNDK libs into another linker namespace" am: b00ed37a66
...
am: 3d5afa7b34
Change-Id: I34dd5a01fa6d57da2c153374d30f50097abfc6bd
2017-12-21 19:44:15 +00:00
Andrew Chant
382c219d09
Merge "usblib: usb_device_get_string decoding fixes." am: d8dc605d6c
...
am: 499d82e5df
Change-Id: I44b507caf5bd9c2ee80f5a843e44adf60184a6ae
2017-12-21 19:43:33 +00:00
Christopher Ferris
6e0a1097fe
Merge "Add tool to save information from a process." am: 7c20a6cd7c
...
am: ca0cae76eb
Change-Id: I3889436557f3bacea854400470c06b2fdcefbaac
2017-12-21 19:42:49 +00:00
Logan Chien
3d5afa7b34
Merge "Separate VNDK libs into another linker namespace"
...
am: b00ed37a66
Change-Id: Icd85a59b1357f7931c4e8b84e57ec45273b1bc73
2017-12-21 17:45:36 +00:00
Andrew Chant
499d82e5df
Merge "usblib: usb_device_get_string decoding fixes."
...
am: d8dc605d6c
Change-Id: I790e57b379160b82b4b8a1b758ceaf7a049a7b3f
2017-12-21 17:44:51 +00:00
Christopher Ferris
ca0cae76eb
Merge "Add tool to save information from a process."
...
am: 7c20a6cd7c
Change-Id: I7f834ea5770d2ae646c84ff08cd5037a9b2fc473
2017-12-21 17:44:14 +00:00
Logan Chien
b00ed37a66
Merge "Separate VNDK libs into another linker namespace"
2017-12-21 01:32:04 +00:00
Andrew Chant
d8dc605d6c
Merge "usblib: usb_device_get_string decoding fixes."
2017-12-21 00:09:25 +00:00
Tomasz Wasilczyk
a7c134d288
Merge "Use LOG_TAG instead of binary name as a tag." am: d535a9cab9
am: ed5448c4be
...
am: 41cafb919d
Change-Id: Ibf5b6db13082a7fa2629071f2f417b082aa44f36
2017-12-20 23:31:58 +00:00
Elliott Hughes
72674fa1c5
Merge "Add std::string StartsWith*/EndsWith* overloads." am: dbbba76f88
am: 26c7becfce
...
am: 98123411cc
Change-Id: I6dbb54af311b6c7322f877d1afb6ca2897bb5fe6
2017-12-20 23:31:07 +00:00
Christopher Ferris
7c20a6cd7c
Merge "Add tool to save information from a process."
2017-12-20 23:20:39 +00:00
Tomasz Wasilczyk
41cafb919d
Merge "Use LOG_TAG instead of binary name as a tag." am: d535a9cab9
...
am: ed5448c4be
Change-Id: Ibfb245b5b8e50554d3aaba0158c6274b4e9cfe56
2017-12-20 22:05:43 +00:00
Tomasz Wasilczyk
ed5448c4be
Merge "Use LOG_TAG instead of binary name as a tag."
...
am: d535a9cab9
Change-Id: Ib1580bf760fb6998b6a1e0bda96210bb13ec9a6f
2017-12-20 21:49:14 +00:00
Tomasz Wasilczyk
d535a9cab9
Merge "Use LOG_TAG instead of binary name as a tag."
2017-12-20 21:28:29 +00:00
Christopher Ferris
3dfd2aea7a
Add tool to save information from a process.
...
Also, modify the ProcessVmRead function to allow arbitrarily large
reads and add a test for it.
Test: Run tool and verify the output can be used to do an offline
Test: unwind.
Test: Ran unit tests.
Change-Id: I0974ddca4f5cf72b4c9fa29b597a0a669e223828
2017-12-20 12:57:01 -08:00
Elliott Hughes
98123411cc
Merge "Add std::string StartsWith*/EndsWith* overloads." am: dbbba76f88
...
am: 26c7becfce
Change-Id: Idc313a53ec6dfa08b3c969763aafdfbdcd10f167
2017-12-20 20:36:52 +00:00
Elliott Hughes
26c7becfce
Merge "Add std::string StartsWith*/EndsWith* overloads."
...
am: dbbba76f88
Change-Id: Ic1c31d9197691d81bdefd267e9ba5182e17102a6
2017-12-20 20:32:36 +00:00
Elliott Hughes
dbbba76f88
Merge "Add std::string StartsWith*/EndsWith* overloads."
2017-12-20 20:21:55 +00:00
Tomasz Wasilczyk
c251600102
Use LOG_TAG instead of binary name as a tag.
...
If LOG_TAG was not defined, falling back to a default
behaviour (using binary name).
Bug: 35361699
Test: manual
Change-Id: I209a6ebaf0df882f98642f6d1831766cb296c951
2017-12-20 10:59:46 -08:00
Elliott Hughes
579e682628
Add std::string StartsWith*/EndsWith* overloads.
...
We should have done this from the beginning. Thanks to Windows, we're not
going to be able to switch libbase over to std::string_view any time soon.
Bug: N/A
Test: ran tests
Change-Id: Iff2f56986e39de53f3ac484415378af17dacf26b
2017-12-20 09:42:22 -08:00
Josh Gao
90516bc473
Merge "base: extract {ASSERT,EXPECT}_MATCH helpers from debuggerd_test." am: df9fbc7d75
am: 498a076cae
...
am: 47290a43df
Change-Id: I7f3fcc5d084a34b248ad1cb217f5f90885f17716
2017-12-20 03:30:48 +00:00
Tom Cherry
a40f198032
Merge "Only apply match if there is something to apply" am: e6b83cfe5a
am: a9ca04a17d
...
am: 333521871b
Change-Id: I2ec1f07eed98db98ce997eb2a35a61e9e497a29d
2017-12-20 03:30:00 +00:00
Josh Gao
47290a43df
Merge "base: extract {ASSERT,EXPECT}_MATCH helpers from debuggerd_test." am: df9fbc7d75
...
am: 498a076cae
Change-Id: Ibf5f2f79f099644882ea32ec9587157e9f021df8
2017-12-20 03:28:42 +00:00
Tom Cherry
333521871b
Merge "Only apply match if there is something to apply" am: e6b83cfe5a
...
am: a9ca04a17d
Change-Id: I1e1f1605fd099be09da5c579f2ce649964e3677d
2017-12-20 03:27:53 +00:00
Josh Gao
498a076cae
Merge "base: extract {ASSERT,EXPECT}_MATCH helpers from debuggerd_test."
...
am: df9fbc7d75
Change-Id: I420c44ec3cdf8522f8446667845cede0a1f88aae
2017-12-20 03:26:29 +00:00
Tom Cherry
a9ca04a17d
Merge "Only apply match if there is something to apply"
...
am: e6b83cfe5a
Change-Id: I83967a110621ea19d51cf55bfcf46eda9f2e010f
2017-12-20 03:25:47 +00:00
Treehugger Robot
df9fbc7d75
Merge "base: extract {ASSERT,EXPECT}_MATCH helpers from debuggerd_test."
2017-12-20 03:24:39 +00:00
Tom Cherry
e6b83cfe5a
Merge "Only apply match if there is something to apply"
2017-12-20 03:20:53 +00:00
Josh Gao
0c3ed2346c
Merge "debuggerd: add pause time benchmark." am: 1b4ab8bc39
am: eba1be0d98
...
am: 54386ffb7e
Change-Id: If29bd288eb321309fac90cd832a7c4186251ab1a
2017-12-20 02:52:57 +00:00
Josh Gao
54386ffb7e
Merge "debuggerd: add pause time benchmark." am: 1b4ab8bc39
...
am: eba1be0d98
Change-Id: I81432881bc88a5e5a4450c23bd96c0f016f302d7
2017-12-20 02:50:49 +00:00
Josh Gao
eba1be0d98
Merge "debuggerd: add pause time benchmark."
...
am: 1b4ab8bc39
Change-Id: I88ff97517b4dab107a25f415651ae9c5564612d1
2017-12-20 02:48:15 +00:00
Treehugger Robot
1b4ab8bc39
Merge "debuggerd: add pause time benchmark."
2017-12-20 02:43:31 +00:00
Jiyong Park
3688e713e7
Merge "/vendor/lib/hw is removed from search paths for vendor default ns" am: 3388af49e6
am: 17f0ae765e
...
am: b7d35b7d09
Change-Id: Ib638acc46f3c96ca459755a06df977799dd90822
2017-12-20 02:29:47 +00:00
Jiyong Park
b7d35b7d09
Merge "/vendor/lib/hw is removed from search paths for vendor default ns" am: 3388af49e6
...
am: 17f0ae765e
Change-Id: I62a4d5e4b8fa8ed4d74bd6dd28dff0ee34e96f3a
2017-12-20 02:27:14 +00:00
Jiyong Park
17f0ae765e
Merge "/vendor/lib/hw is removed from search paths for vendor default ns"
...
am: 3388af49e6
Change-Id: I64fcc4e27b7016b2071ffeec9c22aa3398a76cfa
2017-12-20 02:25:08 +00:00
Treehugger Robot
3388af49e6
Merge "/vendor/lib/hw is removed from search paths for vendor default ns"
2017-12-20 02:19:14 +00:00
Josh Gao
30171a8b47
base: extract {ASSERT,EXPECT}_MATCH helpers from debuggerd_test.
...
Add some helper macros that perform regex string matching to
<android-base/test_utils.h>.
Test: libbase_test32/64 on host
Change-Id: I1b0f03dc73f8b4fdfb8ac6c75d59ef421e0e9640
2017-12-19 17:16:12 -08:00
Tom Cherry
f5ed661f72
Only apply match if there is something to apply
...
It is possible for a match to only contain a context and not a schema,
or vice versa and in this case, the previously matched values should
continue to be used. The serializer already handles this case by
setting the index of the match to ~0u if there is not one, so this
change simply has the parser skip these values.
Bug: 70858511
Test: unit tests, including new ones
Change-Id: Ibc65bd8d637e39f3b1ce7bcc2b88189b75173f88
2017-12-19 16:47:21 -08:00
Josh Gao
a42314e436
debuggerd: add pause time benchmark.
...
Add a benchmark to measure how long we pause a process when dumping.
Bug: http://b/62112103
Test: manually ran it
Change-Id: Iceec2f722915b0ae26144c86dcbeb35793f963da
2017-12-19 16:36:04 -08:00
Andrew Chant
8ea8101b04
usblib: usb_device_get_string decoding fixes.
...
usb_device_get_string converts incoming ucs-2 text
to ascii by truncating the upper byte of each
character. This is error prone.
This patch introduces usb_device_get_string_ucs2
to access raw USB string descriptors, as well as
changes usb_device_get_string to replace any non
ascii character with '?'.
Bug: 70163357
Change-Id: If8f98fee4be6ea75dc0f7ce7beba7fd7b6aabf88
Merged-In: If8f98fee4be6ea75dc0f7ce7beba7fd7b6aabf88
Test: Connected & disconnected a NuForceDAC.
2017-12-19 22:20:51 +00:00
Steven Moreland
879978a7c8
Merge "Usage suggestions." am: 51c2088f3b
am: 79c5de4d4b
...
am: 0766929399
Change-Id: I76560a74d619f102920fa1f97e56a71878ee8d2e
2017-12-19 20:47:26 +00:00
Steven Moreland
0766929399
Merge "Usage suggestions." am: 51c2088f3b
...
am: 79c5de4d4b
Change-Id: I85a87d3f66387b4188b5252e0237c2e1b071c304
2017-12-19 20:43:27 +00:00
Steven Moreland
79c5de4d4b
Merge "Usage suggestions."
...
am: 51c2088f3b
Change-Id: I4e928f1194d89ba0a3c0dc85079dbd7bd30f0e49
2017-12-19 20:38:47 +00:00
Treehugger Robot
51c2088f3b
Merge "Usage suggestions."
2017-12-19 20:32:29 +00:00
Yabin Cui
efb52b830a
Merge "libBacktraceOffline: improve unwinding callchains." am: e1d9e7c343
am: ac7b9ea890
...
am: 0afdc2ef61
Change-Id: If016414e634d5a0775e4d8aff61bdb15971c46fb
2017-12-19 18:59:18 +00:00
James Hawkins
dcede6256a
Merge "bootstat: Add tons of new boot reasons." am: e3114fdec9
am: 23749d7b3f
...
am: fe0c67c42b
Change-Id: Idd3114a7d96ca71934a06f9d2366b5b47853e17a
2017-12-19 18:58:32 +00:00
Jiyong Park
8d6e60f857
Merge "Support partners to expose their own system libs to Android apps" am: ad5ed892a7
am: a91e8d0152
...
am: 93a2abdb01
Change-Id: I757aab5c0ad8cdd9ca705b2e1b6f328f30978a30
2017-12-19 18:57:20 +00:00