History log of /frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2a53332343c9fbc734595d269a2c35371227904b 08-Nov-2014 Jeff Sharkey <jsharkey@android.com> Resurrect dusty PackageManagerTests.

Mostly just getting them running again, still a few failures related
to native library symlinks that need more investigation.

Bug: 18048725
Change-Id: I4642adab9fb2b9ec1488b700edcee48c09e36005
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
9d2f441f9bb2c8dcac1150e2cba1d15a86a4efb1 09-Jun-2014 dcashman <dcashman@google.com> Initial KeySet API.

Previously submitted but reverted due to doc-compilation bug.

Bug: 6967056
Change-Id: I9bd7ef299a4c92c4b327f5b5d7e951f0753b4c8a
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
5de7377feca5242fe7127e2d4dc7792d4886d365 12-Jul-2014 dcashman <dcashman@google.com> Revert "Initial KeySet API."

This reverts commit 9a643fe02bc960e266484547dda5572b094a4c72.
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
405912bce074e9e59a246e2357a108e50dffabf8 09-Jun-2014 dcashman <dcashman@google.com> Initial KeySet API.

Bug: 6967056
Change-Id: I47a01bd5dc25591cc70f58f38920ad0a021094ae
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
55b1078e2a1b56daa85edfd5000a5844d3c7914b 09-Apr-2014 dcashman <dcashman@google.com> Initial work for key rotation.

Introduces the upgrade-keyset tag to AndroidManifest.xml. This specifies a
KeySet by which an apk must be signed in order to update the app. Multiple
upgrade KeySets may be specified, in which case one of them must be used to
sign the updating apk. If no upgrade-keyset is specified, the current logic
involving signatures is used.

Current Key Rotation Design Decisions:
-Apps using a shared user id may not rotate keys.
-All acceptable upgrade keysets must be specified, including the key signing
the app. This enables key rotation in one update, but also 'locks' an app if
an incorrect upgrade keyset is specified.
-Minimal changes to existing KeySet code.

Bug: 6967056
Change-Id: Ib9bb693d4e9ea1aec375291ecdc182554890d29c
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
275e085d5a42ced54bb79e40ff76c77539e7d82d 18-Jun-2014 Jeff Sharkey <jsharkey@android.com> Stronger PackageParser contract, more split work.

Require that method callers always provide relevant paths, instead of
relying on constructor. Move DisplayMetrics to be an overall parser
parameter, and move PARSE_TRUSTED_OVERLAY to flags.

Parse split APKs and apply deterministic ordering based on split
names. Assert consistent package name and version code across all
split APKs in a package, and enforce unique split names and required
base APK.

Collect certificates for split APKs, enforcing they're all signed
consistently. Better flow control and resource cleanup when
collecting certs. Refactor validation code so it's easier to reason
about. Cleaner maintenance of read buffer when draining stream
contents.

Change-Id: I8bc8c62095fbb933227b9e76ad8771f4b1246fe8
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
c4858a2ba972e86436d629c4d3f18eb49116de14 16-Jun-2014 Jeff Sharkey <jsharkey@android.com> Switch PackageParser to reference single path.

It previously kept mPath separate from mScanPath for some very odd
edge cases around moving apps-on-SD. This changes it to always use
a single path, refactors moving to keep separate paths.

Refactors method names in PackageParser to be clearer about their
APK-versus-package relationship.

Beginnings of a split package parser. Instead of requiring that
callers check error codes when null, switch to always throwing on
parse errors, to require that callers deal with the error. Longer
term the entire parser should switch to this style, but its too
pervasive for a simple refactoring.

Change-Id: If071d8e55e46e56cc201fadfb51cb471713ae973
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
812ad2265ed1386b347c98f48cc8a2b2925541b3 28-Apr-2014 Elliott Hughes <enh@google.com> am d937f275: am 12928a07: am 2336c4ec: Merge "Fix build."

