Home
last modified time | relevance | path

Searched refs:listener_ (Results 1 – 19 of 19) 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/google-tv-pairing-protocol/cpp/src/polo/pairing/
Dpairingsession.cc127 listener_ = listener; in DoPair()
128 listener_->OnSessionCreated(); in DoPair()
151 listener_->OnPerformInputDeviceRole(); in DoInputPairing()
170 listener_->OnPerformOutputDeviceRole(*gamma); in DoOutputPairing()
226 listener_->OnError(kErrorInvalidChallengeResponse); in OnSecretMessage()
243 listener_->OnPairingSuccess(); in OnSecretMessage()
250 listener_->OnError(kErrorInvalidChallengeResponse); in OnSecretAckMessage()
254 listener_->OnPairingSuccess(); in OnSecretAckMessage()
258 listener_->OnError(error); in OnError()
Dpairingsession.h155 PairingListener* listener() const { return listener_; } in listener()
190 PairingListener* listener_; variable
/external/google-tv-pairing-protocol/cpp/tests/polo/pairing/
Dpairingsessiontest.cc98 EXPECT_CALL(listener_, OnSessionCreated()); in InitSession()
101 session_.DoPair(&listener_); in InitSession()
108 StrictMock<MockPairingListener> listener_; member in polo::pairing::PairingSessionTest
143 EXPECT_CALL(listener_, OnPerformInputDeviceRole()); in TEST_F()
158 EXPECT_CALL(listener_, OnPerformOutputDeviceRole(Gamma(10, 0x5))); in TEST_F()
198 EXPECT_CALL(listener_, OnPerformInputDeviceRole()); in TEST_F()
228 EXPECT_CALL(listener_, OnPerformInputDeviceRole()); in TEST_F()
254 EXPECT_CALL(listener_, OnPairingSuccess()); in TEST_F()
261 EXPECT_CALL(listener_, OnPairingSuccess()); in TEST_F()
Dserverpairingsessiontest.cc71 EXPECT_CALL(listener_, OnSessionCreated()); in InitSession()
74 session_.DoPair(&listener_); in InitSession()
81 StrictMock<MockPairingListener> listener_; member in polo::pairing::ServerPairingSessionTest
128 EXPECT_CALL(listener_, OnPerformOutputDeviceRole(Gamma(5, 0x5))); in TEST_F()
Dclientpairingsessiontest.cc76 EXPECT_CALL(listener_, OnSessionCreated()); in InitSession()
83 session_.DoPair(&listener_); in InitSession()
90 StrictMock<MockPairingListener> listener_; member in polo::pairing::ClientPairingSessionTest
149 EXPECT_CALL(listener_, OnPerformInputDeviceRole()); in TEST_F()
/external/google-tv-pairing-protocol/cpp/src/polo/wire/
Dpolowireinterface.h35 void set_listener(PoloWireListener* listener) { listener_ = listener; } in set_listener()
48 PoloWireListener* listener() const { return listener_; } in listener()
51 PoloWireListener* listener_;
Dpolowireadapter.h83 pairing::message::MessageListener* listener() { return listener_; } in listener()
87 pairing::message::MessageListener* listener_; variable
Dpolowireadapter.cc29 listener_ = listener; in set_listener()
/external/libmojo/base/android/
Dapplication_status_listener_unittest.cc81 listener_.reset(new ApplicationStatusListener(base::Bind( in RegisterThreadForEvents()
83 EXPECT_TRUE(listener_.get()); in RegisterThreadForEvents()
97 std::unique_ptr<ApplicationStatusListener> listener_; member in base::android::__anon31bec0f50111::MultiThreadedTest
/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/google-tv-pairing-protocol/cpp/tests/polo/wire/protobuf/
Dprotobufwireadaptertest.cc65 adapter_.set_listener(&listener_); in SetUp()
105 StrictMock<MockMessageListener> listener_; member in polo::wire::protobuf::ProtobufWireAdapterTest