summaryrefslogtreecommitdiffstats
path: root/tests/AppLaunch
Commit message (Collapse)AuthorAgeFilesLines
* Add sample profiling option to am.Jeff Hao2014-08-261-1/+1
| | | | | | | Also bundles all profiling options into a class. Bug: 17040932 Change-Id: I85d675ee1494bdc7308caffdf94145d27c996e9d
* freeze screen rotation during memory and app launch testGuang Zhu2014-08-081-0/+13
| | | | Change-Id: I2a039be383562019a0af9470c5053cd3cb1e6142
* use min app launch time in AppLaunch perf testGuang Zhu2014-02-191-9/+12
| | | | Change-Id: Id3a5872ff29fba5daeff058f0842fd011e50a0a1
* add account checks to app launch testGuang Zhu2013-03-221-0/+47
| | | | | | | | | | 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
* change how app launch is testedGuang Zhu2013-03-131-38/+99
| | | | | | | | | | | 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
* App ops: vibration, neighboring cells, dialing, etc.Dianne Hackborn2013-02-011-1/+1
| | | | | | | | | | | | | | | | | 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
* Fixing the buildSvetoslav2013-01-281-1/+1
| | | | Change-Id: Ief7654775307c829a60e65217ae821aa6801303c
* more app launch test tweaksGuang Zhu2012-12-041-5/+14
| | | | | | | | | 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
* app launch test fixes and improvementsGuang Zhu2012-12-011-11/+16
| | | | | | | | | | | | | * 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
* Added app launch test.Maxim Siniavine2012-11-203-0/+246
The test will start each app and report the time it takes for the app to start in milliseconds. Change-Id: I974ac36f70f0d982aa01e46824fe138eb641d680