* commit 'd937f2750c6edc2c1a03901605b22dad02b89147':
Fix build.
10596fbcce710a76ffc7e917400df13af5c2ebcb 28-Apr-2014 Elliott Hughes <enh@google.com> resolved conflicts for merge of 3ce4f3d0 to master

Change-Id: Id5c5997ad8f801b32e1dbd97413ea42e38c27210
9790190feecba4bbd66d54c9b942737722e5a16f 28-Apr-2014 Elliott Hughes <enh@google.com> Fix build.

Change-Id: I0bd6e1aac19276bf664accd8d38f86d2cc7450cc
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
34385d352da19805ae948215e2edbeedd16b7941 28-Apr-2014 Elliott Hughes <enh@google.com> Track libcore.os' move to android.system.

(This is partial, but should cover everything in AOSP master except
for the zygote.)

Change-Id: I1042c99245765746a744c44e714095cb2c6cb75d
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
f1977b4500e82b72ea6aa5c46d97406a20017caf 25-Mar-2014 Christopher Tate <ctate@google.com> Expand install observer semantics

...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
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
7629a18a3f190368e6268d3f2827824905683268 26-Mar-2014 Glenn Kasten <gkasten@google.com> Revert "Expand install observer semantics"

This reverts commit ab8a501f255b272af887acb0e66eb71cdf24c755.

Change-Id: I4ab4ae1a96efa2adf9d5a513793d8b84eef38b4e
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
ab8a501f255b272af887acb0e66eb71cdf24c755 25-Mar-2014 Christopher Tate <ctate@google.com> Expand install observer semantics

...and now fail conservatively when two apps both attempt to define
the same permission.

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: I3a286d024a30e812ee4b098f345401df3c00e178
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
58ed5d748c0b9b64845975ef5844ad313de7c3f6 07-Nov-2012 Kenny Root <kroot@google.com> am 768d9e1a: Merge "Correct executable bit for source files"

* commit '768d9e1a72ceee7d4a5f608776b87b62d6ce4a04':
Correct executable bit for source files
3a084af2e90849aaa8beb3a610189e3399c63ea0 07-Nov-2012 Kenny Root <kroot@google.com> Correct executable bit for source files

Many media files and source code files were marked as executable in Git.
Remove those.

Also a shell script and python script were not marked as executable.

Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
a3e90798b7ad3ed62e5b31842c699b2f98bd457b 18-Oct-2012 Kenny Root <kroot@google.com> Robustly add symlink and add for non-primary users

Amazingly, some apps still don't use the nativeLibraryPath. So add a lib
symlink for non-primary users to fix that.

Also, there was an error when the symlink existed that it would give up.
This shouldn't really happen, but in that case, just remove it and
create a new one to be safe.

Also, move the downgrade code to the appropriate place. This downgrade
case triggered the above symlink existing bug.

Bug: 7318366
Bug: 7371571
Change-Id: Ia175b36d98f00bdc2f2433b909aafd524eb34d15
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
625239a05401bbf18b04d9874cea3f82da7c29a1 27-Sep-2012 Jeff Sharkey <jsharkey@android.com> Migrate more Secure settings to Global.

Migrate networking, storage, battery, DropBox, and PackageManager
related Secure settings to Global table.

Bug: 7232014, 7231331, 7231198
Change-Id: I772c2a9586a2f708c9db95622477f235064b8f4d
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
e15bdc2da4c74c8d16db8c1d067a42c4767d1003 17-Sep-2012 Kenny Root <kroot@google.com> Add test for failed dexopt

Bug: 7010829
Change-Id: Ie0616ff2c3739ad73733857de6d04243b2be2fca
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
ddbe50df2ca70700a46e5849347989b520d1113e 06-Sep-2012 Kenny Root <kroot@google.com> Move native libraries to /data/app-lib

Instead of unpacking libraries into /data/data/<appname>/lib, unpack
them into /data/app-lib so that multi-user applications can use the same
libraries.

Change-Id: I636dafb5a9eea8cf5a41f1360698e7695455f385
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
7e921a157d1aca97506302637d4f3843ddc2b982 09-Sep-2012 Kenny Root <kroot@google.com> Add more testing for native libraries

