Michael Rosenfeld
286839e40d
Add functionality to overwrite the /etc/preloaded-classes file.
...
* Requires root, disable-verity, reboot, root before use.
Test: manual through UI and sequencing
Change-Id: I68965334776e130b8220a5814b2525109cf96800
2017-02-14 18:33:42 -08:00
Michael Rosenfeld
2b62809c70
Clean up local hprofs
...
* After use
* Upon failure
Test: manual tool use
Change-Id: I2669e190c3792522c121158ea2aec84fe577c9e3
2016-12-16 16:24:29 -08:00
Michael Rosenfeld
c37b0a40e7
Add command line action sequencing.
...
Supported actions:
* .. scan <process> ..
* .. scan-all ..
* .. import <infile> ..
* .. export <infile> ..
* .. comp <thresh> <outfile> ..
Test: manual
Bug: 31961946
Change-Id: I08753f31294ac5f30f6bcddeabef12d138e7e8e6
2016-11-30 11:26:33 -08:00
Andreas Gampe
437474990d
Preload2: Add sequence UI
...
Add a fake UI that can run a sequence of actions (and replies).
Bug: 31961946
Test: manual
Change-Id: Iee0fac5ddf75a97eff7b401c9c932634489349de
2016-11-29 15:22:02 -08:00
Andreas Gampe
3bf65c916c
Preload2: Add isSingleThreaded
...
Expose whether a UI is single-threaded to avoid spawning threads
in actions.
Bug: 31961946
Test: manual
Change-Id: I37c8daa6a00784e833bad53b8e83ab4417955df7
2016-11-28 15:06:35 -08:00
Andreas Gampe
1c809a3d32
Preload2: Fix action inheritance
...
Use AbstractThreadedAction as a base.
Bug: 31961946
Test: manual
Change-Id: I5a05b65d753be775c8b8382bb1a81e869c388f8d
2016-11-28 15:04:25 -08:00
Andreas Gampe
5cb8998363
Preload2: Abstract out UI
...
Create IUI interface and move UI to SwingUI.
Bug: 31961946
Test: manual
Change-Id: If56347fdde8b441c0c01337a3f5eac002ea5b4f3
2016-11-28 13:15:10 -08:00
Andreas Gampe
f2a9933fa7
Preload2: Fix object to sync on
...
When moving to sync on the right objects, these waits() have been
forgotten.
Change-Id: I61b0d3c5cc41b7f46fbdd3099ec44221e653001a
2016-02-19 09:24:43 -08:00
Andreas Gampe
554d7ee0f5
Frameworks/base: New preload tool
...
Add a new preload tool based on hprof dumps. This means that only
a userdebug build (to adjust the pre-existing preloaded-classes
file) is required now, not a recompiled runtime.
Change-Id: Ib0c00de3b248e49fa8271cbace67c5d4a50170a1
2016-01-08 09:25:15 -08:00