OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ClientSession
(Results
1 - 21
of
21
) sorted by null
/external/chromium_org/remoting/host/
chromoting_host.h
64
public
ClientSession
::EventHandler,
117
//
ClientSession
::EventHandler implementation.
118
virtual bool OnSessionAuthenticated(
ClientSession
* client) OVERRIDE;
119
virtual void OnSessionChannelsConnected(
ClientSession
* client) OVERRIDE;
120
virtual void OnSessionAuthenticationFailed(
ClientSession
* client) OVERRIDE;
121
virtual void OnSessionClosed(
ClientSession
* session) OVERRIDE;
122
virtual void OnSessionSequenceNumber(
ClientSession
* session,
125
ClientSession
* session,
155
typedef std::list<
ClientSession
*> ClientList;
client_session.cc
37
ClientSession
::
ClientSession
(
90
ClientSession
::~
ClientSession
() {
101
void
ClientSession
::NotifyClientResolution(
128
void
ClientSession
::ControlVideo(const protocol::VideoControl& video_control) {
138
void
ClientSession
::ControlAudio(const protocol::AudioControl& audio_control) {
149
void
ClientSession
::SetCapabilities(
178
void
ClientSession
::RequestPairing(
190
void
ClientSession
::DeliverClientMessage
[
all
...]
client_session.h
45
// A
ClientSession
keeps a reference to a connection to a client, and maintains
47
class
ClientSession
58
virtual bool OnSessionAuthenticated(
ClientSession
* client) = 0;
61
virtual void OnSessionChannelsConnected(
ClientSession
* client) = 0;
66
virtual void OnSessionAuthenticationFailed(
ClientSession
* client) = 0;
69
virtual void OnSessionClosed(
ClientSession
* client) = 0;
73
virtual void OnSessionSequenceNumber(
ClientSession
* client,
79
ClientSession
* client,
88
ClientSession
(
100
virtual ~
ClientSession
();
[
all
...]
host_mock_objects.h
59
class MockClientSessionEventHandler : public
ClientSession
::EventHandler {
64
MOCK_METHOD1(OnSessionAuthenticated, bool(
ClientSession
* client));
65
MOCK_METHOD1(OnSessionChannelsConnected, void(
ClientSession
* client));
66
MOCK_METHOD1(OnSessionAuthenticationFailed, void(
ClientSession
* client));
67
MOCK_METHOD1(OnSessionClosed, void(
ClientSession
* client));
68
MOCK_METHOD2(OnSessionSequenceNumber, void(
ClientSession
* client,
71
ClientSession
* client,
chromoting_host.cc
173
// protocol::
ClientSession
::EventHandler implementation.
174
bool ChromotingHost::OnSessionAuthenticated(
ClientSession
* client) {
184
ClientSession
* other_client = *it++;
205
void ChromotingHost::OnSessionChannelsConnected(
ClientSession
* client) {
213
void ChromotingHost::OnSessionAuthenticationFailed(
ClientSession
* client) {
221
void ChromotingHost::OnSessionClosed(
ClientSession
* client) {
236
void ChromotingHost::OnSessionSequenceNumber(
ClientSession
* session,
242
ClientSession
* session,
295
ClientSession
* client = new
ClientSession
(
[
all
...]
chromoting_host_unittest.cc
184
scoped_ptr<
ClientSession
> client(new
ClientSession
(
202
base::Bind(&
ClientSession
::OnConnectionAuthenticated,
207
base::Bind(&
ClientSession
::OnConnectionChannelsConnected,
212
FROM_HERE, base::Bind(&
ClientSession
::OnConnectionClosed,
405
ClientSession
* client1_;
414
ClientSession
* client2_;
435
ClientSession
*& get_client(int connection_index) {
desktop_session_proxy.h
39
class
ClientSession
;
client_session_unittest.cc
70
// Stops and releases the
ClientSession
, allowing the MessageLoop to quit.
98
//
ClientSession
instance under test.
99
scoped_ptr<
ClientSession
> client_session_;
101
//
ClientSession
::EventHandler mock for use in tests.
116
//
ClientSession
owns |connection_| but tests need it to inject fake events.
142
// Mock protocol::Session APIs called directly by
ClientSession
.
148
// Mock protocol::ConnectionToClient APIs called directly by
ClientSession
.
149
// HostStub is not touched by
ClientSession
, so we can safely pass NULL.
159
client_session_.reset(new
ClientSession
(
/external/chromium_org/remoting/webapp/
client_session.js
9
* The
ClientSession
class controls lifetime of the client plugin
41
* @param {remoting.
ClientSession
.Mode} mode The mode of this connection.
48
remoting.
ClientSession
= function(accessCode, fetchPin, fetchThirdPartyToken,
53
this.state_ = remoting.
ClientSession
.State.CREATED;
92
/** @type {?function(remoting.
ClientSession
.State,
93
remoting.
ClientSession
.State):void} */
135
if (this.mode_ == remoting.
ClientSession
.Mode.IT2ME) {
151
* @param {?function(remoting.
ClientSession
.State,
152
remoting.
ClientSession
.State):void} onStateChange
155
remoting.
ClientSession
.prototype.setOnStateChange = function(onStateChange)
[
all
...]
log_to_server.js
48
* @param {remoting.
ClientSession
.State} state
50
* @param {remoting.
ClientSession
.Mode} mode
95
* @param {remoting.
ClientSession
.State} state
99
return ((state == remoting.
ClientSession
.State.CONNECTING) ||
100
(state == remoting.
ClientSession
.State.INITIALIZING) ||
101
(state == remoting.
ClientSession
.State.CONNECTED));
109
* @param {remoting.
ClientSession
.State} state
113
return ((state == remoting.
ClientSession
.State.CLOSED) ||
114
(state == remoting.
ClientSession
.State.FAILED) ||
115
(state == remoting.
ClientSession
.State.CONNECTION_DROPPED) |
[
all
...]
server_log_entry.js
42
* @param {remoting.
ClientSession
.State} state
47
case remoting.
ClientSession
.State.UNKNOWN:
49
case remoting.
ClientSession
.State.CREATED:
51
case remoting.
ClientSession
.State.CONNECTING:
53
case remoting.
ClientSession
.State.INITIALIZING:
55
case remoting.
ClientSession
.State.CONNECTED:
57
case remoting.
ClientSession
.State.CLOSED:
59
case remoting.
ClientSession
.State.FAILED:
61
case remoting.
ClientSession
.State.CONNECTION_DROPPED:
63
case remoting.
ClientSession
.State.CONNECTION_CANCELED
[
all
...]
session_connector.js
17
* @param {function(remoting.
ClientSession
):void} onOk Callback on success.
29
* @type {function(remoting.
ClientSession
):void}
47
* @type {remoting.
ClientSession
.Mode}
50
this.connectionMode_ = remoting.
ClientSession
.Mode.ME2ME;
123
* @type {remoting.
ClientSession
}
233
this.connectionMode_ = remoting.
ClientSession
.Mode.ME2ME;
261
this.connectionMode_ = remoting.
ClientSession
.Mode.IT2ME;
272
if (this.connectionMode_ == remoting.
ClientSession
.Mode.IT2ME) {
300
* @return {remoting.
ClientSession
.Mode}
368
* Creates
ClientSession
object
[
all
...]
client_screen.js
22
* @type {remoting.
ClientSession
} The client session object, set once the
25
remoting.
clientSession
= null;
48
if (remoting.
clientSession
) {
49
remoting.
clientSession
.onResize();
59
if (remoting.
clientSession
) {
60
remoting.
clientSession
.pauseVideo(
71
if (!remoting.
clientSession
) {
74
if (remoting.
clientSession
.getMode() == remoting.
ClientSession
.Mode.IT2ME) {
79
remoting.
clientSession
.disconnect(true)
[
all
...]
client_plugin_async.js
69
/** @type {remoting.
ClientSession
.PerfStats} */
70
this.perfStats_ = new remoting.
ClientSession
.PerfStats();
174
remoting.
ClientSession
.Capability.SEND_INITIAL_RESOLUTION);
179
remoting.
ClientSession
.Capability.RATE_LIMIT_RESIZE_REQUESTS);
206
!remoting.
ClientSession
.State.hasOwnProperty(message.data['state']) ||
213
/** @type {remoting.
ClientSession
.State} */
214
var state = remoting.
ClientSession
.State[message.data['state']];
216
if (remoting.
ClientSession
.ConnectionError.hasOwnProperty(
218
error = /** @type {remoting.
ClientSession
.ConnectionError} */
219
remoting.
ClientSession
.ConnectionError[message.data['error']]
[
all
...]
connection_stats.js
32
* @param {remoting.
ClientSession
.PerfStats} stats The connection statistics.
client_plugin.js
150
* @return {remoting.
ClientSession
.PerfStats} The connection statistics.
remoting.js
267
if (!remoting.
clientSession
||
268
remoting.
clientSession
.getMode() == remoting.
ClientSession
.Mode.ME2ME) {
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMnsObexClient.java
35
import javax.obex.
ClientSession
;
58
private
ClientSession
mClientSession;
230
mClientSession = new
ClientSession
(mTransport);
267
ClientSession
clientSession
= mClientSession;
269
if ((!mConnected) || (
clientSession
== null)) {
300
putOperation = (ClientOperation)
clientSession
.put(request);
/frameworks/base/obex/javax/obex/
ClientSession.java
41
* This class in an implementation of the OBEX
ClientSession
.
44
public final class
ClientSession
extends ObexSession {
65
public
ClientSession
(final ObexTransport trans) throws IOException {
ClientOperation.java
49
private
ClientSession
mParent;
84
public ClientOperation(int maxSize,
ClientSession
p, HeaderSet header, boolean type)
173
* <code>createHeaderSet</code> in a <code>
ClientSession
</code>
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppObexClientSession.java
36
import javax.obex.
ClientSession
;
135
private
ClientSession
mCs;
235
if (D) Log.d(TAG, "Create
ClientSession
with transport " + mTransport1.toString());
237
mCs = new
ClientSession
(mTransport1);
Completed in 149 milliseconds