Make sure that native library paths have the correct permissions and
owners. Also make it easier to do a "String#startsWith" test so we can
get better errors when it fails.

Change the observer to have more sane semantics with a CountDownLatch
instead of weird synchronization on a local variable.

Change-Id: I2437e5ea886d6e6cb8b4edeab80d6053b79857d4
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
25c925e6659e57f1cc8fef83be07f3917a108e3c 09-Sep-2012 Kenny Root <kroot@google.com> Throw ALL the exceptions! (in the PackageManagerTests)

Change all the test method headers to throw Exception so we don't have
to try to catch anything during the tests. Catching an exception might
mask an error during the tests.

Also fix a lot of formatting errors that have built up over the years.
This includes 3-space indentations instead of 4-space, missing spaces
between braces and parens, too-long lines, wrapping when it isn't
needed, etc.

Change-Id: Ifccea5f0706b6f9235f37974a5f80bee76c654dd
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
7de350a91301985b7f2d9f28edde5aade8495d9b 08-Sep-2012 Nick Kralevich <nnk@google.com> installd: fix forward locking symlink

installd was not creating a compatibility symlink when
installing a forward locked application. Fix.

Bug: 7121527
Change-Id: Ied507ab2b759d8658af563e6ac8f0dbb0d286cce
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
7767eac3232ba2fb9828766813cdb481d6a97584 24-Aug-2012 Dianne Hackborn <hackbod@google.com> Keep track of whether an app is installed for each user.

This add a new per-user state for an app, indicating whether
it is installed for that user.

All system apps are always installed for all users (we still
use disable to "uninstall" them).

Now when you call into the package manager to install an app,
it will only install the app for that user unless you supply
a flag saying to install for all users. Only being installed
for the user is just the normal install state, but all other
users have marked in their state for that app that it is not
installed.

When you call the package manager APIs for information about
apps, uninstalled apps are treated as really being not visible
(somewhat more-so than disabled apps), unless you use the
GET_UNINSTALLED_PACKAGES flag.

If another user calls to install an app that is already installed,
just not for them, then the normal install process takes place
but in addition that user's installed state is toggled on.

The package manager will not send PACKAGE_ADDED, PACKAGE_REMOVED,
PACKAGE_REPLACED etc broadcasts to users who don't have a package
installed or not being involved in a change in the install state.
There are a few things that are not quite right with this -- for
example if you go through a full install (with a new apk) of an
app for one user who doesn't have it already installed, you will
still get the PACKAGED_REPLACED messages even though this is
technically the first install for your user. I'm not sure how
much of an issue this is.

When you call the existing API to uninstall an app, this toggles
the installed state of the app for that user to be off. Only if
that is the last user user that has the app uinstalled will it
actually be removed from the device. Again there is a new flag
you can pass in to force the app to be uninstalled for all users.

Also fixed issues with cleaning external storage of apps, which
was not dealing with multiple users. We now keep track of cleaning
each user for each package.

Change-Id: I00e66452b149defc08c5e0183fa673f532465ed5
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
535d3b3f3363af6a5f2acb620542baec4cb96b45 16-Jun-2012 Kenny Root <kroot@android.com> am 0cf34218: Merge "Adding test cases for getInstalledPackages"

* commit '0cf342184e030ee6f65d87eeba48484725910a8b':
Adding test cases for getInstalledPackages
f2f1b6c94685147a6260cc70909247a96bcbe81f 26-May-2011 Martin Wallgren <martin.wallgren@sonyericsson.com> Adding test cases for getInstalledPackages

There was an earlier fix for a case where the binder
heap would run out of space when calling the
getInstalledPackages. This could happen when there were
a lot of installed packages.

This change adds some test cases to verify that fix.

Change-Id: I8e0c5f674bf2098adcff6d40893f94162961031f
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
bf023589b3d9994f43823c7cb0450d278b084f9b 03-May-2012 Kenny Root <kroot@google.com> Fix some problems with ASECs

