Dianne Hackborn
b9a5e4ad30
Add new debug feature to automatically create heap dumps.
...
Not yet working, unless you turn off SELinux enforcing.
We need to update SElinux to allow the system process
to give apps access to /data/system/heapdump/javaheap.bin.
Currently watching can only be enabled through the shell,
such as:
adb shell am set-watch-heap com.android.systemui 1024
The last number is the process pss size in bytes, so this is
asking us to warn if it goes about 1K which will be all the
time.
Change-Id: I2089e5db2927afca0bf01a363c6247ee5dcb26e8
2015-03-06 16:42:03 -08:00
John Spurlock
0510c2ee60
Add a list verb to the settings cmd.
...
Change-Id: I8a203eefced3431085fd1981b1d120baab2cb77a
2015-03-05 08:35:37 -05:00
Svetoslav
a8c6111a88
Content and settings shell commands passing invalid calling package.
...
Change-Id: Ia80099ba0afba054b70511c0d95265ec303446e0
2015-03-02 16:24:18 -08:00
John Spurlock
08c7116ab9
Remove unused imports in frameworks/base.
...
Change-Id: I031443de83f93eb57a98863001826671b18f3b17
2015-02-28 14:47:49 -05:00
Wale Ogunwale
53a29a90f3
Added ActivityManager API and AM command to resize a task.
...
Also fixed issue with ActivityStackSupervisor.moveTaskToStackLocked()
functionality not working correctly.
Change-Id: Ia13f1e92a7c59ce6543c226533ac8ea623488290
2015-02-24 09:33:18 -08:00
Narayan Kamath
23eeb2b8ae
am 287c53f4: am 76507a64: am 72dc62ea: Merge "Track removal of refcounts from FileMap."
...
* commit '287c53f4a8bade1cb6c2dd2fe858da9c303e3e3d':
Track removal of refcounts from FileMap.
2015-02-24 13:09:55 +00:00
Narayan Kamath
76507a64b5
am 72dc62ea: Merge "Track removal of refcounts from FileMap."
...
* commit '72dc62ead214bdec5c46d42f4e859b139dba0a00':
Track removal of refcounts from FileMap.
2015-02-24 12:56:52 +00:00
Narayan Kamath
688ff4cf0f
Track removal of refcounts from FileMap.
...
Use delete instead of release.
Change-Id: I25c841b368aa9d51e9259399b94cafa2bbb7a076
2015-02-23 15:47:54 +00:00
Bill Yi
4fecab570d
Merge commit '32acf753e8989766f67fd5300d3eb467f707cc79' into HEAD
2015-02-19 14:31:36 -08:00
Elliott Hughes
211f8b4d83
am b1ea8a53: am 2aa2672d: am 627396ac: Merge "Add missing <sys/file.h> include for flock."
...
* commit 'b1ea8a5316f9e439fd7608e1152c45aaf8f098ff':
Add missing <sys/file.h> include for flock.
2015-02-17 02:09:42 +00:00
Elliott Hughes
b1ea8a5316
am 2aa2672d: am 627396ac: Merge "Add missing <sys/file.h> include for flock."
...
* commit '2aa2672dd8168ac2bbd9d01c31ff14fea226b089':
Add missing <sys/file.h> include for flock.
2015-02-17 01:34:35 +00:00
Elliott Hughes
b9de25f7db
Add missing <sys/file.h> include for flock.
...
Change-Id: I0c66c03aeb4df614f7880a830b95c40f43f804db
2015-02-16 10:43:19 -08:00
Wale Ogunwale
5e789f03b2
Fixed bug in 'am stack split' command.
...
Change-Id: Id3efb65a3f9cbf3c223ea08d51e2028180bd5479
2015-02-12 09:25:52 -08:00
Wale Ogunwale
2c5763ae5d
Am command to split a stack.
...
Change-Id: Idf3a364fc3826f6fe92f55b5c83b16b380d62ff4
2015-02-11 14:02:19 -08:00
Wale Ogunwale
9d3de4cfb4
Support for activity to opt-in/out of resizeable/multi-window support.
...
Bug: 19178148
Change-Id: I5819a71cdc48e0af4add11a6d4a503ec5cbe5d63
2015-02-02 16:06:55 -08:00
Todd Kennedy
aab56dbc1e
Show stacks underneath a resized stack
...
When a stack is resized, make sure any non-fullscreen stack beneath it
becomes visible. This may mean additional activities are resumed in the
process.
Bug: 19083171
Change-Id: I5e7a3f82d76932ea2b9dbf0324ea183c42ee5496
2015-01-30 09:39:53 -08:00
Yabin Cui
026111bc56
am f7049289: am 3812e68e: Merge "kill HAVE_PTHREADS."
...
automerge: 3a10a67
* commit '3a10a672f05735be46256617b8a61cdb1e589008':
kill HAVE_PTHREADS.
2015-01-27 23:27:37 +00:00
Yabin Cui
3a10a672f0
am f7049289: am 3812e68e: Merge "kill HAVE_PTHREADS."
...
* commit 'f70492898b3efa3c5f480f195062fa6f293bc764':
kill HAVE_PTHREADS.
2015-01-27 07:04:55 +00:00
Yabin Cui
1610486d37
kill HAVE_PTHREADS.
...
Bug: 19083585
Change-Id: Ib466949bb6cd6d1bbc4680e989f0f9fae62ca564
2015-01-26 22:32:38 -08:00
Todd Kennedy
4900bf9d82
Expose new binder call createStackOnDisplay()
...
Creates a new, empty ActivityStack on a display. Use the binder call to
launch an activity on said stack.
Bug: 19001243
Change-Id: I0f04e8f2703bcc706f58e75333869fb35f6b1ee9
2015-01-20 10:51:49 -08:00
Sudheer Shanka
c7321134b3
Merge "Update dpm command to follow --user convention."
2015-01-19 18:41:33 +00:00
Todd Kennedy
ca4d842205
Rename the binder call createActivityContainer
...
Change the call to createVirtualActivityContainer to better describe what's
actually being created with the call.
Change-Id: Id3a32df19a5bb6740cbabcd65897349e9f2f2946
2015-01-15 15:22:17 -08:00
Sudheer Shanka
474c7aceae
Update dpm command to follow --user convention.
...
Bug: 18426246
Change-Id: Ieacba15c4b4bfaf6ac325d20554ac91a1051ca4c
2015-01-13 20:07:46 +00:00
Hui Shu
5895867801
am e5cb6a25: am bb845152: Merge "pm path needs to return 0 when it succeeds." into lmp-mr1-dev
...
automerge: 9bd1382
* commit '9bd1382f210732f406e497883dc8f4039f8d33d9':
pm path needs to return 0 when it succeeds.
2015-01-05 22:21:51 +00:00
Hui Shu
9bd1382f21
am e5cb6a25: am bb845152: Merge "pm path needs to return 0 when it succeeds." into lmp-mr1-dev
...
* commit 'e5cb6a253afa8faffb85c73779a78c74aead23ae':
pm path needs to return 0 when it succeeds.
2015-01-05 22:20:28 +00:00
Hui Shu
bb84515211
Merge "pm path needs to return 0 when it succeeds." into lmp-mr1-dev
2015-01-05 22:07:16 +00:00
Jaewan Kim
64616f2fc7
Merge "Support quatation mark for text command"
2015-01-05 08:32:01 +00:00
Narayan Kamath
45159937bc
am 1bafd01a: am 44a5a30a: Merge "Fix "pm list permissions" crash if resource string missing"
...
automerge: 1cc57ab
* commit '1cc57aba8128134f55b6d5e4f4800c51e3472828':
Fix "pm list permissions" crash if resource string missing
2014-12-29 11:14:51 +00:00
Narayan Kamath
1cc57aba81
am 1bafd01a: am 44a5a30a: Merge "Fix "pm list permissions" crash if resource string missing"
...
* commit '1bafd01a3fc5f94e77d1c18e5a7dcdecddcaa47f':
Fix "pm list permissions" crash if resource string missing
2014-12-29 11:13:22 +00:00
Narayan Kamath
44a5a30a61
Merge "Fix "pm list permissions" crash if resource string missing"
2014-12-29 11:01:28 +00:00
Jeff Hao
a6ad625cc7
am e06184e4: Merge "Add mips64 support to app_process." automerge: 51bdc62
...
automerge: 093dad2
* commit '093dad2a47aed9f16fd4190af4b3070b49b982f1':
Add mips64 support to app_process.
2014-12-18 21:04:52 +00:00
Jeff Hao
093dad2a47
am e06184e4: Merge "Add mips64 support to app_process."
...
automerge: 51bdc62
* commit '51bdc629f59b45fa64331e3c41ac35147ed4c7f6':
Add mips64 support to app_process.
2014-12-18 20:58:17 +00:00
Douglas Leung
7e7c603182
Add mips64 support to app_process.
...
Change-Id: Ieb05a212606f02ebad119a0aea0ed92773ace214
2014-12-17 20:27:25 -08:00
Guang Zhu
0d09166a68
Reapply: Add generated source dependency for Jack compilation.
...
Original change:
frameworks/testing 04af616aeba3a4e57b32092afe763981d1776dc8
Change reapplied due to source location move
Bug: 18708851
Change-Id: I2c220194aa94af528767c123f6fa34b623ce73d4
2014-12-13 23:09:56 -08:00
Guang Zhu
9954a44896
am d8ca1208: am 07bba9ab: Merge "shell based UI Automator source move" into lmp-mr1-dev
...
* commit 'd8ca1208b3ee76e45e45e47d5806c398442a55a3':
shell based UI Automator source move
2014-12-14 04:04:26 +00:00
Guang Zhu
18b892c723
shell based UI Automator source move
...
frameworks/testing/uiautomator -> frameworks/base/cmds/uiautomator
(samples, utils sub folders exlcuded)
frameworks/testing/uiautomator/utils -> frameworks/base/tests/utils
no source files changed, only one line makefile update (for
UI Automator API check)
Bug: 18708851
Change-Id: I396bd386d3d55a52df18af183685daf80caa9f73
2014-12-12 17:31:38 -08:00
Hui Shu
ac3151063e
pm path needs to return 0 when it succeeds.
...
BUG: 18721587
Change-Id: I2136d1933e62a20645517d17c1365d214509de16
2014-12-12 14:06:01 -08:00
Chih-hung Hsieh
d1aa67b8e1
am b0dd6d3a: am 4c23a0ec: Merge "Adjust format strings to work on both 32-bit and 64-bit builds"
...
* commit 'b0dd6d3a8a7f11454239facf0ee9b2dd2390945e':
Adjust format strings to work on both 32-bit and 64-bit builds
2014-12-11 21:02:08 +00:00
Dmitriy Ivanov
cc0c8f23f3
Switch to libsigchain.a
...
Use LOCAL_WHOLE_STATIC_LIBRARIES to instruct static linker
to export symbols from the static library.
(cherry picked from commit 5ba317cee071b718a163ab9acf2b6b4f6a337b39)
Bug: 18701723
Change-Id: Id9b567a1529574eab2225777f1f2a5ea10e540ad
2014-12-10 10:27:50 -08:00
Jaewan Kim
f15b67267a
Support quatation mark for text command
...
Change-Id: If32daa593f5feb3b80b143faabd7e83511df2365
2014-12-08 15:19:14 +09:00
Bernhard Rosenkränzer
46c82b4cd2
Adjust format strings to work on both 32-bit and 64-bit builds
...
Adjust format strings to not produce Clang warnings in both 32-bit and
64-bit builds
Change-Id: I76c29d8d5d0fb4b5e9d9518077652370ffe9e871
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
2014-12-05 16:14:07 -08:00
Dianne Hackborn
b46e9da64c
am bedd1744: am ef44c051: Merge "Work on issue #18572506 : AppOps in-memory state is invalid after..." into lmp-mr1-dev
...
* commit 'bedd1744b2afa0ede3ab7ac38a0e4a2111ed53bf':
Work on issue #18572506 : AppOps in-memory state is invalid after...
2014-12-03 20:42:17 +00:00
Dianne Hackborn
7b7c58b384
Work on issue #18572506 : AppOps in-memory state is invalid after...
...
...uninstalling updates to a system app
Things seem to be working fine, however we were not as aggressive at
writing out the current state in this case as we probably should be.
Also introduce more features to the appops command, which are useful
for testing this.
Change-Id: I177a9cc0e16e98b76fee0d052d742e06842bb3f9
2014-12-03 10:01:14 -08:00
Chih-hung Hsieh
243a42a799
am 43ea037b: am 481c4b64: Merge "Fix class vs. struct mismatch"
...
* commit '43ea037b4c61e332d7419ac069a62e314166fdd7':
Fix class vs. struct mismatch
2014-11-25 19:03:57 +00:00
Jeff Sharkey
bcf57d9d3a
am f07a99f9: am 07aca15b: Merge "Better am error when SELinux blocking access." into lmp-mr1-dev
...
* commit 'f07a99f9b92878e3570fe1715c701bc4c32d2ad9':
Better am error when SELinux blocking access.
2014-11-25 18:43:43 +00:00
Zoltan Szatmary-Ban
3939d6abf2
am 8e55c4bf: am 604aec95: Merge "Add new subcommand \'set-active-admin\' to the dpm command." into lmp-mr1-dev
...
* commit '8e55c4bff83af7eea3212bc9ff6a254ac70139fd':
Add new subcommand 'set-active-admin' to the dpm command.
2014-11-25 15:08:08 +00:00
Bernhard Rosenkränzer
99d61edfda
Fix class vs. struct mismatch
...
Don't refer to classes as structs and view versa -- causes warnings in
clang (in code built with -Werror)
Change-Id: I4d7f461bcf6fe4e43a14ad2f28ee0e0ddea95abc
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
2014-11-24 16:18:15 -08:00
Jeff Sharkey
dbea3cd118
Better am error when SELinux blocking access.
...
Bug: 18479882
Change-Id: I0732e54838c4e04d9d727e7c5fd9d7e7bacbaa1f
2014-11-24 14:51:34 -08:00
Zoltan Szatmary-Ban
604aec9574
Merge "Add new subcommand 'set-active-admin' to the dpm command." into lmp-mr1-dev
2014-11-24 12:08:20 +00:00
Dianne Hackborn
676b1d886c
am 28096c49: Merge "Fix issue #15828903 : Intent.parseUri allows call to FLAG_GRANT_*_URI_PERMISSION" into lmp-mr1-dev
...
automerge: c43613b
* commit 'c43613becf0146a0d54ff15f5ca024d759c43290':
Fix issue #15828903 : Intent.parseUri allows call to FLAG_GRANT_*_URI_PERMISSION
2014-11-21 03:01:09 +00:00