summaryrefslogtreecommitdiffstats
path: root/cmds
Commit message (Collapse)AuthorAgeFilesLines
* Added ActivityManager API and AM command to resize a task.Wale Ogunwale2015-02-241-28/+58
| | | | | | | Also fixed issue with ActivityStackSupervisor.moveTaskToStackLocked() functionality not working correctly. Change-Id: Ia13f1e92a7c59ce6543c226533ac8ea623488290
* am 287c53f4: am 76507a64: am 72dc62ea: Merge "Track removal of refcounts ↵Narayan Kamath2015-02-243-6/+6
|\ | | | | | | | | | | | | from FileMap." * commit '287c53f4a8bade1cb6c2dd2fe858da9c303e3e3d': Track removal of refcounts from FileMap.
| * am 72dc62ea: Merge "Track removal of refcounts from FileMap."Narayan Kamath2015-02-243-6/+6
| |\ | | | | | | | | | | | | * commit '72dc62ead214bdec5c46d42f4e859b139dba0a00': Track removal of refcounts from FileMap.
| | * Track removal of refcounts from FileMap.Narayan Kamath2015-02-233-6/+6
| | | | | | | | | | | | | | | | | | Use delete instead of release. Change-Id: I25c841b368aa9d51e9259399b94cafa2bbb7a076
| * | Merge commit '32acf753e8989766f67fd5300d3eb467f707cc79' into HEADBill Yi2015-02-1949-175/+9523
| |\ \ | | |/ | |/|
* | | am b1ea8a53: am 2aa2672d: am 627396ac: Merge "Add missing <sys/file.h> ↵Elliott Hughes2015-02-171-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | include for flock." * commit 'b1ea8a5316f9e439fd7608e1152c45aaf8f098ff': Add missing <sys/file.h> include for flock.
| * \ \ am 2aa2672d: am 627396ac: Merge "Add missing <sys/file.h> include for flock."Elliott Hughes2015-02-171-0/+1
| |\ \ \ | | |/ / | | | / | | |/ | |/| * commit '2aa2672dd8168ac2bbd9d01c31ff14fea226b089': Add missing <sys/file.h> include for flock.
| | * Add missing <sys/file.h> include for flock.Elliott Hughes2015-02-161-0/+1
| | | | | | | | | | | | Change-Id: I0c66c03aeb4df614f7880a830b95c40f43f804db
* | | Fixed bug in 'am stack split' command.Wale Ogunwale2015-02-121-2/+4
| | | | | | | | | | | | Change-Id: Id3efb65a3f9cbf3c223ea08d51e2028180bd5479
* | | Am command to split a stack.Wale Ogunwale2015-02-111-1/+67
| | | | | | | | | | | | Change-Id: Idf3a364fc3826f6fe92f55b5c83b16b380d62ff4
* | | Support for activity to opt-in/out of resizeable/multi-window support.Wale Ogunwale2015-02-021-6/+35
| | | | | | | | | | | | | | | Bug: 19178148 Change-Id: I5819a71cdc48e0af4add11a6d4a503ec5cbe5d63
* | | Show stacks underneath a resized stackTodd Kennedy2015-01-301-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | am f7049289: am 3812e68e: Merge "kill HAVE_PTHREADS."Yabin Cui2015-01-271-10/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | automerge: 3a10a67 * commit '3a10a672f05735be46256617b8a61cdb1e589008': kill HAVE_PTHREADS.
| * | am f7049289: am 3812e68e: Merge "kill HAVE_PTHREADS."Yabin Cui2015-01-271-10/+2
| |\ \ | | |/ | | | | | | | | | * commit 'f70492898b3efa3c5f480f195062fa6f293bc764': kill HAVE_PTHREADS.
| | * kill HAVE_PTHREADS.Yabin Cui2015-01-261-10/+2
| | | | | | | | | | | | | | | Bug: 19083585 Change-Id: Ib466949bb6cd6d1bbc4680e989f0f9fae62ca564
* | | Expose new binder call createStackOnDisplay()Todd Kennedy2015-01-201-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | Creates a new, empty ActivityStack on a display. Use the binder call to launch an activity on said stack. Bug: 19001243 Change-Id: I0f04e8f2703bcc706f58e75333869fb35f6b1ee9
* | | Merge "Update dpm command to follow --user convention."Sudheer Shanka2015-01-191-10/+8
|\ \ \
| * | | Update dpm command to follow --user convention.Sudheer Shanka2015-01-131-10/+8
| | | | | | | | | | | | | | | | | | | | Bug: 18426246 Change-Id: Ieacba15c4b4bfaf6ac325d20554ac91a1051ca4c
* | | | Rename the binder call createActivityContainerTodd Kennedy2015-01-151-1/+2
|/ / / | | | | | | | | | | | | | | | | | | Change the call to createVirtualActivityContainer to better describe what's actually being created with the call. Change-Id: Id3a32df19a5bb6740cbabcd65897349e9f2f2946
* | | am e5cb6a25: am bb845152: Merge "pm path needs to return 0 when it ↵Hui Shu2015-01-051-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | succeeds." into lmp-mr1-dev automerge: 9bd1382 * commit '9bd1382f210732f406e497883dc8f4039f8d33d9': pm path needs to return 0 when it succeeds.
| * | am e5cb6a25: am bb845152: Merge "pm path needs to return 0 when it ↵Hui Shu2015-01-051-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | succeeds." into lmp-mr1-dev * commit 'e5cb6a253afa8faffb85c73779a78c74aead23ae': pm path needs to return 0 when it succeeds.
| | * \ Merge "pm path needs to return 0 when it succeeds." into lmp-mr1-devHui Shu2015-01-051-1/+1
| | |\ \
| | | * | pm path needs to return 0 when it succeeds.Hui Shu2014-12-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | BUG: 18721587 Change-Id: I2136d1933e62a20645517d17c1365d214509de16
* | | | | Merge "Support quatation mark for text command"Jaewan Kim2015-01-051-1/+1
|\ \ \ \ \
| * | | | | Support quatation mark for text commandJaewan Kim2014-12-081-1/+1
| | |_|/ / | |/| | | | | | | | | | | | | Change-Id: If32daa593f5feb3b80b143faabd7e83511df2365
* | | | | am 1bafd01a: am 44a5a30a: Merge "Fix "pm list permissions" crash if resource ↵Narayan Kamath2014-12-291-1/+4
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | string missing" automerge: 1cc57ab * commit '1cc57aba8128134f55b6d5e4f4800c51e3472828': Fix "pm list permissions" crash if resource string missing
| * | | | am 1bafd01a: am 44a5a30a: Merge "Fix "pm list permissions" crash if resource ↵Narayan Kamath2014-12-291-1/+4
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | string missing" * commit '1bafd01a3fc5f94e77d1c18e5a7dcdecddcaa47f': Fix "pm list permissions" crash if resource string missing
| | * | | Merge "Fix "pm list permissions" crash if resource string missing"Narayan Kamath2014-12-291-1/+4
| | |\ \ \
| | | * | | Fix "pm list permissions" crash if resource string missingDenver Coneybeare2014-06-181-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "pm list permissions" command lists detailed information about each permission on the system, including its label and description, both of which can be stored as translatable resource strings in APK files. However, it is possible that the resource identifiers for these strings point to non-existent resources. When this happens, the loadText() method throws Resources.NotFoundException, causing the "pm" command to abort prematurely, simply printing "Killed" to stdout and a stack trace to logcat. This commit fixes the crash by explicitly catching the Resources.NotFoundException exception in loadText() and returning null if it is thrown. The loadText() method already has the potential to return null so none of its callers need be modified. This fixes the crash and simply shows "label:null" and/or "description:null" in the output if the string resource is missing. Change-Id: I92273399e1dac6029163750d004940ee1da67428
* | | | | | am e06184e4: Merge "Add mips64 support to app_process." automerge: 51bdc62Jeff Hao2014-12-181-1/+3
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | automerge: 093dad2 * commit '093dad2a47aed9f16fd4190af4b3070b49b982f1': Add mips64 support to app_process.
| * | | | | am e06184e4: Merge "Add mips64 support to app_process."Jeff Hao2014-12-181-1/+3
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | automerge: 51bdc62 * commit '51bdc629f59b45fa64331e3c41ac35147ed4c7f6': Add mips64 support to app_process.
| | * | | | Add mips64 support to app_process.Douglas Leung2014-12-171-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ieb05a212606f02ebad119a0aea0ed92773ace214
* | | | | | Reapply: Add generated source dependency for Jack compilation.Guang Zhu2014-12-131-0/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original change: frameworks/testing 04af616aeba3a4e57b32092afe763981d1776dc8 Change reapplied due to source location move Bug: 18708851 Change-Id: I2c220194aa94af528767c123f6fa34b623ce73d4
* | | | | am d8ca1208: am 07bba9ab: Merge "shell based UI Automator source move" into ↵Guang Zhu2014-12-1443-0/+9054
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | lmp-mr1-dev * commit 'd8ca1208b3ee76e45e45e47d5806c398442a55a3': shell based UI Automator source move
| * | | | shell based UI Automator source moveGuang Zhu2014-12-1243-0/+9054
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | Switch to libsigchain.aDmitriy Ivanov2014-12-102-27/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | am b0dd6d3a: am 4c23a0ec: Merge "Adjust format strings to work on both ↵Chih-hung Hsieh2014-12-111-2/+2
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | 32-bit and 64-bit builds" * commit 'b0dd6d3a8a7f11454239facf0ee9b2dd2390945e': Adjust format strings to work on both 32-bit and 64-bit builds
| * | | | Adjust format strings to work on both 32-bit and 64-bit buildsBernhard Rosenkränzer2014-12-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | am bedd1744: am ef44c051: Merge "Work on issue #18572506: AppOps in-memory ↵Dianne Hackborn2014-12-031-10/+197
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | state is invalid after..." into lmp-mr1-dev * commit 'bedd1744b2afa0ede3ab7ac38a0e4a2111ed53bf': Work on issue #18572506: AppOps in-memory state is invalid after...
| * | | | Work on issue #18572506: AppOps in-memory state is invalid after...Dianne Hackborn2014-12-031-10/+197
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...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
* | | | am 43ea037b: am 481c4b64: Merge "Fix class vs. struct mismatch"Chih-hung Hsieh2014-11-252-3/+4
|\ \ \ \ | | |/ / | |/| | | | | | | | | | * commit '43ea037b4c61e332d7419ac069a62e314166fdd7': Fix class vs. struct mismatch
| * | | Fix class vs. struct mismatchBernhard Rosenkränzer2014-11-242-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | am f07a99f9: am 07aca15b: Merge "Better am error when SELinux blocking ↵Jeff Sharkey2014-11-251-3/+21
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | access." into lmp-mr1-dev * commit 'f07a99f9b92878e3570fe1715c701bc4c32d2ad9': Better am error when SELinux blocking access.
| * | | Better am error when SELinux blocking access.Jeff Sharkey2014-11-241-3/+21
| | | | | | | | | | | | | | | | | | | | Bug: 18479882 Change-Id: I0732e54838c4e04d9d727e7c5fd9d7e7bacbaa1f
* | | | am 8e55c4bf: am 604aec95: Merge "Add new subcommand \'set-active-admin\' to ↵Zoltan Szatmary-Ban2014-11-251-0/+27
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | the dpm command." into lmp-mr1-dev * commit '8e55c4bff83af7eea3212bc9ff6a254ac70139fd': Add new subcommand 'set-active-admin' to the dpm command.
| * | | Merge "Add new subcommand 'set-active-admin' to the dpm command." into ↵Zoltan Szatmary-Ban2014-11-241-0/+27
| |\ \ \ | | | | | | | | | | | | | | | lmp-mr1-dev
| | * | | Add new subcommand 'set-active-admin' to the dpm command.Zoltan Szatmary-Ban2014-11-191-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 18002490 Change-Id: I91746032df08ef0fdef05711114691da18796a0a
* | | | | am 28096c49: Merge "Fix issue #15828903: Intent.parseUri allows call to ↵Dianne Hackborn2014-11-211-4/+1
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FLAG_GRANT_*_URI_PERMISSION" into lmp-mr1-dev automerge: c43613b * commit 'c43613becf0146a0d54ff15f5ca024d759c43290': Fix issue #15828903: Intent.parseUri allows call to FLAG_GRANT_*_URI_PERMISSION
| * | | | Fix issue #15828903: Intent.parseUri allows call to FLAG_GRANT_*_URI_PERMISSIONDianne Hackborn2014-11-201-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | You now need to set a flag if you want this unsafe behavior. Change-Id: I185e9a04e005e42a887c3d58a2818616790b060a
* | | | | am 42fec57f: am d9968438: Merge "Fix issue with call backs from media ↵Dianne Hackborn2014-11-211-1/+1
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | process." into lmp-mr1-dev * commit '42fec57f3addfb1958f814b5d6772ff81341ba20': Fix issue with call backs from media process.