History log of /frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/AppCompatibility.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6ac0c8c5faaa2fdf56a533a6a3452d53850809ee 28-May-2015 Guang Zhu <guangzhu@google.com> lock device orientation during app compatibility test

Devices on test benches are usually held sideways, which leads to app
rotation during launch. While it's useful to identify such issue from an
app perspective, the app compatibility test should be isolated from such
noise for the purpose of the testing for basic level of compatibility.

Change-Id: I403f96e5d8512ca6a17b05a83d69f4b02f760a32
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/AppCompatibility.java
4f486ee6963c52719a4420dc3dc8ff02519a3599 26-May-2015 Guang Zhu <guangzhu@google.com> don't report missing launch intent as failure

Some apks includes widgets and does not have a launchable
activity. The inclusion of such apk for launching is an issue
with test configuration, not test failure.

Also logging intent used for app package for debugging purpose.

Change-Id: Ibca05757a401ea036e9910d8580d7cafd356567c
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/AppCompatibility.java
9f521c9b17660959d8c1b6af3f8658b6b52a553c 25-May-2015 Guang Zhu <guangzhu@google.com> update app compatibility post launch detection

decide if the app is still running after launch by checking
running tasks and look for a task with base activity belonging
to the package launched.

Change-Id: Ibb3894e765ccbca62f803decc3c1c1f36dc2d454
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/AppCompatibility.java
765e00af5b769aff89300a167f545cac2088b1f1 09-May-2015 Guang Zhu <guangzhu@google.com> allow top sleeping state in app process verification

This happens when an app is launched but has a dialog shown on
top of it. Typical reason is a licensing prompt of sorts.

Change-Id: Id73f45f54767b869873c62f13aeeb470c1a5cd81
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/AppCompatibility.java
34092cf80a7402a299ee91a12c5e05b7655169b1 07-May-2015 Guang Zhu <guangzhu@google.com> improve app crash detection in compatibility test

In addition to ensuring that process exists, we also need to
check that it's the right state. Because crashed foreground
activity can still get started as background service.

Bug: 20899208
Change-Id: I101e556ce757af1afb66686827c5851dd6fda620
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/AppCompatibility.java
6bd30ee1a252e41a3fcdcb1f11dc031da5895698 01-Oct-2014 wsmlby <wsmlby@google.com> Throw error when no intent can be found

bug: 17396762

Change-Id: I10502d5d1e2332d9e6820ee645234c125e937b7a
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/AppCompatibility.java
e87cc9a2f29567747c0ea92756f2b579550016c7 18-Sep-2014 wsmlby <wsmlby@google.com> Add leanback support to AppCompatiblityTest

Change-Id: Ia9da14b8551c4ec5834a047f0792a5a213a3ac04
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/AppCompatibility.java
dd806b0ed3d7bda6830067bf342417e9bce495d9 10-Sep-2014 wsmlby <wsmlby@google.com> Fix AppCompatibility test for different process name of one package.

Change-Id: Ic30e5ee81fe6ea82e88d2c5541dc9fa9eba71043
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/AppCompatibility.java
dfe1bdcf43720e65e01b62fbf7f080717c02bce8 08-Aug-2014 Maxim Siniavine <siniavine@google.com> Improve error detection in app compitibility test

Change-Id: I3ee02e41b835715d1b6aaf8048fbb16a6bd00b8a
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/AppCompatibility.java
14c716be79b0135f6e0a22e22f432f5aacde2f21 01-May-2013 Tsu Chiang Chuang <tsu@google.com> Make sure the app is still app after launching.
Bug:8755950

Change-Id: Ie30d84cb94787d8b2e7bdc65e329a311581f4a3f
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/AppCompatibility.java
85478b59722837ed1bec447b2920f2f7111b57ea 10-Apr-2013 Maxim Siniavine <siniavine@google.com> Skip apps without launch intent.

If an app from the apk cannot be launched then skip it in compatibility
test, rather than generate a null pointer exception.

Change-Id: I252031f249bfe25282b10394889ab8c5506cabcf
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/AppCompatibility.java
fea39c3755075a2f3484f3197d93f7d42c818d67 24-Apr-2012 Tsu Chiang Chuang <tsu@google.com> App Compatibility test. Launches a given app and detects crashes or ANRs.

Change-Id: I504868ca2b7785849960be287b8d92ca3055b9ff
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/AppCompatibility.java