Lines Matching refs:prop

1173             bt_property_t prop;  in btif_dm_auth_cmpl_evt()  local
1180 prop.type = BT_PROPERTY_UUIDS; in btif_dm_auth_cmpl_evt()
1181 prop.val = uuid.uu; in btif_dm_auth_cmpl_evt()
1182 prop.len = MAX_UUID_SIZE; in btif_dm_auth_cmpl_evt()
1186 BT_STATUS_SUCCESS, &bd_addr, 1, &prop); in btif_dm_auth_cmpl_evt()
1490 bt_property_t prop; in btif_dm_search_services_evt() local
1508 prop.type = BT_PROPERTY_UUIDS; in btif_dm_search_services_evt()
1509 prop.len = 0; in btif_dm_search_services_evt()
1512 prop.val = p_data->disc_res.p_uuid_list; in btif_dm_search_services_evt()
1513 prop.len = p_data->disc_res.num_uuids * MAX_UUID_SIZE; in btif_dm_search_services_evt()
1545 ret = btif_storage_set_remote_device_property(&bd_addr, &prop); in btif_dm_search_services_evt()
1549 BT_STATUS_SUCCESS, &bd_addr, 1, &prop); in btif_dm_search_services_evt()
1568 bt_property_t prop; in btif_dm_search_services_evt() local
1588 prop.type = BT_PROPERTY_UUIDS; in btif_dm_search_services_evt()
1589 prop.val = uuid.uu; in btif_dm_search_services_evt()
1590 prop.len = MAX_UUID_SIZE; in btif_dm_search_services_evt()
1593 ret = btif_storage_set_remote_device_property(&bd_addr, &prop); in btif_dm_search_services_evt()
1598 BT_STATUS_SUCCESS, &bd_addr, 1, &prop); in btif_dm_search_services_evt()
1631 bt_property_t prop; in btif_dm_remote_service_record_evt() local
1639 prop.type = BT_PROPERTY_SERVICE_RECORD; in btif_dm_remote_service_record_evt()
1640 prop.val = (void*)&rec; in btif_dm_remote_service_record_evt()
1641 prop.len = sizeof(rec); in btif_dm_remote_service_record_evt()
1651 BT_STATUS_SUCCESS, &bd_addr, 1, &prop); in btif_dm_remote_service_record_evt()
1687 bt_property_t prop; in btif_dm_upstreams_evt() local
1688 prop.type = BT_PROPERTY_BDNAME; in btif_dm_upstreams_evt()
1689 prop.len = BD_NAME_LEN; in btif_dm_upstreams_evt()
1690 prop.val = (void*)bdname; in btif_dm_upstreams_evt()
1692 status = btif_storage_get_adapter_property(&prop); in btif_dm_upstreams_evt()
1696 BTA_DmSetDeviceName((char*)prop.val); in btif_dm_upstreams_evt()
1956 bt_property_t prop; in btif_dm_upstreams_evt() local
1957 prop.type = BT_PROPERTY_LOCAL_LE_FEATURES; in btif_dm_upstreams_evt()
1958 prop.val = (void*)buf; in btif_dm_upstreams_evt()
1959 prop.len = sizeof(buf); in btif_dm_upstreams_evt()
1965 prop.len = sizeof (bt_local_le_features_t); in btif_dm_upstreams_evt()
1982 memcpy(prop.val, &local_le_features, prop.len); in btif_dm_upstreams_evt()
1983 HAL_CBACK(bt_hal_cbacks, adapter_properties_cb, BT_STATUS_SUCCESS, 1, &prop); in btif_dm_upstreams_evt()
2605 bt_status_t btif_dm_get_adapter_property(bt_property_t *prop) in btif_dm_get_adapter_property() argument
2607 BTIF_TRACE_EVENT("%s: type=0x%x", __FUNCTION__, prop->type); in btif_dm_get_adapter_property()
2608 switch (prop->type) in btif_dm_get_adapter_property()
2612 bt_bdname_t *bd_name = (bt_bdname_t*)prop->val; in btif_dm_get_adapter_property()
2616 prop->len = strlen((char *)bd_name->name); in btif_dm_get_adapter_property()
2623 bt_scan_mode_t *mode = (bt_scan_mode_t*)prop->val; in btif_dm_get_adapter_property()
2625 prop->len = sizeof(bt_scan_mode_t); in btif_dm_get_adapter_property()
2631 uint32_t *tmt = (uint32_t*)prop->val; in btif_dm_get_adapter_property()
2633 prop->len = sizeof(uint32_t); in btif_dm_get_adapter_property()
2638 prop->len = 0; in btif_dm_get_adapter_property()