Home
last modified time | relevance | path

Searched refs:pdu (Results 1 – 23 of 23) sorted by relevance

/external/qemu/telephony/
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 );
88 extern int smspdu_get_sender_address( SmsPDU pdu, SmsAddress address );
91 extern int smspdu_get_sc_timestamp( SmsPDU pdu, SmsTimeStamp timestamp );
94 extern int smspdu_get_receiver_address( SmsPDU pdu, SmsAddress address );
96 extern int smspdu_get_ref ( SmsPDU pdu );
97 extern int smspdu_get_max_index( SmsPDU pdu );
98 extern int smspdu_get_cur_index( SmsPDU pdu );
102 extern int smspdu_get_text_message( SmsPDU pdu, unsigned char* utf8, int utf8len );
Dsms.c701 smspdu_free( SmsPDU pdu ) in smspdu_free() argument
703 if (pdu) { in smspdu_free()
704 free( pdu->base ); in smspdu_free()
705 pdu->base = NULL; in smspdu_free()
706 pdu->end = NULL; in smspdu_free()
707 pdu->tpdu = NULL; in smspdu_free()
712 smspdu_get_type( SmsPDU pdu ) in smspdu_get_type() argument
714 cbytes_t data = pdu->tpdu; in smspdu_get_type()
715 cbytes_t end = pdu->end; in smspdu_get_type()
727 smspdu_get_sender_address( SmsPDU pdu, SmsAddress address ) in smspdu_get_sender_address() argument
[all …]
Dremote_call.c224 SmsPDU pdu ) in remote_call_set_sms_pdu() argument
229 msg2len = 32 + smspdu_to_hex( pdu, NULL, 0 ); in remote_call_set_sms_pdu()
245 p += smspdu_to_hex( pdu, p, end-p ); in remote_call_set_sms_pdu()
418 SmsPDU pdu ) in remote_call_sms() argument
426 if ( remote_call_set_sms_pdu( call, pdu ) < 0 ) { in remote_call_sms()
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; in handleSendSMSText() local
1663 pdu = smspdu_create_from_hex( cmd, len ); in handleSendSMSText()
1664 if (pdu == NULL) { in handleSendSMSText()
1668 if (smspdu_get_receiver_address(pdu, &address) < 0) { in handleSendSMSText()
[all …]
Dremote_call.h48 extern int remote_call_sms( const char* number, int from_port, SmsPDU pdu );
Dandroid_modem.h33 extern void amodem_receive_sms( AModem modem, SmsPDU pdu );
/external/bluetooth/bluedroid/stack/include/
Davrc_defs.h968 UINT8 pdu; member
977 UINT8 pdu; member
986 UINT8 pdu; member
996 UINT8 pdu; member
1006 UINT8 pdu; member
1016 UINT8 pdu; member
1027 UINT8 pdu; member
1037 UINT8 pdu; member
1046 UINT8 pdu; member
1056 UINT8 pdu; member
[all …]
/external/blktrace/btt/
Dmmap.c51 void **pdu) in convert_to_cpu() argument
73 *pdu = malloc(tp->pdu_len); in convert_to_cpu()
74 memcpy(*pdu, t+1, tp->pdu_len); in convert_to_cpu()
76 *pdu = NULL; in convert_to_cpu()
130 int next_trace(struct blk_io_trace *t, void **pdu) in next_trace() argument
141 this_len = convert_to_cpu(next_t, t, pdu); in next_trace()
Dtrace.c65 memcpy(msg, iop->pdu, iop->t.pdu_len); in trace_message()
81 char *slash = strchr(iop->pdu, '/'); in add_trace()
85 process_alloc(iop->t.pid, iop->pdu); in add_trace()
Dtrace_plug.c25 __u64 *val = u_iop->pdu; in get_nio_up()
Dtrace_remap.c43 rp = a_iop->pdu; in trace_remap()
Dunplug_hist.c52 __u64 *val = u_iop->pdu; in unplug_hist_add()
Dbt_timeline.c106 while (!done && next_trace(&iop->t, &iop->pdu)) { in process()
Dglobals.h156 void *pdu; member
257 int next_trace(struct blk_io_trace *t, void **pdu);
Dinlines.h176 if (iop->pdu) in io_release()
177 free(iop->pdu); in io_release()
/external/bluetooth/bluedroid/stack/avrc/
Davrc_int.h128 extern BT_HDR * avrc_alloc_ctrl_pkt (UINT8 pdu);
130 extern UINT8 avrc_opcode_from_pdu(UINT8 pdu);
/external/tcpdump/
Dprint-snmp.c1468 struct be pdu; in pdu_print() local
1472 if ((count = asn1_parse(np, length, &pdu)) < 0) in pdu_print()
1474 if (pdu.type != BE_PDU) { in pdu_print()
1483 if (asn1_print(&pdu) < 0) in pdu_print()
1487 length = pdu.asnlen; in pdu_print()
1488 np = (u_char *)pdu.data.raw; in pdu_print()
1491 (pdu.id == GETBULKREQ || pdu.id == INFORMREQ || in pdu_print()
1492 pdu.id == V2TRAP || pdu.id == REPORT)) { in pdu_print()
1497 if (version == SNMP_VERSION_2 && pdu.id == TRAP) { in pdu_print()
1502 switch (pdu.id) { in pdu_print()
[all …]
/external/tcpdump/tests/
Dmpls-ldp-hello.out2 LDP, Label-Space-ID: 10.1.0.2:0, pdu-length: 38
Dmpls-ldp-hello.new2 LDP, Label-Space-ID: 10.1.0.2:0, pdu-length: 38
/external/blktrace/
Dblkparse_fmt.c108 static inline int pdu_rest_is_zero(unsigned char *pdu, int len) in pdu_rest_is_zero() argument
112 return !memcmp(pdu, zero, len); in pdu_rest_is_zero()
/external/bluetooth/bluedroid/bta/av/
Dbta_av_act.c740 UINT8 u8, pdu, *p; in bta_av_proc_meta_cmd() local
744 pdu = *(p_vendor->p_vendor_data); in bta_av_proc_meta_cmd()
745 p_rc_rsp->pdu = pdu; in bta_av_proc_meta_cmd()
758 switch (pdu) in bta_av_proc_meta_cmd()
/external/qemu/android/
Dconsole.c1638 SmsPDU pdu; in do_sms_sendpdu() local
1651 pdu = smspdu_create_from_hex( args, strlen(args) ); in do_sms_sendpdu()
1652 if (pdu == NULL) { in do_sms_sendpdu()
1657 amodem_receive_sms( android_modem, pdu ); in do_sms_sendpdu()
1658 smspdu_free( pdu ); in do_sms_sendpdu()
/external/blktrace/doc/
Dblktrace.tex796 u32 pdu)]
798 32-bit entity (the \emph{pdu} parameter). The \emph{what} parameter