/external/adhd/cras/src/tests/ |
D | bt_io_unittest.cc | 85 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()
|
D | iodev_list_unittest.cc | 147 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()
|
D | iodev_unittest.cc | 264 iodev_.supported_rates = sample_rates_; in SetUp()
|
/external/adhd/cras/src/server/ |
D | cras_hfp_iodev.c | 33 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()
|
D | cras_bt_io.c | 159 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()
|
D | cras_a2dp_iodev.c | 83 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()
|
D | cras_iodev.c | 284 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()
|
D | cras_alsa_io.c | 844 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()
|
D | cras_empty_iodev.c | 198 iodev->supported_rates = empty_supported_rates; in empty_iodev_create()
|
D | test_iodev.c | 191 iodev->supported_rates = test_supported_rates; in test_iodev_create()
|
D | cras_iodev.h | 234 size_t *supported_rates; member
|
D | cras_loopback_iodev.c | 266 iodev->supported_rates = loopback_supported_rates; in create_loopback_iodev()
|
/external/wpa_supplicant_8/src/ap/ |
D | ap_list.h | 22 u8 supported_rates[WLAN_SUPP_RATES_MAX]; member
|
D | ap_list.c | 44 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()
|
D | hw_features.c | 199 if (iface->conf->supported_rates && in hostapd_prepare_rates() 200 !hostapd_rate_found(iface->conf->supported_rates, in hostapd_prepare_rates()
|
D | sta_info.h | 75 u8 supported_rates[WLAN_SUPP_RATES_MAX]; member
|
D | ap_config.h | 753 int *supported_rates; member
|
D | ieee802_11.c | 2583 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()
|
D | ctrl_iface_ap.c | 236 sta->supported_rates[i], in hostapd_ctrl_iface_sta_mib()
|
D | ap_config.c | 765 os_free(conf->supported_rates); in hostapd_config_free()
|
D | ieee802_1x.c | 296 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/ |
D | mesh_mpm.c | 132 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()
|
D | ap.c | 336 conf->supported_rates = list; in wpa_supplicant_conf_ap()
|
/external/wpa_supplicant_8/hostapd/ |
D | config_file.c | 3220 if (hostapd_parse_intlist(&conf->supported_rates, pos)) { in hostapd_config_fill()
|