• Home
  • History
  • Annotate
  • only in /frameworks/base/core/tests/overlaytests/
History log of /frameworks/base/core/tests/overlaytests/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
415fa1f5c0eab260211eb192629f61097ed059f3 19-Jun-2015 Stephen Smalley <sds@tycho.nsa.gov> overlaytests: fix testrunner.py md5sum invocation

The overlaytests testrunner.py script wants to invoke adb shell md5sum
to compute the md5 of a file, but wrongly invokes it as md5. Maybe
it used to have that name, but it doesn't exist under that name in master.
Fix it.

Change-Id: I3ec4be162fab0cd3915f010f9b1add37b5397973
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
estrunner.py
840796a3c29183a6f9bcf3d50ecae45405b63d88 07-Nov-2014 Mårten Kongstad <marten.kongstad@sonymobile.com> RRO tests: fix potential NPE

Bug: 17765434

Check for null before closing streams.

Change-Id: I651785649575725009f270d4d8eb5f4bf90952a6
verlayTest/src/com/android/overlaytest/OverlayBaseTest.java
97b5df764344c32f8551483385ac4be742427580 07-Nov-2014 Mårten Kongstad <marten.kongstad@sonymobile.com> RRO tests: adapt tests to split apks

The introduction of support for split apks has resulted in the move of
applications from /partition/app/pkg.apk to /partition/app/pkg/pkg.apk.
Update the RRO testrunner to use the new paths.

Bug: 17765434
Change-Id: I6eebfb6f879404077b9447c750ddc395ecd9a547
estrunner.py
e75b2c267761be6f7d762930b980f435c1789eea 17-Jun-2014 Adam Lesinski <adamlesinski@google.com> Fix runtime overlay tests

The runtime overlay tests were crafting bad locales.

Change-Id: I33c87e71752756f40a954db9f01ea3cdde488a42
verlayTest/src/com/android/overlaytest/OverlayBaseTest.java
ad6ed950dbfa152c193dd7e49c369d9e831f1591 31-Jan-2014 Mårten Kongstad <marten.kongstad@sonymobile.com> Runtime resource overlay, iteration 2, test cases

Add automated test cases for runtime resource overlay, iteration 2.

The test cases are a mixture of 'adb shell' commands and regular
instrumentation tests. The device is rebooted between tests to setup
different overlay scenarios for framework-res.apk.

To verify Runtime resoure overlay, iteration 2, run
$ frameworks/base/core/tests/overlaytests/testrunner.py

For a list of supported options, run
$ frameworks/base/core/tests/overlaytests/testrunner.py --help

Change-Id: I692aa1a7ad073efd116b24f9ec7f197dfd65dfef
verlayAppFirst/Android.mk
verlayAppFirst/AndroidManifest.xml
verlayAppFirst/res/drawable-nodpi/drawable.jpg
verlayAppFirst/res/raw/lorem_ipsum.txt
verlayAppFirst/res/values-sv/config.xml
verlayAppFirst/res/values/config.xml
verlayAppFirst/res/xml/integer.xml
verlayAppSecond/Android.mk
verlayAppSecond/AndroidManifest.xml
verlayAppSecond/res/raw/lorem_ipsum.txt
verlayAppSecond/res/values-sv/config.xml
verlayAppSecond/res/values/config.xml
verlayAppSecond/res/xml/integer.xml
verlayTest/Android.mk
verlayTest/res/drawable-nodpi/drawable.jpg
verlayTest/res/raw/lorem_ipsum.txt
verlayTest/res/values-sv/config.xml
verlayTest/res/values/config.xml
verlayTest/res/xml/integer.xml
verlayTest/src/com/android/overlaytest/OverlayBaseTest.java
verlayTest/src/com/android/overlaytest/WithMultipleOverlaysTest.java
verlayTest/src/com/android/overlaytest/WithOverlayTest.java
verlayTest/src/com/android/overlaytest/WithoutOverlayTest.java
verlayTestOverlay/AndroidManifest.xml
verlayTestOverlay/res/drawable-nodpi/default_wallpaper.jpg
verlayTestOverlay/res/values-sv/config.xml
verlayTestOverlay/res/values/config.xml
EADME
untests.sh
estrunner.py
647867ad5a9037b83fa5de456ba616720aae159d 01-May-2012 Jean-Baptiste Queru <jbq@google.com> am 63d944d6: am 93a8225e: Merge "Improve robustness of resource overlay test suite."

