History log of /frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1b012d302b56b4adf950035136d1d191a1936d5a 20-Aug-2014 Jeff Hao <jeffhao@google.com> Add sample profiling option to am.

Also bundles all profiling options into a class.

Bug: 17040932
Change-Id: I85d675ee1494bdc7308caffdf94145d27c996e9d
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java
e2a03fe43d1f8eb5a6ada046870dcc35392d8f17 08-Aug-2014 Guang Zhu <guangzhu@google.com> freeze screen rotation during memory and app launch test

Change-Id: I2a039be383562019a0af9470c5053cd3cb1e6142
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java
2861a89bed9066e206917c41357a5e589e8482cb 20-Feb-2014 Guang Zhu <guangzhu@google.com> use min app launch time in AppLaunch perf test

Change-Id: Id3a5872ff29fba5daeff058f0842fd011e50a0a1
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java
6266a436f35622f3b48de8d7b245bb5f8a4c567d 22-Mar-2013 Guang Zhu <guangzhu@google.com> add account checks to app launch test

This optional parameter ensures that, before test starts, device
has the listed account types configured already.

e.g. to test app launch time of Gmail, a valid Google account
must present on device

Change-Id: Idba11beff754fd1d201a9c44a562809d4a9495e2
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java
32abd66ebd6d63cfc631ce5f4425bb5dc4a4beac 06-Mar-2013 Guang Zhu <guangzhu@google.com> change how app launch is tested

new approach:
* for each app
* initial launch
* sleep 7.5s
* do 10 iterations: launch app with force stop + sleep in between
* report average of 10 launches

Change-Id: I9e68975325aa83af35620d727823f5c072aac488
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java
f265ea9d8307282ff1da3915978625a94fc2859e 01-Feb-2013 Dianne Hackborn <hackbod@google.com> App ops: vibration, neighboring cells, dialing, etc.

Improve handling of vibration op, so that apps are
better blamed (there is now a hidden vibrator API that
supplies the app to blame, and the system now uses this
when vibrating on behalf of an app).

Add operation for retrieving neighboring cell information.

Add a new op for calling a phone number. This required
plumbing information about the launching package name through
the activity manager, which required changing the internal
startActivity class, which required hitting a ton of code that
uses those internal APIs.

Change-Id: I3f8015634fdb296558f07fe654fb8d53e5c94d07
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java
3a34d17412a5a304e39be1966a16627677d2136f 29-Jan-2013 Svetoslav <svetoslavganov@google.com> Fixing the build

Change-Id: Ief7654775307c829a60e65217ae821aa6801303c
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java
13f77349778fbe95d665542be6f05006879854e2 04-Dec-2012 Guang Zhu <guangzhu@google.com> more app launch test tweaks

to get closer to the previous harness:
* sleep 750ms after launch then press HOME
* force close app after launch
* sleep 2s then move to next app

Change-Id: I70fefa7f3e87c637ed8b4cb2981c26d665c94319
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java
c28a062ffd7edbdbd936c750fa3ec3f81b0d1b44 02-Dec-2012 Guang Zhu <guangzhu@google.com> app launch test fixes and improvements

* fixed NPE when specified app name does not exist
* force stop package before starting, because some names may
resolve into the same package
* ensure app is launched in the order as sepcified in command
line
* fixed time recording: it should have been 'thisTime' as
reported by ActivityManager, to be consistent with previous
harness

Change-Id: I411a568580feef21821dcbe6ec15884f697af6fd
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java
f58e5b6cdcecee6184784b3a6ac33f60341de170 03-Oct-2012 Maxim Siniavine <siniavine@google.com> Added app launch test.

The test will start each app and report the time it takes for
the app to start in milliseconds.

Change-Id: I974ac36f70f0d982aa01e46824fe138eb641d680
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java