Home
last modified time | relevance | path

Searched refs:data_length (Results 1 – 7 of 7) sorted by relevance

/system/core/adb/
Dtransport_usb.c37 p->msg.data_length = H4(p->msg.data_length); in fix_endians()
67 if(p->msg.data_length) { in remote_read()
68 if(usb_read(t->usb, p->data, p->msg.data_length)){ in remote_read()
84 unsigned size = p->msg.data_length; in remote_write()
92 if(p->msg.data_length == 0) return 0; in remote_write()
Dtransport_local.c35 p->msg.data_length = H4(p->msg.data_length); in fix_endians()
66 … p->msg.command, p->msg.arg0, p->msg.arg1, p->msg.data_length, p->msg.data_check, p->msg.magic); in remote_read()
73 if(readx(t->sfd, p->data, p->msg.data_length)){ in remote_read()
88 int length = p->msg.data_length; in remote_write()
94 … p->msg.command, p->msg.arg0, p->msg.arg1, p->msg.data_length, p->msg.data_check, p->msg.magic); in remote_write()
Dadb.c246 label, tag, p->msg.arg0, p->msg.arg1, p->msg.data_length); in print_packet()
247 count = p->msg.data_length; in print_packet()
324 cp->msg.data_length = fill_connect_data((char *)cp->data, in send_connect()
345 p->msg.data_length = ret; in send_auth_request()
364 p->msg.data_length = ret; in send_auth_response()
383 p->msg.data_length = ret; in send_auth_publickey()
540 send_auth_response(p->data, p->msg.data_length, t); in handle_packet()
546 if (adb_auth_verify(t->token, p->data, p->msg.data_length)) { in handle_packet()
555 adb_auth_confirm_key(p->data, p->msg.data_length, t); in handle_packet()
562 name[p->msg.data_length > 0 ? p->msg.data_length - 1 : 0] = 0; in handle_packet()
[all …]
Dtransport.c101 int len = p->msg.data_length; in dump_packet()
220 count = p->msg.data_length; in send_packet()
1168 if(p->msg.data_length > MAX_PAYLOAD) { in check_header()
1169 D("check_header(): %d > MAX_PAYLOAD\n", p->msg.data_length); in check_header()
1181 count = p->msg.data_length; in check_data()
Dadb.h54 unsigned data_length; /* length of payload (0 is allowed) */ member
Dsockets.c472 p->msg.data_length = p->len; in remote_socket_enqueue()
554 p->msg.data_length = len; in connect_to_remote()
Dprotocol.txt35 unsigned data_length; /* length of payload (0 is allowed) */