* commit '63d944d62e9c85e2b2aa611be1a8d5a6c6ff973f':
Improve robustness of resource overlay test suite.
39b58ba2b299e1c97e13535aae9add530d942c7b 01-May-2012 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of bc2fb7b9 to jb-dev-plus-aosp

Change-Id: I5386585e473201268c6ed8b05e0a16569d434ea2
c458ce98ce42c00b98afe00670f822814f3da572 30-Apr-2012 Jeff Brown <jeffbrown@google.com> Add support for using the lid switch to turn off the screen.

Added a config option to allow the lid switch to turn off the
screen. This is a closer match to what a lid switch should be
doing.

Removed an old feature to bypass keyguard when keyboard is visible
because the way it was plumbed in made bad assumptions about
the meaning of the lid switch. Also, the last product we shipped
that had a physical keyboard turned this config option off.
So away it goes. We can bring it back someday if we really want it.
It's questionable how useful the feature is anyhow, since it only
works when the keyguard is unsecure and when the lid switch is
unlikely to be jostled in the user's pocket.

Fixed a bug where we would tell the power manager that the keyboard
was visible even if the lid switch did not control the keyboard.
This used to cause the power manager to try to set the keyboard
brightness, which doesn't work.

Bug: 6377115
Bug: 6406726
Change-Id: Ic84b71d09563d51c92cd1cf132fa8bdee6509103
verlayTest/src/com/android/overlaytest/OverlayBaseTest.java
2c7ea732a6dd22bcf72b08bc8f272d95fbee60fb 08-Feb-2012 Mårten Kongstad <marten.kongstad@sonyericsson.com> Improve robustness of resource overlay test suite.

Test runner will now create directory /vendor/overlay/framework, if
missing.

Also, move wallpaper from drawable to drawable-nodpi for it to actually
take effect on ICS code.

Change-Id: I7615345e847c5fca91aedc459f6aa3316a45aab5
verlayTestOverlay/res/drawable-nodpi/default_wallpaper.jpg
verlayTestOverlay/res/drawable/default_wallpaper.jpg
untests.sh
c761d8b0086f9e92eb1e4b3a5683ae6afb84036a 07-Feb-2012 Mårten Kongstad <marten.kongstad@sonyericsson.com> Build overlay packages just like regular packages.

Previously, building overlay packages required passing aapt its -o flag.
This commit decouples the idmap generation code from the effects of the
-o flag.

Since this commit renders the -o flag obsolete, support for the flag was
removed from aapt as well.

Change-Id: Ied2e0ab8cb800e49623f0a2044b06cd4935473d5
verlayTestOverlay/Android.mk
57f4b77c89bafedf9468f9a636561c0c193405c9 17-Mar-2011 Mårten Kongstad <marten.kongstad@sonyericsson.com> Runtime resource overlay, iteration 1.

Runtime resource overlay allows unmodified applications to appear
as if they had been compiled with additional resources defined. See
libs/utils/README for more information.

This commit is the first iteration of runtime resource overlay. It
provides the actual overlay modifications and loading of trusted overlay
packages (ie residing in /vendor) targeting framework-res.apk.

This commit loads exactly one overlay package. The overlay,
if present, must target framework-res.apk and be located at
/vendor/overlay/framework/framework-res.apk.

Change-Id: If26ee7754813004a96c043dba37fbe99fa3919db
ndroid.mk
verlayTest/Android.mk
verlayTest/AndroidManifest.xml
verlayTest/src/com/android/overlaytest/OverlayBaseTest.java
verlayTest/src/com/android/overlaytest/WithOverlayTest.java
verlayTest/src/com/android/overlaytest/WithoutOverlayTest.java
verlayTestOverlay/Android.mk
verlayTestOverlay/AndroidManifest.xml
verlayTestOverlay/res/drawable/default_wallpaper.jpg
verlayTestOverlay/res/values-sv/config.xml
verlayTestOverlay/res/values/config.xml
EADME
untests.sh