summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorGalia Peycheva <galinap@google.com>2020-04-14 13:17:55 +0200
committerGalia Peycheva <galinap@google.com>2020-05-05 21:59:24 +0200
commite1903416bb95e6ed9c91d800fb691f458cf2f6e6 (patch)
treef92b66e731835928bb4b30156f15b23af9f08e1e /tools/aapt2/java/JavaClassGenerator_test.cpp
parent520d7c586b593f598b0874d55c488763dd1f4c08 (diff)
Add isDreaming method to DreamManager
This CL adds isDreaming to DreamMaanger and changes the way it starts a dream to use IDreamManager.dream() DreamManager is only used for testing. So far it has been using the DreamManagerInternal.testDream() API to start the dream. This restricts the amount of verification that can be done in the dream tests because it doesn't put the device in a dreaming state - IDreamManager.isDreaming() is always false. IDreamManager.dream() puts the device in a dreaming state and enables better testing. Bug: 152994058 Test: atest DreamManagerServiceTests Change-Id: Id4d947e83eabcafa9724764b8d063357c5f2cb49
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions