/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)) 92 #define RFCOMM_FRAME_IS_CMD(initiator, cr) \ argument 93 (((initiator) && !(cr)) || (!(initiator) && (cr))) 95 #define RFCOMM_FRAME_IS_RSP(initiator, cr) \ argument 96 (((initiator) && (cr)) || (!(initiator) && !(cr)))
|
D | avct_api.h | 109 typedef void(tAVCT_MSG_CBACK)(uint8_t handle, uint8_t label, uint8_t cr, 273 extern uint16_t AVCT_MsgReq(uint8_t handle, uint8_t label, uint8_t cr,
|
/system/extras/bootctl/ |
D | bootctl.cpp | 95 return [=](CommandResult cr){ in generate_callback() argument 96 *crp = cr; in generate_callback() 100 static int handle_return(const Return<void> &ret, CommandResult cr, const char* errStr) { in handle_return() argument 104 } else if (!cr.success) { in handle_return() 105 fprintf(stderr, errStr, cr.errMsg.c_str()); in handle_return() 113 CommandResult cr; in do_mark_boot_successful() local 114 Return<void> ret = module->markBootSuccessful(generate_callback(&cr)); in do_mark_boot_successful() 115 return handle_return(ret, cr, "Error marking as having booted successfully: %s\n"); in do_mark_boot_successful() 121 CommandResult cr; in do_set_active_boot_slot() local 122 Return<void> ret = module->setActiveBootSlot(slot_number, generate_callback(&cr)); in do_set_active_boot_slot() [all …]
|
/system/bt/stack/rfcomm/ |
D | rfc_ts_frames.cc | 44 uint8_t 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() 56 RFCOMM_SABME_FCS((uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET, cr, dlci); in rfc_send_sabme() 72 uint8_t cr = RFCOMM_CR(p_mcb->is_initiator, false); in rfc_send_ua() local 79 *p_data++ = RFCOMM_EA | cr | (dlci << RFCOMM_SHIFT_DLCI); in rfc_send_ua() 83 *p_data = RFCOMM_UA_FCS((uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET, cr, dlci); in rfc_send_ua() 99 uint8_t cr = RFCOMM_CR(p_mcb->is_initiator, false); in rfc_send_dm() local 106 *p_data++ = RFCOMM_EA | cr | (dlci << RFCOMM_SHIFT_DLCI); in rfc_send_dm() 110 *p_data = RFCOMM_DM_FCS((uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET, cr, dlci); in rfc_send_dm() 126 uint8_t cr = RFCOMM_CR(p_mcb->is_initiator, true); in rfc_send_disc() local [all …]
|
D | rfc_int.h | 90 uint8_t cr; member 118 uint8_t cr; member 258 #define RFCOMM_SABME_FCS(p_data, cr, dlci) rfc_sabme_fcs[cr][dlci] argument 259 #define RFCOMM_UA_FCS(p_data, cr, dlci) rfc_ua_fcs[cr][dlci] argument 260 #define RFCOMM_DM_FCS(p_data, cr, dlci) rfc_dm_fcs[cr][dlci] argument 261 #define RFCOMM_DISC_FCS(p_data, cr, dlci) rfc_disc_fcs[cr][dlci] argument 268 #define RFCOMM_SABME_FCS(p_data, cr, dlci) rfc_calc_fcs(3, p_data) argument 269 #define RFCOMM_UA_FCS(p_data, cr, dlci) rfc_calc_fcs(3, p_data) argument 270 #define RFCOMM_DM_FCS(p_data, cr, dlci) rfc_calc_fcs(3, p_data) argument 271 #define RFCOMM_DISC_FCS(p_data, cr, dlci) rfc_calc_fcs(3, p_data) argument
|
D | rfc_l2cap_if.cc | 327 if ((p_mcb->is_initiator && !rfc_cb.rfc.rx_frame.cr) || in RFCOMM_BufDataInd() 328 (!p_mcb->is_initiator && rfc_cb.rfc.rx_frame.cr)) { in RFCOMM_BufDataInd()
|
/system/core/init/ |
D | property_service.cpp | 108 const ucred* cr; member 115 if (!d || !d->name || !d->cr) { in PropertyAuditCallback() 120 snprintf(buf, len, "property=%s pid=%d uid=%d gid=%d", d->name, d->cr->pid, d->cr->uid, in PropertyAuditCallback() 121 d->cr->gid); in PropertyAuditCallback() 143 ucred cr = {.pid = 0, .uid = 0, .gid = 0}; in CanReadProperty() local 144 audit_data.cr = &cr; in CanReadProperty() 151 const char* source_context, const ucred& cr) { in CheckMacPerms() argument 159 audit_data.cr = &cr; in CheckMacPerms() 407 const std::string& source_context, const ucred& cr) { in CheckControlPropertyPerms() argument 421 … if (CheckMacPerms(control_string_legacy, target_context_legacy, source_context.c_str(), cr)) { in CheckControlPropertyPerms() [all …]
|
/system/bt/stack/avrc/ |
D | avrc_api.cc | 309 uint8_t cr = AVCT_RSP; in avrc_send_continue_frag() local 342 return AVCT_MsgReq(handle, label, cr, p_pkt); in avrc_send_continue_frag() 453 static uint8_t avrc_proc_far_msg(uint8_t handle, uint8_t label, uint8_t cr, in avrc_proc_far_msg() argument 485 if (pkt_type != AVRC_PKT_SINGLE && cr == AVCT_RSP) { in avrc_proc_far_msg() 574 if (cr == AVCT_CMD) { in avrc_proc_far_msg() 585 } else if (cr == AVCT_RSP) { in avrc_proc_far_msg() 621 static void avrc_msg_cback(uint8_t handle, uint8_t label, uint8_t cr, in avrc_msg_cback() argument 636 if (cr == AVCT_CMD && (p_pkt->layer_specific & AVCT_DATA_CTRL && in avrc_msg_cback() 644 if (cr == AVCT_REJ) { in avrc_msg_cback() 650 } else if (cr == AVCT_RSP) { in avrc_msg_cback() [all …]
|
/system/core/adb/libs/adbconnection/ |
D | adbconnection_client.cpp | 43 ucred cr; in SocketPeerIsTrusted() local 44 socklen_t cr_length = sizeof(cr); in SocketPeerIsTrusted() 45 if (getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &cr, &cr_length) != 0) { in SocketPeerIsTrusted() 51 if (cr.uid != 0 && cr.uid != shell->pw_uid) { in SocketPeerIsTrusted() 52 LOG(ERROR) << "untrusted uid " << cr.uid << " on other end of socket"; in SocketPeerIsTrusted()
|
/system/bt/stack/test/rfcomm/ |
D | stack_rfcomm_test_utils.h | 64 uint8_t GetAddressField(bool ea, bool cr, uint8_t dlci); 117 uint8_t command_type, bool cr, const std::vector<uint8_t>& data); 210 std::vector<uint8_t> CreateQuickDataPacket(uint8_t dlci, bool cr, 226 std::vector<uint8_t> CreateQuickDataPacket(uint8_t dlci, bool cr,
|
D | stack_rfcomm_test_utils.cc | 35 uint8_t GetAddressField(bool ea, bool cr, uint8_t dlci) { in GetAddressField() argument 45 address.set(1, cr); in GetAddressField() 97 uint8_t command_type, bool cr, const std::vector<uint8_t>& data) { in CreateMultiplexerControlFrame() argument 102 header.set(1, cr); in CreateMultiplexerControlFrame() 200 std::vector<uint8_t> CreateQuickDataPacket(uint8_t dlci, bool cr, in CreateQuickDataPacket() argument 204 uint8_t address_field = GetAddressField(true, cr, dlci); in CreateQuickDataPacket() 214 std::vector<uint8_t> CreateQuickDataPacket(uint8_t dlci, bool cr, in CreateQuickDataPacket() argument 219 return CreateQuickDataPacket(dlci, cr, l2cap_lcid, acl_handle, credits, data); in CreateQuickDataPacket()
|
D | stack_rfcomm_test.cc | 411 bool cr, const std::string& message, in SendAndVerifyOutgoingTransmission() argument 416 CreateQuickDataPacket(GetDlci(is_initiator, scn), cr, lcid, acl_handle, in SendAndVerifyOutgoingTransmission() 429 bool cr, const std::string& message, in ReceiveAndVerifyIncomingTransmission() argument 435 CreateQuickDataPacket(GetDlci(is_initiator, scn), cr, lcid, acl_handle, in ReceiveAndVerifyIncomingTransmission()
|
/system/bt/stack/avct/ |
D | avct_api.cc | 396 uint16_t AVCT_MsgReq(uint8_t handle, uint8_t label, uint8_t cr, BT_HDR* p_msg) { in AVCT_MsgReq() argument 426 ul_msg.cr = cr; in AVCT_MsgReq()
|
D | avct_bcb_act.cc | 202 ul_msg.cr = (uint8_t)((p_bcb->p_tx_msg->layer_specific & 0xFF00) >> 8); in avct_bcb_open_ind() 423 (p_data->ul_msg.cr << 8) + p_data->ul_msg.label; in avct_bcb_discard_msg() 472 AVCT_BUILD_HDR(p, p_data->ul_msg.label, pkt_type, p_data->ul_msg.cr); in avct_bcb_send_msg()
|
D | avct_int.h | 119 uint8_t cr; member
|
D | avct_lcb_act.cc | 528 AVCT_BUILD_HDR(p, p_data->ul_msg.label, pkt_type, p_data->ul_msg.cr); in avct_lcb_send_msg()
|
/system/core/debuggerd/tombstoned/ |
D | tombstoned.cpp | 312 ucred cr = {}; in crash_request_cb() local 313 socklen_t len = sizeof(cr); in crash_request_cb() 314 int ret = getsockopt(sockfd, SOL_SOCKET, SO_PEERCRED, &cr, &len); in crash_request_cb() 320 crash->crash_pid = cr.pid; in crash_request_cb()
|
/system/extras/simpleperf/ |
D | cmd_dumprecord.cpp | 351 void DumpRecordCommand::ProcessCallChainRecord(const CallChainRecord& cr) { in ProcessCallChainRecord() argument 353 for (size_t i = 0; i < cr.ip_nr; ++i) { in ProcessCallChainRecord() 354 SymbolInfo s = GetSymbolInfo(cr.pid, cr.tid, cr.ips[i], false); in ProcessCallChainRecord()
|
/system/core/libsystem/include/system/ |
D | graphics.h | 85 void *cr; member
|
/system/vold/ |
D | Checkpoint.cpp | 168 CommandResult cr; in cp_commitChanges() local 169 module->markBootSuccessful([&cr](CommandResult result) { cr = result; }); in cp_commitChanges() 170 if (!cr.success) in cp_commitChanges() 171 return error(EINVAL, "Error marking booted successfully: " + std::string(cr.errMsg)); in cp_commitChanges()
|
/system/timezone/input_data/android/ |
D | countryzones.txt | 1096 isoCode:"cr"
|