On devices that had external storage, permissions weren't set correctly
on non-forward-locked applications. Also, moving forward locked
applications didn't work since DefaultContainerService wasn't able to
read it.

Fixed some faulty unit tests as well.

Bug: 6427212
Change-Id: I5c1f0bf5278549069c78939f0708c4c43a7d4006
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
6dceb88f1c7c42c6ab43834af2c993d599895d82 12-Apr-2012 Kenny Root <kroot@google.com> Allow forward locked apps to be in ASECs

We couldn't put forward-locked apps in ASEC containers before since we
didn't have any permissioned filesystems. This adds the ability for
forward-locked applications to be in ASEC containers.

This means that forward locked applications will be able to be on the SD
card now.

This change also removes the old type of forward-locking that placed
parts of apps in /data/app-private. Now all forward-locked applications
will be in ASEC containers.

Change-Id: I17ae0b0d65a4a965ef33c0ac2c47e990e55707ad
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
b7c24702c26c7824f025d603d703ddf2f19ddb30 15-Apr-2012 Kenny Root <kroot@google.com> Better error reporting for PackageManager tests

The unit tests were eating failure reasons. Remove some assertions so
the useful messages percolate up to the JUnit report.

Change-Id: Ica8efe403ca3eb4f0c4f2a18939a22085f74a08f
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
0aaa0d931716e9f57a1d84d795fab2df75092756 13-Sep-2011 Kenny Root <kroot@google.com> Add verifier device identity

This adds a special device identifier that is usable only for device
validation. The user will be presented with this number encoded in
easily-transcribable Base32 in the Developer options of Settings.

Change-Id: I4843f55ee90d689a51d0269b22454ca04c1be7ec
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
13c7197da8a16f77f6398708a6314c80cb01e0d1 08-Sep-2011 Ben Komalo <benkomalo@google.com> Revert encryption mapping for device wipes.

External storage volumes that were emulated+encrypted needed to have
their encryption mapping removed so that it doesn't try to encrypt the
volume after formatting them.

This just wires through an argument through vold, and assumes that vold
will do the right thing even if there is no encryption mapping set.

Bug: 5017638
Change-Id: I858fae3d12cb415bc34637f520f71220ad9daaad
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
1ebd74acf9977daa42133507e970dab88e08f0ef 04-Aug-2011 Kenny Root <kroot@google.com> Better error codes for missing files

Make sure that files that don't exist aren't returning bogus 'out of
space' error codes.

Add some Javadoc so I can remember what each thing does in an IDE.

Add copyright header to NativeLibraryHelper

Bug: 3375299
Change-Id: Iac46019160921daca65b21d38897e5165063316e
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
c39bb4aaa7be1b9b0cc9fb0b1f03d54f7609ffeb 28-Feb-2011 Kenny Root <kroot@google.com> Switch to returnCode for IPackageDeleteObserver

Before the IPackageDeleteObserver only knew whether the deletion
succeeded or failed, but not the reason why.

Bug: 2520191
Change-Id: I1f0d7c04f06c539660b6e17e7e133defb0f61b5b
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
4c3915a0f73e51d0c70d93fe5b9ed125d5739b93 01-Feb-2011 Kenny Root <kroot@google.com> Do not check features in PackageManagerService

PackageManagerService shouldn't check features that a package declares
that it uses because this will cause problems in the future when we add
more features that older phones didn't explicitly declare. We must rely
on markets to know about phones and filter them for us to avoid this
situation.

Bug: 3409434
Change-Id: I419a5b936be3572b83a485081a6c81b2f1c8741c
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
a1cbb94dbc9a82d4eb3a47242fe161af21803858 17-Jan-2011 Kenny Root <kroot@google.com> Revert "Add the {get,set}PackageObbPaths calls to API"

This reverts commit 5d40fe9c6846ba765072e50ed1254293cb9195e4.

