Home
last modified time | relevance | path

Searched refs:supported_rates (Results 1 – 24 of 24) sorted by relevance

/external/adhd/cras/src/tests/
Dbt_io_unittest.cc85 d->supported_rates = NULL; in SetUpIodev()
92 free(iodev->supported_rates); in update_supported_formats()
95 iodev->supported_rates = (size_t *)calloc( in update_supported_formats()
96 2, sizeof(*iodev->supported_rates)); in update_supported_formats()
97 iodev->supported_rates[0] = 48000; in update_supported_formats()
98 iodev->supported_rates[1] = 0; in update_supported_formats()
196 free(iodev_.supported_rates); in TEST_F()
Diodev_list_unittest.cc147 d1_.supported_rates = sample_rates_; in SetUp()
160 d2_.supported_rates = sample_rates_; in SetUp()
173 d3_.supported_rates = sample_rates_; in SetUp()
187 loopback_input.supported_rates = sample_rates_; in SetUp()
Diodev_unittest.cc264 iodev_.supported_rates = sample_rates_; in SetUp()
/external/adhd/cras/src/server/
Dcras_hfp_iodev.c33 free(iodev->supported_rates); in update_supported_formats()
34 iodev->supported_rates = (size_t *)malloc(2 * sizeof(size_t)); in update_supported_formats()
35 iodev->supported_rates[0] = 8000; in update_supported_formats()
36 iodev->supported_rates[1] = 0; in update_supported_formats()
208 free(hfpio->base.supported_rates); in hfp_free_resources()
Dcras_bt_io.c159 for (length = 0; dev->supported_rates[length]; length++); in update_supported_formats()
160 free(iodev->supported_rates); in update_supported_formats()
161 iodev->supported_rates = (size_t *)malloc( in update_supported_formats()
162 (length + 1) * sizeof(*iodev->supported_rates)); in update_supported_formats()
164 iodev->supported_rates[i] = dev->supported_rates[i]; in update_supported_formats()
418 free(bt_iodev->supported_rates); in cras_bt_io_free_resources()
Dcras_a2dp_iodev.c83 free(iodev->supported_rates); in update_supported_formats()
84 iodev->supported_rates = (size_t *)malloc(2 * sizeof(rate)); in update_supported_formats()
85 iodev->supported_rates[0] = rate; in update_supported_formats()
86 iodev->supported_rates[1] = 0; in update_supported_formats()
440 free(a2dpio->base.supported_rates); in free_resources()
Dcras_iodev.c284 if (iodev->supported_rates[0] == 0) /* No rates supported */ in get_best_rate()
287 for (i = 0, best = 0; iodev->supported_rates[i] != 0; i++) { in get_best_rate()
288 if (rrate == iodev->supported_rates[i] && in get_best_rate()
291 if (best == 0 && (rrate % iodev->supported_rates[i] == 0 || in get_best_rate()
292 iodev->supported_rates[i] % rrate == 0)) in get_best_rate()
293 best = iodev->supported_rates[i]; in get_best_rate()
298 return iodev->supported_rates[0]; in get_best_rate()
Dcras_alsa_io.c844 free(aio->base.supported_rates); in free_alsa_iodev_resources()
1644 free(iodev->supported_rates); in update_supported_formats()
1645 iodev->supported_rates = NULL; in update_supported_formats()
1652 &iodev->supported_rates, in update_supported_formats()
1662 free(iodev->supported_rates); in update_supported_formats()
1663 iodev->supported_rates = (size_t*)malloc( in update_supported_formats()
1664 2 * sizeof(iodev->supported_rates[0])); in update_supported_formats()
1665 iodev->supported_rates[0] = fixed_rate; in update_supported_formats()
1666 iodev->supported_rates[1] = 0; in update_supported_formats()
Dcras_empty_iodev.c198 iodev->supported_rates = empty_supported_rates; in empty_iodev_create()
Dtest_iodev.c191 iodev->supported_rates = test_supported_rates; in test_iodev_create()
Dcras_iodev.h234 size_t *supported_rates; member
Dcras_loopback_iodev.c266 iodev->supported_rates = loopback_supported_rates; in create_loopback_iodev()
/external/wpa_supplicant_8/src/ap/
Dap_list.h22 u8 supported_rates[WLAN_SUPP_RATES_MAX]; member
Dap_list.c44 int rate = (ap->supported_rates[i] & 0x7f) * 5; in ap_list_beacon_olbc()
192 merge_byte_arrays(ap->supported_rates, WLAN_SUPP_RATES_MAX, in ap_list_process_beacon()
Dhw_features.c199 if (iface->conf->supported_rates && in hostapd_prepare_rates()
200 !hostapd_rate_found(iface->conf->supported_rates, in hostapd_prepare_rates()
Dsta_info.h75 u8 supported_rates[WLAN_SUPP_RATES_MAX]; member
Dap_config.h753 int *supported_rates; member
Dieee802_11.c2583 sizeof(sta->supported_rates)) { in copy_supp_rates()
2593 sta->supported_rates, sizeof(sta->supported_rates), in copy_supp_rates()
3291 sta->supported_rates, sta->supported_rates_len, in add_associated_sta()
3939 if ((sta->supported_rates[i] & 0x7f) > 22) { in handle_assoc()
Dctrl_iface_ap.c236 sta->supported_rates[i], in hostapd_ctrl_iface_sta_mib()
Dap_config.c765 os_free(conf->supported_rates); in hostapd_config_free()
Dieee802_1x.c296 if ((sta->supported_rates[i] & 0x7f) > rate) in radius_sta_rate()
297 rate = sta->supported_rates[i] & 0x7f; in radius_sta_rate()
/external/wpa_supplicant_8/wpa_supplicant/
Dmesh_mpm.c132 sizeof(sta->supported_rates)) { in copy_supp_rates()
141 sta->supported_rates, sizeof(sta->supported_rates), in copy_supp_rates()
736 params.supp_rates = sta->supported_rates; in mesh_mpm_add_peer()
Dap.c336 conf->supported_rates = list; in wpa_supplicant_conf_ap()
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c3220 if (hostapd_parse_intlist(&conf->supported_rates, pos)) { in hostapd_config_fill()