summaryrefslogtreecommitdiffstats
path: root/cmds
Commit message (Collapse)AuthorAgeFilesLines
* am 1810927a: am eabc93db: am c4c08803: Merge "app_process: change ↵Narayan Kamath2014-05-151-2/+5
|\ | | | | | | | | | | | | app_process a symlink of primary version" * commit '1810927a9b8f6d2597d18c0e77389b4a6fcb5118': app_process: change app_process a symlink of primary version
| * am eabc93db: am c4c08803: Merge "app_process: change app_process a symlink ↵Narayan Kamath2014-05-151-2/+5
| |\ | | | | | | | | | | | | | | | | | | of primary version" * commit 'eabc93db1020be4b71f0db7d5b5d3a7991f3c264': app_process: change app_process a symlink of primary version
| | * am c4c08803: Merge "app_process: change app_process a symlink of primary ↵Narayan Kamath2014-05-151-2/+5
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | version" * commit 'c4c08803a8cc090aa27720e97df342231e8433af': app_process: change app_process a symlink of primary version
| | | * app_process: change app_process a symlink of primary versionYongqin Liu2014-05-141-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change app_process to be a symlink to the primary version and have app_process32/app_process64 be the 32-bit/64-bit versions respectively. This will make it possible to use the primary zygote for am/pm commands and other scripts that use app_process and don't need a specific zygote. Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org> Change-Id: Ibef545994eb95ddc82101c95df613ad1d06345e6
| * | | am c8a045d4: am 41f40581: Merge "Fix x86 build in app_process."Narayan Kamath2014-05-011-1/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit 'c8a045d451522adab5226b0063f3a15d34542bf7': Fix x86 build in app_process.
| | * | am 41f40581: Merge "Fix x86 build in app_process."Narayan Kamath2014-05-011-1/+1
| | |\ \ | | | |/ | | | | | | | | | | | | * commit '41f40581ee0284660d30be8ef28f6bf721c4ce10': Fix x86 build in app_process.
| | | * Fix x86 build in app_process.Narayan Kamath2014-05-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Look for __i386__ and not __x86__. (cherry picked from commit 47d526217b3fd0d17ba751c66d25cfaf1c6ed7cd) Change-Id: I848ba351c378e59ab6744ca1983ae4463ae75ba4
| * | | am ff34f6fa: am 27b03e62: Merge "Create arch specific cache dirs during ↵Narayan Kamath2014-05-011-0/+42
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | zygote startup." * commit 'ff34f6faaad21f5f72decc0b6a0bbde8dab68e29': Create arch specific cache dirs during zygote startup.
| | * | am 27b03e62: Merge "Create arch specific cache dirs during zygote startup."Narayan Kamath2014-05-011-0/+42
| | |\ \ | | | |/ | | | | | | | | | | | | * commit '27b03e6272479ed82762a4a5d6e4be4f26c1ed58': Create arch specific cache dirs during zygote startup.
| | | * Create arch specific cache dirs during zygote startup.Narayan Kamath2014-05-011-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The runtime expects them to exist before it's launched. The boot image / art files are created during the first zygote launch. (cherry picked from commit da738713e4e2120a324e8ab6fd11aa0e54a3c66e) Change-Id: I7472aa25c16a1cf95791af2bdf80ed0d73123872
* | | | Enabling internal msg apisRobert Greenwalt2014-05-142-26/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NetworkFactory and NetworkAgent. First trying with wifi and getting rid of WifiStateTracker. Conflicts: api/current.txt services/core/java/com/android/server/ConnectivityService.java Change-Id: I7f0ec13d7d8988b32f3c6dc71f72012f3349fe02
* | | | am 516130cc: am dbbf431b: am d0f7f418: Merge "Freeing frame map"Narayan Kamath2014-04-302-6/+10
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '516130ccb1841afb6ef154c28269d91594925429': Freeing frame map
| * | | am dbbf431b: am d0f7f418: Merge "Freeing frame map"Narayan Kamath2014-04-302-6/+10
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit 'dbbf431b289bb7a01b43db3412ecab00abe18362': Freeing frame map
| | * | am d0f7f418: Merge "Freeing frame map"Narayan Kamath2014-04-302-6/+10
| | |\ \ | | | |/ | | | | | | | | | | | | * commit 'd0f7f41828493b0679e908f7bb3ed3b8e838c463': Freeing frame map
| | | * Freeing frame mapMykola Kondratenko2014-04-302-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FileMap memory is never released until application exit Release it now as the texture is already loaded and the memory used for the packed resource can be released. Change-Id: Id08a1e466337b3a0179684eb6a444e18147ee343
| | * | Merge commit '0b62467b142b61ee1e449ba958ba37dfd961ef56' into HEADBill Yi2014-04-291-6/+13
| | |\ \ | | | |/ | | |/|
| | | * am e4360c8e: am 4308a523: Merge "bootanimation: build 32-bit if 64-bit gl ↵Colin Cross2014-03-201-0/+3
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libraries are not available" * commit 'e4360c8e14d1ea362fb1d13b7a5c9bf003f3be00': bootanimation: build 32-bit if 64-bit gl libraries are not available
| | | * \ am 0dccb02b: am 19fc55e1: Merge "build app_process64 on 64-bit targets"Colin Cross2014-03-201-0/+22
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | * commit '0dccb02b9fd714af1db91e4ba3ca0b0da4e563c1': build app_process64 on 64-bit targets
| | | * \ \ am 01de2432: am 24d8fa73: Merge "frameworks/base: move idmap from ↵Dianne Hackborn2014-03-076-0/+1056
| | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | frameworks/native" * commit '01de243263d347f2ac13a239d67d41817e34df33': frameworks/base: move idmap from frameworks/native
* | | | | | | Fix x86 build in app_process.Narayan Kamath2014-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Look for __i386__ and not __x86__. Change-Id: Iffa3709f9d0c96cce17f3183a6f036a78eccc787
* | | | | | | Merge "Create arch specific cache dirs during zygote startup."Narayan Kamath2014-04-301-0/+42
|\ \ \ \ \ \ \
| * | | | | | | Create arch specific cache dirs during zygote startup.Narayan Kamath2014-04-301-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The runtime expects them to exist before it's launched. The boot image / art files are created during the first zygote launch. Change-Id: I5ed0ad4854dc7785246344c8f6eaf54e560feb7d
* | | | | | | | am ab583454: am 1866e5dc: am af40649e: Merge "Set NO_NEW_PRIVS on zygote init"Nick Kralevich2014-04-291-0/+10
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| / / / / / / | |/ / / / / / | | | | | | | * commit 'ab5834545da906f1a150672ead825c28a2e1f82a': Set NO_NEW_PRIVS on zygote init
| * | | | | | am 1866e5dc: am af40649e: Merge "Set NO_NEW_PRIVS on zygote init"Nick Kralevich2014-04-291-0/+10
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | * commit '1866e5dc8bb04b58a67e54f66cb4ec22e878667d': Set NO_NEW_PRIVS on zygote init
| | * | | | | Set NO_NEW_PRIVS on zygote initNick Kralevich2014-04-291-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When app_process/zygote starts, make sure PR_SET_NO_NEW_PRIVS is set. This prevents zygote spawned apps from acquiring new privileges on exec. In particular, this allows the CTS test android.os.cts.SecurityFeaturesTest#testNoNewPrivs() to pass if ART is set as the default runtime. Change-Id: I81139cda999c7b1430242561aad28f566e9b6da0
* | | | | | | Allow custom wallpaper and boot animation.Jeff Sharkey2014-04-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new "ro.config.wallpaper" and "ro.config.wallpaper_component" properties which may be defined outside of the bundled framework resources. Falls back to bundled resources when properties are undefined. Also look for boot animation under OEM partition. Bug: 13340779 Change-Id: Ibdc9935dbdaae3319bf63b40573de0503d82ae67
* | | | | | | Initial implementation of new voice interaction API.Dianne Hackborn2014-04-241-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This gives a basic working implementation of a persist running service that can start a voice interaction when it wants, with the target activity(s) able to go through the protocol to interact with it. It may even work when the screen is off by putting the activity manager in the correct state to act like the screen is on. Includes a sample app that is a voice interation service and also has an activity it can launch. Now that I have this initial implementation, I think I want to rework some aspects of the API. Change-Id: I7646d0af8fb4ac768c63a18fe3de43f8091f60e9
* | | | | | | am 56cc5ba7: am 8d47f23e: am dbb0de21: Merge "Fix a typo in an assertion."Elliott Hughes2014-04-241-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | * commit '56cc5ba79bdf75a73281dc73f13169a409d96c28': Fix a typo in an assertion.
| * | | | | | am 8d47f23e: am dbb0de21: Merge "Fix a typo in an assertion."Elliott Hughes2014-04-241-1/+1
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | * commit '8d47f23e43760dcbf051aaeffff668c3c6340276': Fix a typo in an assertion.
| | * | | | | Fix a typo in an assertion.Elliott Hughes2014-04-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I3e97bb3cb8070c0ec0c6b97769f1da3e7b4ef8f5
* | | | | | | Allow prefix-based Uri permission grants.Jeff Sharkey2014-04-221-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define new FLAG_GRANT_PREFIX_URI_PERMISSION which indicates that a Uri permission grant should also apply to any other Uris that have matching scheme, authority, and path segments. For example, a prefix grant for /foo/ would allow /foo/bar/ but not /foo2/. Allow persistable and prefix grants to be issued directly through grantUriPermission(). Relaxing persistable is fine, since it still requires the receiver to actively take the permission. Since exact- and prefix-match grants for the same Uri can coexist, we track them separately using a new UriGrant key. (Consider the case where an app separately extends READ|PREFIX and WRITE for the same Uri: we can't let that become READ|WRITE|PREFIX.) Fix revoke to always take away persisted permissions. Move prefix matching logic to Uri and add tests. Add new flags to "am" tool, and various internal uses around Intent and Context. Switch some lagging users to ArraySet. Bug: 10607375 Change-Id: Ia8ce2b88421ff9f2fe5a979a27a026fc445d46f1
* | | | | | | Add 'read' subcommand to the 'content' tool.John Spurlock2014-04-151-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Access raw content exposed by content provider openFile uris. Bug:14079104 Change-Id: I9ef0e19f9354fa12408df1583b211a8d8a2e9fdb
* | | | | | | am 96457004: am 549ae327: am aa19a2f6: Merge "Don\'t compare String8s to NULL."Narayan Kamath2014-04-141-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | * commit '964570044ef6b5d721a1372b2bb65c4585947353': Don't compare String8s to NULL.
| * | | | | | am 549ae327: am aa19a2f6: Merge "Don\'t compare String8s to NULL."Narayan Kamath2014-04-141-1/+1
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | * commit '549ae327245a844862065dc9bb0562544e8c3beb': Don't compare String8s to NULL.
| | * | | | | Don't compare String8s to NULL.Narayan Kamath2014-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use String8::isEmpty instead. Note that this code path is hit only if the zygote calls ::exit, and that never happens unless the VM invocation fails. Change-Id: I0e7d3a86a79b12b2174ca3bf0dbe1904e33c041a
* | | | | | | am c3255ae0: am de442781: am 909a6a0e: Merge "Dual zygote cleanup."Narayan Kamath2014-04-111-2/+7
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | * commit 'c3255ae04c8bec36f6701b92bf645323558e23c1': Dual zygote cleanup.
| * | | | | | am de442781: am 909a6a0e: Merge "Dual zygote cleanup."Narayan Kamath2014-04-111-2/+7
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | * commit 'de442781cd4f7404e8aaa3f7ca5d1d3fc28cccc6': Dual zygote cleanup.
| | * | | | | Dual zygote cleanup.Narayan Kamath2014-04-101-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use different process names for the 32 / 64 bit zygote. - Pass command line arguments correctly. The first unmatched argument must be passed through to the java main class. Change-Id: I952ebbdbba941f118d992354b9bd0ada2dade417
* | | | | | | am 9f777008: am 05f980d4: am d4b64409: Merge "Make zygotes aware of their ↵Narayan Kamath2014-04-091-1/+19
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | supported ABIs." * commit '9f777008eaead3cb9cee80d0c00e5a3d55de9de7': Make zygotes aware of their supported ABIs.
| * | | | | | am 05f980d4: am d4b64409: Merge "Make zygotes aware of their supported ABIs."Narayan Kamath2014-04-091-1/+19
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | * commit '05f980d42d4926ab2130cdcf9e646eb610a7080b': Make zygotes aware of their supported ABIs.
| | * | | | | Make zygotes aware of their supported ABIs.Narayan Kamath2014-04-091-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Query system properties for the list of ABIs and pass it as a command line argument to ZygoteInit. Also add a new Zygote command that returns this list of ABIs to peers. Change-Id: I68034c6f63fa626911122579a011a0a25a8cda94
* | | | | | | am 97175deb: am 3856a219: am cecfb94f: Merge "Clean up argc / argv ↵Narayan Kamath2014-04-091-40/+59
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | processing for runtime args." * commit '97175deb446cdaca7f3910b71940cb443bda3cc4': Clean up argc / argv processing for runtime args.
| * | | | | | am 3856a219: am cecfb94f: Merge "Clean up argc / argv processing for runtime ↵Narayan Kamath2014-04-091-40/+59
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | args." * commit '3856a219fa414ee53c5ef3a0c35dae35e2ca80b1': Clean up argc / argv processing for runtime args.
| | * | | | | Clean up argc / argv processing for runtime args.Narayan Kamath2014-04-091-40/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Make copies of argc, argv before argv is potentially overwritten with the process name. - Allow multiple command line arguments to be passed to ZygoteInit (this is required for some of the 64 bit zygote work). - Add an explanatory comment about how these argments are processed. Change-Id: I752be69c5c0f97ed17d1a3dded19f46ee00929b0
* | | | | | | am 71ae2bd4: am f87b3a25: am 374db6c3: Merge "Remove ↵Narayan Kamath2014-04-031-22/+24
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ProcessState::mArgc,mArgV,mArgLen" * commit '71ae2bd42be21de6d25d1f8c52e3973c172462df': Remove ProcessState::mArgc,mArgV,mArgLen
| * | | | | | am f87b3a25: am 374db6c3: Merge "Remove ProcessState::mArgc,mArgV,mArgLen"Narayan Kamath2014-04-031-22/+24
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | * commit 'f87b3a25b928f145558f6f60183944f513878b63': Remove ProcessState::mArgc,mArgV,mArgLen
| | * | | | | Remove ProcessState::mArgc,mArgV,mArgLenNarayan Kamath2014-04-031-22/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These look like historical oddities, and weren't really being used for anything useful. Process:setArgV0 was being called by android.util.Process, but that functionality can be moved directly into the implementation of that class. bug: 13647418 Change-Id: I216c8f8a4c065f0cf3a61f19f9e32decd26f93f6
* | | | | | | Rename related users to profiles.Kenny Guy2014-04-021-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename the related user concept as profiles. When returning profiles of a user include the user as a profile of itself. Change-Id: Id5d4f29017b7ca6844632ce643f10331ad733e1d
* | | | | | | Expand install observer semanticsChristopher Tate2014-03-271-7/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...and now fail conservatively when two apps both attempt to define the same permission. Apps signed with the same certificate are permitted to redefine permissions. We also finally have a (hidden) interface class for observing package installation so that we can now rev the interface without breaking existing callers. Bug 13551375 Change-Id: Ifa4e59154dcccbb286ee46a35a6f25e4ad0f0f01
* | | | | | | am c1a7d075: am 232d4224: am f0ffa8a3: Merge "app_process: use ↵Colin Cross2014-03-271-22/+3
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LOCAL_MULTILIB := both" * commit 'c1a7d0758de065da80129baa85f1471e67c7fe21': app_process: use LOCAL_MULTILIB := both