/packages/modules/Wifi/service/java/com/android/server/wifi/hal/ |
D | WifiHalAidlImpl.java | 51 private WifiHal.Callback mFrameworkCallback; 53 private WifiHal.DeathRecipient mFrameworkDeathRecipient; 115 public boolean registerEventCallback(WifiHal.Callback callback) { in registerEventCallback() 174 public @WifiHal.WifiStatusCode int start() { in start() 178 if (!checkWifiAndLogFailure(methodStr)) return WifiHal.WIFI_STATUS_ERROR_UNKNOWN; in start() 180 return WifiHal.WIFI_STATUS_SUCCESS; in start() 183 return WifiHal.WIFI_STATUS_ERROR_REMOTE_EXCEPTION; in start() 239 public void initialize(WifiHal.DeathRecipient deathRecipient) { in initialize() 340 protected static @WifiHal.WifiStatusCode int halToFrameworkWifiStatusCode(int code) { in halToFrameworkWifiStatusCode() 343 return WifiHal.WIFI_STATUS_SUCCESS; in halToFrameworkWifiStatusCode() [all …]
|
D | WifiHalHidlImpl.java | 49 private WifiHal.Callback mFrameworkCallback; 52 private WifiHal.DeathRecipient mFrameworkDeathRecipient; 97 public boolean registerEventCallback(WifiHal.Callback callback) { in registerEventCallback() 129 public @WifiHal.WifiStatusCode int start() { in start() 132 return validateAndCall(methodStr, WifiHal.WIFI_STATUS_ERROR_UNKNOWN, in start() 166 public void initialize(WifiHal.DeathRecipient deathRecipient) { in initialize() 217 private boolean registerEventCallbackInternal(WifiHal.Callback callback) { in registerEventCallbackInternal() 254 private @WifiHal.WifiStatusCode int startInternal(String methodStr) { in startInternal() 260 return WifiHal.WIFI_STATUS_ERROR_UNKNOWN; in startInternal() 524 protected static @WifiHal.WifiStatusCode int halToFrameworkWifiStatusCode(int code) { in halToFrameworkWifiStatusCode() [all …]
|
D | IWifiHal.java | 50 boolean registerEventCallback(WifiHal.Callback callback); in registerEventCallback() 57 void initialize(WifiHal.DeathRecipient deathRecipient); in initialize() 78 @WifiHal.WifiStatusCode int start(); in start()
|
D | WifiHal.java | 37 public class WifiHal { class 130 public WifiHal(@NonNull Context context, @NonNull SsidTranslator ssidTranslator) { in WifiHal() method in WifiHal 184 public void initialize(WifiHal.DeathRecipient deathRecipient) { in initialize()
|
D | WifiChip.java | 129 mStatusCode = WifiHal.WIFI_STATUS_ERROR_UNKNOWN; in Response() 140 public void setStatusCode(@WifiHal.WifiStatusCode int statusCode) { in setStatusCode() 144 public @WifiHal.WifiStatusCode int getStatusCode() { in getStatusCode()
|
D | WifiP2pIface.java | 27 public class WifiP2pIface implements WifiHal.WifiInterface {
|
D | WifiApIface.java | 33 public class WifiApIface implements WifiHal.WifiInterface {
|
D | WifiChipHidlImpl.java | 812 capsResp.setStatusCode(WifiHal.WIFI_STATUS_SUCCESS); in getCapabilitiesBeforeIfacesExistInternal() 821 capsResp.setStatusCode(WifiHal.WIFI_STATUS_ERROR_REMOTE_EXCEPTION); in getCapabilitiesBeforeIfacesExistInternal() 835 capsResp.setStatusCode(WifiHal.WIFI_STATUS_SUCCESS); in getCapabilitiesAfterIfacesExistInternal() 845 capsResp.setStatusCode(WifiHal.WIFI_STATUS_SUCCESS); in getCapabilitiesAfterIfacesExistInternal() 855 capsResp.setStatusCode(WifiHal.WIFI_STATUS_SUCCESS); in getCapabilitiesAfterIfacesExistInternal() 864 capsResp.setStatusCode(WifiHal.WIFI_STATUS_ERROR_REMOTE_EXCEPTION); in getCapabilitiesAfterIfacesExistInternal() 919 modeResp.setStatusCode(WifiHal.WIFI_STATUS_SUCCESS); in getModeInternal() 927 modeResp.setStatusCode(WifiHal.WIFI_STATUS_ERROR_REMOTE_EXCEPTION); in getModeInternal()
|
D | WifiChipAidlImpl.java | 415 featuresResp.setStatusCode(WifiHal.WIFI_STATUS_SUCCESS); in getCapabilitiesInternal() 418 featuresResp.setStatusCode(WifiHal.WIFI_STATUS_ERROR_REMOTE_EXCEPTION); in getCapabilitiesInternal() 503 modeResp.setStatusCode(WifiHal.WIFI_STATUS_SUCCESS); in getMode() 506 modeResp.setStatusCode(WifiHal.WIFI_STATUS_ERROR_REMOTE_EXCEPTION); in getMode()
|
D | WifiStaIface.java | 47 public class WifiStaIface implements WifiHal.WifiInterface {
|
D | WifiNanIface.java | 42 public class WifiNanIface implements WifiHal.WifiInterface {
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | HalDeviceManager.java | 51 import com.android.server.wifi.hal.WifiHal; 103 private WifiHal mWifiHal; 179 protected WifiHal getWifiHalMockable(WifiContext context, WifiInjector wifiInjector) { in getWifiHalMockable() 180 return new WifiHal(context, wifiInjector.getSsidTranslator()); in getWifiHalMockable() 428 public boolean removeIface(WifiHal.WifiInterface iface) { in removeIface() 447 private InterfaceCacheEntry getInterfaceCacheEntry(WifiHal.WifiInterface iface) { in getInterfaceCacheEntry() 470 public WifiChip getChip(WifiHal.WifiInterface iface) { in getChip() 477 private WifiChipInfo getChipInfo(WifiHal.WifiInterface iface) { in getChipInfo() 497 public Set<List<Integer>> getSupportedBandCombinations(WifiHal.WifiInterface iface) { in getSupportedBandCombinations() 506 WifiHal.WifiInterface iface) { in getCachedSupportedBandCombinations() [all …]
|
D | WifiVendorHal.java | 52 import com.android.server.wifi.hal.WifiHal; 496 private boolean retrieveWifiChip(WifiHal.WifiInterface iface) { in retrieveWifiChip() 887 if (capsResp.getStatusCode() == WifiHal.WIFI_STATUS_SUCCESS) { in getSupportedFeatureSet() 889 } else if (capsResp.getStatusCode() == WifiHal.WIFI_STATUS_ERROR_REMOTE_EXCEPTION) { in getSupportedFeatureSet()
|
D | WifiNative.java | 79 import com.android.server.wifi.hal.WifiHal; 397 public WifiHal.WifiInterface iface;
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/ |
D | WifiHalTest.java | 46 private WifiHal mDut; 48 private class WifiHalAidlSpy extends WifiHal { 60 private class WifiHalHidlSpy extends WifiHal { 72 private class WifiHalNullSpy extends WifiHal {
|
D | WifiHalAidlImplTest.java | 53 @Mock private WifiHal.DeathRecipient mFrameworkDeathRecipientMock; 132 final WifiHal.Callback frameworkCallback = mock(WifiHal.Callback.class); in testRegisterEventCallback() 142 assertFalse(mDut.registerEventCallback(mock(WifiHal.Callback.class))); in testRegisterEventCallback()
|
D | WifiHalHidlImplTest.java | 60 @Mock WifiHal.DeathRecipient mFrameworkDeathRecipientMock;
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pNativeInterfaceManagementTest.java | 48 import com.android.server.wifi.hal.WifiHal; 196 verify(mHalDeviceManager, never()).removeIface(any(WifiHal.WifiInterface.class)); in testTeardownInterfaceWithNoVendorHal()
|
D | WifiP2pNativeTest.java | 57 import com.android.server.wifi.hal.WifiHal; 429 when(mHalDeviceManagerMock.replaceRequestorWs(any(WifiHal.WifiInterface.class), in testReplaceRequestorWsSuccessWhenHalDeviceMgrFailInReplace()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiVendorHalTest.java | 74 import com.android.server.wifi.hal.WifiHal; 181 when(mHalDeviceManager.getChip(any(WifiHal.WifiInterface.class))) in setUp() 283 verify(mHalDeviceManager, never()).getChip(any(WifiHal.WifiInterface.class)); in testStartHalFailureInStaMode() 306 verify(mHalDeviceManager, never()).getChip(any(WifiHal.WifiInterface.class)); in testStartHalFailureInIfaceCreationInStaMode() 317 when(mHalDeviceManager.getChip(any(WifiHal.WifiInterface.class))).thenReturn(null); in testStartHalFailureInChipGetInStaMode() 324 verify(mHalDeviceManager).getChip(any(WifiHal.WifiInterface.class)); in testStartHalFailureInChipGetInStaMode() 349 verify(mHalDeviceManager, never()).getChip(any(WifiHal.WifiInterface.class)); in testStartHalFailureInStaIfaceCallbackRegistration() 368 verify(mHalDeviceManager).getChip(any(WifiHal.WifiInterface.class)); in testStartHalFailureInChipCallbackRegistration() 561 chipCapsResponse.setStatusCode(WifiHal.WIFI_STATUS_SUCCESS); in testGetSupportedFeatures() 1775 when(mHalDeviceManager.getChip(any(WifiHal.WifiInterface.class))).thenReturn(mWifiChip); in testGetChipCapabilities() [all …]
|
D | HalDeviceManagerTest.java | 80 import com.android.server.wifi.hal.WifiHal; 81 import com.android.server.wifi.hal.WifiHal.WifiInterface; 126 @Mock WifiHal mWifiMock; 144 private ArgumentCaptor<WifiHal.Callback> mWifiEventCallbackCaptor = ArgumentCaptor.forClass( 145 WifiHal.Callback.class); 160 protected WifiHal getWifiHalMockable(WifiContext context, WifiInjector wifiInjector) { in getWifiHalMockable() 197 when(mWifiMock.registerEventCallback(any(WifiHal.Callback.class))).thenReturn(true); in before() 198 when(mWifiMock.start()).thenReturn(WifiHal.WIFI_STATUS_SUCCESS); in before() 295 ArgumentCaptor<WifiHal.DeathRecipient> deathRecipientCaptor = in testWifiDeathAndRegistration() 296 ArgumentCaptor.forClass(WifiHal.DeathRecipient.class); in testWifiDeathAndRegistration() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/ |
D | Android.bp | 812 "com.android.server.wifi.hal.WifiHal", 813 "com.android.server.wifi.hal.WifiHal$*", 814 "com.android.server.wifi.hal.WifiHal.**",
|