Home
last modified time | relevance | path

Searched refs:listener_ (Results 1 – 22 of 22) sorted by relevance

/external/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectwriter_test.cc104 listener_(), in BaseProtoStreamObjectWriterTest()
110 listener_(), in BaseProtoStreamObjectWriterTest()
121 listener_(), in BaseProtoStreamObjectWriterTest()
131 &listener_, options_)); in ResetTypeInfo()
167 MockErrorListener listener_; member in google::protobuf::util::converter::BaseProtoStreamObjectWriterTest
375 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_INT32"), in TEST_P()
378 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_UINT32"), in TEST_P()
381 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_SFIXED64"), in TEST_P()
384 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_BOOL"), in TEST_P()
408 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_INT32"), in TEST_P()
[all …]
Dproto_writer.cc73 listener_(listener), in ProtoWriter()
90 listener_(listener), in ProtoWriter()
410 listener_->InvalidName(location(), ToSnakeCase(unknown_name), message); in InvalidName()
414 listener_->InvalidValue(location(), type_name, value); in InvalidValue()
418 listener_->MissingField(location(), missing_name); in MissingField()
Dproto_writer.h141 ErrorListener* listener() { return listener_; } in listener()
318 ErrorListener* listener_; variable
/external/webrtc/talk/media/webrtc/
Dwebrtcvideocapturer_unittest.cc51 listener_(capturer_.get()) { in WebRtcVideoCapturerTest()
65 cricket::VideoCapturerListener listener_; member in WebRtcVideoCapturerTest
104 EXPECT_EQ_WAIT(cricket::CS_RUNNING, listener_.last_capture_state(), 1000); in TEST_F()
106 EXPECT_TRUE_WAIT(listener_.frame_count() > 0, 5000); in TEST_F()
107 EXPECT_EQ(capturer_->GetCaptureFormat()->fourcc, listener_.frame_fourcc()); in TEST_F()
108 EXPECT_EQ(640, listener_.frame_width()); in TEST_F()
109 EXPECT_EQ(480, listener_.frame_height()); in TEST_F()
114 EXPECT_EQ_WAIT(cricket::CS_STOPPED, listener_.last_capture_state(), 1000); in TEST_F()
131 EXPECT_EQ_WAIT(cricket::CS_RUNNING, listener_.last_capture_state(), 1000); in TEST_F()
133 EXPECT_TRUE_WAIT(listener_.frame_count() > 0, 5000); in TEST_F()
[all …]
/external/webrtc/webrtc/base/
Dhttpserver.cc247 listener_.reset(sock); in Listen()
248 listener_->SignalReadEvent.connect(this, &HttpListenServer::OnReadEvent); in Listen()
249 if ((listener_->Bind(address) != SOCKET_ERROR) && in Listen()
250 (listener_->Listen(5) != SOCKET_ERROR)) in Listen()
252 return listener_->GetError(); in Listen()
256 if (!listener_) { in GetAddress()
259 *address = listener_->GetLocalAddress(); in GetAddress()
264 if (listener_) { in StopListening()
265 listener_->Close(); in StopListening()
270 ASSERT(socket == listener_.get()); in OnReadEvent()
[all …]
Dhttpserver.h130 scoped_ptr<AsyncSocket> listener_; variable
/external/libchrome/ipc/
Dipc_channel_proxy_unittest.cc255 listener_.reset(new QuitListener()); in SetUp()
257 TakeHandle().release(), IPC::Channel::MODE_SERVER, listener_.get(), in SetUp()
264 listener_.reset(); in TearDown()
270 CreateRunLoopAndRun(&listener_->run_loop_); in SendQuitMessageAndWaitForIdle()
275 return listener_->bad_message_received_; in DidListenerGetBadMessage()
283 std::unique_ptr<QuitListener> listener_; member in __anon084717510111::IPCChannelProxyTest
397 listener_.reset(new QuitListener()); in SetUp()
398 CreateChannel(listener_.get()); in SetUp()
404 listener_.reset(); in TearDown()
409 CreateRunLoopAndRun(&listener_->run_loop_); in SendQuitMessageAndWaitForIdle()
[all …]
Dipc_channel_proxy.cc36 listener_(listener), in Context()
219 listener_ = NULL; in Clear()
304 if (!listener_) in OnDispatchMessage()
320 listener_->OnMessageReceived(message); in OnDispatchMessage()
322 listener_->OnBadMessageReceived(message); in OnDispatchMessage()
341 if (listener_) in OnDispatchConnected()
342 listener_->OnChannelConnected(peer_pid); in OnDispatchConnected()
347 if (listener_) in OnDispatchError()
348 listener_->OnChannelError(); in OnDispatchError()
353 if (listener_) in OnDispatchBadMessage()
[all …]
Dipc_channel_mojo.cc121 listener_(listener), in ChannelMojo()
195 listener_->OnChannelError(); in OnPipeError()
216 listener_->OnAssociatedInterfaceRequest(name, std::move(handle)); in OnAssociatedInterfaceRequest()
256 listener_->OnChannelConnected(peer_pid); in OnPeerPidReceived()
263 listener_->OnMessageReceived(message); in OnMessageReceived()
265 listener_->OnBadMessageReceived(message); in OnMessageReceived()
269 listener_->OnBadMessageReceived(Message()); in OnBrokenDataReceived()
Dipc_channel_reader.h37 void set_listener(Listener* listener) { listener_ = listener; } in COMPONENT_EXPORT()
74 Listener* listener() const { return listener_; } in COMPONENT_EXPORT()
146 Listener* listener_; in COMPONENT_EXPORT() local
Dipc_perftest_util.cc104 : listener_(new ChannelReflectorListener()) { in MojoPerfTestClient()
116 handle_.release(), Channel::MODE_CLIENT, listener_.get(), in Run()
118 listener_->Init(channel.get(), run_loop.QuitWhenIdleClosure()); in Run()
Dipc_channel_reader.cc47 : listener_(listener), in ChannelReader()
93 listener_->OnMessageReceived(*m); in DispatchMessage()
202 listener_->OnBadMessageReceived(message); in HandleDispatchError()
Dipc_perftest_util.h93 std::unique_ptr<ChannelReflectorListener> listener_; variable
Dipc_channel_mojo.h128 Listener* listener_; in COMPONENT_EXPORT() local
Dipc_channel_proxy.h337 Listener* listener_; in COMPONENT_EXPORT() local
/external/perfetto/include/perfetto/protozero/
Dmessage_handle.h61 listener_ = listener; in set_finalization_listener()
83 listener_ = nullptr; in reset_message()
91 auto* listener = listener_; in FinalizeMessage()
99 FinalizationListener* listener_ = nullptr; variable
/external/perfetto/src/protozero/
Dmessage_handle.cc61 listener_ = other.listener_; in Move()
62 other.listener_ = nullptr; in Move()
/external/webrtc/talk/media/base/
Dvideoadapter_unittest.cc64 listener_.reset(new VideoCapturerListener(adapter_.get())); in SetUp()
66 listener_.get(), &VideoCapturerListener::OnFrameCaptured); in SetUp()
154 rtc::scoped_ptr<VideoCapturerListener> listener_; member in cricket::VideoAdapterTest
177 VideoCapturerListener::Stats stats = listener_->GetStats(); in TEST_F()
192 VideoCapturerListener::Stats stats = listener_->GetStats(); in TEST_F()
209 VideoCapturerListener::Stats stats = listener_->GetStats(); in TEST_F()
226 VideoCapturerListener::Stats stats = listener_->GetStats(); in TEST_F()
243 VideoCapturerListener::Stats stats = listener_->GetStats(); in TEST_F()
261 EXPECT_EQ(0, listener_->GetStats().dropped_frames); in TEST_F()
271 EXPECT_GT(listener_->GetStats().dropped_frames, 0); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dbwe_test_framework.cc190 : listener_(listener), flow_ids_(&flow_id, &flow_id + 1) { in PacketProcessor()
191 if (listener_) { in PacketProcessor()
192 listener_->AddPacketProcessor(this, type); in PacketProcessor()
199 : listener_(listener), flow_ids_(flow_ids) { in PacketProcessor()
200 if (listener_) { in PacketProcessor()
201 listener_->AddPacketProcessor(this, type); in PacketProcessor()
206 if (listener_) { in ~PacketProcessor()
207 listener_->RemovePacketProcessor(this); in ~PacketProcessor()
Dbwe_test_framework.h221 PacketProcessorListener* listener_;
/external/v8/src/
Dlog.h104 : isolate_(isolate), listener_(listener) {} in isolate_()
120 CodeEventListener* listener_; variable
Dlog.cc68 if (listener_) { \
69 listener_->Call; \