Home
last modified time | relevance | path

Searched refs:local_name (Results 1 – 12 of 12) sorted by relevance

/system/core/adb/
Dadb_listeners.cpp95 if (l->local_name) in free_listener()
96 free((char*)l->local_name); in free_listener()
152 l->local_name, l->connect_to); in format_listeners()
157 InstallStatus remove_listener(const char *local_name, atransport* transport) { in remove_listener() argument
161 if (!strcmp(local_name, l->local_name)) { in remove_listener()
181 InstallStatus install_listener(const std::string& local_name, in install_listener() argument
188 if (local_name == l->local_name) { in install_listener()
226 listener->local_name = strdup(local_name.c_str()); in install_listener()
227 if (listener->local_name == nullptr) { in install_listener()
236 listener->fd = local_name_to_fd(listener->local_name, error); in install_listener()
[all …]
Dadb_listeners.h33 InstallStatus install_listener(const std::string& local_name,
41 InstallStatus remove_listener(const char* local_name, atransport* transport);
Dadb.h136 char *local_name; member
/system/core/adb/client/
Dmain.cpp116 std::string local_name = android::base::StringPrintf("tcp:%d", server_port); in adb_server_main() local
117 if (install_listener(local_name, "*smartsocket*", nullptr, 0, &error)) { in adb_server_main()
/system/core/adb/daemon/
Dmain.cpp152 std::string local_name = in drop_privileges() local
154 if (install_listener(local_name, "*smartsocket*", nullptr, 0, in drop_privileges()
/system/bt/vendor_libs/test_vendor_lib/src/
Ddual_mode_controller.cc527 std::vector<uint8_t> local_name; in GetLocalName() local
528 local_name.push_back(kSuccessStatus); in GetLocalName()
530 local_name.push_back(0xFF); in GetLocalName()
531 return local_name; in GetLocalName()
/system/bt/bta/dm/
Dbta_dm_api.c1542 len += ((p_cond->local_name.data_len) + sizeof(UINT8)); in BTA_DmBleCfgFilterCondition()
1587 p_msg->p_cond_param->local_name.p_data = p; in BTA_DmBleCfgFilterCondition()
1588 p_msg->p_cond_param->local_name.data_len = in BTA_DmBleCfgFilterCondition()
1589 p_cond->local_name.data_len; in BTA_DmBleCfgFilterCondition()
1590 memcpy(p_msg->p_cond_param->local_name.p_data, in BTA_DmBleCfgFilterCondition()
1591 p_cond->local_name.p_data, p_cond->local_name.data_len); in BTA_DmBleCfgFilterCondition()
Dbta_dm_act.c72 static void bta_dm_set_eir (char *local_name);
3708 static void bta_dm_set_eir (char *local_name) in bta_dm_set_eir() argument
3734 if( local_name == NULL ) in bta_dm_set_eir()
3736 if( BTM_ReadLocalDeviceName( &local_name ) != BTM_SUCCESS ) in bta_dm_set_eir()
3751 if( local_name ) in bta_dm_set_eir()
3752 local_name_len = strlen( local_name ); in bta_dm_set_eir()
3774 local_name_len = find_utf8_char_boundary(local_name, in bta_dm_set_eir()
3786 if (local_name != NULL) in bta_dm_set_eir()
3788 memcpy(p, local_name, local_name_len); in bta_dm_set_eir()
/system/bt/stack/include/
Dbtm_ble_api.h751 tBTM_BLE_PF_LOCAL_NAME_COND local_name; /* lcoal name filtering */ member
/system/bt/stack/btm/
Dbtm_ble_adv_filter.c461 tBTM_BLE_PF_LOCAL_NAME_COND *p_local_name = (p_cond == NULL) ? NULL : &p_cond->local_name; in btm_ble_update_pf_local_name()
/system/bt/bta/include/
Dbta_api.h549 tBTA_DM_BLE_PF_LOCAL_NAME_COND local_name; /* lcoal name filtering */ member
/system/bt/btif/src/
Dbtif_gatt_client.c1359 cond.local_name.data_len = p_adv_filt_cb->value_len; in btgattc_handle_event()
1360 cond.local_name.p_data = p_adv_filt_cb->value; in btgattc_handle_event()