Home
last modified time | relevance | path

Searched refs:event_cb (Results 1 – 11 of 11) sorted by relevance

/external/bluetooth/bluedroid/stack/btu/
Dbtu_task.c354 if (btu_cb.event_reg[i].event_cb == NULL) in btu_task()
359 if (btu_cb.event_reg[i].event_cb) in btu_task()
361 btu_cb.event_reg[i].event_cb(p_msg); in btu_task()
822 void btu_register_event_range (UINT16 start, tBTU_EVENT_CALLBACK event_cb) in btu_register_event_range() argument
829 if (btu_cb.event_reg[i].event_cb == NULL && first < 0) in btu_register_event_range()
834 btu_cb.event_reg[i].event_cb = event_cb; in btu_register_event_range()
836 if (!event_cb) in btu_register_event_range()
844 if (event_cb && first >= 0 && first < BTU_MAX_REG_EVENT) in btu_register_event_range()
847 btu_cb.event_reg[first].event_cb = event_cb; in btu_register_event_range()
/external/wpa_supplicant_8/src/wps/
Dwps_common.c273 if (wps->event_cb == NULL) in wps_fail_event()
280 wps->event_cb(wps->cb_ctx, WPS_EV_FAIL, &data); in wps_fail_event()
286 if (wps->event_cb == NULL) in wps_success_event()
289 wps->event_cb(wps->cb_ctx, WPS_EV_SUCCESS, NULL); in wps_success_event()
297 if (wps->event_cb == NULL) in wps_pwd_auth_fail_event()
303 wps->event_cb(wps->cb_ctx, WPS_EV_PWD_AUTH_FAIL, &data); in wps_pwd_auth_fail_event()
309 if (wps->event_cb == NULL) in wps_pbc_overlap_event()
312 wps->event_cb(wps->cb_ctx, WPS_EV_PBC_OVERLAP, NULL); in wps_pbc_overlap_event()
318 if (wps->event_cb == NULL) in wps_pbc_timeout_event()
321 wps->event_cb(wps->cb_ctx, WPS_EV_PBC_TIMEOUT, NULL); in wps_pbc_timeout_event()
Dwps_er.c40 if (wps->event_cb == NULL) in wps_er_sta_event()
55 wps->event_cb(wps->cb_ctx, event, &data); in wps_er_sta_event()
133 if (wps->event_cb == NULL) in wps_er_ap_event()
150 wps->event_cb(wps->cb_ctx, event, &data); in wps_er_ap_event()
1410 ap->er->wps->event_cb(ap->er->wps->cb_ctx, in wps_er_http_set_sel_reg_cb()
1552 er->wps->event_cb(er->wps->cb_ctx, in wps_er_set_sel_reg()
1623 ap->er->wps->event_cb(ap->er->wps->cb_ctx, WPS_EV_ER_AP_SETTINGS, in wps_er_ap_settings_cb()
Dwps_enrollee.c945 if (wps->wps->event_cb) { in wps_process_m2d()
969 wps->wps->event_cb(wps->wps->cb_ctx, WPS_EV_M2D, &data); in wps_process_m2d()
1081 wps->wps->event_cb(wps->wps->cb_ctx, WPS_EV_AP_PIN_SUCCESS, in wps_process_m6()
Dwps.h729 void (*event_cb)(void *ctx, enum wps_event event, member
/external/bluetooth/bluedroid/stack/include/
Dbtu.h201 tBTU_EVENT_CALLBACK event_cb; /* callback triggered when event is in range */ member
274 BTU_API extern void btu_register_event_range (UINT16 range, tBTU_EVENT_CALLBACK event_cb);
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl.c67 void (*event_cb)(void *ctx, enum tls_event ev, member
542 if (tls_global->event_cb != NULL) { in ssl_info_cb()
548 tls_global->event_cb(tls_global->cb_ctx, TLS_ALERT, in ssl_info_cb()
713 tls_global->event_cb = conf->event_cb; in tls_init()
1152 if (tls_global->event_cb == NULL) in openssl_tls_fail_event()
1163 tls_global->event_cb(tls_global->cb_ctx, TLS_CERT_CHAIN_FAILURE, &ev); in openssl_tls_fail_event()
1178 if (tls_global->event_cb == NULL) in openssl_tls_cert_event()
1200 tls_global->event_cb(tls_global->cb_ctx, TLS_PEER_CERTIFICATE, &ev); in openssl_tls_cert_event()
1307 if (preverify_ok && tls_global->event_cb != NULL) in tls_verify_cb()
1308 tls_global->event_cb(tls_global->cb_ctx, in tls_verify_cb()
Dtls.h77 void (*event_cb)(void *ctx, enum tls_event ev, member
/external/wpa_supplicant_8/src/eap_peer/
Deap.c1395 tlsconf.event_cb = eap_peer_sm_tls_event; in eap_peer_sm_init()
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c911 wps->event_cb = hostapd_wps_event_cb; in hostapd_init_wps()
/external/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.c1227 wps->event_cb = wpa_supplicant_wps_event; in wpas_wps_init()