Home
last modified time | relevance | path

Searched refs:addConsumer (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/android/service/dreams/
DDreamOverlayConnectionHandlerTest.java91 mDreamOverlayConnectionHandler.addConsumer(consumer); in consumerShouldRunImmediatelyWhenClientAvailable()
102 mDreamOverlayConnectionHandler.addConsumer(consumer); in consumerShouldRunAfterClientAvailable()
118 mDreamOverlayConnectionHandler.addConsumer(consumer); in consumerShouldNeverRunIfClientConnectsAndDisconnects()
137 mDreamOverlayConnectionHandler.addConsumer(consumer); in consumerShouldNeverRunIfUnbindCalled()
153 mDreamOverlayConnectionHandler.addConsumer(client -> { in consumersOnlyRunOnceIfUnbound()
170 mDreamOverlayConnectionHandler.addConsumer(consumer); in consumerShouldRunAgainAfterReconnect()
193 mDreamOverlayConnectionHandler.addConsumer(consumer); in consumerShouldNeverRunIfRemovedImmediately()
/frameworks/base/core/java/android/service/dreams/
DDreamOverlayConnectionHandler.java124 public void addConsumer(Consumer<IDreamOverlayClient> consumer) { in addConsumer() method in DreamOverlayConnectionHandler
DDreamService.java921 mOverlayConnection.addConsumer(overlay -> { in onWakeUp()
987 mOverlayConnection.addConsumer(overlay -> { in finish()
1340 mOverlayConnection.addConsumer(mDreamStartOverlayConsumer); in onWindowCreated()