summaryrefslogtreecommitdiff
path: root/services/java/com/android/server/Installer.java
AgeCommit message (Collapse)Author
2011-03-22Split PackageManagerService into subclassesKenny Root
Split PackageManagerService from one monolithic class with several inner classes to several classes. This will help determining how its data structures can be reshuffled to provide better separation of concerns. Change-Id: Ic7571daebdcf13ce08e08f34204c5bbf4140139b
2011-02-02Remove defunct secure FS workKenny Root
Bug: 3365047 Change-Id: I68eaea295881f5431907e1b93bdd73e644e84aa5
2011-01-13Revert "Remove the APIs for the old encryption scheme."Jason parks
This reverts commit 1125d780a8b61703b8eb28c5c77dac5f3f0022dd.
2011-01-12Remove the APIs for the old encryption scheme.Jason parks
Change-Id: I55116a5b29b10dfd50015805ec019b485257f68b
2010-10-07Symlink application lib directory when on SD cardKenny Root
This will help legacy games that use dlopen() to directly access the /data/data/<app>/lib directory before the ApplicationInfo.nativeLibraryDir was part of the API. Change-Id: Ie9f3e7239b6334708b5d086ffafe66a507f6d9da
2010-03-01Switch the services library to using the new SlogJoe Onorato
2010-02-03Implement system data migration support.Dianne Hackborn
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.
2010-01-27AppsOnSd feature - Add default containerSuchi Amalapurapu
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.
2009-11-24Encrypted File Systems Project. Installer modifications.Oscar Montemayor
Started to modify isntaller for data redirection to a secure location.
2009-03-03auto import from //depot/cupcake/@135843The Android Open Source Project
2009-03-03auto import from //depot/cupcake/@135843The Android Open Source Project
2008-10-21Initial ContributionThe Android Open Source Project