Home
last modified time | relevance | path

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

/system/core/adb/
Dadb_listeners.cpp97 if (l->local_name) in free_listener()
98 free((char*)l->local_name); in free_listener()
158 l->transport->serial, l->local_name, l->connect_to); in format_listeners()
163 install_status_t remove_listener(const char *local_name, atransport* transport) in remove_listener() argument
168 if (!strcmp(local_name, l->local_name)) { in remove_listener()
188 install_status_t install_listener(const std::string& local_name, in install_listener() argument
194 if (local_name == l->local_name) { in install_listener()
229 listener->local_name = strdup(local_name.c_str()); in install_listener()
230 if (listener->local_name == nullptr) { in install_listener()
239 listener->fd = local_name_to_fd(listener->local_name); in install_listener()
[all …]
Dadb_listeners.h39 install_status_t install_listener(const std::string& local_name,
46 install_status_t remove_listener(const char* local_name, atransport* transport);
Dadb_main.cpp233 std::string local_name = android::base::StringPrintf("tcp:%d", server_port); in adb_main() local
234 if (install_listener(local_name, "*smartsocket*", NULL, 0)) { in adb_main()
296 std::string local_name = android::base::StringPrintf("tcp:%d", server_port); in adb_main() local
297 if (install_listener(local_name, "*smartsocket*", NULL, 0)) { in adb_main()
Dadb.h234 char *local_name; member
/system/bt/bta/dm/
Dbta_dm_api.c1701 len += ((p_cond->local_name.data_len) + sizeof(UINT8)); in BTA_DmBleCfgFilterCondition()
1754 p_msg->p_cond_param->local_name.p_data = p; in BTA_DmBleCfgFilterCondition()
1755 p_msg->p_cond_param->local_name.data_len = in BTA_DmBleCfgFilterCondition()
1756 p_cond->local_name.data_len; in BTA_DmBleCfgFilterCondition()
1757 memcpy(p_msg->p_cond_param->local_name.p_data, in BTA_DmBleCfgFilterCondition()
1758 p_cond->local_name.p_data, p_cond->local_name.data_len); in BTA_DmBleCfgFilterCondition()
Dbta_dm_act.c82 static void bta_dm_set_eir (char *local_name);
3785 static void bta_dm_set_eir (char *local_name) in bta_dm_set_eir() argument
3816 if( local_name == NULL ) in bta_dm_set_eir()
3818 if( BTM_ReadLocalDeviceName( &local_name ) != BTM_SUCCESS ) in bta_dm_set_eir()
3837 if( local_name ) in bta_dm_set_eir()
3838 local_name_len = strlen( local_name ); in bta_dm_set_eir()
3871 if (local_name != NULL) in bta_dm_set_eir()
3873 memcpy(p, local_name, local_name_len); in bta_dm_set_eir()
/system/bt/stack/include/
Dbtm_ble_api.h739 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.h596 tBTA_DM_BLE_PF_LOCAL_NAME_COND local_name; /* lcoal name filtering */ member
/system/bt/btif/src/
Dbtif_gatt_client.c1518 cond.local_name.data_len = p_adv_filt_cb->value_len; in btgattc_handle_event()
1519 cond.local_name.p_data = p_adv_filt_cb->value; in btgattc_handle_event()