Searched defs:listener (Results 1 - 25 of 365) sorted by relevance

1234567891011>>

/external/autotest/frontend/client/src/autotest/afe/
H A DClassFactory.java7 public CreateJobViewTab getCreateJobView(JobCreateListener listener) { argument
8 return new CreateJobViewTab(listener);
/external/mockito/src/test/java/org/mockitousage/bugs/
H A DListenersLostOnResetMockTest.java19 public void listener() throws Exception { method in class:ListenersLostOnResetMockTest
/external/glide/library/src/main/java/com/bumptech/glide/manager/
H A DApplicationLifecycle.java14 public void addListener(LifecycleListener listener) { argument
15 listener.onStart();
H A DLifecycle.java8 * Adds the given listener to the set of listeners managed by this Lifecycle implementation.
10 void addListener(LifecycleListener listener); argument
H A DConnectivityMonitorFactory.java12 public ConnectivityMonitor build(Context context, ConnectivityMonitor.ConnectivityListener listener) { argument
16 return new DefaultConnectivityMonitor(context, listener);
/external/google-tv-pairing-protocol/cpp/src/polo/wire/
H A Dpolowireadapter.cc28 pairing::message::MessageListener* listener) {
29 listener_ = listener;
27 set_listener( pairing::message::MessageListener* listener) argument
H A Dpolowireadapter.h37 // Sets the listener that will receive incoming Polo messages. A listener
39 void set_listener(pairing::message::MessageListener* listener);
41 // Gets the next message from the interface asynchronously. The listener
44 // the listener.
82 // Get the listener that will be notified of received Polo messages.
83 pairing::message::MessageListener* listener() { return listener_; } function in class:polo::wire::PoloWireAdapter
H A Dpolowireinterface.h33 // Sets the listener that will receive incoming data and error notifications.
34 // @param listener the listener to set for this interface
35 void set_listener(PoloWireListener* listener) { listener_ = listener; } argument
42 // listener will be notified when the data is received.
47 // Gets the listener that will receive incoming data and error notifications.
48 PoloWireListener* listener() const { return listener_; } function in class:polo::wire::PoloWireInterface
/external/mockito/src/main/java/org/mockito/
H A DMockitoFramework.java23 * Adds listener to Mockito.
29 * Make sure you remove the listener when the job is complete, see {@link #removeListener(MockitoListener)}.
30 * Currently the listeners list is thread local so you need to remove listener from the same thread otherwise
34 * If you are trying to add the listener but a listener of the same type was already added (and not removed)
37 * We do not anticipate the use case where adding the same listener type multiple times is useful.
48 * @param listener to add to Mockito
52 MockitoFramework addListener(MockitoListener listener) throws RedundantListenerException; argument
55 * When you add listener using {@link #addListener(MockitoListener)} make sure to remove it.
56 * Currently the listeners list is thread local so you need to remove listener fro
68 removeListener(MockitoListener listener) argument
[all...]
/external/autotest/frontend/client/src/autotest/common/
H A DSimpleChangeListenerCollection.java14 public void add(SimpleChangeListener listener) { argument
15 listeners.add(listener);
19 for (SimpleChangeListener listener : listeners) {
20 listener.onChange(source);
/external/autotest/frontend/client/src/autotest/tko/
H A DTestContextMenu.java11 private TestSelectionListener listener; field in class:TestContextMenu
13 public TestContextMenu(TestSet tests, TestSelectionListener listener) { argument
15 this.listener = listener;
25 listener.onSelectTest(tests.getTestIndex());
H A DPreconfigSelector.java30 private PreconfigHandler listener; field in class:PreconfigSelector
32 public PreconfigSelector(final String preconfigType, final PreconfigHandler listener) { argument
34 this.listener = listener;
75 listener.handlePreconfig(map);
/external/guava/guava/src/com/google/common/cache/
H A DRemovalListeners.java40 * @param listener the backing listener
45 final RemovalListener<K, V> listener, final Executor executor) {
46 checkNotNull(listener);
54 listener.onRemoval(notification);
44 asynchronous( final RemovalListener<K, V> listener, final Executor executor) argument
/external/guava/guava/src/com/google/common/util/concurrent/
H A DListenableFuture.java26 * A {@link Future} that accepts completion listeners. Each listener has an
29 * already completed when the listener is added, the listener will execute
41 * without listener support.
88 * Registers a listener to be {@linkplain Executor#execute(Runnable) run} on
89 * the given executor. The listener will run when the {@code Future}'s
94 * listener added through this method is guaranteed to be called once the
97 * <p>Exceptions thrown by a listener will be propagated up to the executor.
106 * example, the listener may run on an unpredictable or undesirable thread:
110 * called, {@code addListener} will execute the listener inlin
134 addListener(Runnable listener, Executor executor) argument
[all...]
/external/mockito/src/main/java/org/mockito/internal/framework/
H A DDefaultMockitoFramework.java15 public MockitoFramework addListener(MockitoListener listener) { argument
16 Checks.checkNotNull(listener, "listener");
17 mockingProgress().addListener(listener);
21 public MockitoFramework removeListener(MockitoListener listener) { argument
22 Checks.checkNotNull(listener, "listener");
23 mockingProgress().removeListener(listener);
H A DDefaultMockitoSession.java16 private final UniversalTestListener listener; field in class:DefaultMockitoSession
20 listener = new UniversalTestListener(strictness, logger);
22 //So that the listener can capture mock creation events
23 Mockito.framework().addListener(listener);
31 //Cleaning up the state, we no longer need the listener hooked up
32 //The listener implements MockCreationListener and at this point
34 Mockito.framework().removeListener(listener);
37 listener.testFinished(new TestFinishedEvent() {
/external/mockito/src/test/java/org/mockito/internal/debugging/
H A DWarningsFinderTest.java24 @Mock private FindingsListener listener; field in class:WarningsFinderTest
33 finder.find(listener);
36 verify(listener, only()).foundUnusedStub(unusedStub);
46 finder.find(listener);
49 verify(listener, only()).foundUnstubbed(unstubbedInvocation);
60 finder.find(listener);
63 verify(listener, only()).foundStubCalledWithDifferentArgs(stub, wrongArg);
/external/objenesis/tck/src/main/java/org/objenesis/tck/search/
H A DSearchWorkingInstantiator.java35 private SearchWorkingInstantiatorListener listener; field in class:SearchWorkingInstantiator
46 public SearchWorkingInstantiator(SearchWorkingInstantiatorListener listener) { argument
47 this.listener = listener;
66 listener.instantiatorUnsupported(c, e);
85 listener.instantiatorSupported(c);
89 listener.instantiatorUnsupported(c, t);
/external/swiftshader/third_party/LLVM/include/llvm/Support/
H A DRegistryParser.h36 public Registry<T, U>::listener {
39 typedef typename Registry<T, U>::listener listener; typedef in class:llvm::RegistryParser
48 listener::init();
/external/testng/src/main/java/org/testng/remote/
H A DRemoteSuiteWorker.java17 public RemoteSuiteWorker(XmlSuite suite, SlavePool slavePool, RemoteResultListener listener) { argument
18 super(listener, slavePool);
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/
H A DImpl_PooledConnection.java41 public void addStatementEventListener(StatementEventListener listener) { argument
44 public void removeStatementEventListener(StatementEventListener listener) { argument
/external/autotest/frontend/client/src/autotest/afe/create/
H A DCreateJobViewTab.java15 public CreateJobViewTab(JobCreateListener listener) { argument
16 presenter = new CreateJobViewPresenter(listener);
/external/autotest/frontend/client/src/autotest/common/table/
H A DTableClickWidget.java12 private TableWidgetClickListener listener; field in class:TableClickWidget
20 public TableClickWidget(FocusWidget widget, TableWidgetClickListener listener, argument
25 this.listener = listener;
32 listener.onClick(this);
/external/autotest/frontend/client/src/autotest/common/ui/
H A DTableSelectionPanel.java17 private SelectionPanelListener listener; field in class:TableSelectionPanel
41 public void setListener(SelectionPanelListener listener) { argument
42 this.listener = listener;
47 listener.onSelectAll(false);
49 listener.onSelectAll(true);
52 listener.onSelectNone();
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/
H A DLruResourceCache.java13 private ResourceRemovedListener listener; field in class:LruResourceCache
25 public void setResourceRemovedListener(ResourceRemovedListener listener) { argument
26 this.listener = listener;
31 if (listener != null) {
32 listener.onResourceRemoved(item);

Completed in 632 milliseconds

1234567891011>>