/system/core/liblog/ |
D | config_write.cpp | 28 struct android_log_transport_write* transport) { in __android_log_add_transport() argument 36 if (!transport->available || ((*transport->available)(static_cast<log_id_t>(i)) >= 0)) { in __android_log_add_transport() 37 list_add_tail(list, &transport->node); in __android_log_add_transport() 46 (!transport->available || ((*transport->available)(static_cast<log_id_t>(i)) >= 0))) { in __android_log_add_transport() 47 list_add_tail(list, &transport->node); in __android_log_add_transport() 93 struct android_log_transport_write* transport; in __android_log_config_write_close() local 96 write_transport_for_each_safe(transport, n, &__android_log_transport_write) { in __android_log_config_write_close() 97 transport->logMask = 0; in __android_log_config_write_close() 98 list_remove(&transport->node); in __android_log_config_write_close() 100 write_transport_for_each_safe(transport, n, &__android_log_persist_write) { in __android_log_config_write_close() [all …]
|
D | config_read.cpp | 28 struct android_log_transport_read* transport) { in __android_log_add_transport() argument 36 if (!transport->available || ((*transport->available)(static_cast<log_id_t>(i)) >= 0)) { in __android_log_add_transport() 37 list_add_tail(list, &transport->node); in __android_log_add_transport() 46 (!transport->available || ((*transport->available)(static_cast<log_id_t>(i)) >= 0))) { in __android_log_add_transport() 47 list_add_tail(list, &transport->node); in __android_log_add_transport() 68 struct android_log_transport_read* transport; in __android_log_config_read_close() local 71 read_transport_for_each_safe(transport, n, &__android_log_transport_read) { in __android_log_config_read_close() 72 list_remove(&transport->node); in __android_log_config_read_close() 74 read_transport_for_each_safe(transport, n, &__android_log_persist_read) { in __android_log_config_read_close() 75 list_remove(&transport->node); in __android_log_config_read_close()
|
D | logger_read.cpp | 58 struct android_log_transport_read* transport; in init_transport_context() local 69 if (!list_empty(&logger_list->transport)) { in init_transport_context() 83 read_transport_for_each(transport, node) { in init_transport_context() 94 if (transport->read && (!transport->available || (transport->available(logId) >= 0))) { in init_transport_context() 106 transp->transport = transport; in init_transport_context() 109 list_add_tail(&logger_list->transport, &transp->node); in init_transport_context() 111 if (list_empty(&logger_list->transport)) { in init_transport_context() 132 if ((transp->logMask & (1 << logger_internal->logId)) && transp->transport && \ 133 transp->transport->func) { \ 134 ssize_t retval = (transp->transport->func)(logger_internal, transp, ##args); \ [all …]
|
D | logger_write.cpp | 132 struct android_log_transport_write* transport; in __android_log_close() local 151 write_transport_for_each(transport, &__android_log_persist_write) { in __android_log_close() 152 if (transport->close) { in __android_log_close() 153 (*transport->close)(); in __android_log_close() 157 write_transport_for_each(transport, &__android_log_transport_write) { in __android_log_close() 158 if (transport->close) { in __android_log_close() 159 (*transport->close)(); in __android_log_close() 190 struct android_log_transport_write* transport; in __write_to_log_initialize() local 195 write_transport_for_each_safe(transport, n, &__android_log_transport_write) { in __write_to_log_initialize() 196 __android_log_cache_available(transport); in __write_to_log_initialize() [all …]
|
D | logger.h | 101 struct listnode transport; member 120 struct android_log_transport_read* transport; member 128 for ((transp) = node_to_item((logger_list)->transport.next, \ 130 ((transp) != node_to_item(&(logger_list)->transport, \
|
/system/libvintf/include/vintf/ |
D | TransportArch.h | 28 Transport transport = Transport::EMPTY; member 32 TransportArch(Transport t, Arch a) : transport(t), arch(a) {} in TransportArch() 35 return transport == other.transport && arch == other.arch; 38 if (transport < other.transport) return true; 39 if (transport > other.transport) return false;
|
/system/core/adb/ |
D | adb_listeners.cpp | 50 atransport* transport = nullptr; member in alistener 65 if (transport) { in ~alistener() 66 transport->RemoveDisconnect(&disconnect); in ~alistener() 104 s->transport = listener->transport; in listener_event_func() 116 (*iter)->transport = nullptr; in listener_disconnect() 136 !l->transport->serial.empty() ? l->transport->serial.c_str() : "(reverse)", in format_listeners() 142 InstallStatus remove_listener(const char* local_name, atransport* transport) in remove_listener() argument 176 atransport* transport, int no_rebind, int* resolved_tcp_port, in install_listener() argument 194 if (l->transport != transport) { in install_listener() 195 l->transport->RemoveDisconnect(&l->disconnect); in install_listener() [all …]
|
D | transport.cpp | 57 static void remove_transport(atransport* transport); 58 static void transport_unref(atransport* transport); 93 void TrackTransport(atransport* transport); 104 atransport* transport; member 110 return reinterpret_cast<uintptr_t>(transport) < in operator <() 111 reinterpret_cast<uintptr_t>(rhs.transport); in operator <() 150 remove_transport(attempt.transport); in Stop() 154 void ReconnectHandler::TrackTransport(atransport* transport) { in TrackTransport() argument 162 ReconnectAttempt{transport, reconnect_time, ReconnectHandler::kMaxAttempts}); in TrackTransport() 194 if (it->transport->kicked()) { in Run() [all …]
|
D | adb_listeners.h | 36 atransport* transport, int no_rebind, int* resolved_tcp_port, 41 InstallStatus remove_listener(const char* local_name, atransport* transport);
|
D | sockets.cpp | 106 if (s->transport == t || (s->peer && s->peer->transport == t)) { in close_all_sockets() 402 asocket* create_local_service_socket(std::string_view name, atransport* transport) { in create_local_service_socket() argument 408 unique_fd fd = service_to_fd(name, transport); in create_local_service_socket() 445 send_packet(p, s->transport); in remote_socket_enqueue() 455 send_packet(p, s->transport); in remote_socket_ready() 467 send_packet(p, s->transport); in remote_socket_shutdown() 496 s->transport = t; in create_remote_socket() 519 send_packet(p, s->transport); in connect_to_remote() 841 if (s->transport == nullptr) { in smart_socket_enqueue() 843 s->transport = acquire_one_transport(kTransportAny, nullptr, 0, nullptr, &error_msg); in smart_socket_enqueue() [all …]
|
/system/core/fastboot/fuzzy_fastboot/ |
D | fixtures.cpp | 119 for (int i = 0; i < MAX_USB_TRIES && !transport; i++) { in SetUp() 122 transport = std::unique_ptr<UsbTransportSniffer>( in SetUp() 127 ASSERT_TRUE(transport); // no nullptr in SetUp() 134 fb = std::unique_ptr<FastBootDriver>(new FastBootDriver(transport.get(), {}, true)); in SetUp() 148 if (transport) { in TearDown() 149 transport.reset(); in TearDown() 157 if (!transport) return; in TearDownSerial() 159 transport->ProcessSerial(); in TearDownSerial() 163 printf("%s", transport->CreateTrace().c_str()); in TearDownSerial() 172 transport.reset(); in ReconnectFastbootDevice() [all …]
|
/system/bt/stack/l2cap/ |
D | l2c_link.cc | 279 UNUSED_ATTR tBT_TRANSPORT transport, void* p_ref_data, in l2c_link_sec_comp() argument 281 l2c_link_sec_comp2(*p_bda, transport, p_ref_data, status); in l2c_link_sec_comp() 285 UNUSED_ATTR tBT_TRANSPORT transport, void* p_ref_data, in l2c_link_sec_comp2() argument 302 p_lcb = l2cu_find_lcb_by_bd_addr(p_bda, transport); in l2c_link_sec_comp2() 352 tBT_TRANSPORT transport = BT_TRANSPORT_BR_EDR; in l2c_link_hci_disc_comp() local 372 if (p_lcb->transport == BT_TRANSPORT_LE) in l2c_link_hci_disc_comp() 391 if (p_lcb->transport == BT_TRANSPORT_BR_EDR) in l2c_link_hci_disc_comp() 410 transport = p_lcb->transport; in l2c_link_hci_disc_comp() 413 if (p_lcb->transport == BT_TRANSPORT_LE) { in l2c_link_hci_disc_comp() 414 btm_acl_removed(p_lcb->remote_bd_addr, p_lcb->transport); in l2c_link_hci_disc_comp() [all …]
|
/system/bt/bta/gatt/ |
D | bta_gattc_utils.cc | 84 tBTA_TRANSPORT transport) { in bta_gattc_find_clcb_by_cif() argument 90 p_clcb->transport == transport && p_clcb->bda == remote_bda) in bta_gattc_find_clcb_by_cif() 125 tBTA_TRANSPORT transport) { in bta_gattc_clcb_alloc() argument 137 p_clcb->transport = transport; in bta_gattc_clcb_alloc() 170 tBTA_TRANSPORT transport) { in bta_gattc_find_alloc_clcb() argument 173 p_clcb = bta_gattc_find_clcb_by_cif(client_if, remote_bda, transport); in bta_gattc_find_alloc_clcb() 175 p_clcb = bta_gattc_clcb_alloc(client_if, remote_bda, transport); in bta_gattc_find_alloc_clcb() 372 tGATT_TRANSPORT transport; in bta_gattc_clear_notif_registration() local 375 if (GATT_GetConnectionInfor(conn_id, &gatt_if, remote_bda, &transport)) { in bta_gattc_clear_notif_registration() 492 tBTA_TRANSPORT transport, uint16_t mtu) { in bta_gattc_send_open_cback() argument [all …]
|
D | bta_gatts_act.cc | 50 tGATT_TRANSPORT transport); 375 tBTA_TRANSPORT transport; in bta_gatts_indicate_handle() local 383 &gatt_if, remote_bda, &transport)) { in bta_gatts_indicate_handle() 397 if (transport == BTA_TRANSPORT_BR_EDR) { in bta_gatts_indicate_handle() 438 p_msg->api_open.is_direct, p_msg->api_open.transport, in bta_gatts_open() 443 &conn_id, p_msg->api_open.transport)) { in bta_gatts_open() 503 tGATT_TRANSPORT transport; in bta_gatts_close() local 506 &transport)) { in bta_gatts_close() 517 if (transport == BTA_TRANSPORT_BR_EDR) in bta_gatts_close() 544 tGATT_TRANSPORT transport; in bta_gatts_send_request_cback() local [all …]
|
/system/bt/stack/gatt/ |
D | gatt_attr.cc | 52 tBT_TRANSPORT transport); 124 const RawAddress& bda, tBT_TRANSPORT transport) { in gatt_profile_find_clcb_by_bd_addr() argument 130 if (p_clcb->in_use && p_clcb->transport == transport && p_clcb->connected && in gatt_profile_find_clcb_by_bd_addr() 161 p_clcb->transport = tranport; in gatt_profile_clcb_alloc() 244 tBT_TRANSPORT transport) { in gatt_connect_cback() argument 249 gatt_profile_find_clcb_by_bd_addr(bda, transport); in gatt_connect_cback() 430 tBT_TRANSPORT transport) { in GATT_ConfigServiceChangeCCC() argument 432 gatt_profile_find_clcb_by_bd_addr(remote_bda, transport); in GATT_ConfigServiceChangeCCC() 435 p_clcb = gatt_profile_clcb_alloc(0, remote_bda, transport); in GATT_ConfigServiceChangeCCC() 440 transport)) { in GATT_ConfigServiceChangeCCC() [all …]
|
D | gatt_main.cc | 53 tBT_TRANSPORT transport); 198 tBT_TRANSPORT transport, uint8_t initiating_phys, in gatt_connect() argument 203 if (transport != BT_TRANSPORT_LE) { in gatt_connect() 248 gatt_cleanup_upon_disc(p_tcb->peer_bda, HCI_ERR_CONN_CAUSE_LOCAL_HOST, p_tcb->transport); in gatt_disconnect() 324 (BTM_GetHCIConnHandle(p_tcb->peer_bda, p_tcb->transport) != in gatt_update_app_use_link_flag() 332 p_tcb->transport); in gatt_update_app_use_link_flag() 343 p_tcb->transport); in gatt_update_app_use_link_flag() 353 tBT_TRANSPORT transport, int8_t initiating_phys) { in gatt_act_connect() argument 354 tGATT_TCB* p_tcb = gatt_find_tcb_by_addr(bd_addr, transport); in gatt_act_connect() 359 transport == BT_TRANSPORT_LE) { in gatt_act_connect() [all …]
|
/system/libvintf/ |
D | TransportArch.cpp | 24 return transport == Transport::EMPTY && arch == Arch::ARCH_EMPTY; in empty() 28 switch (transport) { in isValid()
|
/system/netd/resolv/ |
D | dns_tls_test.cpp | 152 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F() local 153 auto r = transport.query(makeSlice(QUERY)).get(); in TEST_F() 185 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F() local 188 std::future<DnsTlsServer::Result> f = transport.query(makeSlice(QUERY)); in TEST_F() 203 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F() local 209 results.push_back(transport.query(makeSlice(QUERY))); in TEST_F() 269 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F() local 274 results.push_back(transport.query(makeSlice(QUERY))); in TEST_F() 287 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F() local 293 results.push_back(transport.query(makeSlice(QUERY))); in TEST_F() [all …]
|
/system/tools/hidl/test/hash_test/ |
D | Android.bp | 7 " -r android.hidl:system/libhidl/transport" + 12 " -r android.hidl:system/libhidl/transport" + 17 " -r android.hidl:system/libhidl/transport" +
|
/system/bt/stack/btm/ |
D | btm_acl.cc | 96 tACL_CONN* btm_bda_to_acl(const RawAddress& bda, tBT_TRANSPORT transport) { in btm_bda_to_acl() argument 100 if ((p->in_use) && p->remote_addr == bda && p->transport == transport) { in btm_bda_to_acl() 193 tBT_TRANSPORT transport) { in btm_acl_created() argument 200 transport); in btm_acl_created() 202 p = btm_bda_to_acl(bda, transport); in btm_acl_created() 206 p->transport = transport; in btm_acl_created() 221 p->transport = transport; in btm_acl_created() 223 if (transport == BT_TRANSPORT_LE) in btm_acl_created() 241 if (transport == BT_TRANSPORT_BR_EDR) { in btm_acl_created() 252 if (p_dev_rec && !(transport == BT_TRANSPORT_LE)) { in btm_acl_created() [all …]
|
/system/bt/stack/gap/ |
D | gap_conn.cc | 70 tBT_TRANSPORT transport; /* Transport channel BR/EDR or BLE */ member 173 tBT_TRANSPORT transport) { in GAP_ConnOpen() argument 184 p_ccb->transport = transport; in GAP_ConnOpen() 212 if (transport == BT_TRANSPORT_LE) { in GAP_ConnOpen() 237 if (transport == BT_TRANSPORT_BR_EDR) { in GAP_ConnOpen() 247 if (transport == BT_TRANSPORT_LE) { in GAP_ConnOpen() 304 if (p_rem_bda && (transport == BT_TRANSPORT_BR_EDR)) { in GAP_ConnOpen() 312 if (p_rem_bda && (transport == BT_TRANSPORT_LE)) { in GAP_ConnOpen() 741 if (p_ccb->transport == BT_TRANSPORT_BR_EDR) in gap_connect_ind() 749 if (p_ccb->transport == BT_TRANSPORT_BR_EDR) in gap_connect_ind() [all …]
|
/system/bt/stack/smp/ |
D | smp_l2c.cc | 39 tBT_TRANSPORT transport); 45 tBT_TRANSPORT transport); 95 tBT_TRANSPORT transport) { in smp_connect_callback() argument 103 if (transport == BT_TRANSPORT_BR_EDR || bd_addr.IsEmpty()) return; in smp_connect_callback() 247 tBT_TRANSPORT transport) { in smp_br_connect_callback() argument 253 if (transport != BT_TRANSPORT_BR_EDR) { in smp_br_connect_callback() 255 transport); in smp_br_connect_callback()
|
/system/core/adb/daemon/ |
D | services.cpp | 68 unique_fd reverse_service(std::string_view command, atransport* transport) { in reverse_service() argument 78 if (!handle_forward_request(str.c_str(), transport, s[1])) { in reverse_service() 87 unique_fd ShellService(std::string_view args, const atransport* transport) { in ShellService() argument 243 unique_fd daemon_service_to_fd(std::string_view name, atransport* transport) { in daemon_service_to_fd() argument 301 return ShellService(name, transport); in daemon_service_to_fd() 308 return reverse_service(name, transport); in daemon_service_to_fd() 311 "reconnect", std::bind(reconnect_service, std::placeholders::_1, transport)); in daemon_service_to_fd()
|
/system/bt/btif/src/ |
D | btif_gatt_server.cc | 143 p_data->conn.transport); in btapp_gatts_handle_cback() 286 tGATT_TRANSPORT transport = GATT_TRANSPORT_LE; in btif_gatts_open_impl() local 296 transport = transport_param; in btif_gatts_open_impl() 300 transport = GATT_TRANSPORT_BR_EDR; in btif_gatts_open_impl() 304 transport = GATT_TRANSPORT_LE; in btif_gatts_open_impl() 309 transport = GATT_TRANSPORT_LE; in btif_gatts_open_impl() 311 transport = GATT_TRANSPORT_BR_EDR; in btif_gatts_open_impl() 317 BTA_GATTS_Open(server_if, address, is_direct, transport); in btif_gatts_open_impl() 321 bool is_direct, int transport) { in btif_gatts_open() argument 324 Bind(&btif_gatts_open_impl, server_if, bd_addr, is_direct, transport)); in btif_gatts_open()
|
/system/bt/btif/include/ |
D | btif_api.h | 239 bt_status_t btif_dm_create_bond(const RawAddress* bd_addr, int transport); 251 const RawAddress* bd_addr, int transport, 369 int transport);
|