OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ProtocolConstants
(Results
1 - 6
of
6
) 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
...]
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/handlers/
MultiTouchChannel.java
24
import com.android.tools.sdkcontroller.lib.
ProtocolConstants
;
108
case
ProtocolConstants
.MT_FB_UPDATE:
112
postMessage(
ProtocolConstants
.MT_FB_ACK, (byte[]) null);
SensorChannel.java
33
import com.android.tools.sdkcontroller.lib.
ProtocolConstants
;
176
case
ProtocolConstants
.SENSORS_QUERY_LIST:
214
case
ProtocolConstants
.SENSORS_START:
218
case
ProtocolConstants
.SENSORS_STOP:
222
case
ProtocolConstants
.SENSORS_ENABLE:
227
case
ProtocolConstants
.SENSORS_DISABLE:
610
postMessage(
ProtocolConstants
.SENSORS_SENSOR_EVENT, mChangeMsg);
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/
MultiTouchActivity.java
35
import com.android.tools.sdkcontroller.lib.
ProtocolConstants
;
179
event.getPointerCount() *
ProtocolConstants
.MT_EVENT_ENTRY_SIZE);
184
msg_type =
ProtocolConstants
.MT_MOVE;
189
bb = ByteBuffer.allocate(
ProtocolConstants
.MT_EVENT_ENTRY_SIZE);
192
msg_type =
ProtocolConstants
.MT_FISRT_DOWN;
197
bb = ByteBuffer.allocate(
ProtocolConstants
.MT_EVENT_ENTRY_SIZE);
200
msg_type =
ProtocolConstants
.MT_LAST_UP;
205
bb = ByteBuffer.allocate(
ProtocolConstants
.MT_EVENT_ENTRY_SIZE);
208
msg_type =
ProtocolConstants
.MT_POINTER_DOWN;
213
bb = ByteBuffer.allocate(
ProtocolConstants
.MT_EVENT_ENTRY_SIZE)
[
all
...]
Completed in 1660 milliseconds