summaryrefslogtreecommitdiffstats
path: root/cmds/pm
Commit message (Collapse)AuthorAgeFilesLines
* Fix 2579461Suchi Amalapurapu2010-04-071-3/+69
| | | | | | | | Move install location values to secure settings. Diable attribute for UI. Set default value to auto. Add command line interface to set install location via pm. Change-Id: I80e97b3d24845adad7102f40dcbe238f00efa406
* Add new method call back in MountService.Suchi Amalapurapu2010-03-221-37/+0
| | | | | | | | | | | PackageManager invokes this call back when its done handling the media status update. Add new uid check for updateExternalMediaStatus Change killPids method in ActivityManager. Remove mountsd command in Pm.java We cannot arbitrarily enable/disable packages in PackageManager now. Change-Id: I28dcba4afd2b4486f68abdaa1628a31b66544c91
* 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
* Move package from internal to external and vice versa.Suchi Amalapurapu2010-02-191-0/+1
|
* 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.
* Mount/Unmount secure containersSuchi Amalapurapu2010-01-191-0/+40
| | | | | | | | | Persist flags in PackageSetting. Flags are relevant to ApplicationInfo.FLAG_SYSTEM, Application.FLAG_ON_SDCARD, ApplicationInfo.FLAG_FORWARD_LOCK. New pm command to simulate mount/unmount in Pm. This will be removed when MountService/vold event generation gets fixed. Calls from MountService into PackageManager when media gets mounted/unmounted. Scan the packages and grant permissions when the sdcard gets mounted. This api might change again.
* app install on sdcard. provide skeleton implementationSuchi Amalapurapu2010-01-141-1/+4
| | | | | | | | | | | | | | | | | | | | | | to install an app on sdcard, just resources. Add new install path for /asec in installd. ignore . when checking for apk path since the sdcard packages id'ed by package name. Add new -s option to adb shell pm Refactor fwd locked from scanMode to ApplicationInfo. Add new flag for sd install Add new parse flags for fwd locking and installing on sdcard New mock api's in PackageManagerService to invoke MountService api's. These will be refactored again and so have been wrapped internally. Some error codes in PackageManager Changes in PackageManagerService to use mPath and mScanPath during installation and switch to using PackageParser.Package.applicationInfo attributes for source and public resource directories. Some known issues that will be addressed later using system_uid for now. needs some tinkering with uid and packagesetting creation to use the actual app uid error handling from vold not very robust. ignoring lot of things for now sending a delayed destroy to delete packages. will revisit later revisit temp file creation later. just copy for now
* The touch screen is probably a feature.Dianne Hackborn2009-09-261-0/+45
| | | | | | Also extend the feature APIs a bit. Change-Id: I99e932d7f4e61edb0e20f75c55e9831e4b59a14d
* Use reflection to figure out a readable string from install error code.Xavier Ducrohet2009-09-251-127/+74
| | | | | | | | | | | Instead of a switch that needs to be maintained, the code now look for public static final int fields in PackageManager whose names start with INSTALL_FAILED or INSTALL_PARSE_FAILED. If their int value match the error code, the name of the field is used as a human readable error string. Change-Id: If58ddc4d9ccc40a9a8aaec9de4cc7e4931db0292
* Add error output to pm for FAILED_MISSING_FEATUREXavier Ducrohet2009-08-311-0/+3
| | | | Change-Id: Ib9955b69b69db7d442402ab33e148cb40dec3d40
* Define TARGET_CPU_ABI for finding native code in .apksDianne Hackborn2009-05-221-0/+3
|
* Implement issue #1783881 (manifest option for adb-install-only apps)Dianne Hackborn2009-05-121-19/+25
| | | | | | | | | | | You can now use android:testOnly="true" to not allow your .apk to be installed as a normal app. The only way to do so is with the pm command and giving the -t option, which sets a new INSTALL_ALLOW_TEST flag when installing. I also used this to clean up the install API... actually, mostly to hide it, since it is not accessible to apps so shouldn't be in the SDK. We will be doing some more work on it, so this will prevent adding yet another backwards-compatibility-for-no-reason version.
* PackageManager keeps track of who installed what.Jacek Surazski2009-05-121-2/+12
| | | | Stores the package name of the installer app in packages.xml
* Implement targetSdkVersion and maxSdkVersion, plus version code names.Dianne Hackborn2009-05-081-0/+3
| | | | | | | | This adds new attributes for specifying a targetSdkVersion and maxSdkVersion. There is a new ApplicationInfo flag that is set if the application has set its targetSdkVersion to the current platform or later. Also you can now use a string for minSdkVersion and targetSdkVerion, to indicate you are building against a development tree instead of an official platform.
* auto import from //branches/cupcake_rel/...@140373The Android Open Source Project2009-03-181-5/+8
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-035-0/+1057
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-035-1057/+0
|
* auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-091-0/+61
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-5/+96
|
* Initial ContributionThe Android Open Source Project2008-10-215-0/+905