Searched defs:listeners (Results 1 - 25 of 136) sorted by relevance

123456

/external/mockito/src/org/mockito/internal/listeners/
H A DMockingProgressListener.java5 package org.mockito.internal.listeners;
H A DCollectCreatedMocks.java5 package org.mockito.internal.listeners;
H A DMockingStartedListener.java5 package org.mockito.internal.listeners;
H A DNotifiedMethodInvocationReport.java5 package org.mockito.internal.listeners;
9 import org.mockito.listeners.MethodInvocationReport;
21 * Build a new {@link org.mockito.listeners.MethodInvocationReport} with a return value.
33 * Build a new {@link org.mockito.listeners.MethodInvocationReport} with a return value.
/external/chromium_org/extensions/renderer/resources/
H A Dunload_event.js11 var listeners = []; variable
14 $Array.push(listeners, listener);
18 for (var i = 0; i < listeners.length; ++i) {
19 if (listeners[i] == listener) {
20 $Array.splice(listeners, i, 1);
31 for (var i = 0; i < listeners.length; ++i)
32 listeners[i]();
/external/mockito/src/org/mockito/listeners/
H A DInvocationListener.java5 package org.mockito.listeners;
H A DMethodInvocationReport.java5 package org.mockito.listeners;
/external/srec/shared/include/
H A DESR_SessionTypeImpl.h44 * Event listeners.
46 ArrayList* listeners; member in struct:ESR_SessionTypeData_t
/external/chromium_org/components/test/
H A Drun_all_unittests.cc140 testing::TestEventListeners& listeners = local
141 testing::UnitTest::GetInstance()->listeners();
142 listeners.Append(new ComponentsUnitTestEventListener());
/external/chromium_org/content/test/
H A Dcontent_test_suite.cc88 testing::TestEventListeners& listeners = local
89 testing::UnitTest::GetInstance()->listeners();
90 listeners.Append(new TestInitializationListener);
/external/chromium_org/testing/gtest/test/
H A Dgtest_shuffle_test_.cc98 TestEventListeners& listeners = UnitTest::GetInstance()->listeners(); local
99 delete listeners.Release(listeners.default_result_printer());
100 listeners.Append(new TestNamePrinter);
/external/gtest/test/
H A Dgtest_shuffle_test_.cc98 TestEventListeners& listeners = UnitTest::GetInstance()->listeners(); local
99 delete listeners.Release(listeners.default_result_printer());
100 listeners.Append(new TestNamePrinter);
/external/mockito/src/org/mockito/
H A DMockSettings.java7 import org.mockito.listeners.InvocationListener;
185 * Multiple listeners may be added, but the same object is only added once.
186 * The order, in which the listeners are added, is not guaranteed to be the
187 * order in which the listeners are notified.
196 * @param listeners The invocation listeners to add. May not be null.
199 MockSettings invocationListeners(InvocationListener... listeners); argument
/external/protobuf/gtest/test/
H A Dgtest_shuffle_test_.cc99 TestEventListeners& listeners = UnitTest::GetInstance()->listeners(); local
100 delete listeners.Release(listeners.default_result_printer());
101 listeners.Append(new TestNamePrinter);
H A Dgtest_xml_output_unittest_.cc141 TestEventListeners& listeners = UnitTest::GetInstance()->listeners(); local
142 delete listeners.Release(listeners.default_xml_generator());
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowSensorManager.java20 private ArrayList<SensorEventListener> listeners = new ArrayList<SensorEventListener>(); field in class:ShadowSensorManager
30 if(!listeners.contains(listener))
31 listeners.add(listener);
38 listeners.remove(listener);
42 return listeners.contains(listener);
/external/chromium_org/chrome/test/base/
H A Dchrome_unit_test_suite.cc94 // It will be started before the base class listeners and ended after the
95 // base class listeners.
96 testing::TestEventListeners& listeners = local
97 testing::UnitTest::GetInstance()->listeners();
98 listeners.Append(new ChromeUnitTestSuiteInitializer);
/external/chromium_org/sync/sessions/
H A Dsync_session_context.cc17 const std::vector<SyncEngineEventListener*>& listeners,
36 for (it = listeners.begin(); it != listeners.end(); ++it)
13 SyncSessionContext( ServerConnectionManager* connection_manager, syncable::Directory* directory, ExtensionsActivity* extensions_activity, const std::vector<SyncEngineEventListener*>& listeners, DebugInfoGetter* debug_info_getter, ModelTypeRegistry* model_type_registry, bool keystore_encryption_enabled, bool client_enabled_pre_commit_update_avoidance, const std::string& invalidator_client_id) argument
/external/chromium_org/testing/gtest/samples/
H A Dsample9_unittest.cc123 TestEventListeners& listeners = unit_test.listeners(); local
129 delete listeners.Release(listeners.default_result_printer());
135 listeners.Append(new TersePrinter);
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DScriptGCEvent.cpp50 GCEventData::GCEventListeners& listeners = isolateGCEventData()->listeners(); local
51 if (listeners.isEmpty()) {
55 listeners.append(eventListener);
61 GCEventData::GCEventListeners& listeners = isolateGCEventData()->listeners(); local
62 ASSERT(!listeners.isEmpty());
63 size_t i = listeners.find(eventListener);
65 listeners.remove(i);
66 if (listeners
103 GCEventData::GCEventListeners& listeners = gcEventData->listeners(); local
[all...]
H A DScriptGCEvent.h69 GCEventListeners& listeners() { return m_listeners; } function in class:blink::GCEventData
/external/protobuf/gtest/samples/
H A Dsample9_unittest.cc123 TestEventListeners& listeners = unit_test.listeners(); local
129 delete listeners.Release(listeners.default_result_printer());
135 listeners.Append(new TersePrinter);
/external/smack/src/org/jivesoftware/smack/util/
H A DObservableWriter.java27 * An ObservableWriter is a wrapper on a Writer that notifies to its listeners when
35 List<WriterListener> listeners = new ArrayList<WriterListener>(); field in class:ObservableWriter
83 synchronized (listeners) {
84 writerListeners = new WriterListener[listeners.size()];
85 listeners.toArray(writerListeners);
102 synchronized (listeners) {
103 if (!listeners.contains(writerListener)) {
104 listeners.add(writerListener);
115 synchronized (listeners) {
116 listeners
[all...]
/external/smack/src/org/jivesoftware/smackx/filetransfer/
H A DFileTransferManager.java52 private List<FileTransferListener> listeners; field in class:FileTransferManager
78 if (listeners == null) {
81 synchronized (this.listeners) {
82 listeners.add(li);
87 listeners = new ArrayList<FileTransferListener>();
98 FileTransferListener[] listeners = null;
99 synchronized (this.listeners) {
100 listeners = new FileTransferListener[this.listeners.size()];
101 this.listeners
[all...]
/external/chromium_org/chrome/browser/extensions/api/idle/
H A Didle_manager.h37 int listeners; member in struct:extensions::IdleMonitor

Completed in 680 milliseconds

123456