Home
last modified time | relevance | path

Searched refs:isHalStarted (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DApConfigUtilTest.java438 when(mWifiNative.isHalStarted()).thenReturn(true); in chooseApChannel2GBandWithAllowedChannels()
456 when(mWifiNative.isHalStarted()).thenReturn(true); in chooseApChannel5GBandWithAllowedChannels()
468 when(mWifiNative.isHalStarted()).thenReturn(true); in chooseApChannel60GBandWithAllowedChannels()
495 when(mWifiNative.isHalStarted()).thenReturn(true); in chooseApChannelWillHighBandPrefer()
516 when(mWifiNative.isHalStarted()).thenReturn(true); in chooseApChannelWithUnsafeChannelsPreferSafe()
555 when(mWifiNative.isHalStarted()).thenReturn(true); in chooseApChannelWithAllSoftUnsafePreferHighBand()
775 when(mWifiNative.isHalStarted()).thenReturn(false); in updateApChannelConfigWithoutHal()
792 when(mWifiNative.isHalStarted()).thenReturn(true); in updateApChannelConfig5GBandNoCountryCode()
805 when(mWifiNative.isHalStarted()).thenReturn(true); in updateApChannelConfigWithChannelSpecified()
821 when(mWifiNative.isHalStarted()).thenReturn(true); in updateApChannelConfigWith5GBandNoChannelAllowed()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiVendorHalTest.java246 assertTrue(mWifiVendorHal.isHalStarted()); in testStartHalSuccessInStaMode()
275 assertFalse(mWifiVendorHal.isHalStarted()); in testStartHalFailureInStaMode()
297 assertFalse(mWifiVendorHal.isHalStarted()); in testStartHalFailureInIfaceCreationInStaMode()
319 assertFalse(mWifiVendorHal.isHalStarted()); in testStartHalFailureInChipGetInStaMode()
341 assertFalse(mWifiVendorHal.isHalStarted()); in testStartHalFailureInStaIfaceCallbackRegistration()
363 assertFalse(mWifiVendorHal.isHalStarted()); in testStartHalFailureInChipCallbackRegistration()
384 assertTrue(mWifiVendorHal.isHalStarted()); in testStopHalInStaMode()
387 assertFalse(mWifiVendorHal.isHalStarted()); in testStopHalInStaMode()
411 assertTrue(mWifiVendorHal.isHalStarted()); in testStopHalInApMode()
414 assertFalse(mWifiVendorHal.isHalStarted()); in testStopHalInApMode()
[all …]
DWifiNativeTest.java662 assertFalse(mWifiNative.isHalStarted()); in testStartPktFateMonitoringReturnsFalseWhenHalIsNotStarted()
671 assertFalse(mWifiNative.isHalStarted()); in testGetTxPktFatesReturnsErrorWhenHalIsNotStarted()
680 assertFalse(mWifiNative.isHalStarted()); in testGetRxPktFatesReturnsErrorWhenHalIsNotStarted()
1365 when(mWifiVendorHal.isHalStarted()).thenReturn(false); in testIsItPossibleToCreateIface()
1378 when(mWifiVendorHal.isHalStarted()).thenReturn(true); in testIsItPossibleToCreateIface()
DSoftApManagerTest.java448 when(mWifiNative.isHalStarted()).thenReturn(true); in setUp()
3925 when(mWifiNative.isHalStarted()).thenReturn(true); in testFallbackToSingleModeDueToUnableToCreateBridgedAp()
3943 when(mWifiNative.isHalStarted()).thenReturn(true); in testFallbackToSingleModeIfBridgedApWillTearDownExistingIface()
DWifiServiceImplTest.java10052 when(mWifiNative.isHalStarted()).thenReturn(false); in testGetUsableChannelsUsesStoredSoftApChannelsWhenDriverIsntUp()
10107 when(mWifiNative.isHalStarted()).thenReturn(true); in testDriverCountryCodeChangedStoresAvailableSoftApChannels()
11531 when(mWifiNative.isHalStarted()).thenReturn(true); in testTetheredSoftApTrackerWhenCountryCodeChanged()
11536 when(mWifiNative.isHalStarted()).thenReturn(true); in testTetheredSoftApTrackerWhenCountryCodeChanged()
11554 when(mWifiNative.isHalStarted()).thenReturn(false); in testTetheredSoftApTrackerWhenCountryCodeChanged()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiNative.java3421 public boolean isHalStarted() {
3422 return mWifiVendorHal.isHalStarted();
3838 if (!isHalStarted()) {
3853 if (!isHalStarted()) {
3869 if (!mWifiVendorHal.isHalStarted()) {
3884 if (!isHalStarted()) {
DWifiVendorHal.java565 public boolean isHalStarted() { in isHalStarted() method in WifiVendorHal
DWifiServiceImpl.java7565 if (mWifiNative.isHalSupported() && !mWifiNative.isHalStarted()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java483 if (!wifiNative.isHalStarted()) { in getAvailableChannelFreqsForBand()
885 if (!wifiNative.isHalStarted()) { in updateApChannelConfig()