Searched refs:IDreamOverlayClient (Results 1 – 9 of 9) sorted by relevance
53 private IDreamOverlayClient mClient;55 private final List<Consumer<IDreamOverlayClient>> mConsumers = new ArrayList<>();124 public void addConsumer(Consumer<IDreamOverlayClient> consumer) { in addConsumer()134 public void removeConsumer(Consumer<IDreamOverlayClient> consumer) { in removeConsumer()146 onOverlayClientReady((IDreamOverlayClient) msg.obj); in handleMessage()149 onAddConsumer((Consumer<IDreamOverlayClient>) msg.obj); in handleMessage()152 onRemoveConsumer((Consumer<IDreamOverlayClient>) msg.obj); in handleMessage()159 private void onOverlayClientReady(IDreamOverlayClient client) { in onOverlayClientReady()161 for (Consumer<IDreamOverlayClient> consumer : mConsumers) { in onOverlayClientReady()166 private void onAddConsumer(Consumer<IDreamOverlayClient> consumer) { in onAddConsumer()[all …]
19 import android.service.dreams.IDreamOverlayClient;29 void onDreamOverlayClient(in IDreamOverlayClient client); in onDreamOverlayClient()
27 interface IDreamOverlayClient { interface
54 private static class OverlayClient extends IDreamOverlayClient.Stub {
1573 private Consumer<IDreamOverlayClient> mDreamStartOverlayConsumer; in onWindowCreated()
33 import android.service.dreams.IDreamOverlayClient;111 public IDreamOverlayClient retrievedClient;113 public void onDreamOverlayClient(IDreamOverlayClient client) throws RemoteException { in onDreamOverlayClient()135 final IDreamOverlayClient client = getClient(overlay); in testCallbacksRunOnExecutor()186 final IDreamOverlayClient firstClient = getClient(overlay); in testOverlayClientInteraction()189 final IDreamOverlayClient secondClient = getClient(overlay); in testOverlayClientInteraction()224 private static IDreamOverlayClient getClient(IDreamOverlay overlay) throws RemoteException { in getClient()
46 import android.service.dreams.IDreamOverlayClient;269 private IDreamOverlayClient mDreamOverlayClient;304 Consumer<IDreamOverlayClient> client = in TestDreamEnvironment()305 (Consumer<IDreamOverlayClient>) invocation.getArguments()[0]; in TestDreamEnvironment()423 public IDreamOverlayClient getDreamOverlayClient() { in getDreamOverlayClient()
65 private IDreamOverlayClient mOverlayClient;90 final Consumer<IDreamOverlayClient> consumer = Mockito.mock(Consumer.class); in consumerShouldRunImmediatelyWhenClientAvailable()101 final Consumer<IDreamOverlayClient> consumer = Mockito.mock(Consumer.class); in consumerShouldRunAfterClientAvailable()117 final Consumer<IDreamOverlayClient> consumer = Mockito.mock(Consumer.class); in consumerShouldNeverRunIfClientConnectsAndDisconnects()136 final Consumer<IDreamOverlayClient> consumer = Mockito.mock(Consumer.class); in consumerShouldNeverRunIfUnbindCalled()169 final Consumer<IDreamOverlayClient> consumer = Mockito.mock(Consumer.class); in consumerShouldRunAgainAfterReconnect()192 final Consumer<IDreamOverlayClient> consumer = Mockito.mock(Consumer.class); in consumerShouldNeverRunIfRemovedImmediately()
25 import android.service.dreams.IDreamOverlayClient221 private val client: IDreamOverlayClient230 val clientCaptor = ArgumentCaptor.forClass(IDreamOverlayClient::class.java)