summaryrefslogtreecommitdiffstats
path: root/cmds
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Remove more simulator support code.Jeff Brown2011-07-118-1190/+0
| | | | | | | | | | | | | | | | | | Bug: 5010576 Change-Id: Ie6c8665306bf4e822693b76f25c3a0f05c12d42d
* | | Eliminate single-process mode.Jeff Brown2011-07-083-105/+33
| | | | | | | | | | | | | | | | | | Bug: 5010576 Change-Id: Id450dc83efed4897d1e4ff451530fed14457aace
* | | Can now restore a subset of apps from historical datasetChristopher Tate2011-07-081-6/+26
|/ / | | | | | | | | | | | | | | | | | | | | Adds the ability to filter a restore of an historical dataset so that it only restores certain apps' data regardless of what is actually present in the dataset. This is currently only used by the bmgr command-line tool, for debugging / developer support. Bug 2021590 Change-Id: I7685e5d609b0f5506f71d70c26410602bb387659
* | Merge "Add support for some custom YUV420 color formats to recordvideo utility"James Dong2011-07-071-8/+7
|\ \
| * | Add support for some custom YUV420 color formats to recordvideo utilityJames Dong2011-07-071-8/+7
| | | | | | | | | | | | Change-Id: I2f0dfba466efb94b704dca761162d7c7457a43cf
* | | am 5eeeea29: am 97667d0c: Merge "Allow vril-dump to work on user builds" ↵Wink Saville2011-07-071-4/+14
|\ \ \ | |/ / |/| / | |/ | | | | | | into honeycomb-LTE * commit '5eeeea29ecd731897211d31bde7ee87af182420c': Allow vril-dump to work on user builds
| * Allow vril-dump to work on user buildsJohn Michelau2011-07-061-4/+14
| | | | | | | | | | | | | | | | | | Run vril-dump without "su root" when ro.build.type=user. Also add inet perms for dumpstate, so that it can communicate with basebands that have IP-based interfaces. Bug: 4993955 Change-Id: Icc65ba0f80756db1f63f12f89f9973a55bf405f2
* | Promote ip-up-vpn into the framework.Chia-chi Yeh2011-07-022-0/+61
| | | | | | | | | | | | pppd needs it, and racoon will also use it soon. Change-Id: I7fc40a709f7d44f75cd3683ab77d90cbc29cd765
* | Revert "Add keychain user with special keystore access permissions"Brian Carlstrom2011-06-301-1/+0
| | | | | | | | | | | | | | | | | | | | | | This reverts commit 8c2a1a90a81f04573bfa578eab32f5fd4a30eafb. Conflicts: cmds/keystore/keystore.c Bug:4970237 Change-Id: I626023d695becfada47e5f319b18e0889b766563
* | Merge "SF transactions are now O(1) wrt IPC instead of O(N)."Mathias Agopian2011-06-294-8/+9
|\ \
| * | SF transactions are now O(1) wrt IPC instead of O(N).Mathias Agopian2011-06-294-8/+9
| | | | | | | | | | | | Change-Id: I57669852cbf6aabae244ea86940a08a5a27ffc43
* | | Merge "Plumb information from the framework about asec container size."Dianne Hackborn2011-06-293-6/+20
|\ \ \
| * | | Plumb information from the framework about asec container size.Dianne Hackborn2011-06-283-6/+20
| |/ / | | | | | | | | | Change-Id: Ie0ec3cb6d463aefa341a8cbea80be790451ba5e3
* | | Support for "streaming" non-transport streams by first converting them to ts ↵Andreas Huber2011-06-281-11/+165
|/ / | | | | | | | | | | packets. Change-Id: Ia753a1ab99039f54ce3678a38e997902372b5fa5
* | Merge "Multiple changes to ACodec/codec tools:"Andreas Huber2011-06-281-7/+24
|\ \
| * | Multiple changes to ACodec/codec tools:Andreas Huber2011-06-281-7/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure sf2 does not coalesce input buffers, generalize ACodec's codec instantiation based on OMXCodec's list of eligible component names. Some changes/additions to the "sf2" commandline tool Make surface options consistent with stagefright tool, i.e. use '-S' instead of '-s' New option '-R' renders surface-allocated buffers. Also fixes a longstanding bug introduced when generalizing from surfaces to native windows that never used surface-allocated buffers in sf2 even when the option was specified. Change-Id: I59fd533f0f6ef0337ebe2806ddc81a46878eb3ae
* | | New option in the stagefright commandline tool.Andreas Huber2011-06-281-35/+42
|/ / | | | | | | | | | | | | Use '-S' to allocate decoder buffers from a surface Use '-T' to allocate decoder buffers from a surface texture Change-Id: Ib71ea53d0fd1b2def08bfeac2fd8bcbdc1938161
* | KeyStore: fix test-keystoreChia-chi Yeh2011-06-271-4/+5
| | | | | | | | Change-Id: I1dcbd5c3cc7569c397d2480cda76288a9e28cd5c
* | KeyStore: allow system user to get secrets from keystore.Chia-chi Yeh2011-06-261-1/+1
| | | | | | | | Change-Id: I9cb41344c17fb33e6614a45d46368a9c43e3dce7
* | Small cleanup of am/pm commands.Dianne Hackborn2011-06-242-104/+170
| | | | | | | | Change-Id: I5af730bc177635821a82d4dd3ec9130a5dcd525a
* | Merge "Reinitialize KeyStore::mMasterKey after unlock (and add test-keystore)"Brian Carlstrom2011-06-232-0/+273
|\ \
| * | Reinitialize KeyStore::mMasterKey after unlock (and add test-keystore)Brian Carlstrom2011-06-232-0/+273
| | | | | | | | | | | | | | | | | | Bug: 4599735 Change-Id: Iee38a2e2929c45b6405214c9012819da09b273af
* | | Reconstruct sync frame indication for content served by the MPEG2TSExtractorAndreas Huber2011-06-221-9/+38
|/ / | | | | | | | | | | Strip data up to the first IDR frame if necessary. Change-Id: I4a096785eb1a17b7484983788e223d188454771d
* | Pass the data fd number as a command line argument to 'bu'Christopher Tate2011-06-201-12/+8
| | | | | | | | | | | | | | This way we don't have to muck with stdin/stdout just to get known fds for data handling. Change-Id: If87d19f4867c883a32d4e9afb91b915511b9df19
* | Implement remaining infrastructure for user disabling apps.Dianne Hackborn2011-06-171-0/+7
| | | | | | | | Change-Id: If8135eb0e27ec36f8f159eb7b6397add7acd0299
* | Merge "Add an option to force to use HW codec in stagefright cmd tool"James Dong2011-06-131-2/+19
|\ \
| * | Add an option to force to use HW codec in stagefright cmd toolJames Dong2011-06-131-2/+19
| | | | | | | | | | | | Change-Id: If6c277dd5a3f7a0b62acd6721343618b0be085fc
* | | unify SurfaceTexture and SurfaceMathias Agopian2011-06-131-3/+0
|/ / | | | | | | | | | | | | Add the concept of synchronous dequeueBuffer in SurfaceTexture Implement {Surface|SurfaceTextureClient}::setSwapInterval() Add SurfaceTexture logging fix onFrameAvailable
* | resolved conflicts for merge of e2aa0490 to masterDianne Hackborn2011-06-091-6/+6
|\ \ | |/ | | | | Change-Id: Id0448a1598fc93aca0652b29253e02586e35a067
| * am 02140891: Merge "Work on issue #4518815: Compatibility mode introduces ↵Dianne Hackborn2011-06-081-6/+6
| |\ | | | | | | | | | | | | | | | | | | compatibility regression..." into honeycomb-mr2 * commit '021408910af170268cb486910d4dd5a7d838c2bb': Work on issue #4518815: Compatibility mode introduces compatibility regression...
| | * Work on issue #4518815: Compatibility mode introduces compatibility ↵Dianne Hackborn2011-06-081-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | regression... ...for Market App iRunner There were a lot of serious issues with how we updated (or often didn't update) the display and resource state when switching compatibility mode in conjunction with restarting and updating application components. This addresses everything I could find. Unfortunately it does *not* fix this particular app. I am starting to think this is just an issue in the app. This change does fix a number of other problems I could repro, such as switching the compatibility mode of an IME. Also a few changes here and there to get rid of $#*&^!! debug logs. Change-Id: Ib15572eac9ec93b4b9966ddcbbc830ce9dec1317
| * | am 1d8f8819: Merge "Break apart queries to getInstalled* API DO NOT MERGE" ↵Kenny Root2011-05-261-2/+19
| |\ \ | | |/ | | | | | | | | | | | | | | | into honeycomb-mr2 * commit '1d8f8819f1e98cdf3b7756396158613e95fe9eb6': Break apart queries to getInstalled* API DO NOT MERGE
| | * Break apart queries to getInstalled* API DO NOT MERGEKenny Root2011-05-261-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To avoid blowing past the Binder IPC limit, change the PackageManagerService to have a DB-like interaction where the client tells the service the last "row" that it read. The fact that we use a HashMap instead of a TreeMap makes this problematic. For now we're just making a new ArrayList for the keys and then sorting them for each call. This can make the API slower for callers of this, but it's probably greatly overshadowed by the cost of the data transfer itself. Bug: 4064282 Change-Id: Ia3a8cdaa94581ed9336f2e05694b8c8a5f757bce
* | | Merge "Add force-stop subcommand for 'am'."Dianne Hackborn2011-06-061-1/+9
|\ \ \
| * | | Add force-stop subcommand for 'am'.Xianzhu Wang2011-05-271-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's useful for some testing and debugging, to ensure all processes are stopped before testing. 'kill' doesn't always work because sometimes the system will restart the process immediately (e.g. if an app is running in background). Change-Id: I2c0caa38f74ee65ad6c35172fbf505227be7e7c3
* | | | KeyStore.reset changesBrian Carlstrom2011-06-021-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | restore keystore reset behavior of removing master key. otherwise after reboot keystore has is LOCKED and not UNINITIALIZED cmds/keystore/keystore.cpp when removing password, reset the keystore, so it doesn't remain locked with a now bogus password. core/java/com/android/internal/widget/LockPatternUtils.java Change-Id: If5e0bb50b42599e9ca27a8b91d6cec12528419a1
* | | | Merge "Restore from a previous full backup's tarfile"Christopher Tate2011-06-011-9/+15
|\ \ \ \
| * | | | Restore from a previous full backup's tarfileChristopher Tate2011-06-011-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Usage: adb restore [tarfilename] Restores app data [and installs the apps if necessary from the backup file] captured in a previous invocation of 'adb backup'. The user must explicitly acknowledge the action on-device before it is allowed to proceed; this prevents any "invisible" pushes of content from the host to the device. Known issues: * The settings databases and wallpaper are saved/restored, but lots of other system state is not yet captured in the full backup. This means that for practical purposes this is usable for 3rd party apps at present but not for full-system cloning/imaging. Change-Id: I0c748b645845e7c9178e30bf142857861a64efd3
* | | | | Integrating keystore with keyguard (Part 1 of 4)Brian Carlstrom2011-06-015-621/+851
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: frameworks/base keystore rewrite keyguard integration with keystore on keyguard entry or keyguard change KeyStore API simplification packages/apps/Settings Removed com.android.credentials.SET_PASSWORD intent support Added keyguard requirement for keystore use packages/apps/CertInstaller Tracking KeyStore API changes Fix for NPE in CertInstaller when certificate lacks basic constraints packages/apps/KeyChain Tracking KeyStore API changes Details: frameworks/base Move keystore from C to C++ while rewriting password implementation. Removed global variables. Added many comments. cmds/keystore/Android.mk cmds/keystore/keystore.h cmds/keystore/keystore.c => cmds/keystore/keystore.cpp cmds/keystore/keystore_cli.c => cmds/keystore/keystore_cli.cpp Changed saveLockPattern and saveLockPassword to notify the keystore on changes so that the keystore master key can be reencrypted when the keyguard changes. core/java/com/android/internal/widget/LockPatternUtils.java Changed unlock screens to pass values for keystore unlock or initialization policy/src/com/android/internal/policy/impl/PasswordUnlockScreen.java policy/src/com/android/internal/policy/impl/PatternUnlockScreen.java KeyStore API changes - renamed test() to state(), which now return a State enum - made APIs with byte[] key arguments private - added new KeyStore.isEmpty used to determine if a keyguard is required keystore/java/android/security/KeyStore.java In addition to tracking KeyStore API changes, added new testIsEmpty and improved some existing tests to validate expect values. keystore/tests/src/android/security/KeyStoreTest.java packages/apps/Settings Removing com.android.credentials.SET_PASSWORD intent with the removal of the ability to set an explicit keystore password now that the keyguard value is used. Changed to ensure keyguard is enabled for keystore install or unlock. Cleaned up interwoven dialog handing into discrete dialog helper classes. AndroidManifest.xml src/com/android/settings/CredentialStorage.java Remove layout for entering new password res/layout/credentials_dialog.xml Remove enable credentials checkbox res/xml/security_settings_misc.xml src/com/android/settings/SecuritySettings.java Added ability to specify minimum quality key to ChooseLockGeneric Activity. Used by CredentialStorage, but could also be used by CryptKeeperSettings. Changed ChooseLockGeneric to understand minimum quality for keystore in addition to DPM and device encryption. src/com/android/settings/ChooseLockGeneric.java Changed to use getActivePasswordQuality from getKeyguardStoredPasswordQuality based on experience in CredentialStorage. Removed bogus class javadoc. src/com/android/settings/CryptKeeperSettings.java Tracking KeyStore API changes src/com/android/settings/vpn/VpnSettings.java src/com/android/settings/wifi/WifiSettings.java Removing now unused string resources res/values-af/strings.xml res/values-am/strings.xml res/values-ar/strings.xml res/values-bg/strings.xml res/values-ca/strings.xml res/values-cs/strings.xml res/values-da/strings.xml res/values-de/strings.xml res/values-el/strings.xml res/values-en-rGB/strings.xml res/values-es-rUS/strings.xml res/values-es/strings.xml res/values-fa/strings.xml res/values-fi/strings.xml res/values-fr/strings.xml res/values-hr/strings.xml res/values-hu/strings.xml res/values-in/strings.xml res/values-it/strings.xml res/values-iw/strings.xml res/values-ja/strings.xml res/values-ko/strings.xml res/values-lt/strings.xml res/values-lv/strings.xml res/values-ms/strings.xml res/values-nb/strings.xml res/values-nl/strings.xml res/values-pl/strings.xml res/values-pt-rPT/strings.xml res/values-pt/strings.xml res/values-rm/strings.xml res/values-ro/strings.xml res/values-ru/strings.xml res/values-sk/strings.xml res/values-sl/strings.xml res/values-sr/strings.xml res/values-sv/strings.xml res/values-sw/strings.xml res/values-th/strings.xml res/values-tl/strings.xml res/values-tr/strings.xml res/values-uk/strings.xml res/values-vi/strings.xml res/values-zh-rCN/strings.xml res/values-zh-rTW/strings.xml res/values-zu/strings.xml res/values/strings.xml packages/apps/CertInstaller Tracking KeyStore API changes src/com/android/certinstaller/CertInstaller.java Fix for NPE in CertInstaller when certificate lacks basic constraints src/com/android/certinstaller/CredentialHelper.java packages/apps/KeyChain Tracking KeyStore API changes src/com/android/keychain/KeyChainActivity.java src/com/android/keychain/KeyChainService.java support/src/com/android/keychain/tests/support/IKeyChainServiceTestSupport.aidl support/src/com/android/keychain/tests/support/KeyChainServiceTestSupport.java tests/src/com/android/keychain/tests/KeyChainServiceTest.java Change-Id: Ic141fb5d4b43d12fe62cb1e29c7cbd891b4be35d
* | | | sensorservice can now be ran standaloneMathias Agopian2011-05-273-2/+49
|/ / / | | | | | | | | | Change-Id: I6e757f31f1e020046038e5ab84e71b8689a0aed3
* | | Extract embedded cover art (aka poster frame) in mp4 filesJames Dong2011-05-261-4/+11
| | | | | | | | | | | | Change-Id: Ic9421ee27b9aa3b27df00878b887de20f25d232b
* | | Support wrapping app processes to inject debug instrumentation.Jeff Brown2011-05-242-31/+42
| | | | | | | | | | | | | | | | | | Bug: 4437846 Change-Id: I4552501c693716b14714afb5c5248edaca9547ab
* | | resolved conflicts for merge of b2d0ee16 to masterKenny Root2011-05-191-1/+19
|\ \ \ | | | | | | | | | | | | Change-Id: I4483a6d0ccecfea4a1e66bb6eba80d13e8b9a3a4
| * \ \ resolved conflicts for merge of 2433c443 to honeycomb-plus-aospKenny Root2011-05-191-2/+19
| |\ \ \ | | |/ / | |/| | | | | | Change-Id: I3385f57e5761679e6700bcbe3c41deb3ecd43ba1
| | * | am f2006f31: Merge "Break apart queries to getInstalled* API" into gingerbreadKenny Root2011-05-191-2/+19
| | |\ \ | | | | | | | | | | | | | | | | | | | | * commit 'f2006f3123dcdf598e052051041b49c89710b53e': Break apart queries to getInstalled* API
| | | * | Break apart queries to getInstalled* APIKenny Root2011-04-191-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To avoid blowing past the Binder IPC limit, change the PackageManagerService to have a DB-like interaction where the client tells the service the last "row" that it read. The fact that we use a HashMap instead of a TreeMap makes this problematic. For now we're just making a new ArrayList for the keys and then sorting them for each call. This can make the API slower for callers of this, but it's probably greatly overshadowed by the cost of the data transfer itself. Bug: 4064282 Change-Id: Ic370fd148d4c3813ae4f2daffa1a7c28d63d5a09
| | * | | merge 83fdc69e from gingerbread - do not mergeJean-Baptiste Queru2011-01-141-7/+5
| | |\ \ \ | | | |/ / | | | | | | | | | | Change-Id: Ib1e9e12244a44f75a93d66142e71915de6386680
| | | * | Squash commits of the following patches, cherry-picked from other branch - ↵James Dong2011-01-121-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | do not merge. o Prepare for publishing MediaMetadataRetriever as public API step one: o replaced captureFrame with getFrameAtTime o removed getMode o Replace MediaMetadataRetriever.captureFrame() with MediaMetadataRetriever.getFrameAtTime() as part of the preparation for publishing MediaMetadataRetriever as public Java API o Remove captureFrame from MediaMetadataRetriever.java class It has been replaced by getFrameAtTime() method o Replace extractAlbumArt() with getEmbeddedPicture() in MediaMetadataRetriever.java o Publish MediaMetadataRetriever.java as public API o Removed setMode() methods and related mode constants o Removed some of the unused the metadata keys o Updated the javadoc o part of a multi-project change. bug - 3309041 Change-Id: I2efb6e8b8d52897186b016cb4efda6862f5584c4
| | * | | am 6ec91731: DO NOT MERGE : Permission fix: don\'t require BACKUP perm for ↵Chris Tate2011-01-091-6/+3
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | self-restores * commit '6ec91731cbf6ee1a9a914d341fab9567d1599018': DO NOT MERGE : Permission fix: don't require BACKUP perm for self-restores
| | | * | DO NOT MERGE : Permission fix: don't require BACKUP perm for self-restoresChris Tate2011-01-091-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The public API is not supposed to require the BACKUP permission in order for an application to restore its own last-known-good backup data. However, as currently implemented, BackupManager.requestRestore() [the public API in question] depends on private Backup Manager methods that *do* enforce that permission. The net result is that the method cannot be successfully used by third party applications: it will throw an exception if attempted. This CL restructures the permission checking involved. First, the underlying beginRestoreSession() operation can now be passed a 'null' transport name; if this is done, then the restore session is begun on whatever the currently-active transport is. Looking up the name of the active transport is one of the permission-guarded actions that was required with the initial implementation. Second, a package name can now be passed to beginRestoreSession(). If this is done, then the restore session can only be used to perform a single-package restore of that one application. The BACKUP permission is not required if the caller is tying the restore to its own package name. In combination, these changes permit BackupManager.requestRestore() to function without the calling app needing to hold any special permission. The no-permission case is intentionally quite narrow: the caller must hold the permission unless they both (a) pass 'null' for the transport name, thereby accepting whatever the currently active transport is, and (b) pass their own package name to restrict the restore session only to their own app. External bug http://code.google.com/p/android/issues/detail?id=10094 Internal bug 3197202 (Cherrypick from master to gingerbread) Change-Id: Ie20b0bd2420345ce6eda178f854680b558f6372a