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
|