ef3651cff41b929b2fc0c3bd6effe93257f4d831 |
|
18-May-2017 |
Jorim Jaggi <jjaggi@google.com> |
Purge StoreWriteQueue items to avoid system health issues If queue gets too deep we may run out of memory or cause other system health issues. Test: TaskSnapshotPersisterLoaderTest Bug: 38416992 Bug: 37631016 Change-Id: I725c9a458f78af2e625f2451bb0030176035f596
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/TaskSnapshotPersisterLoaderTest.java
|
e163126d2e27ce1fbd5c74279dfb5d05c97b8392 |
|
29-Apr-2017 |
Wale Ogunwale <ogunwale@google.com> |
Don't try to create user for task snapshot tests Seems user creation can fail in test harness some times. Also, I am not sure there is a need to create a user in this case when we can just use the user id of the current process. Also removed SettingBackupTest from @Presubmit since it is still failing. Bug: 37684646 Bug: 37682538 Test: SettingsBackupTest Test: TaskSnapshotPersisterLoaderTest Change-Id: I523bb576217f7782027741916f9ea14fc6d7fb50
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/TaskSnapshotPersisterLoaderTest.java
|
35e3f53a30588b79e0309fdbeef29a8c18eef65d |
|
17-Mar-2017 |
Jorim Jaggi <jjaggi@google.com> |
Also store reduced resolution screenshots In order to speed up loading time when scrolling through it in recents. They will be used in recents in the next CL. Also, we use JPG instead as loading JPG is much faster than PNG. Test: TaskSnapshotPersisterLoaderTest Test: TaskSnapshotCacheTest Bug: 34829962 Change-Id: I4c74b26969ae459bd3b1a42707011a49f425abd9
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/TaskSnapshotPersisterLoaderTest.java
|
7361babf94baa985eaa8bd2e94fcb16f00670998 |
|
16-Jan-2017 |
Jorim Jaggi <jjaggi@google.com> |
Implement restoring & correct caching of snapshots Introduce a retrieval cache that holds the last accessed snapshots, in addition to the cache of the activities that are the top most activtiy of a task that have a running process. Change everything to use an integer id instead of a Task object to work around the issue that some tasks SystemUI might access might not exist in WM yet (not yet restored from recents). Don't put anything in the cache on the SystemUI side, but still retrieve the thumbnails after a task changed event to make sure the cache on the system_server side is fresh. Test: runtest frameworks-services -c com.android.server.wm.TaskSnapshotCacheTest Bug: 31339431 Change-Id: I8e56365459a677735320adaa169da8fb033ceab0
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/TaskSnapshotPersisterLoaderTest.java
|
f9084ecae2e0f042730ab32b9c94204a0e21bb2a |
|
16-Jan-2017 |
Jorim Jaggi <jjaggi@google.com> |
Persist task snapshots to disk So they can be used again after rebooting or when the process gets killed, but the snapshot is still used for recents. Also implement TaskSnapshotLoader, to restore it from disk. The infrastructure around restoring and caching snapshots for recents will be implemented in the next CL. Test: runtest frameworks-services -c com.android.server.wm.TaskSnapshotPersisterLoaderTest Bug: 31339431 Change-Id: Iaec03c4cc92e04b6dd7e623bca755ddc92613bce
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/TaskSnapshotPersisterLoaderTest.java
|