summaryrefslogtreecommitdiffstats
path: root/cmds
Commit message (Collapse)AuthorAgeFilesLines
...
* | | am 7903c6a2: Merge "Make clear data stricter." into lmp-devJeff Sharkey2014-08-271-6/+1
|\ \ \ | | |/ | |/| | | | | | | * commit '7903c6a263354506ace10fc32aa65c231b64f62b': Make clear data stricter.
| * | Merge "Make clear data stricter." into lmp-devJeff Sharkey2014-08-271-6/+1
| |\ \
| | * | Make clear data stricter.Jeff Sharkey2014-08-271-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It should nuke everything under the data directory. PMS will come around and generate the lib symlink after we're finished. Bug: 16739202 Change-Id: Ib70af2e1450e3bed6781fb497b9cc67e1e594c49
* | | | am 97477d20: Set compiler filter flag to true when vmSafeMode is present.Calin Juravle2014-08-271-0/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '97477d203eaf0c3235bbe2415356f20a0431cada': Set compiler filter flag to true when vmSafeMode is present.
| * | | Set compiler filter flag to true when vmSafeMode is present.Calin Juravle2014-08-271-0/+1
| |/ / | | | | | | | | | | | | Bug: 12457423 Change-Id: I33345c5cce76681d8a6592ebae8c9f96a9f0f8bd
* | | am 7de2bde3: Merge "Add vm_safe_mode to dexopt." into lmp-devCalin Juravle2014-08-263-10/+15
|\ \ \ | |/ / | | | | | | | | | * commit '7de2bde3c4c3a6ecc7e6f21e3f3322688b718c4a': Add vm_safe_mode to dexopt.
| * | Merge "Add vm_safe_mode to dexopt." into lmp-devCalin Juravle2014-08-263-10/+15
| |\ \
| | * | Add vm_safe_mode to dexopt.Calin Juravle2014-08-263-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The flag enforces interpret-only flag for dex2oat. Bug: 12457423 Change-Id: Ifdafcc1afa32996577fa44c5682eeb58c79772ac
* | | | am 20558f11: Merge "Pass isa features flag to dex2oat." into lmp-devCalin Juravle2014-08-261-8/+21
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '20558f1154abcf3360fd972f6d2c80bb80f78502': Pass isa features flag to dex2oat.
| * | | Merge "Pass isa features flag to dex2oat." into lmp-devCalin Juravle2014-08-261-8/+21
| |\ \ \ | | |/ /
| | * | Pass isa features flag to dex2oat.Calin Juravle2014-08-261-8/+21
| | | | | | | | | | | | | | | | | | | | Bug: 16716262 Change-Id: Ifbc3a1520bc177aa87855edb60c36346f24c77cd
* | | | am 47c166a9: Merge "Fix deadlock when killing adb bugreport" into lmp-devAndres Morales2014-08-252-2/+10
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '47c166a9ad740707f86719e0de56e20c73f407c1': Fix deadlock when killing adb bugreport
| * | | Merge "Fix deadlock when killing adb bugreport" into lmp-devAndres Morales2014-08-252-2/+10
| |\ \ \ | | |/ / | |/| |
| | * | Fix deadlock when killing adb bugreportAndres Morales2014-08-222-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Leave default signal handler (terminate) for parent process, add SIG_IGN as signal handler for children and let them go down when the parent gets SIGPIPE. Bug: 17109154 Change-Id: Id33db3e97a32f289eb2a9a1a0ca8acbe3dcd285d
* | | | am c597b6dd: Fix validation of system paths in installd.Calin Juravle2014-08-222-27/+67
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'c597b6dd895dbb2b28c757ce7a2651b3cdc9b00c': Fix validation of system paths in installd.
| * | | Fix validation of system paths in installd.Calin Juravle2014-08-222-27/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | System apps are now installed under their own directory (system_app_dir/app_dir/app.apk). The new path doesn't pass installd validation because of obsolete checks which verify that the path does not contain subdirectories past the system_app_dir. The CL fixes the validation to accept at most on subdirectory. Bug: 17109858 Change-Id: I13abb52c0016610ff436f6a26bb6b3b85dc4dfb0
* | | | am 67cfe0c0: Merge "Allow apk path to contain one subdirectory." into lmp-devCalin Juravle2014-08-222-26/+27
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '67cfe0c0660c36ca385ad0eeb1352a2df721b49c': Allow apk path to contain one subdirectory.
| * | | Merge "Allow apk path to contain one subdirectory." into lmp-devCalin Juravle2014-08-222-26/+27
| |\ \ \ | | |/ / | |/| |
| | * | Allow apk path to contain one subdirectory.Calin Juravle2014-08-202-26/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the current directory layout this prevented rm_dex and move_dex commands to validate the apk path and thus cleaning up resources. Bug: 16888084 Change-Id: Iba579d075a9c6d7de047e7ffef95441498257086
* | | | am 61a4eecb: Merge "atrace: avoid unnecessary writes to trace_clock" into ↵Colin Cross2014-08-211-1/+46
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | lmp-dev * commit '61a4eecbe615bc94944161c4cf4aa590dfca1b2e': atrace: avoid unnecessary writes to trace_clock
| * | | atrace: avoid unnecessary writes to trace_clockColin Cross2014-08-201-1/+46
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Writing to trace_clock erases the trace buffer, even if the value hasn't changed. This prevents use of --async_start and --async_dump to leave background tracing running and dump after an even that needs debugging, because --async_dump writes to trace_clock and resets the buffer before it can read it. Read and parse the current value from trace_clock before writing, and skip the write if the value isn't changing. Change-Id: Ia2ec5bb654fb0bd179771b511ff261731ba47dca
* | | am b1f0f288: Merge changes I4cfb3138,I45356c29 into lmp-devColin Cross2014-08-191-0/+9
|\ \ \ | |/ / | | | | | | | | | | | | * commit 'b1f0f288e30c0448cabd46d19c60b3bd0d272f74': atrace: add memory reclaim tracing atrace: Add IRQ events
| * | atrace: add memory reclaim tracingColin Cross2014-08-181-0/+6
| | | | | | | | | | | | | | | | | | | | | Add "memreclaim" to trace direct reclaim, shrink slab cycles, and kswapd waking up and sleeping. Change-Id: I4cfb313820a3a9aa5a9d07a39c42db41c24304a6
| * | atrace: Add IRQ eventsDan Willemsen2014-08-181-0/+3
| | | | | | | | | | | | | | | | | | Add "irq" to trace irq and softirq events. Change-Id: I45356c2912a1fa130667ada7b21e9fb54ddcfba5
* | | am c8c5e4c6: Merge "Add trace tag for power management." into lmp-devJeff Brown2014-08-161-0/+3
|\ \ \ | |/ / | | | | | | | | | * commit 'c8c5e4c66b858fc41bdb696421eb13c3ea65a238': Add trace tag for power management.
| * | Merge "Add trace tag for power management." into lmp-devJeff Brown2014-08-151-0/+3
| |\ \
| | * | Add trace tag for power management.Jeff Brown2014-08-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also added a couple of other existing missing tags in atrace. Bug: 17004602 Change-Id: I6f697a2a15922bd4695acfa203d45eaae40cd00e
* | | | am e18987ef: Disable verification based on vold.decrypt. [frameworks/native]Brian Carlstrom2014-08-151-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'e18987efb5e39ca1bed15527b7b82bde55c99669': Disable verification based on vold.decrypt. [frameworks/native]
| * | | Disable verification based on vold.decrypt. [frameworks/native]Brian Carlstrom2014-08-151-1/+1
| |/ / | | | | | | | | | | | | Bug: 15165413 Change-Id: Ie70bf4e1348b7b8b2454cf9b498b272416d61c34
| * | Use set_sched_policy to put dexopt operations in SP_BACKGROUND cgroupBrian Carlstrom2014-08-111-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 15927194 (cherry picked from commit 0378aaf257aee92539d30543914a50c4481c6a18) Change-Id: I462b5ac256c4d091ed4023cf4b97dd6a4abcaa5f
| * | Disable compilation based on vold.decrypt. [frameworks/native]Brian Carlstrom2014-08-061-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 15165413 (cherry picked from commit 538998f204d1e542e235de9e7ce18ef4dc68c9cc) Change-Id: Idae36efa1cb3fb99b51fa0a79b6bb037981d1c71
| * | Move from dalvik.vm.image-dex2oat-flags to dalvik.vm.dex2oat-filter ↵Brian Carlstrom2014-08-061-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [frameworks/native] This will allow us to conditionally change the compiler-filter based on other properties. Bug: 15165413 (cherry picked from commit cf51ba1360ee13459830a0502b0d454d0145544f) Change-Id: I6613c9710878d56ed8c121e0caded76a64430f76
| * | Make system use patchoat to relocate during runtime.Alex Light2014-08-063-22/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make installd understand a patchoat directive and carry it out. Bug: 15358152 (cherry picked from commit 7365a10689df23334d245b211ce272502ad20669) Change-Id: Id84a15e626ddde63876914068d3d9aa037abc65b
* | | am 1a22eb7b: Merge "Change an accidental ALOGE to an ALOGV"Andreas Gampe2014-08-111-1/+1
|\ \ \ | | |/ | |/| | | | | | | * commit '1a22eb7ba1062ed1ee35cdb9d797019699cbce8b': Change an accidental ALOGE to an ALOGV
| * | Merge "Change an accidental ALOGE to an ALOGV"Andreas Gampe2014-08-111-1/+1
| |\ \
| | * | Change an accidental ALOGE to an ALOGVAlex Light2014-08-111-1/+1
| | | | | | | | | | | | | | | | Change-Id: If07bcef597dd9e531ce6d92c7780ba6ad5090f9a
* | | | am 82e98c21: Merge "Use set_sched_policy to put dexopt operations in ↵Narayan Kamath2014-08-111-0/+5
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | SP_BACKGROUND cgroup" * commit '82e98c21f8606e0de8c6beb4372bc4ae9f52b515': Use set_sched_policy to put dexopt operations in SP_BACKGROUND cgroup
| * | | Use set_sched_policy to put dexopt operations in SP_BACKGROUND cgroupBrian Carlstrom2014-08-081-0/+5
| |/ / | | | | | | | | | | | | Bug: 15927194 Change-Id: Id8bc188de68d62fd5f91a99aaaa6c8f2dea06abd
* | | am 8ce28672: Merge "Make system use patchoat to relocate during runtime."Brian Carlstrom2014-08-053-22/+102
|\ \ \ | |/ / | | | | | | | | | * commit '8ce28672106956eeff6d0ed2d1d826ec192e58ee': Make system use patchoat to relocate during runtime.
| * | Make system use patchoat to relocate during runtime.Alex Light2014-08-053-22/+102
| | | | | | | | | | | | | | | | | | | | | | | | Make installd understand a patchoat directive and carry it out. Bug: 15358152 Change-Id: Ibe92d8b55a24bbf718b0416a21b76e5df7a2de26
* | | am 74b3ecf4: Merge "Disable compilation based on vold.decrypt. ↵Brian Carlstrom2014-08-041-1/+11
|\ \ \ | |/ / | | | | | | | | | | | | | | | [frameworks/native]" * commit '74b3ecf485254d8cb4ae2b1d4d5221454738a58d': Disable compilation based on vold.decrypt. [frameworks/native]
| * | Disable compilation based on vold.decrypt. [frameworks/native]Brian Carlstrom2014-08-041-1/+11
| | | | | | | | | | | | | | | Bug: 15165413 Change-Id: Ibc39ab82e02e42345c6e2667ac45884f2e0cf7a4
* | | am 9c49e21d: Merge "Move from dalvik.vm.image-dex2oat-flags to ↵Brian Carlstrom2014-08-041-0/+12
|\ \ \ | |/ / | | / | |/ |/| | | | | dalvik.vm.dex2oat-filter [frameworks/native]" * commit '9c49e21d80cb55b7d77fdf118f06b88100141678': Move from dalvik.vm.image-dex2oat-flags to dalvik.vm.dex2oat-filter [frameworks/native]
| * Move from dalvik.vm.image-dex2oat-flags to dalvik.vm.dex2oat-filter ↵Brian Carlstrom2014-07-301-0/+12
| | | | | | | | | | | | | | | | | | [frameworks/native] This will allow us to conditionally change the compiler-filter based on other properties. Bug: 15165413 Change-Id: Iff27dc2904f4f0d7c25a684cd6ba16a597f252fd
| * Add dumping of tombstones to dumpstate.Christopher Ferris2014-07-233-11/+65
| | | | | | | | | | | | Dump only those tombstones modified within the last half an hour. Change-Id: I8ce836b2e19eba7a9c0c31a4f312f9a382526da7
| * Always #include <sys/...>, not <linux/...>.Elliott Hughes2014-07-181-1/+1
| | | | | | | | Change-Id: I9a3f574e0dd1d3ba39312254513b8b193b610c09
| * Fix implicit declaration of function 'prctl' in installd.Elliott Hughes2014-07-181-1/+1
| | | | | | | | Change-Id: I469ee15a0a8a79d005b15aad5097b6c13c20ab7e
| * dumpstate: fix dumping traces for vm processes on 64-bitColin Cross2014-07-161-2/+2
| | | | | | | | | | | | | | | | | | | | dumpstate was not dumping any stack traces for vm processes because it was failing the string compare for /system/bin/app_process. 64-bit devices use app_process32 and app_process64 instead of app_process, and zygote64 alongside zygote. Change the string matching to be prefix matching. Change-Id: I6970e1b1fedfcd601f8db6af62852422fcb71d59
| * Add MAC for remaining service_manager functionality.Riley Spahn2014-07-141-35/+75
| | | | | | | | | | | | | | | | | | Add SELinux MAC for the list and find functionality to service_manager. By default the list action uses the service_manager_type attribute as its target object. Change-Id: I7630f21a9f3232ae3d6d8b9a1119230b40899aef
| * service_manager: check binder passed lengthsNick Kralevich2014-07-121-13/+29
| | | | | | | | | | | | | | | | | | | | 1) Pass length through to str8 function. 2) Fix implicit function definition warning. 3) Check for NULL from bio_get_string16 functions. Bug: 15886919 Bug: 15888753 Change-Id: I78a401d55b84f382ab83911be32b8d501998aa82