Searched refs:pdu (Results 1 - 25 of 30) sorted by relevance

12

/external/qemu/telephony/
H A Dsms.h73 extern int smspdu_to_hex( SmsPDU pdu, char* hex, int hexsize );
76 extern void smspdu_free( SmsPDU pdu );
85 extern SmsPduType smspdu_get_type( SmsPDU pdu );
87 /* retrieve the sender address of a SMS-DELIVER pdu, returns -1 otherwise */
88 extern int smspdu_get_sender_address( SmsPDU pdu, SmsAddress address );
90 /* retrieve the service center timestamp of a SMS-DELIVER pdu, return -1 otherwise */
91 extern int smspdu_get_sc_timestamp( SmsPDU pdu, SmsTimeStamp timestamp );
93 /* retrieve the receiver address of a SMS-SUBMIT pdu, return -1 otherwise */
94 extern int smspdu_get_receiver_address( SmsPDU pdu, SmsAddress address );
96 extern int smspdu_get_ref ( SmsPDU pdu );
[all...]
H A Dremote_call.h48 extern int remote_call_sms( const char* number, int from_port, SmsPDU pdu );
H A Dsms.c701 smspdu_free( SmsPDU pdu )
703 if (pdu) {
704 free( pdu->base );
705 pdu->base = NULL;
706 pdu->end = NULL;
707 pdu->tpdu = NULL;
712 smspdu_get_type( SmsPDU pdu )
714 cbytes_t data = pdu->tpdu;
715 cbytes_t end = pdu->end;
727 smspdu_get_sender_address( SmsPDU pdu, SmsAddres argument
742 smspdu_get_sc_timestamp( SmsPDU pdu, SmsTimeStamp ts ) argument
766 smspdu_get_receiver_address( SmsPDU pdu, SmsAddress address ) argument
906 smspdu_get_text_message( SmsPDU pdu, unsigned char* utf8, int utf8len ) argument
1361 smspdu_to_hex( SmsPDU pdu, char* hex, int hexlen ) argument
[all...]
H A Dremote_call.c224 SmsPDU pdu )
229 msg2len = 32 + smspdu_to_hex( pdu, NULL, 0 );
244 p = bufprint(p, end, "sms pdu ");
245 p += smspdu_to_hex( pdu, p, end-p );
418 SmsPDU pdu )
426 if ( remote_call_set_sms_pdu( call, pdu ) < 0 ) {
H A Dandroid_modem.c1612 smspdu_dump( SmsPDU pdu, FILE* out )
1618 if (pdu == NULL) {
1624 switch (smspdu_get_type(pdu)) {
1631 if (smspdu_get_sender_address(pdu, &address) < 0)
1636 if (smspdu_get_receiver_address(pdu, &address) < 0)
1641 len = smspdu_get_text_message( pdu, temp, sizeof(temp)-1 );
1657 SmsPDU pdu; local
1663 pdu = smspdu_create_from_hex( cmd, len );
1664 if (pdu == NULL) {
1668 if (smspdu_get_receiver_address(pdu,
[all...]
H A Dandroid_modem.h33 extern void amodem_receive_sms( AModem modem, SmsPDU pdu );
/external/blktrace/btt/
H A Dmmap.c51 void **pdu)
73 *pdu = malloc(tp->pdu_len);
74 memcpy(*pdu, t+1, tp->pdu_len);
76 *pdu = NULL;
130 int next_trace(struct blk_io_trace *t, void **pdu) argument
141 this_len = convert_to_cpu(next_t, t, pdu);
49 convert_to_cpu(struct blk_io_trace *t, struct blk_io_trace *tp, void **pdu) argument
H A Dtrace.c65 memcpy(msg, iop->pdu, iop->t.pdu_len);
81 char *slash = strchr(iop->pdu, '/');
85 process_alloc(iop->t.pid, iop->pdu);
H A Dtrace_plug.c25 __u64 *val = u_iop->pdu;
H A Dtrace_remap.c43 rp = a_iop->pdu;
H A Dunplug_hist.c52 __u64 *val = u_iop->pdu;
H A Dbt_timeline.c106 while (!done && next_trace(&iop->t, &iop->pdu)) {
H A Dglobals.h156 void *pdu; member in struct:io
257 int next_trace(struct blk_io_trace *t, void **pdu);
/external/bluetooth/bluedroid/stack/include/
H A Davrc_defs.h968 UINT8 pdu; member in struct:__anon1215
970 UINT8 opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */
977 UINT8 pdu; member in struct:__anon1216
979 UINT8 opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */
986 UINT8 pdu; member in struct:__anon1217
988 UINT8 opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */
996 UINT8 pdu; member in struct:__anon1218
998 UINT8 opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */
1006 UINT8 pdu; member in struct:__anon1219
1008 UINT8 opcode; /* Op Code (assigned by AVRC_BldCommand according to pdu) */
1016 UINT8 pdu; member in struct:__anon1220
1027 UINT8 pdu; member in struct:__anon1221
1037 UINT8 pdu; member in struct:__anon1222
1046 UINT8 pdu; member in struct:__anon1223
1056 UINT8 pdu; member in struct:__anon1224
1066 UINT8 pdu; member in struct:__anon1225
1075 UINT8 pdu; member in struct:__anon1226
1084 UINT8 pdu; member in struct:__anon1227
1093 UINT8 pdu; member in struct:__anon1228
1106 UINT8 pdu; member in struct:__anon1229
1117 UINT8 pdu; member in struct:__anon1230
1130 UINT8 pdu; member in struct:__anon1231
1139 UINT8 pdu; member in struct:__anon1232
1150 UINT8 pdu; member in struct:__anon1233
1160 UINT8 pdu; member in struct:__anon1234
1168 UINT8 pdu; member in struct:__anon1235
1176 UINT8 pdu; member in union:__anon1236
1207 UINT8 pdu; member in struct:__anon1237
1218 UINT8 pdu; member in struct:__anon1238
1228 UINT8 pdu; member in struct:__anon1239
1238 UINT8 pdu; member in struct:__anon1240
1248 UINT8 pdu; member in struct:__anon1241
1258 UINT8 pdu; member in struct:__anon1242
1268 UINT8 pdu; member in struct:__anon1243
1311 UINT8 pdu; member in struct:__anon1247
1321 UINT8 pdu; member in struct:__anon1248
1330 UINT8 pdu; member in struct:__anon1249
1343 UINT8 pdu; member in struct:__anon1250
1354 UINT8 pdu; member in struct:__anon1251
1363 UINT8 pdu; member in struct:__anon1252
1373 UINT8 pdu; member in struct:__anon1253
1383 UINT8 pdu; member in struct:__anon1254
1390 UINT8 pdu; member in union:__anon1255
[all...]
/external/bluetooth/bluedroid/stack/avrc/
H A Davrc_pars_ct.c57 BE_STREAM_TO_UINT8 (p_result->pdu, p);
60 AVRC_TRACE_DEBUG4("avrc_pars_vendor_rsp() ctype:0x%x pdu:0x%x, len:%d/0x%x", p_msg->hdr.ctype, p_result->pdu, len, len);
67 switch (p_result->pdu)
133 p_result->pdu = (UINT8)id;
H A Davrc_bld_ct.c49 p_data = p_start + 2; /* pdu + rsvd */
81 p_data = p_start + 2; /* pdu + rsvd */
107 p_data = p_start + 2; /* pdu + rsvd */
133 opcode = avrc_opcode_from_pdu(p_cmd->pdu);
134 AVRC_TRACE_API2("avrc_bld_init_cmd_buffer: pdu=%x, opcode=%x", p_cmd->pdu, opcode);
161 *p_data++ = p_cmd->pdu;
197 AVRC_TRACE_API2("AVRC_BldCommand: pdu=%x status=%x", p_cmd->cmd.pdu, p_cmd->cmd.status);
217 switch (p_cmd->pdu)
[all...]
H A Davrc_int.h78 #define AVRC_MIN_META_HDR_SIZE 4 /* pdu id(1), packet type(1), param len(2) */
79 #define AVRC_MIN_BROWSE_HDR_SIZE 3 /* pdu id(1), param len(2) */
149 extern BT_HDR * avrc_alloc_ctrl_pkt (UINT8 pdu);
151 extern UINT8 avrc_opcode_from_pdu(UINT8 pdu);
H A Davrc_pars_tg.c54 p_result->pdu = *p++;
55 AVRC_TRACE_DEBUG1("avrc_pars_vendor_cmd() pdu:0x%x", p_result->pdu);
56 if (!AVRC_IsValidAvcType (p_result->pdu, p_msg->hdr.ctype))
72 switch (p_result->pdu)
299 p_result->pdu = (UINT8)id;
H A Davrc_utils.c192 ** Description This function returns the opcode of the given pdu
197 UINT8 avrc_opcode_from_pdu(UINT8 pdu) argument
201 switch (pdu)
220 ** Description This function returns the opcode of the given pdu
H A Davrc_bld_tg.c59 p_data = p_len = p_start + 2; /* pdu + rsvd */
127 p_data = p_len = p_start + 2; /* pdu + rsvd */
179 p_data = p_len = p_start + 2; /* pdu + rsvd */
235 p_data = p_len = p_start + 2; /* pdu + rsvd */
310 p_data = p_len = p_start + 2; /* pdu + rsvd */
453 p_data = p_len = p_start + 2; /* pdu + rsvd */
541 p_data = p_len = p_start + 2; /* pdu + rsvd */
703 AVRC_TRACE_API2("avrc_bld_rejected_rsp: status=%d, pdu:x%x", p_rsp->status, p_rsp->pdu);
707 AVRC_TRACE_DEBUG1("pdu
[all...]
/external/bluetooth/bluedroid/btif/src/
H A Dbtif_rc.c187 UINT8 pdu, UINT8 status);
188 static UINT8 opcode_from_pdu(UINT8 pdu);
575 avrc_rsp.rsp.pdu = pavrc_command->pdu;
647 avrc_command.cmd.pdu, pmeta_msg->label);
654 send_reject_response(pmeta_msg->rc_handle, pmeta_msg->label, avrc_command.pdu, status);
660 if (avrc_command.cmd.pdu == AVRC_PDU_REGISTER_NOTIFICATION)
677 BTIF_TRACE_EVENT2("%s: Passing received metamsg command to app. pdu: %s",
678 __FUNCTION__, dump_rc_pdu(avrc_command.cmd.pdu));
683 btif_rc_upstreams_evt((uint16_t)avrc_command.cmd.pdu,
800 send_reject_response(UINT8 rc_handle, UINT8 label, UINT8 pdu, UINT8 status) argument
933 opcode_from_pdu(UINT8 pdu) argument
[all...]
H A Dbtif_util.c500 const char* dump_rc_pdu(UINT8 pdu) argument
502 switch(pdu)
/external/bluetooth/bluedroid/btif/include/
H A Dbtif_util.h63 const char* dump_rc_pdu(UINT8 pdu);
/external/tcpdump/
H A Dprint-snmp.c1468 struct be pdu; local
1472 if ((count = asn1_parse(np, length, &pdu)) < 0)
1474 if (pdu.type != BE_PDU) {
1483 if (asn1_print(&pdu) < 0)
1487 length = pdu.asnlen;
1488 np = (u_char *)pdu.data.raw;
1491 (pdu.id == GETBULKREQ || pdu.id == INFORMREQ ||
1492 pdu.id == V2TRAP || pdu
[all...]
/external/blktrace/
H A Dblkparse_fmt.c108 static inline int pdu_rest_is_zero(unsigned char *pdu, int len) argument
112 return !memcmp(pdu, zero, len);

Completed in 1434 milliseconds

12