Change-Id: Ie41010c92fb860b19a12bcf63f6fe95ffa68da81
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
5d40fe9c6846ba765072e50ed1254293cb9195e4 14-Jan-2011 Kenny Root <kroot@google.com> Add the {get,set}PackageObbPaths calls to API

Add getPackageObbPaths() and setPackageObbPaths() to the public API.

Bug: 3214719
Change-Id: I8627b5f674a795d5780eb5c08911419110670a41
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
3c6768958433a7a1f1724ab97481b2c8affcfba1 12-Jan-2011 Kenny Root <kroot@google.com> Skip SD card tests on devices without SD cards

Tests were giving false failures when they should instead be skipped.
Forcing an install to an SD card on a device without one shouldn't count
as a failure. It's expected behavior.

Bug: 3216422
Change-Id: Ia523861d1331e74c76b434f7ba73b642d474a9cc
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
1683afac148f5bce186f7af7a6a8ea6294ecd379 07-Jan-2011 Kenny Root <kroot@google.com> Fix check for required features

The required features check was in an null check for usesLibraries, so
it wasn't checking for required features when an application did not use
a library.

Bug: 3331713
Change-Id: I96d366ba00d4962b84f3796be97e2b622eb331a5
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
6a6b007c77e5cab7ee435506a4f65824f52028b6 08-Oct-2010 Kenny Root <kroot@google.com> Symlink application lib directory when on SD card

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
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
831baa2e2566bf1d243c06918672abd5ff786105 05-Oct-2010 Kenny Root <kroot@google.com> Remove lingering system app native libs in /data

If a system app had a lingering native library in /data/data/<app>/lib,
it would prefer that over the one in /system/lib due to recent changed
in the Dalvik JNI class loading code.

To "fix" that we need to check if there are any native libraries in a
/data/data/<app>/lib directory for any non-updated system apps and
delete them during scanning.

Change-Id: If3a22e41a8531e9e5a44ba001dcea46253d47d45
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
94e0acbf2f2b74a89c4ab0c81a4c1330964bde5f 22-Sep-2010 Kenny Root <kroot@google.com> Better errors in PackageManagerTests

PackageManagerTests was catching assertion errors and just spitting out
a generic "Hey, there was an error!" message. This eliminates that and
adds some expected outcomes in the assertions.

Change-Id: I27baa3c57c85b0cae4ea76aaf1e2a9b61b2c32b7
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
0ac83f5a7c05ff5b7e213e5953590bfbeb4efb43 31-Aug-2010 Kenny Root <kroot@google.com> Native libraries on SD

* Add native library tests during package move

* Fix omission that let PackageSettings and ApplicationInfo get out of
sync.

Change-Id: Ic4958f971cb2c9cfd270522fdc120b4031c1124a
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
85387d7ba36e56b291cbde87acb5a5b2200fe01c 26-Aug-2010 Kenny Root <kroot@google.com> Allow native shared libraries in ASEC containers

This change moves the native library handling earlier in the package
installation process so that it may be inserted into ASEC containers
before they are finalized in the DefaultContainerService.

Note that native libraries on SD card requires that vold mount ASEC
containers without the "noexec" flag on the mount point.

Change-Id: Ib34b1886bf6f94b99bb7b3781db6e9b5a58807ba
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
d7b421b4de68d803252a5d9b3cb0106731217ad7 05-Aug-2010 Kenny Root <kroot@google.com> Fix up PackageManager tests

PackageManagerTests was trying to mount and unmount the media without
waiting for the correct state to arrive. It was proceeding with any
state transition.

Some tests had their own volume mounting and unmounting code that was
flawed, so switch it to the more robust mountMedia() and unmountMedia()
implementations.

Change-Id: If464927bb09dd15cb040c6cce195a6ad8452de95
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
f76c56bcaa9df1d1afa711177f813dc63f399795 27-Jul-2010 Brett Chabot <brettchabot@android.com> Frameworks core tests size cleanup.

Adjust test sizes to better align with the test's runtime.
Also do some import cleanup and migrate to non-deprecated classes.

