Home
last modified time | relevance | path

Searched refs:WifiStatusCode (Results 1 – 25 of 35) sorted by relevance

12

/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiHalAidlImpl.java24 import android.hardware.wifi.WifiStatusCode;
174 public @WifiHal.WifiStatusCode int start() { in start()
340 protected static @WifiHal.WifiStatusCode int halToFrameworkWifiStatusCode(int code) { in halToFrameworkWifiStatusCode()
342 case WifiStatusCode.SUCCESS: in halToFrameworkWifiStatusCode()
344 case WifiStatusCode.ERROR_WIFI_CHIP_INVALID: in halToFrameworkWifiStatusCode()
346 case WifiStatusCode.ERROR_WIFI_IFACE_INVALID: in halToFrameworkWifiStatusCode()
348 case WifiStatusCode.ERROR_WIFI_RTT_CONTROLLER_INVALID: in halToFrameworkWifiStatusCode()
350 case WifiStatusCode.ERROR_NOT_SUPPORTED: in halToFrameworkWifiStatusCode()
352 case WifiStatusCode.ERROR_NOT_AVAILABLE: in halToFrameworkWifiStatusCode()
354 case WifiStatusCode.ERROR_NOT_STARTED: in halToFrameworkWifiStatusCode()
[all …]
DWifiHalHidlImpl.java24 import android.hardware.wifi.V1_0.WifiStatusCode;
129 public @WifiHal.WifiStatusCode int start() { in start()
254 private @WifiHal.WifiStatusCode int startInternal(String methodStr) { in startInternal()
524 protected static @WifiHal.WifiStatusCode int halToFrameworkWifiStatusCode(int code) { in halToFrameworkWifiStatusCode()
526 case WifiStatusCode.SUCCESS: in halToFrameworkWifiStatusCode()
528 case WifiStatusCode.ERROR_WIFI_CHIP_INVALID: in halToFrameworkWifiStatusCode()
530 case WifiStatusCode.ERROR_WIFI_IFACE_INVALID: in halToFrameworkWifiStatusCode()
532 case WifiStatusCode.ERROR_WIFI_RTT_CONTROLLER_INVALID: in halToFrameworkWifiStatusCode()
534 case WifiStatusCode.ERROR_NOT_SUPPORTED: in halToFrameworkWifiStatusCode()
536 case WifiStatusCode.ERROR_NOT_AVAILABLE: in halToFrameworkWifiStatusCode()
[all …]
DWifiHal.java70 public @interface WifiStatusCode {} annotation in WifiHal
95 void onFailure(@WifiStatusCode int status); in onFailure()
116 void onSubsystemRestart(@WifiStatusCode int status); in onSubsystemRestart()
209 public @WifiStatusCode int start() { in start()
DWifiP2pIfaceHidlImpl.java21 import android.hardware.wifi.V1_0.WifiStatusCode;
64 if (status.code == WifiStatusCode.SUCCESS) return true; in isOk()
DWifiChip.java23 import android.hardware.wifi.WifiStatusCode;
140 public void setStatusCode(@WifiHal.WifiStatusCode int statusCode) { in setStatusCode()
144 public @WifiHal.WifiStatusCode int getStatusCode() { in getStatusCode()
949 public @WifiStatusCode int setMloMode(@WifiManager.MloMode int mode) { in setMloMode()
950 return validateAndCall("setMloMode", WifiStatusCode.ERROR_NOT_STARTED, in setMloMode()
DIWifiStaIface.java20 import android.hardware.wifi.WifiStatusCode;
279 @WifiStatusCode int setRoamingMode(@RoamingMode int roamingMode); in setRoamingMode()
DIWifiChip.java21 import android.hardware.wifi.WifiStatusCode;
453 @WifiStatusCode int setMloMode(@WifiManager.MloMode int mode); in setMloMode()
DWifiApIfaceHidlImpl.java21 import android.hardware.wifi.V1_0.WifiStatusCode;
208 if (status.code == WifiStatusCode.SUCCESS) return true; in isOk()
DIWifiHal.java78 @WifiHal.WifiStatusCode int start(); in start()
DWifiStaIface.java24 import android.hardware.wifi.WifiStatusCode;
426 public @WifiStatusCode int setRoamingMode(@RoamingMode int roamingMode) { in setRoamingMode()
DWifiStaIfaceAidlImpl.java55 import android.hardware.wifi.WifiStatusCode;
534 if (e.errorCode == WifiStatusCode.ERROR_BUSY) { in setRoamingState()
734 public @WifiStatusCode int setRoamingMode(@RoamingMode int roamingMode) { in setRoamingMode()
736 @WifiStatusCode int errorCode = WifiStatusCode.ERROR_UNKNOWN; in setRoamingMode()
741 errorCode = WifiStatusCode.SUCCESS; in setRoamingMode()
745 errorCode = WifiStatusCode.ERROR_NOT_STARTED; in setRoamingMode()
751 errorCode = WifiStatusCode.ERROR_INVALID_ARGS; in setRoamingMode()
DWifiRttControllerHidlImpl.java28 import android.hardware.wifi.V1_0.WifiStatusCode;
553 if (status.code != WifiStatusCode.SUCCESS) { in updateRttCapabilities()
568 if (status.code != WifiStatusCode.SUCCESS) { in updateRttCapabilities()
583 if (status.code != WifiStatusCode.SUCCESS) { in updateRttCapabilities()
971 if (status.code == WifiStatusCode.SUCCESS) return true; in isOk()
DWifiChipAidlImpl.java57 import android.hardware.wifi.WifiStatusCode;
1824 public @WifiStatusCode int setMloMode(@WifiManager.MloMode int mode) { in setMloMode()
1826 @WifiStatusCode int errorCode = WifiStatusCode.ERROR_UNKNOWN; in setMloMode()
1831 errorCode = WifiStatusCode.SUCCESS; in setMloMode()
1840 errorCode = WifiStatusCode.ERROR_INVALID_ARGS; in setMloMode()
/packages/modules/Wifi/service/java/com/android/server/wifi/b2b/
DWifiRoamingModeManager.java19 import android.hardware.wifi.WifiStatusCode;
111 @WifiStatusCode int errorCode = mWifiNative.setRoamingMode(iface, roamingMode); in applyWifiRoamingMode()
113 case WifiStatusCode.SUCCESS: in applyWifiRoamingMode()
118 case WifiStatusCode.ERROR_NOT_STARTED: in applyWifiRoamingMode()
122 case WifiStatusCode.ERROR_WIFI_IFACE_INVALID: in applyWifiRoamingMode()
125 case WifiStatusCode.ERROR_INVALID_ARGS: in applyWifiRoamingMode()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiApIfaceHidlImplTest.java32 import android.hardware.wifi.V1_0.WifiStatusCode;
83 mWifiStatusSuccess.code = WifiStatusCode.SUCCESS; in setUp()
85 mWifiStatusFailure.code = WifiStatusCode.ERROR_UNKNOWN; in setUp()
88 mWifiStatusBusy.code = WifiStatusCode.ERROR_BUSY; in setUp()
DWifiHalAidlImplTest.java32 import android.hardware.wifi.WifiStatusCode;
105 doThrow(new ServiceSpecificException(WifiStatusCode.ERROR_UNKNOWN)) in testIsStartedServiceSpecificException()
133 doThrow(new ServiceSpecificException(WifiStatusCode.ERROR_UNKNOWN)) in testRegisterEventCallback()
DWifiApIfaceAidlImplTest.java26 import android.hardware.wifi.WifiStatusCode;
64 doThrow(new ServiceSpecificException(WifiStatusCode.ERROR_UNKNOWN)) in testGetNameServiceSpecificException()
DWifiHalHidlImplTest.java35 import android.hardware.wifi.WifiStatusCode;
108 mStatusSuccess.code = WifiStatusCode.SUCCESS; in setUp()
DWifiChipHidlImplTest.java42 import android.hardware.wifi.V1_0.WifiStatusCode;
137 mWifiStatusSuccess.code = WifiStatusCode.SUCCESS; in setUp()
139 mWifiStatusFailure.code = WifiStatusCode.ERROR_UNKNOWN; in setUp()
142 mWifiStatusBusy.code = WifiStatusCode.ERROR_BUSY; in setUp()
DWifiRttControllerHidlImplTest.java42 import android.hardware.wifi.V1_0.WifiStatusCode;
89 mStatusSuccess.code = WifiStatusCode.SUCCESS; in setUp()
DWifiChipAidlImplTest.java47 import android.hardware.wifi.WifiStatusCode;
110 doThrow(new ServiceSpecificException(WifiStatusCode.ERROR_UNKNOWN)) in testGetIdServiceSpecificException()
DWifiStaIfaceHidlImplTest.java47 import android.hardware.wifi.V1_0.WifiStatusCode;
128 mWifiStatusSuccess.code = WifiStatusCode.SUCCESS; in setUp()
130 mWifiStatusFailure.code = WifiStatusCode.ERROR_UNKNOWN; in setUp()
133 mWifiStatusBusy.code = WifiStatusCode.ERROR_BUSY; in setUp()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pNativeInterfaceManagementTest.java31 import android.hardware.wifi.V1_0.WifiStatusCode;
93 mWifiStatusSuccess.code = WifiStatusCode.SUCCESS; in setUp()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareNativeManagerTest.java31 import android.hardware.wifi.V1_0.WifiStatusCode;
83 mStatusOk.code = WifiStatusCode.SUCCESS; in setUp()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiVendorHal.java26 import android.hardware.wifi.WifiStatusCode;
2049 public @WifiStatusCode int setMloMode(@WifiManager.MloMode int mode) {
2051 if (mWifiChip == null) return WifiStatusCode.ERROR_WIFI_CHIP_INVALID;
2106 public @WifiStatusCode int setRoamingMode(@NonNull String ifaceName,
2110 if (iface == null) return WifiStatusCode.ERROR_WIFI_IFACE_INVALID;

12