/system/bt/stack/include/ |
D | rfcdefs.h | 69 #define RFCOMM_PARSE_CTRL_FIELD(ea, cr, dlci, p_data) \ argument 72 cr = (*p_data & RFCOMM_CR_MASK) >> RFCOMM_SHIFT_CR; \ 77 #define RFCOMM_FORMAT_CTRL_FIELD(p_data, ea, cr, dlci) \ argument 78 *p_data++ = ea | cr | (dlci << RFCOMM_SHIFT_DLCI) 100 #define RFCOMM_FRAME_IS_CMD(initiator, cr) \ argument 101 (( (initiator) && !(cr)) || (!(initiator) && (cr))) 103 #define RFCOMM_FRAME_IS_RSP(initiator, cr) \ argument 104 (( (initiator) && (cr)) || (!(initiator) && !(cr)))
|
D | avct_api.h | 108 typedef void (tAVCT_MSG_CBACK)(UINT8 handle, UINT8 label, UINT8 cr, 272 extern UINT16 AVCT_MsgReq(UINT8 handle, UINT8 label, UINT8 cr, BT_HDR *p_msg);
|
/system/core/libcutils/ |
D | sockets_unix.cpp | 33 ucred cr; in socket_peer_is_trusted() local 34 socklen_t len = sizeof(cr); in socket_peer_is_trusted() 35 int n = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &cr, &len); in socket_peer_is_trusted() 42 if ((cr.uid != AID_ROOT) && (cr.uid != AID_SHELL)) { in socket_peer_is_trusted() 43 ALOGE("untrusted userid on other end of socket: userid %d\n", cr.uid); in socket_peer_is_trusted()
|
/system/bt/stack/rfcomm/ |
D | rfc_ts_frames.c | 44 UINT8 cr = RFCOMM_CR(p_mcb->is_initiator, TRUE); in rfc_send_sabme() local 51 *p_data++ = RFCOMM_EA | cr | (dlci << RFCOMM_SHIFT_DLCI); in rfc_send_sabme() 55 *p_data = RFCOMM_SABME_FCS ((UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET, cr, dlci); in rfc_send_sabme() 73 UINT8 cr = RFCOMM_CR(p_mcb->is_initiator, FALSE); in rfc_send_ua() local 80 *p_data++ = RFCOMM_EA | cr | (dlci << RFCOMM_SHIFT_DLCI); in rfc_send_ua() 84 *p_data = RFCOMM_UA_FCS ((UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET, cr, dlci); in rfc_send_ua() 102 UINT8 cr = RFCOMM_CR(p_mcb->is_initiator, FALSE); in rfc_send_dm() local 109 *p_data++ = RFCOMM_EA | cr | (dlci << RFCOMM_SHIFT_DLCI); in rfc_send_dm() 113 *p_data = RFCOMM_DM_FCS ((UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET, cr, dlci); in rfc_send_dm() 131 UINT8 cr = RFCOMM_CR(p_mcb->is_initiator, TRUE); in rfc_send_disc() local [all …]
|
D | rfc_int.h | 82 UINT8 cr; member 115 UINT8 cr; member 259 #define RFCOMM_SABME_FCS(p_data, cr, dlci) rfc_sabme_fcs[cr][dlci] argument 260 #define RFCOMM_UA_FCS(p_data, cr, dlci) rfc_ua_fcs[cr][dlci] argument 261 #define RFCOMM_DM_FCS(p_data, cr, dlci) rfc_dm_fcs[cr][dlci] argument 262 #define RFCOMM_DISC_FCS(p_data, cr, dlci) rfc_disc_fcs[cr][dlci] argument 269 #define RFCOMM_SABME_FCS(p_data, cr, dlci) rfc_calc_fcs(3, p_data) argument 270 #define RFCOMM_UA_FCS(p_data, cr, dlci) rfc_calc_fcs(3, p_data) argument 271 #define RFCOMM_DM_FCS(p_data, cr, dlci) rfc_calc_fcs(3, p_data) argument 272 #define RFCOMM_DISC_FCS(p_data, cr, dlci) rfc_calc_fcs(3, p_data) argument
|
D | rfc_l2cap_if.c | 351 if (( p_mcb->is_initiator && !rfc_cb.rfc.rx_frame.cr) in RFCOMM_BufDataInd() 352 || (!p_mcb->is_initiator && rfc_cb.rfc.rx_frame.cr)) in RFCOMM_BufDataInd()
|
/system/core/init/ |
D | property_service.cpp | 73 static int check_mac_perms(const char *name, char *sctx, struct ucred *cr) in check_mac_perms() argument 89 audit_data.cr = cr; in check_mac_perms() 99 static int check_control_mac_perms(const char *name, char *sctx, struct ucred *cr) in check_control_mac_perms() argument 113 return check_mac_perms(ctl_name, sctx, cr); in check_control_mac_perms() 237 struct ucred cr; in handle_property_set_fd() local 240 socklen_t cr_size = sizeof(cr); in handle_property_set_fd() 251 if (getsockopt(s, SOL_SOCKET, SO_PEERCRED, &cr, &cr_size) < 0) { in handle_property_set_fd() 262 ERROR("sys_prop: timeout waiting for uid=%d to send property message.\n", cr.uid); in handle_property_set_fd() 266 …ERROR("sys_prop: error waiting for uid=%d to send property message: %s\n", cr.uid, strerror(errno)… in handle_property_set_fd() 296 if (check_control_mac_perms(msg.value, source_ctx, &cr)) { in handle_property_set_fd() [all …]
|
D | property_service.h | 26 ucred *cr; member
|
D | init.cpp | 540 if (!d || !d->name || !d->cr) { in audit_callback() 546 d->cr->pid, d->cr->uid, d->cr->gid); in audit_callback()
|
/system/bt/stack/avrc/ |
D | avrc_api.c | 188 UINT8 cr = AVCT_RSP; in avrc_send_continue_frag() local 220 AVCT_MsgReq( handle, label, cr, p_pkt); in avrc_send_continue_frag() 343 static UINT8 avrc_proc_far_msg(UINT8 handle, UINT8 label, UINT8 cr, BT_HDR **pp_pkt, in avrc_proc_far_msg() argument 376 if (pkt_type != AVRC_PKT_SINGLE && cr == AVCT_RSP) in avrc_proc_far_msg() 469 if (cr == AVCT_CMD) in avrc_proc_far_msg() 485 else if (cr == AVCT_RSP && req_continue == TRUE) in avrc_proc_far_msg() 499 else if (cr == AVCT_RSP && req_continue == FALSE && buf_overflow == TRUE) in avrc_proc_far_msg() 526 static void avrc_msg_cback(UINT8 handle, UINT8 label, UINT8 cr, in avrc_msg_cback() argument 544 if (cr == AVCT_CMD && in avrc_msg_cback() 555 if (cr == AVCT_REJ) in avrc_msg_cback() [all …]
|
/system/core/debuggerd/ |
D | debuggerd.cpp | 197 ucred cr; in read_request() local 198 socklen_t len = sizeof(cr); in read_request() 199 int status = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &cr, &len); in read_request() 214 ALOGE("timed out reading tid (from pid=%d uid=%d)\n", cr.pid, cr.uid); in read_request() 222 ALOGE("read failure? %s (pid=%d uid=%d)\n", strerror(errno), cr.pid, cr.uid); in read_request() 226 ALOGE("invalid crash request of size %d (from pid=%d uid=%d)\n", status, cr.pid, cr.uid); in read_request() 232 out_request->pid = cr.pid; in read_request() 233 out_request->uid = cr.uid; in read_request() 234 out_request->gid = cr.gid; in read_request() 246 …} else if (cr.uid == 0 || (cr.uid == AID_SYSTEM && msg.action == DEBUGGER_ACTION_DUMP_BACKTRACE)) { in read_request()
|
/system/bt/stack/avct/ |
D | avct_api.c | 413 UINT16 AVCT_MsgReq(UINT8 handle, UINT8 label, UINT8 cr, BT_HDR *p_msg) in AVCT_MsgReq() argument 446 ul_msg.cr = cr; in AVCT_MsgReq()
|
D | avct_int.h | 118 UINT8 cr; member
|
D | avct_lcb_act.c | 592 AVCT_BLD_HDR(p, p_data->ul_msg.label, pkt_type, p_data->ul_msg.cr); in avct_lcb_send_msg()
|
/system/core/include/system/ |
D | graphics.h | 471 void *cr; member
|
/system/bt/bta/jv/ |
D | bta_jv_act.c | 951 tBTA_JV_API_CREATE_RECORD *cr = &(p_data->create_record); in bta_jv_create_record() local 956 bta_jv_cb.p_dm_cback(BTA_JV_CREATE_RECORD_EVT, (tBTA_JV *)&evt_data, cr->user_data); in bta_jv_create_record()
|
/system/connectivity/shill/mobile_operator_db/ |
D | serviceproviders.prototxt | 2964 country : "cr" 2984 country : "cr"
|