/external/chromium_org/net/tools/quic/test_tools/ |
quic_test_utils.cc | 21 MockConnection::MockConnection(bool is_server) 31 MockConnection::MockConnection(IPEndPoint address, 41 MockConnection::MockConnection(QuicConnectionId connection_id, 52 MockConnection::MockConnection(bool is_server, 63 MockConnection::~MockConnection() { [all...] |
quic_test_utils.h | 40 class MockConnection : public QuicConnection { 43 explicit MockConnection(bool is_server); 46 MockConnection(IPEndPoint address, bool is_server); 49 MockConnection(QuicConnectionId connection_id, bool is_server); 52 MockConnection(bool is_server, const QuicVersionVector& supported_versions); 54 virtual ~MockConnection(); 93 DISALLOW_COPY_AND_ASSIGN(MockConnection);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
RichInputConnectionAndTextRangeTests.java | 63 private class MockConnection extends InputConnectionWrapper { 68 public MockConnection(final CharSequence text, final int cursorPosition) { 88 public MockConnection(String textBefore, String textAfter, ExtractedText extractedText) { 141 private MockConnection mMockConnection; 142 public void setInputConnection(final MockConnection mockConnection) { 143 mMockConnection = mockConnection; 238 mockInputMethodService.setInputConnection(new MockConnection("word wo", "rd", et)); 249 mockInputMethodService.setInputConnection(new MockConnection("one\tword\two", "rd", et)); 257 new MockConnection("one word" + SUPPLEMENTARY_CHAR_STRING + "wo", "rd", et)) [all...] |
/external/chromium_org/net/quic/ |
quic_crypto_stream_test.cc | 50 : connection_(new MockConnection(false)), 65 MockConnection* connection_;
|
quic_flow_controller_test.cc | 46 MockConnection connection_; 128 MockConnection connection(false);
|
quic_reliable_client_stream_test.cc | 45 : session_(new MockConnection(false, SupportedVersions(GetParam()))) {
|
quic_headers_stream_test.cc | 82 : connection_(new StrictMock<MockConnection>(is_server(), GetVersions())), 175 StrictMock<MockConnection>* connection_;
|
quic_stream_sequencer_test.cc | 63 : connection_(new MockConnection(false)), 127 MockConnection* connection_;
|
quic_data_stream_test.cc | 95 connection_ = new testing::StrictMock<MockConnection>( 107 MockConnection* connection_;
|
reliable_quic_stream_test.cc | 114 new StrictMock<MockConnection>(kIsServer, supported_versions_); 143 MockConnection* connection_;
|
quic_session_test.cc | 187 : connection_(new MockConnection(true, SupportedVersions(GetParam()))), 241 MockConnection* connection_; [all...] |
/external/chromium_org/net/quic/test_tools/ |
quic_test_utils.cc | 228 MockConnection::MockConnection(bool is_server) 238 MockConnection::MockConnection(IPEndPoint address, 248 MockConnection::MockConnection(QuicConnectionId connection_id, 259 MockConnection::MockConnection(bool is_server, 270 MockConnection::~MockConnection() { [all...] |
quic_test_utils.h | 267 class MockConnection : public QuicConnection { 270 explicit MockConnection(bool is_server); 273 MockConnection(IPEndPoint address, bool is_server); 276 MockConnection(QuicConnectionId connection_id, bool is_server); 279 MockConnection(bool is_server, const QuicVersionVector& supported_versions); 281 virtual ~MockConnection(); 320 DISALLOW_COPY_AND_ASSIGN(MockConnection); 323 class PacketSavingConnection : public MockConnection {
|
/external/chromium_org/net/tools/quic/ |
quic_dispatcher_test.cc | 30 using net::tools::test::MockConnection; 68 class MockServerConnection : public MockConnection { 72 : MockConnection(connection_id, true), 93 EXPECT_CALL(*reinterpret_cast<MockConnection*>((*session)->connection()), 112 MockConnection* connection1() { 113 return reinterpret_cast<MockConnection*>(session1_->connection()); 116 MockConnection* connection2() { 117 return reinterpret_cast<MockConnection*>(session2_->connection()); 164 EXPECT_CALL(*reinterpret_cast<MockConnection*>(session1_->connection()), 180 EXPECT_CALL(*reinterpret_cast<MockConnection*>(session1_->connection()) [all...] |
quic_spdy_client_stream_test.cc | 30 : connection_(new StrictMock<MockConnection>( 55 StrictMock<MockConnection>* connection_;
|
quic_server_session_test.cc | 20 using net::test::MockConnection; 63 new StrictMock<MockConnection>(true, SupportedVersions(GetParam())); 72 StrictMock<MockConnection>* connection_;
|
quic_spdy_server_stream_test.cc | 24 using net::tools::test::MockConnection; 74 : connection_(new StrictMock<MockConnection>( 140 StrictMock<MockConnection>* connection_;
|