OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ProtocolConstants
(Results
1 - 3
of
3
) sorted by null
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/
Connection.java
296
final ByteBuffer handshake = ByteBuffer.allocate(
ProtocolConstants
.QUERY_HEADER_SIZE);
311
assert signature ==
ProtocolConstants
.PACKET_SIGNATURE;
313
final int remains = handshake.getInt() -
ProtocolConstants
.QUERY_HEADER_SIZE;
316
assert msg_type ==
ProtocolConstants
.PACKET_TYPE_QUERY;
319
// And finally, query type (which must be
ProtocolConstants
.QUERY_HANDSHAKE for
322
assert query_type ==
ProtocolConstants
.QUERY_HANDSHAKE;
324
if (msg_type !=
ProtocolConstants
.PACKET_TYPE_QUERY) {
341
handshake.putInt(
ProtocolConstants
.PACKET_SIGNATURE);
343
handshake.putInt(
ProtocolConstants
.QUERY_RESP_HEADER_SIZE + 4);
344
handshake.putInt(
ProtocolConstants
.PACKET_TYPE_QUERY_RESPONSE)
[
all
...]
ProtocolConstants.java
9
public final class
ProtocolConstants
{
Channel.java
404
ByteBuffer bb = ByteBuffer.allocate(
ProtocolConstants
.MESSAGE_HEADER_SIZE + len);
408
bb.putInt(
ProtocolConstants
.PACKET_SIGNATURE);
409
bb.putInt(
ProtocolConstants
.MESSAGE_HEADER_SIZE + len);
410
bb.putInt(
ProtocolConstants
.PACKET_TYPE_MESSAGE);
542
ByteBuffer bb = ByteBuffer.allocate(
ProtocolConstants
.QUERY_RESP_HEADER_SIZE + len);
546
bb.putInt(
ProtocolConstants
.PACKET_SIGNATURE);
547
bb.putInt(
ProtocolConstants
.QUERY_RESP_HEADER_SIZE + len);
548
bb.putInt(
ProtocolConstants
.PACKET_TYPE_QUERY_RESPONSE);
619
ByteBuffer header = ByteBuffer.allocate(
ProtocolConstants
.PACKET_HEADER_SIZE);
637
assert signature ==
ProtocolConstants
.PACKET_SIGNATURE
[
all
...]
Completed in 146 milliseconds