commit | 5a108b83d8a3f2d2691347fdecbcece6ea62614e | [log] [tgz] |
---|---|---|
author | Tadashi G. Takaoka <takaoka@google.com> | Thu Dec 13 17:09:12 2018 +0900 |
committer | Tadashi G. Takaoka <takaoka@google.com> | Tue Jan 08 10:55:52 2019 +0900 |
tree | e058a562de97d0e113e42245b693e38ababab00e | |
parent | 809cbc53e01689872ade84262b581224c9fcbf08 [diff] |
Use singleton WindowManagerService for testing This CL introduces a single WindowManagerService instance and uses it for all tests that extend WindowTestBase. This way we can decrease the number of object counts in the heap after running 526 presubmit tests in WmTests. Bug: 113239988 Test: Pass all presumit tests in WmTests. $ atest --test-mapping frameworks/base/services/core/java/com/android/server/wm Change-Id: I8e5af477def6207bcc86cace6b240873516d075d