summaryrefslogtreecommitdiffstats
path: root/cmds
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge "Add new install flag to install on internal flash only Change default ↵Suchi Amalapurapu2010-03-171-1/+5
|\ \ | | | | | | | | | install location policy for new flag. New error code for media unavailable."
| * | Add new install flag to install on internal flash onlySuchi Amalapurapu2010-03-171-1/+5
| | | | | | | | | | | | | | | | | | | | | Change default install location policy for new flag. New error code for media unavailable. Change-Id: I5a5d0828b067692b2b94a15a2bcc7534f796c1a2
* | | dumpstate: Remove df from bugreport and add vold system dumpSan Mehat2010-03-171-1/+1
|/ / | | | | | | | | Change-Id: Ib5a7611019c13bae04f6bf099c4c598f1662890a Signed-off-by: San Mehat <san@google.com>
* | keystore: rephrase the comment to make the usage more clear.Chia-chi Yeh2010-03-171-3/+5
| | | | | | | | Change-Id: I529ca7ed443060089c95fe96dd230288be4b6c96
* | Do storage checks before initiating a move.Suchi Amalapurapu2010-03-161-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | Add new remote method to check for insufficient error conditions. Some fixes in MountService when updating media status on PackageManagerService Fix size calculation condition in installd. Add new error code if media is unavailable. New tests for testing error codes. Some additional debugging statements in MountService. Change-Id: Ibfe90d5ed6c71d57f9c1c67806f38b5ae9ecdfbf
* | Properly use a long long literal to avoid under/overflow during fps computation.Andreas Huber2010-03-161-1/+1
| | | | | | | | Change-Id: I04730c86d43d6192ded3e779631effda9dd06e63
* | HTTPDataSource must be connected before it is usable. Fix this in the ↵Andreas Huber2010-03-161-1/+5
| | | | | | | | | | | | stagefright tool. Change-Id: I5313b2cb7839233d51b2d37a03b6598b0760c2e0
* | The return of rawbu. For other nefarious purposes.Dianne Hackborn2010-03-113-0/+938
| | | | | | | | Change-Id: I3e9c892cb6ee79e85bc4d9b817f4ad9942a73b4e
* | Merge "Dont include code size for apps on sdcard. Use constants defined in ↵Suchi Amalapurapu2010-03-101-0/+9
|\ \ | | | | | | | | | PackageHelper for user preferences to install auto, internal, external. Set default install location to external. Update settings db version number"
| * | Dont include code size for apps on sdcard.Suchi Amalapurapu2010-03-101-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | Use constants defined in PackageHelper for user preferences to install auto, internal, external. Set default install location to external. Update settings db version number Change-Id: Ib5110c9377990e20a48cee923e55898dfddfd1e6
* | | Merge "Extend stagefright tool to extract either album art or video frame."Andreas Huber2010-03-101-4/+16
|\ \ \ | |/ / |/| |
| * | Extend stagefright tool to extract either album art or video frame.Andreas Huber2010-03-101-4/+16
| | | | | | | | | | | | Change-Id: Iab50924e37a1aad057470a349c8f1a81858424e9
* | | Use proper config to enable LVMX.Glenn Kasten2010-03-091-3/+1
| | | | | | | | | | | | Change-Id: Ic8792e2b48110b2e91903e2e407b828a97d6e531
* | | Initial version of LifeVibes integration.Glenn Kasten2010-03-092-0/+8
|/ / | | | | | | Also changed tabs to spaces in other audioflinger files.
* | Merge "More consistent and clear traces.txt reporting."Dan Egnor2010-03-082-1/+26
|\ \
| * | More consistent and clear traces.txt reporting.Dan Egnor2010-03-082-1/+26
| | | | | | | | | | | | | | | | | | | | | Print ANR traces.txt even if it's old. Print more detailed error messages about VM trace dumps. Change-Id: I067c90b8f3b3647b6136528eff3120e6cfea5715
* | | Merge "keystore: add AID_ROOT into the user table."Chia-chi Yeh2010-03-081-5/+6
|\ \ \ | |/ / |/| |
| * | keystore: add AID_ROOT into the user table.Chia-chi Yeh2010-03-091-5/+6
| | | | | | | | | | | | Change-Id: I4b9cf24d75ca79583d7913bbb2c33745a2316cde
* | | dumpstate: Add secure container + mounted filesystems to bugreportSan Mehat2010-03-081-1/+4
| | | | | | | | | | | | | | | Change-Id: I0cb465da86976f5cce3594c4bb846aa6510c52d6 Signed-off-by: San Mehat <san@google.com>
* | | keystore: allow '\0's in keys and add guards for cplusplus.Chia-chi Yeh2010-03-081-4/+10
|/ / | | | | | | Change-Id: I0af6ed7c5d51ce4ca39cb837e475942800cf6e2d
* | Refactor android.backup => android.app.backupChristopher Tate2010-03-051-4/+4
| | | | | | | | Change-Id: I0b21316ff890d7f3c7d4b82837bb60670724c2e8
* | fix hex parsing of bmgrChristian Sonntag2010-03-041-1/+1
| |
* | Allow multiple original-package tags.Dianne Hackborn2010-03-031-9/+17
| | | | | | | | Also fix some issues with moving files from update commands.
* | Add new -W option to Am to wait for the start to complete.Dianne Hackborn2010-02-261-13/+51
| |
* | Add single-package restore to Bmgr feature setChristopher Tate2010-02-261-17/+64
| | | | | | | | | | | | | | | | | | Also sanity-check the package name on the Backup Manager side, failing gracefully if the given package is not a backup/restore participant. Bug: 2293977 Change-Id: I3575046ffcaa3cf45c1c602824baeadd64082f70
* | Replacing hard-coded mount point for ASEC with a getenv() call.Oscar Montemayor2010-02-251-1/+1
| |
* | Merge "add "startservice" option to am command-line utility"Doug Zongker2010-02-241-0/+13
|\ \
| * | add "startservice" option to am command-line utilityDoug Zongker2010-02-241-0/+13
| | | | | | | | | | | | | | | | | | Allows starting Services in addition to Activities. Change-Id: Ib078115f6200faa8907b35909af2f64b0c563b38
* | | Some framework fixes for apps on sdSuchi Amalapurapu2010-02-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | change hard coded path in installd fix tests Work around for renaming containers. Do forced unmount when destroying containers. Force a gc in default container service to release handle to parsed package and thus avoid getting killed by vold Some cosmetic changes to PackageManager api. Unit tests for renaming container for MountService Remove internal size limit on app to be installed.
* | | Merge "Tag stagefright development tools as "debug-only"."Andreas Huber2010-02-241-0/+6
|\ \ \ | |/ / |/| |
| * | Tag stagefright development tools as "debug-only".Andreas Huber2010-02-231-0/+6
| | |
* | | Merge "Add Arp Cache dump"Dmitry Shmidt2010-02-231-0/+1
|\ \ \ | |/ / |/| |
| * | Add Arp Cache dumpDmitry Shmidt2010-02-231-0/+1
| | | | | | | | | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* | | Move package from internal to external and vice versa.Suchi Amalapurapu2010-02-191-0/+1
|/ /
* | Merge "Better diagnostics for the stagefright tool and codec performance."Andreas Huber2010-02-171-0/+9
|\ \
| * | Better diagnostics for the stagefright tool and codec performance.Andreas Huber2010-02-171-0/+9
| | | | | | | | | | | | related-to-bug: 2450938
* | | Don't overwrite ANR traces.txt if it can't be renamed (usuallyDan Egnor2010-02-171-1/+4
|/ / | | | | | | | | due to lack of permissions, usually due to an old adb running "dumpstate" directly rather than via bugreport).
* | Merge "Include install location preference when installing packages. Changes ↵Suchi Amalapurapu2010-02-161-1/+1
|\ \ | | | | | | | | | include Add new remote call in default container service to determine install location. Rename INSTALL_ON_SDCARD Remove recommentAppInstall method Add some additional flags used in remote stubs. Move check for protected apps prior to copy. Unit tests"
| * | Include install location preference when installing packages.Suchi Amalapurapu2010-02-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes include Add new remote call in default container service to determine install location. Rename INSTALL_ON_SDCARD Remove recommentAppInstall method Add some additional flags used in remote stubs. Move check for protected apps prior to copy. Unit tests DefaultContainerService first parses the file uri(if content uri is specified it returns a default install internal only value) and returns a recommended location. Based on which the temporary id is determined either a file name or a container id and the file is copied there. This is then later renamed during install. Todo's light weight parsing of package when determining location since we just need the install location attribute only when finding out recomended location. This will also enable to move the check for updated system apps(cannot be on sdcard) prior to copying.
* | | Tweak updatecmds to be able to move entire directories.Dianne Hackborn2010-02-121-16/+83
|/ /
* | Fix simulator build.Marco Nelissen2010-02-111-1/+1
| |
* | split libsurfaceflinger_client and libcamera_client out of libuiMathias Agopian2010-02-114-6/+8
| |
* | Fix installd to create /data/data/<pkgname> with appropriate permissions.David 'Digit' Turner2010-02-091-1/+1
| | | | | | | | | | The directory was created with read+exec rights for others. The patch restricts it to only exec rights.
* | Merge "When the extractor is not able to be created successfully, don't crash"James Dong2010-02-052-0/+7
|\ \
| * | When the extractor is not able to be created successfully, don't crashJames Dong2010-02-042-0/+7
| | |
* | | Merge "Add single-package restore from an app's most-recent data"Chris Tate2010-02-041-1/+1
|\ \ \ | |/ / |/| |
| * | Add single-package restore from an app's most-recent dataChristopher Tate2010-02-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renamed the RestoreSession performRestore() method to restoreAll(), and added a new restorePackage() method that only restores the single specified app. In order to restore an app other than itself, the caller must hold the android.permission.BACKUP permission. This change also introduces dataset tracking: the Backup Manager persistently remembers both the current backup dataset's identity and that of the "ancestral" dataset, i.e. the one most recently used for a whole-device restore such as performed by SetupWizard. When a single package is restored via restorePackage(), the selection of most-recent dataset to use is this: 1. The data from the currently-active backup dataset, if such exists. An app that has ever backed up data will therefore get its last- known-good data. 2. The app's data from the ancestral dataset, if such exists. This covers the case of a factory reset followed by reinstallation of an app at a later time. The app had not yet backed anything up post-wipe, but the old data is in the ancestral dataset and should be brought forward when the app reappears. 3. If neither 1. nor 2. exist, there is no data to restore, so just skip it and return failure. Note that the infrastructure to automatically attempt a restore after an application has been installed does not yet exist; that's coming. Change-Id: I0ba170df9885128000c46ed28d3dddda3a63a143
* | | Implement system data migration support.Dianne Hackborn2010-02-033-0/+239
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds three new features: - <original-package android:name="com.foo" /> manifest tag. This allows an .apk to specify another package it originally came from, propagating all state and data from the old to new package. - <adopt-permissions android:name="com.foo" /> manifest tag. In some more complicated cases, a new .apk may be a combination of multiple older .apks that each declared their own permissions. This allows you to propagate the permissions from these other .apks into the new one. - A new system/etc/updatecmds directory. You can place files here which describe data files to move from one package to another. (See below for details.) Also in this change: we now clean up the data directories of .apks that disappear from the system image, and some improvements to logging and reporting error messages. A typical file in the updatecmds directory looks like this: ------- com.google.android.gsf:com.google.android.providers.talk databases/talk.db com.google.android.gsf:com.google.android.googleapps databases/gls.db ------- This says that for com.google.android.sfs, there are two packages to move files from: From com.google.android.providers.talk, the file databases/talk.db. From com.google.android.googleapps, the file databases/gls.db As part of moving the file, its owner will be changed from the old package to whoever is the owner of the new package's data directory. If those two files had existed, after booting you would now have the files: /data/data/com.google.android.gsf/databases/talk.db /data/data/com.google.android.gsf/databases/gls.db Note that all three of these facilities assume that the older .apk is completely removed from the newer system. The WILL NOT work correctly if the older .apk still remains.
* | AppsOnSd feature - Add default containerSuchi Amalapurapu2010-01-271-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new remote interface to do temporary copies. The new remote stub handling is done on mHandler thread and doesn't need locking for now. Add new InstallArgs class and subclasses to isolate cases for installation. Move resource deletion for failed installs/upgrades to later on in installation cycle. Fix code path for forward locked apps when using scanPackageLI TODO's Fix installation paths to completely use InstallArgs based design later on. Get rid of using flags in various install/uninstall code paths. Ideally InstallArgs should be created using these flags and used in the rest of the code. Function renames. Revisit mount api's.
* | Use six dashes instead of five.Dan Egnor2010-01-262-7/+7
| |