summaryrefslogtreecommitdiff
path: root/core/java/android/app/DreamManager.java
Commit message (Collapse)AuthorAgeFilesLines
* DO NOT MERGE: add interim startDream api.Darrell Shi2022-09-141-0/+19
| | | | | | | | | | | | | DreamManager#startDream has been updated on QPR and master which removes the unnecessary component name parameter, but it breaks TM CTS tests. The interim api added in this change will prevent breakage on TM, and should not be merged downstream. Test: atest DreamManagerServiceTests Fix: 245223722 Fix: 245058392 Fix: 245070240 Change-Id: Id9e8cc67003da9fc3e03bffd6ec50643d10652b5
* Add hidden system dream API in DreamManagerService.Darrell Shi2022-08-301-3/+28
| | | | | | | | | | | | | This change - adds a new private API in dream manager that allows a client with write dream permission to set a system dream component, which takes precedence over user configured dream - fixes startDream() API in DreamManager which shouldn't take in a component name Test: atest SystemDreamTest Bug: 222529147 Change-Id: Iee9a0af1071e5ed57fa5bd4b0d06d8178118116e
* Add TestAPI access to settings through DreamManager.Bryce Lee2022-02-121-0/+38
| | | | | | | | | | This changelist provides access to whether dreams are supported and enabled through the DreamManager. These methods are hidden and part of the Test API. Bug: 215744456 Test: atest DreamServiceTest DreamManagerServiceTests Change-Id: Ie2245429c580ad0f7a3d510b26d4001c26a8ad9c
* Add Stub implementation for DreamOverlayService.Bryce Lee2021-11-041-2/+23
| | | | | | | | | | This changelist introduces a stub implementation for DreamOverlayService for test purposes. It also allows DreamManager to set the DreamOverlay. Bug: 204890435 Test: atest DreamOverlayTest Change-Id: Ia59e70d08f76d5928e72e815c990195934292ad5
* Add isDreaming method to DreamManagerGalia Peycheva2020-05-051-1/+19
| | | | | | | | | | | | | | | | | | 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
* Create DreamManager System Server TestApiGalia Peycheva2020-02-251-0/+102
Bug: 141771803 Bug: 133216167 Test: atest DreamManagerServiceTests Test: make checkbuild Merged-In: I937061138bc8ccaf4475674f00331c3fe1c5a495 Change-Id: I937061138bc8ccaf4475674f00331c3fe1c5a495 (cherry picked from commit 4467c53c11c4ebfaf6681b82ec849192eb144a51)