Searched refs:oldConsumer (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/listeners/ |
D | ListenerMultiplexerTest.java | 61 void onRegistrationReplaced(Consumer<TestListenerRegistration> oldConsumer, in onRegistrationReplaced() argument 111 Consumer<TestListenerRegistration> oldConsumer = mock(Consumer.class); in testReplace() local 114 mMultiplexer.addListener(0, oldConsumer); in testReplace() 116 mInOrder.verify(mCallbacks).onRegistrationAdded(eq(oldConsumer), in testReplace() 119 mMultiplexer.replaceListener(1, oldConsumer, consumer); in testReplace() 120 mInOrder.verify(mCallbacks).onRegistrationReplaced(eq(oldConsumer), in testReplace() 129 verify(oldConsumer, never()).accept(any(TestListenerRegistration.class)); in testReplace() 390 public void replaceListener(Integer request, Consumer<TestListenerRegistration> oldConsumer, in replaceListener() argument 392 replaceRegistration(oldConsumer, consumer, in replaceListener()
|
/frameworks/av/media/codec2/tests/aidl/ |
D | GraphicsTracker_test.cpp | 612 sp<IGraphicBufferConsumer> oldConsumer = mConsumer; in TEST_F() local 628 oldConsumer.clear(); in TEST_F()
|