/system/bt/stack/rfcomm/ |
rfc_l2cap_if.cc | 317 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, rfc_cb.rfc.rx_frame.dlci); local 318 if (p_port == nullptr || !p_port->rfc.p_mcb) { 335 p_port = port_find_dlci_port(rfc_cb.rfc.rx_frame.dlci); 336 if (p_port == nullptr) { 346 p_mcb->port_inx[rfc_cb.rfc.rx_frame.dlci], p_port->inx); 347 p_mcb->port_inx[rfc_cb.rfc.rx_frame.dlci] = p_port->inx; 348 p_port->rfc.p_mcb = p_mcb; 355 rfc_port_sm_execute(p_port, event, p_buf); 361 rfc_inc_credit(p_port, rfc_cb.rfc.rx_frame.credit) [all...] |
port_utils.cc | 64 tPORT* p_port = &rfc_cb.port.port[0]; local 70 p_port = &rfc_cb.port.port[yy]; 71 if (!p_port->in_use) { 72 memset(p_port, 0, sizeof(tPORT)); 74 p_port->in_use = true; 75 p_port->inx = yy + 1; 78 port_set_defaults(p_port); 80 p_port->rfc.port_timer = alarm_new("rfcomm_port.port_timer"); 83 p_port->dlci = dlci; 84 p_port->bd_addr = bd_addr [all...] |
rfc_port_fsm.cc | 40 static void rfc_port_sm_state_closed(tPORT* p_port, uint16_t event, 42 static void rfc_port_sm_sabme_wait_ua(tPORT* p_port, uint16_t event, 44 static void rfc_port_sm_opened(tPORT* p_port, uint16_t event, void* p_data); 45 static void rfc_port_sm_orig_wait_sec_check(tPORT* p_port, uint16_t event, 47 static void rfc_port_sm_term_wait_sec_check(tPORT* p_port, uint16_t event, 49 static void rfc_port_sm_disc_wait_ua(tPORT* p_port, uint16_t event, 52 static void rfc_port_uplink_data(tPORT* p_port, BT_HDR* p_buf); 66 void rfc_port_sm_execute(tPORT* p_port, uint16_t event, void* p_data) { 67 if (!p_port) { 72 switch (p_port->rfc.state) 548 tPORT* p_port; local 593 tPORT* p_port; local 708 tPORT* p_port; local 768 tPORT* p_port; local [all...] |
rfc_port_if.cc | 84 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); local 85 if (p_port == nullptr) { 90 rfc_port_sm_execute(p_port, RFC_EVENT_OPEN, nullptr); 108 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); local 109 if (p_port == nullptr) { 113 rfc_port_sm_execute(p_port, RFC_EVENT_ESTABLISH_RSP, &result); 132 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); local 133 if (p_port == nullptr) { 139 p_port->error = PORT_PAR_NEG_FAILED; 151 k = (p_port->credit_rx_max < RFCOMM_K_MAX) ? p_port->credit_rx_ma 200 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); local 240 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); local 268 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); local 295 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); local [all...] |
rfc_utils.cc | 253 void rfc_port_timer_start(tPORT* p_port, uint16_t timeout) { 257 alarm_set_on_mloop(p_port->rfc.port_timer, interval_ms, 258 rfcomm_port_timer_timeout, p_port); 268 void rfc_port_timer_stop(tPORT* p_port) { 271 alarm_cancel(p_port->rfc.port_timer); 303 tPORT* p_port = (tPORT*)data; local 305 rfc_port_sm_execute(p_port, RFC_EVENT_TIMEOUT, NULL); 327 tPORT* p_port = (tPORT*)p_ref_data; local 330 if (!p_port->in_use || 331 ((p_port->rfc.state != RFC_STATE_ORIG_WAIT_SEC_CHECK) & [all...] |
port_rfc.cc | 44 uint32_t port_rfc_send_tx_data(tPORT* p_port); 45 void port_rfc_closed(tPORT* p_port, uint8_t res); 46 void port_get_credits(tPORT* p_port, uint8_t k); 58 int port_open_continue(tPORT* p_port) { 61 RFCOMM_TRACE_EVENT("port_open_continue, p_port:%p", p_port); 64 p_mcb = rfc_alloc_multiplexer_channel(p_port->bd_addr, true); 67 port_release_port(p_port); 71 p_port->rfc.p_mcb = p_mcb; 73 p_mcb->port_inx[p_port->dlci] = p_port->inx 191 tPORT* p_port; local 246 tPORT* p_port; local 275 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); local 365 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); local 425 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); local 473 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); local 522 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); local 551 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); local 585 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); local 638 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); local 670 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); local 698 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); local 716 tPORT* p_port; local 739 tPORT* p_port; local 761 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, dlci); local 852 tPORT* p_port = (tPORT*)NULL; local [all...] |
port_api.cc | 142 tPORT* p_port; local 144 p_port = port_find_port(dlci, bd_addr); 145 if (p_port != nullptr) { 147 if (!p_port->is_server) { 149 << static_cast<int>(p_port->state) 150 << ", RFC_state=" << static_cast<int>(p_port->rfc.state) 152 << (p_port->rfc.p_mcb ? p_port->rfc.p_mcb->state : 0) 156 << ", p_mcb=" << p_mcb << ", port=" << +p_port->inx; 157 *p_handle = p_port->inx 256 tPORT* p_port; local 289 tPORT* p_port; local 333 tPORT* p_port; local 363 tPORT* p_port; local 389 tPORT* p_port; local 424 tPORT* p_port; local 456 tPORT* p_port; local 491 tPORT* p_port; local 531 tPORT* p_port; local 580 tPORT* p_port; local 624 tPORT* p_port; local 665 tPORT* p_port; local 700 tPORT* p_port; local 783 tPORT* p_port; local 850 tPORT* p_port; local 917 tPORT* p_port; local 955 tPORT* p_port; local 991 tPORT* p_port; local 1025 tPORT* p_port; local 1070 tPORT* p_port; local 1142 tPORT* p_port; local 1237 tPORT* p_port; local 1345 tPORT* p_port; local 1404 tPORT* p_port; local 1562 tPORT* p_port; local 1670 tPORT* p_port; local [all...] |
/system/bt/stack/test/rfcomm/ |
stack_rfcomm_test.cc | 208 void* p_port = nullptr; local 215 .WillOnce(DoAll(SaveArg<5>(&security_callback), SaveArg<6>(&p_port), 230 security_callback(&peer_addr, BT_TRANSPORT_BR_EDR, p_port, BTM_SUCCESS); 352 void* p_port = nullptr; local 357 .WillOnce(DoAll(SaveArg<5>(&security_callback), SaveArg<6>(&p_port), 368 security_callback(&peer_addr, BT_TRANSPORT_BR_EDR, p_port, BTM_SUCCESS); 839 void* p_port = nullptr; local [all...] |
/external/ipsec-tools/src/racoon/ |
racoonctl.c | 929 char *p_name = NULL, *p_port = NULL; local 939 if (get_comindex(*av, &p_name, &p_port, &p_prefs) == -1) 941 src = get_sockaddr(family, p_name, p_port); 946 if (p_port) { 947 racoon_free(p_port); 948 p_port = NULL; 954 if (get_comindex(*av, &p_name, &p_port, &p_prefd) == -1) 956 dst = get_sockaddr(family, p_name, p_port); 961 if (p_port) { 962 racoon_free(p_port); [all...] |
/prebuilts/tools/common/m2/repository/xalan/serializer/2.7.1/ |
serializer-2.7.1.jar | |