Home
last modified time | relevance | path

Searched refs:WIFI_SUCCESS (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/net/wifi/service/jni/
Dcom_android_server_wifi_WifiNative.cpp307 if (res != WIFI_SUCCESS) { in android_net_wifi_startHal()
318 if (res == WIFI_SUCCESS) { in android_net_wifi_startHal()
325 return res == WIFI_SUCCESS; in android_net_wifi_startHal()
526 return hal_fn.wifi_start_gscan(id, handle, params, handler) == WIFI_SUCCESS; in android_net_wifi_startScan()
535 return hal_fn.wifi_stop_gscan(id, handle) == WIFI_SUCCESS; in android_net_wifi_stopScan()
556 if (result == WIFI_SUCCESS) { in android_net_wifi_getScanResults()
623 if (result != WIFI_SUCCESS) { in android_net_wifi_getScanCapabilities()
825 return hal_fn.wifi_set_bssid_hotlist(id, handle, params, handler) == WIFI_SUCCESS; in android_net_wifi_setHotlist()
834 return hal_fn.wifi_reset_bssid_hotlist(id, handle) == WIFI_SUCCESS; in android_net_wifi_resetHotlist()
945 return hal_fn.wifi_set_significant_change_handler(id, handle, params, handler) == WIFI_SUCCESS; in android_net_wifi_trackSignificantWifiChange()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/
DWifiNanNative.java43 private static final int WIFI_SUCCESS = 0; field in WifiNanNative
114 sNanNativeInit = ret == WIFI_SUCCESS; in isNanInit()
150 success = ret == WIFI_SUCCESS; in enableAndConfigure()
172 success = ret == WIFI_SUCCESS; in disable()
201 success = ret == WIFI_SUCCESS; in publish()
229 success = ret == WIFI_SUCCESS; in subscribe()
260 success = ret == WIFI_SUCCESS; in sendMessage()
286 success = ret == WIFI_SUCCESS; in stopPublish()
312 success = ret == WIFI_SUCCESS; in stopSubscribe()
/frameworks/opt/net/wifi/tests/wifitests/jni/
Dwifi_nan_hal_mock.cpp124 return WIFI_SUCCESS; in wifi_nan_enable_request_mock()
134 return WIFI_SUCCESS; in wifi_nan_disable_request_mock()
170 return WIFI_SUCCESS; in wifi_nan_publish_request_mock()
188 return WIFI_SUCCESS; in wifi_nan_publish_cancel_request_mock()
232 return WIFI_SUCCESS; in wifi_nan_subscribe_request_mock()
250 return WIFI_SUCCESS; in wifi_nan_subscribe_cancel_request_mock()
276 return WIFI_SUCCESS; in wifi_nan_transmit_followup_request_mock()
311 return WIFI_SUCCESS; in wifi_nan_register_handler_mock()
327 return WIFI_SUCCESS; in wifi_nan_get_capabilities_mock()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNative.java97 public static final int WIFI_SUCCESS = 0; field in WifiNative
2831 return startPktFateMonitoringNative(sWlan0Index) == WIFI_SUCCESS; in startPktFateMonitoring()
2846 if (res != WIFI_SUCCESS) { in getTxPktFates()
2866 if (res != WIFI_SUCCESS) { in getRxPktFates()