Home
last modified time | relevance | path

Searched refs:protocol (Results 1 – 25 of 1955) sorted by relevance

12345678910>>...79

/external/chromium_org/remoting/
Dremoting_srcs.gypi75 # See remoting/protocol/BUILD.gn
76 'protocol/audio_reader.cc',
77 'protocol/audio_reader.h',
78 'protocol/audio_stub.h',
79 'protocol/audio_writer.cc',
80 'protocol/audio_writer.h',
81 'protocol/auth_util.cc',
82 'protocol/auth_util.h',
83 'protocol/authentication_method.cc',
84 'protocol/authentication_method.h',
[all …]
Dremoting_test.gypi33 'protocol/fake_authenticator.cc',
34 'protocol/fake_authenticator.h',
35 'protocol/fake_datagram_socket.cc',
36 'protocol/fake_datagram_socket.h',
37 'protocol/fake_session.cc',
38 'protocol/fake_session.h',
39 'protocol/fake_stream_socket.cc',
40 'protocol/fake_stream_socket.h',
41 'protocol/protocol_mock_objects.cc',
42 'protocol/protocol_mock_objects.h',
[all …]
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DHandshakeProtocolTest.java35 HandshakeProtocol protocol = new ClientHandshakeImpl(new SSLEngineImpl( in testGetStatus() local
40 assertEquals(protocol.getStatus(), in testGetStatus()
43 protocol.status = HandshakeProtocol.NEED_UNWRAP; in testGetStatus()
44 assertEquals(protocol.getStatus(), in testGetStatus()
47 protocol.status = HandshakeProtocol.FINISHED; in testGetStatus()
48 assertEquals(protocol.getStatus(), in testGetStatus()
50 assertEquals(protocol.status, HandshakeProtocol.NOT_HANDSHAKING); in testGetStatus()
52 protocol.delegatedTaskErr = new Exception(); in testGetStatus()
53 assertEquals(protocol.getStatus(), in testGetStatus()
55 protocol.delegatedTaskErr = null; in testGetStatus()
[all …]
/external/chromium_org/remoting/host/
Dclient_session.h51 public protocol::HostStub,
52 public protocol::ConnectionToClient::EventHandler,
81 const protocol::TransportRoute& route) = 0;
97 scoped_ptr<protocol::ConnectionToClient> connection,
100 scoped_refptr<protocol::PairingRegistry> pairing_registry,
109 const protocol::ClientResolution& resolution) OVERRIDE;
111 const protocol::VideoControl& video_control) OVERRIDE;
113 const protocol::AudioControl& audio_control) OVERRIDE;
115 const protocol::Capabilities& capabilities) OVERRIDE;
117 const remoting::protocol::PairingRequest& pairing_request) OVERRIDE;
[all …]
Dsession_manager_factory.cc16 scoped_ptr<protocol::SessionManager> CreateHostSessionManager( in CreateHostSessionManager()
18 const protocol::NetworkSettings& network_settings, in CreateHostSessionManager()
22 scoped_ptr<protocol::ChromiumPortAllocator> port_allocator( in CreateHostSessionManager()
23 protocol::ChromiumPortAllocator::Create(url_request_context_getter, in CreateHostSessionManager()
26 scoped_ptr<protocol::TransportFactory> transport_factory( in CreateHostSessionManager()
27 new protocol::LibjingleTransportFactory( in CreateHostSessionManager()
32 scoped_ptr<protocol::JingleSessionManager> session_manager( in CreateHostSessionManager()
33 new protocol::JingleSessionManager(transport_factory.Pass())); in CreateHostSessionManager()
34 return session_manager.PassAs<protocol::SessionManager>(); in CreateHostSessionManager()
Dclient_session.cc46 scoped_ptr<protocol::ConnectionToClient> connection, in ClientSession()
49 scoped_refptr<protocol::PairingRegistry> pairing_registry, in ClientSession()
110 const protocol::ClientResolution& resolution) { in NotifyClientResolution()
136 void ClientSession::ControlVideo(const protocol::VideoControl& video_control) { in ControlVideo()
164 void ClientSession::ControlAudio(const protocol::AudioControl& audio_control) { in ControlAudio()
176 const protocol::Capabilities& capabilities) { in SetCapabilities()
202 const protocol::PairingRequest& pairing_request) { in RequestPairing()
204 protocol::PairingRegistry::Pairing pairing = in RequestPairing()
206 protocol::PairingResponse pairing_response; in RequestPairing()
214 const protocol::ExtensionMessage& message) { in DeliverClientMessage()
[all …]
Dchromoting_host.h34 namespace protocol {
67 public protocol::SessionManager::Listener,
75 scoped_ptr<protocol::SessionManager> session_manager,
111 scoped_ptr<protocol::AuthenticatorFactory> authenticator_factory);
131 const protocol::TransportRoute& route) OVERRIDE;
136 protocol::Session* session,
137 protocol::SessionManager::IncomingSessionResponse* response) OVERRIDE;
140 const protocol::CandidateSessionConfig* protocol_config() const { in protocol_config()
145 void set_protocol_config(scoped_ptr<protocol::CandidateSessionConfig> config);
149 scoped_refptr<protocol::PairingRegistry> pairing_registry() const { in pairing_registry()
[all …]
/external/chromium_org/remoting/client/
Dchromoting_client.h27 namespace protocol {
41 class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback,
42 public protocol::ClientStub {
53 scoped_ptr<protocol::CandidateSessionConfig> config);
58 scoped_ptr<protocol::Authenticator> authenticator,
59 scoped_ptr<protocol::TransportFactory> transport_factory,
63 protocol::ConnectionToHost::State connection_state() const { in connection_state()
67 protocol::ClipboardStub* clipboard_forwarder() { in clipboard_forwarder()
70 protocol::HostStub* host_stub() { return connection_.host_stub(); } in host_stub()
71 protocol::InputStub* input_stub() { return connection_.input_stub(); } in input_stub()
[all …]
Dchromoting_client.cc25 using protocol::AuthenticationMethod;
47 scoped_ptr<protocol::CandidateSessionConfig> config) { in SetProtocolConfigForTests()
53 scoped_ptr<protocol::Authenticator> authenticator, in Start()
54 scoped_ptr<protocol::TransportFactory> transport_factory, in Start()
71 const protocol::Capabilities& capabilities) { in SetCapabilities()
93 const protocol::PairingResponse& pairing_response) { in SetPairingResponse()
100 const protocol::ExtensionMessage& message) { in DeliverHostMessage()
107 const protocol::ClipboardEvent& event) { in InjectClipboardEvent()
114 const protocol::CursorShapeInfo& cursor_shape) { in SetCursorShape()
121 protocol::ConnectionToHost::State state, in OnConnectionState()
[all …]
Dclient_user_interface.h17 namespace protocol {
33 virtual void OnConnectionState(protocol::ConnectionToHost::State state,
34 protocol::ErrorCode error) = 0;
37 const protocol::TransportRoute& route) = 0;
45 const protocol::PairingResponse& pairing_response) = 0;
49 const protocol::ExtensionMessage& message) = 0;
52 virtual protocol::ClipboardStub* GetClipboardStub() = 0;
55 virtual protocol::CursorShapeStub* GetCursorShapeStub() = 0;
/external/clang/test/SemaObjC/
Dprotocols.m14 @protocol p1,p2,p3;
16 @protocol p1;
18 @protocol PROTO1
27 @protocol PROTO2<p1>
30 @protocol p1 @end
32 @protocol PROTO<p1> // expected-note {{previous definition is here}}
35 @protocol PROTO<p1> // expected-warning {{duplicate protocol definition of 'PROTO'}}
38 @protocol PROTO3<p1, p1>
41 @protocol p2 <p1>
44 @protocol PROTO4 <p1, p2, PROTO, PROTO3, p3>
[all …]
Dclass-proto-1.m5 @protocol p1,p2,p3; // expected-note {{protocol 'p2' has no definition}} \
6 // expected-note {{protocol 'p3' has no definition}}
8 @protocol p1;
10 @protocol PROTO1
14 @protocol p1 @end
18 @interface E1 <p2> @end // expected-warning {{cannot find protocol definition for 'p2'}}
20 @protocol p2 @end
25 @interface E2 <p1,p2,p3> @end // expected-warning {{cannot find protocol definition for 'p3'}}
42 @protocol UndefinedParentProtocol; // expected-note {{protocol 'UndefinedParentProtocol' has no def…
44 @protocol UndefinedProtocol <UndefinedParentProtocol>
[all …]
Dprotocols-suppress-conformance.m3 // Mark this protocol as requiring all of its methods and properties
6 @protocol Protocol
11 // In this example, ClassA adopts the protocol. We won't
12 // provide the implementation here, but this protocol will
48 @protocol Inherited
53 @protocol Derived <Inherited>
63 @implementation ClassD // expected-warning {{method 'foulIsFair' in protocol 'Derived' not implemen…
68 @protocol AnotherProtocol @end
70 // Cannot put the attribute on classes or other non-protocol declarations.
80 @protocol ProtocolA
[all …]
Dprotocol-expr-neg-1.m5 @protocol fproto;
7 @protocol p1
14 Protocol *proto = @protocol(p1);
15 Protocol *fproto = @protocol(fproto);
16 Protocol *pp = @protocol(i); // expected-error {{cannot find protocol declaration for 'i'}}
17 Protocol *p1p = @protocol(cl); // expected-error {{cannot find protocol declaration for 'cl'}}
/external/chromium_org/media/filters/
Din_memory_url_protocol_unittest.cc14 InMemoryUrlProtocol protocol(kData, std::numeric_limits<int64>::max(), false); in TEST() local
17 EXPECT_EQ(4, protocol.Read(sizeof(out), out)); in TEST()
22 InMemoryUrlProtocol protocol(kData, sizeof(kData), false); in TEST() local
25 EXPECT_EQ(AVERROR(EIO), protocol.Read(-2, out)); in TEST()
29 InMemoryUrlProtocol protocol(kData, sizeof(kData), false); in TEST() local
32 EXPECT_EQ(0, protocol.Read(0, &out)); in TEST()
36 InMemoryUrlProtocol protocol(kData, sizeof(kData), false); in TEST() local
38 EXPECT_FALSE(protocol.SetPosition(-1)); in TEST()
39 EXPECT_FALSE(protocol.SetPosition(sizeof(kData) + 1)); in TEST()
42 EXPECT_TRUE(protocol.SetPosition(sizeof(kData))); in TEST()
[all …]
Dffmpeg_glue.cc23 FFmpegURLProtocol* protocol = reinterpret_cast<FFmpegURLProtocol*>(opaque); in AVIOReadOperation() local
24 int result = protocol->Read(buf_size, buf); in AVIOReadOperation()
31 FFmpegURLProtocol* protocol = reinterpret_cast<FFmpegURLProtocol*>(opaque); in AVIOSeekOperation() local
35 if (protocol->SetPosition(offset)) in AVIOSeekOperation()
36 protocol->GetPosition(&new_offset); in AVIOSeekOperation()
41 if (!protocol->GetPosition(&pos)) in AVIOSeekOperation()
43 if (protocol->SetPosition(pos + offset)) in AVIOSeekOperation()
44 protocol->GetPosition(&new_offset); in AVIOSeekOperation()
49 if (!protocol->GetSize(&size)) in AVIOSeekOperation()
51 if (protocol->SetPosition(size + offset)) in AVIOSeekOperation()
[all …]
/external/apache-http/src/org/apache/http/
DProtocolVersion.java67 protected final String protocol; field in ProtocolVersion
83 public ProtocolVersion(String protocol, int major, int minor) { in ProtocolVersion() argument
84 if (protocol == null) { in ProtocolVersion()
96 this.protocol = protocol; in ProtocolVersion()
107 return protocol; in getProtocol()
151 return new ProtocolVersion(this.protocol, major, minor); in forVersion()
161 return this.protocol.hashCode() ^ (this.major * 100000) ^ this.minor; in hashCode()
187 return ((this.protocol.equals(that.protocol)) && in equals()
204 return (that != null) && this.protocol.equals(that.protocol); in isComparable()
229 if (!this.protocol.equals(that.protocol)) { in compareToVersion()
[all …]
/external/chromium_org/remoting/test/
Dprotocol_perftest.cc39 using protocol::ChannelConfig;
64 class FakeCursorShapeStub : public protocol::CursorShapeStub {
71 const protocol::CursorShapeInfo& cursor_shape) OVERRIDE {}; in SetCursorShape()
100 virtual void OnConnectionState(protocol::ConnectionToHost::State state, in OnConnectionState()
101 protocol::ErrorCode error) OVERRIDE { in OnConnectionState()
102 if (state == protocol::ConnectionToHost::CONNECTED) { in OnConnectionState()
110 const protocol::TransportRoute& route) OVERRIDE { in OnRouteChanged()
114 const protocol::PairingResponse& pairing_response) OVERRIDE {} in SetPairingResponse()
116 const protocol::ExtensionMessage& message) OVERRIDE {} in DeliverHostMessage()
117 virtual protocol::ClipboardStub* GetClipboardStub() OVERRIDE { in GetClipboardStub()
[all …]
/external/clang/test/ARCMT/
Dobjcmt-protocol-conformance.m2 // RUN: %clang_cc1 -objcmt-migrate-protocol-conformance -mt-migrate-directory %t %s -x objective-c …
8 @protocol P
12 @interface Test1 // Test for no super class and no protocol list
19 @protocol P1 @end
20 @protocol P2 @end
22 @interface Test2 <P1, P2> // Test for no super class and with protocol list
33 @interface Test3 : NSObject { // Test for Super class and no protocol list
42 @interface Test4 : NSObject <P1, P2> // Test for Super class and protocol list
50 @protocol P3
54 @protocol P4
[all …]
Dobjcmt-protocol-conformance.m.result2 // RUN: %clang_cc1 -objcmt-migrate-protocol-conformance -mt-migrate-directory %t %s -x objective-c …
8 @protocol P
12 @interface Test1<P> // Test for no super class and no protocol list
19 @protocol P1 @end
20 @protocol P2 @end
22 @interface Test2 <P1, P2, P> // Test for no super class and with protocol list
33 @interface Test3 : NSObject<P> { // Test for Super class and no protocol list
42 @interface Test4 : NSObject <P1, P2, P> // Test for Super class and protocol list
50 @protocol P3
54 @protocol P4
[all …]
/external/clang/test/CodeGenObjC/
Dprotocols-lazy.m5 @protocol P0;
9 @protocol P1 -im1; @end
11 // Definition triggered by protocol reference.
14 @protocol P2 -im1; @end
15 void f0() { id x = @protocol(P2); }
17 // Forward definition triggered by protocol reference.
20 @protocol P3;
21 void f1() { id x = @protocol(P3); }
26 @protocol P4 -im1; @end
33 @protocol P5;
[all …]
/external/chromium_org/remoting/client/jni/
Dchromoting_jni_instance.h25 namespace protocol {
37 public protocol::ClipboardStub,
38 public protocol::CursorShapeStub,
81 protocol::MouseEvent_MouseButton button,
98 protocol::ConnectionToHost::State state,
99 protocol::ErrorCode error) OVERRIDE;
102 const protocol::TransportRoute& route) OVERRIDE;
105 const protocol::PairingResponse& response) OVERRIDE;
107 const protocol::ExtensionMessage& message) OVERRIDE;
108 virtual protocol::ClipboardStub* GetClipboardStub() OVERRIDE;
[all …]
Dchromoting_jni_instance.cc69 scoped_ptr<protocol::ThirdPartyClientAuthenticator::TokenFetcher> in ChromotingJniInstance()
75 std::vector<protocol::AuthenticationMethod> auth_methods; in ChromotingJniInstance()
76 auth_methods.push_back(protocol::AuthenticationMethod::Spake2Pair()); in ChromotingJniInstance()
77 auth_methods.push_back(protocol::AuthenticationMethod::Spake2( in ChromotingJniInstance()
78 protocol::AuthenticationMethod::HMAC_SHA256)); in ChromotingJniInstance()
79 auth_methods.push_back(protocol::AuthenticationMethod::Spake2( in ChromotingJniInstance()
80 protocol::AuthenticationMethod::NONE)); in ChromotingJniInstance()
81 auth_methods.push_back(protocol::AuthenticationMethod::ThirdParty()); in ChromotingJniInstance()
83 authenticator_.reset(new protocol::NegotiatingClientAuthenticator( in ChromotingJniInstance()
197 protocol::MouseEvent_MouseButton button, in SendMouseEvent()
[all …]
/external/chromium_org/net/http/
Dhttp_server_properties.cc56 bool IsAlternateProtocolValid(AlternateProtocol protocol) { in IsAlternateProtocolValid() argument
57 return protocol >= ALTERNATE_PROTOCOL_MINIMUM_VALID_VERSION && in IsAlternateProtocolValid()
58 protocol <= ALTERNATE_PROTOCOL_MAXIMUM_VALID_VERSION; in IsAlternateProtocolValid()
61 const char* AlternateProtocolToString(AlternateProtocol protocol) { in AlternateProtocolToString() argument
62 switch (protocol) { in AlternateProtocolToString()
68 DCHECK(IsAlternateProtocolValid(protocol)); in AlternateProtocolToString()
70 protocol - ALTERNATE_PROTOCOL_MINIMUM_VALID_VERSION]; in AlternateProtocolToString()
83 AlternateProtocol protocol = static_cast<AlternateProtocol>(i); in AlternateProtocolFromString() local
84 if (str == AlternateProtocolToString(protocol)) in AlternateProtocolFromString()
85 return protocol; in AlternateProtocolFromString()
[all …]
/external/clang/test/Analysis/
Dregion-1.m10 @protocol NSObject - (BOOL)isEqual:(id)object;
13 @end @protocol NSCoding - (void)encodeWithCoder:(NSCoder *)aCoder;
21 @protocol EcoClassifier;
22 @protocol EcoClassInterfaceCommons <EcoClassifier> @end @protocol EcoImplementation;
23 @protocol EcoBehavioredClassifier <EcoClassInterfaceCommons> - (NSArray *) implementations;
26 @protocol EcoClass <EcoBehavioredClassifier> - (NSArray *) ownedAttributes;
27 @end @protocol EcoNamespace;
28 @protocol EcoType @end;
29 @protocol EcoClassifier <EcoNamespace,EcoType> - (NSArray *) features;
30 @end @protocol EcoComment;
[all …]

12345678910>>...79