Change-Id: Ib2b190ddbe84f9ea8f5d6d3604bd4855d00df7a9
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
fb7bacf6ba9504f3a863dc954b6147985fc74778 18-May-2010 Suchi Amalapurapu <asuchitra@google.com> Uncomment a test that was marked as STOPSHIP
Add MediumTest tag

Change-Id: I0699d168d7ec70c076f4713e0e405c0779a290c6
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
9a212adcffbc4b32d51f512889b33ba584647aa9 18-May-2010 Suchi Amalapurapu <asuchitra@google.com> Fix 2641875
Initialize the cache path only if the container exists.
This did exist before but was somehow removed.
Fix a known test failure as well.

Change-Id: I63219369b0e7abca4919fbde2a04035a0fea9e35
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
1ace5bc070b7271a3f5835b13e326875785f718c 13-May-2010 Suchi Amalapurapu <asuchitra@google.com> Fix 2672155
Check the code path when enabling disabling packages.

Add unit test

Change-Id: I0f0f482a3735234eab3f63ba1f6462574b70144e
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
edb979a331ba3cdb12e9b7ce3944611cff1b51aa 22-Apr-2010 Neal Nguyen <tommyn@google.com> Re-enabling unit tests for PackageManager/Apps on SD.

Change-Id: I305d2e6d96418ab5b2df0ee7a31261180676204f
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
315a5fb91dbafe6073435a13d937cee9d26877f6 13-Apr-2010 Suchi Amalapurapu <asuchitra@google.com> Dont fall back to installing on sdcard when internal storage is filled up
when the install location is set to internal only. Similary if install
location is set to external only(via adb), dont fall back to installing on
internal storage if sdcard is filled up.
If nothing is specified ie install location is set to let system decide,
we just check on internal storage.
Fix tests

Change-Id: I7400ccc131782d9c45284bd9ebd0dee43a3b412b
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
40e472521a544f26cb6956995788f7c36fff1404 08-Apr-2010 Suchi Amalapurapu <asuchitra@google.com> Fix 2579461
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
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
30f775b12ac7d0ff39eef201f997fe54ac60465a 06-Apr-2010 Suchi Amalapurapu <asuchitra@google.com> Fix 2578016.

Add some checks before moving package.
Checkin test code.
Regenerate test apks

Change-Id: I769ece128fefd3429ce93208a77d887c7759d2e1
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
0dc59e78e18493aecd37427531d093e800846c3e 02-Apr-2010 Brett Chabot <brettchabot@android.com> More framework tests cleanup.

Move all tests for android.* classes from tests/AndroidTests and
tests/CoreTests into framework/base/<core|graphics>/tests.

Consolidate all tests for java.* classes to tests/CoreTests.
Eventually hopefully these will be moved to dalvik/ somewhere.

Remove tests/AndroidTests entirely.

Change-Id: I86584d086ab7bd045bb38a10b699907805298a95
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
ae18171acd3c70fc6d27fc6bbe85828e0f928fad 30-Mar-2010 Suchi Amalapurapu <asuchitra@google.com> Change certificate policy.

The certificates of the package and its shared user certificates
are initialized only when installing the package.

When scanning the packages, the certificates are collected from the apk
if the time stamp changes. If not the one's from
PackageSetting(read from packages.xml) are reused.

Removed mergeSignatures and updateSignatures since we don't support
this any more.
Also fix some bugs related to reinstalling failed upgrades.

Some unit tests.

Change-Id: Ibdeff170bd386d723f774136b18e0ad59d9cdabb
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java
a3de74555120cc4dc205a3f93ef44c843b8d64a8 25-Mar-2010 Brett Chabot <brettchabot@android.com> Move PackageManagerTests and AsecTests.

Remove PackageManagerTests test's from continuous due to flakiness.

merged from abandoned master.

Change-Id: I0a542df9df572c37bd1aa987cdc9fb2f95001a7c
/frameworks/base/core/tests/coretests/src/android/content/pm/PackageManagerTests.java