summaryrefslogtreecommitdiffstats
path: root/tests/MemoryUsage
Commit message (Collapse)AuthorAgeFilesLines
* Update permissions on memory usage instrumentationMaxim Siniavine2015-05-051-1/+3
| | | | Change-Id: I0c2bbd893252eb1dc3cf8b93b787efd772317216
* 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
* Add memory tracking for persistent proccesses and launcherwsmlby2014-07-241-19/+48
| | | | Change-Id: I5228bd67884dc8b77207a597f279fd4032c7f9d9
* 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
* Switched to another method for launching apps.Maxim Siniavine2012-11-202-7/+49
| | | | | | | | Started using a separate thread which calls startActivityAndWait for starting apps. Also increased the minimum and maximum lengths of time to wait for apps to stabilize. Change-Id: I49935a0ed1d1c230e58dc1629e5e4da6b3887903
* Go to home screen after launching each app.Maxim Siniavine2012-09-171-3/+13
| | | | | | | | Instead of starting one app after another the MemoryUsage instrumentation goes to the home screen between launching apps. Change-Id: Ia0acf9f6f65a23f537b96c98743b59d746681447
* Fixed MemoryUsage issue with reporting results.Maxim Siniavine2012-08-301-17/+17
| | | | | | | | | When the memory of the application did not stabilize within the time limit, the test would report that using the application name, instead of the result key. Fixed the test to always use the result key. Change-Id: Ie16969e831bd3d89ee0496b992568f52bf1989cb
* Added a test to measure memory usage of apps.Maxim Siniavine2012-08-214-0/+301
Each app uses a certain amount of memory when running in the foreground. This test takes a list of app on the command line starts them one at a time and reports the total PSS of the app's process. The test allows to monitor memory usage over time. Change-Id: I3411bd96cf7c7af10acbb8deeb9936469b810ea2