/external/chromium_org/components/domain_reliability/ |
H A D | context_unittest.cc | 13 #include "components/domain_reliability/beacon.h" 27 DomainReliabilityBeacon beacon; local 28 beacon.domain = "localhost"; 29 beacon.status = "ok"; 30 beacon.chrome_error = net::OK; 31 beacon.server_ip = "127.0.0.1"; 32 beacon.protocol = "HTTP"; 33 beacon.http_response_code = 200; 34 beacon.elapsed = base::TimeDelta::FromMilliseconds(250); 35 beacon 125 DomainReliabilityBeacon beacon = MakeBeacon(&time_); local 135 DomainReliabilityBeacon beacon = MakeBeacon(&time_); local 145 DomainReliabilityBeacon beacon = MakeBeacon(&time_); local 157 DomainReliabilityBeacon beacon = MakeBeacon(&time_); local [all...] |
H A D | context.cc | 89 // remove uploaded data from the beacon list and request counters. 125 const DomainReliabilityBeacon& beacon) { 131 bool success = (beacon.status == "ok"); 142 beacons_.push_back(beacon); 151 -beacon.chrome_error); 312 << "removing oldest beacon"; 316 // If that just removed a beacon counted in uploading_beacons_size_, decrement 124 OnBeacon(const GURL& url, const DomainReliabilityBeacon& beacon) argument
|
H A D | monitor.cc | 264 // 5. There is no defined beacon status for the error or HTTP response code 275 DomainReliabilityBeacon beacon; local 276 beacon.status = beacon_status; 277 beacon.chrome_error = error_code; 279 beacon.server_ip = request.response_info.socket_address.host(); 281 beacon.server_ip.clear(); 282 beacon.protocol = GetDomainReliabilityProtocol( 285 beacon.http_response_code = response_code; 286 beacon.start_time = request.load_timing_info.request_start; 287 beacon [all...] |
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | beacon.c | 28 #include "beacon.h" 750 wpa_printf(MSG_ERROR, "Failed to set beacon data"); 763 head->u.beacon.beacon_int = 768 head->u.beacon.capab_info = host_to_le16(capab_info); 769 pos = &head->u.beacon.variable[0]; 961 struct wpabuf *beacon, *proberesp, *assocresp; local 974 if (hostapd_build_ap_extra_ies(hapd, &beacon, &proberesp, &assocresp) < 978 params.beacon_ies = beacon; 994 hostapd_free_ap_extra_ies(hapd, beacon, proberesp, assocresp); 996 wpa_printf(MSG_ERROR, "Failed to set beacon parameter [all...] |
H A D | ap_drv_ops.c | 44 struct wpabuf *beacon = NULL, *proberesp = NULL, *assocresp = NULL; local 52 if (wpabuf_resize(&beacon, pos - buf) != 0) 54 wpabuf_put_data(beacon, buf, pos - buf); 74 if (wpabuf_resize(&beacon, pos - buf) != 0) 76 wpabuf_put_data(beacon, buf, pos - buf); 84 if (wpabuf_resize(&beacon, wpabuf_len(hapd->wps_beacon_ie)) < 87 wpabuf_put_buf(beacon, hapd->wps_beacon_ie); 99 if (wpabuf_resize(&beacon, wpabuf_len(hapd->p2p_beacon_ie)) < 102 wpabuf_put_buf(beacon, hapd->p2p_beacon_ie); 115 if (wpabuf_resize(&beacon, 10 208 hostapd_free_ap_extra_ies(struct hostapd_data *hapd, struct wpabuf *beacon, struct wpabuf *proberesp, struct wpabuf *assocresp) argument 221 struct wpabuf *beacon, *proberesp, *assocresp; local [all...] |
H A D | hostapd.c | 23 #include "beacon.h" 795 /* Set SSID for the kernel driver (to be used in beacon and probe 2165 static void free_beacon_data(struct beacon_data *beacon) argument 2167 os_free(beacon->head); 2168 beacon->head = NULL; 2169 os_free(beacon->tail); 2170 beacon->tail = NULL; 2171 os_free(beacon->probe_resp); 2172 beacon->probe_resp = NULL; 2173 os_free(beacon 2182 hostapd_build_beacon_data(struct hostapd_data *hapd, struct beacon_data *beacon) argument [all...] |
/external/wpa_supplicant_8/src/ap/ |
H A D | beacon.c | 28 #include "beacon.h" 750 wpa_printf(MSG_ERROR, "Failed to set beacon data"); 763 head->u.beacon.beacon_int = 768 head->u.beacon.capab_info = host_to_le16(capab_info); 769 pos = &head->u.beacon.variable[0]; 961 struct wpabuf *beacon, *proberesp, *assocresp; local 974 if (hostapd_build_ap_extra_ies(hapd, &beacon, &proberesp, &assocresp) < 978 params.beacon_ies = beacon; 994 hostapd_free_ap_extra_ies(hapd, beacon, proberesp, assocresp); 996 wpa_printf(MSG_ERROR, "Failed to set beacon parameter [all...] |
H A D | ap_drv_ops.c | 44 struct wpabuf *beacon = NULL, *proberesp = NULL, *assocresp = NULL; local 52 if (wpabuf_resize(&beacon, pos - buf) != 0) 54 wpabuf_put_data(beacon, buf, pos - buf); 74 if (wpabuf_resize(&beacon, pos - buf) != 0) 76 wpabuf_put_data(beacon, buf, pos - buf); 84 if (wpabuf_resize(&beacon, wpabuf_len(hapd->wps_beacon_ie)) < 87 wpabuf_put_buf(beacon, hapd->wps_beacon_ie); 99 if (wpabuf_resize(&beacon, wpabuf_len(hapd->p2p_beacon_ie)) < 102 wpabuf_put_buf(beacon, hapd->p2p_beacon_ie); 115 if (wpabuf_resize(&beacon, 10 208 hostapd_free_ap_extra_ies(struct hostapd_data *hapd, struct wpabuf *beacon, struct wpabuf *proberesp, struct wpabuf *assocresp) argument 221 struct wpabuf *beacon, *proberesp, *assocresp; local [all...] |
H A D | hostapd.c | 23 #include "beacon.h" 795 /* Set SSID for the kernel driver (to be used in beacon and probe 2165 static void free_beacon_data(struct beacon_data *beacon) argument 2167 os_free(beacon->head); 2168 beacon->head = NULL; 2169 os_free(beacon->tail); 2170 beacon->tail = NULL; 2171 os_free(beacon->probe_resp); 2172 beacon->probe_resp = NULL; 2173 os_free(beacon 2182 hostapd_build_beacon_data(struct hostapd_data *hapd, struct beacon_data *beacon) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | beacon.c | 28 #include "beacon.h" 750 wpa_printf(MSG_ERROR, "Failed to set beacon data"); 763 head->u.beacon.beacon_int = 768 head->u.beacon.capab_info = host_to_le16(capab_info); 769 pos = &head->u.beacon.variable[0]; 961 struct wpabuf *beacon, *proberesp, *assocresp; local 974 if (hostapd_build_ap_extra_ies(hapd, &beacon, &proberesp, &assocresp) < 978 params.beacon_ies = beacon; 994 hostapd_free_ap_extra_ies(hapd, beacon, proberesp, assocresp); 996 wpa_printf(MSG_ERROR, "Failed to set beacon parameter [all...] |
H A D | ap_drv_ops.c | 44 struct wpabuf *beacon = NULL, *proberesp = NULL, *assocresp = NULL; local 52 if (wpabuf_resize(&beacon, pos - buf) != 0) 54 wpabuf_put_data(beacon, buf, pos - buf); 74 if (wpabuf_resize(&beacon, pos - buf) != 0) 76 wpabuf_put_data(beacon, buf, pos - buf); 84 if (wpabuf_resize(&beacon, wpabuf_len(hapd->wps_beacon_ie)) < 87 wpabuf_put_buf(beacon, hapd->wps_beacon_ie); 99 if (wpabuf_resize(&beacon, wpabuf_len(hapd->p2p_beacon_ie)) < 102 wpabuf_put_buf(beacon, hapd->p2p_beacon_ie); 115 if (wpabuf_resize(&beacon, 10 208 hostapd_free_ap_extra_ies(struct hostapd_data *hapd, struct wpabuf *beacon, struct wpabuf *proberesp, struct wpabuf *assocresp) argument 221 struct wpabuf *beacon, *proberesp, *assocresp; local [all...] |
H A D | hostapd.c | 23 #include "beacon.h" 795 /* Set SSID for the kernel driver (to be used in beacon and probe 2165 static void free_beacon_data(struct beacon_data *beacon) argument 2167 os_free(beacon->head); 2168 beacon->head = NULL; 2169 os_free(beacon->tail); 2170 beacon->tail = NULL; 2171 os_free(beacon->probe_resp); 2172 beacon->probe_resp = NULL; 2173 os_free(beacon 2182 hostapd_build_beacon_data(struct hostapd_data *hapd, struct beacon_data *beacon) argument [all...] |
/external/wpa_supplicant_8/hostapd/src/drivers/ |
H A D | driver_hostap.c | 757 static int hostap_set_ap_wps_ie(void *priv, const struct wpabuf *beacon, argument
|
H A D | driver_madwifi.c | 649 * contents of the beacon information element. 780 madwifi_set_ap_wps_ie(void *priv, const struct wpabuf *beacon, argument 784 if (madwifi_set_wps_ie(priv, beacon ? wpabuf_head(beacon) : NULL, 785 beacon ? wpabuf_len(beacon) : 0,
|
H A D | driver_atheros.c | 1103 atheros_set_ap_wps_ie(void *priv, const struct wpabuf *beacon, argument 1109 wpa_hexdump_buf(MSG_DEBUG, "atheros: set_ap_wps_ie - beacon", beacon); 1115 drv->wps_beacon_ie = beacon ? wpabuf_dup(beacon) : NULL; 1122 if (atheros_set_wps_ie(priv, beacon ? wpabuf_head(beacon) : NULL, 1123 beacon ? wpabuf_len(beacon) : 0,
|
H A D | driver_test.c | 837 static int test_driver_set_ap_wps_ie(void *priv, const struct wpabuf *beacon, argument 843 if (beacon == NULL) 847 beacon); 851 if (beacon == NULL) { 855 bss->wps_beacon_ie = os_malloc(wpabuf_len(beacon)); 861 os_memcpy(bss->wps_beacon_ie, wpabuf_head(beacon), 862 wpabuf_len(beacon)); 863 bss->wps_beacon_ie_len = wpabuf_len(beacon);
|
/external/wpa_supplicant_8/src/drivers/ |
H A D | driver_hostap.c | 757 static int hostap_set_ap_wps_ie(void *priv, const struct wpabuf *beacon, argument
|
H A D | driver_madwifi.c | 649 * contents of the beacon information element. 780 madwifi_set_ap_wps_ie(void *priv, const struct wpabuf *beacon, argument 784 if (madwifi_set_wps_ie(priv, beacon ? wpabuf_head(beacon) : NULL, 785 beacon ? wpabuf_len(beacon) : 0,
|
H A D | driver_atheros.c | 1103 atheros_set_ap_wps_ie(void *priv, const struct wpabuf *beacon, argument 1109 wpa_hexdump_buf(MSG_DEBUG, "atheros: set_ap_wps_ie - beacon", beacon); 1115 drv->wps_beacon_ie = beacon ? wpabuf_dup(beacon) : NULL; 1122 if (atheros_set_wps_ie(priv, beacon ? wpabuf_head(beacon) : NULL, 1123 beacon ? wpabuf_len(beacon) : 0,
|
H A D | driver_test.c | 837 static int test_driver_set_ap_wps_ie(void *priv, const struct wpabuf *beacon, argument 843 if (beacon == NULL) 847 beacon); 851 if (beacon == NULL) { 855 bss->wps_beacon_ie = os_malloc(wpabuf_len(beacon)); 861 os_memcpy(bss->wps_beacon_ie, wpabuf_head(beacon), 862 wpabuf_len(beacon)); 863 bss->wps_beacon_ie_len = wpabuf_len(beacon);
|
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/ |
H A D | driver_hostap.c | 757 static int hostap_set_ap_wps_ie(void *priv, const struct wpabuf *beacon, argument
|
H A D | driver_madwifi.c | 649 * contents of the beacon information element. 780 madwifi_set_ap_wps_ie(void *priv, const struct wpabuf *beacon, argument 784 if (madwifi_set_wps_ie(priv, beacon ? wpabuf_head(beacon) : NULL, 785 beacon ? wpabuf_len(beacon) : 0,
|
H A D | driver_atheros.c | 1103 atheros_set_ap_wps_ie(void *priv, const struct wpabuf *beacon, argument 1109 wpa_hexdump_buf(MSG_DEBUG, "atheros: set_ap_wps_ie - beacon", beacon); 1115 drv->wps_beacon_ie = beacon ? wpabuf_dup(beacon) : NULL; 1122 if (atheros_set_wps_ie(priv, beacon ? wpabuf_head(beacon) : NULL, 1123 beacon ? wpabuf_len(beacon) : 0,
|
H A D | driver_test.c | 837 static int test_driver_set_ap_wps_ie(void *priv, const struct wpabuf *beacon, argument 843 if (beacon == NULL) 847 beacon); 851 if (beacon == NULL) { 855 bss->wps_beacon_ie = os_malloc(wpabuf_len(beacon)); 861 os_memcpy(bss->wps_beacon_ie, wpabuf_head(beacon), 862 wpabuf_len(beacon)); 863 bss->wps_beacon_ie_len = wpabuf_len(beacon);
|
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | driver_i.h | 490 const struct wpabuf *beacon, 496 return wpa_s->driver->set_ap_wps_ie(wpa_s->drv_priv, beacon, 489 wpa_drv_set_ap_wps_ie(struct wpa_supplicant *wpa_s, const struct wpabuf *beacon, const struct wpabuf *proberesp, const struct wpabuf *assocresp) argument
|