Home
last modified time | relevance | path

Searched refs:mSoftApManager (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSoftApManagerTest.java240 SoftApManager mSoftApManager; field in SoftApManagerTest
295 eq(mSoftApManager.SOFT_AP_SEND_MESSAGE_TIMEOUT_TAG in mockSoftApInfoUpdateAndVerifyAfterSapStarted()
306 eq(mSoftApManager.SOFT_AP_SEND_MESSAGE_TIMEOUT_TAG in mockSoftApInfoUpdateAndVerifyAfterSapStarted()
311 eq(mSoftApManager.SOFT_AP_SEND_MESSAGE_TIMEOUT_TAG in mockSoftApInfoUpdateAndVerifyAfterSapStarted()
532 mSoftApManager = createSoftApManager(apConfig, ROLE_SOFTAP_TETHERED); in startSoftApWithUserRejection()
536 verify(mListener).onStartFailure(mSoftApManager); in startSoftApWithUserRejection()
597 mSoftApManager = createSoftApManager(nullApConfig, ROLE_SOFTAP_TETHERED); in startSoftApDefaultConfigFailedToLoad()
600 verify(mListener).onStartFailure(mSoftApManager); in startSoftApDefaultConfigFailedToLoad()
633 mSoftApManager = createSoftApManager(nullApConfig, ROLE_SOFTAP_TETHERED); in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics()
636 verify(mListener).onStartFailure(mSoftApManager); in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics()
[all …]
DWifiCountryCodeTest.java99 @Mock SoftApManager mSoftApManager; field in WifiCountryCodeTest
615 when(mSoftApManager.getRole()).thenReturn(ActiveModeManager.ROLE_SOFTAP_TETHERED); in testClientModeManagerAndSoftApManagerDoesntImpactEachOther()
616 when(mSoftApManager.updateCountryCode(anyString())).thenReturn(true); in testClientModeManagerAndSoftApManagerDoesntImpactEachOther()
617 mModeChangeCallbackCaptor.getValue().onActiveModeManagerAdded(mSoftApManager); in testClientModeManagerAndSoftApManagerDoesntImpactEachOther()
620 verify(mSoftApManager, never()).updateCountryCode(anyString()); in testClientModeManagerAndSoftApManagerDoesntImpactEachOther()
626 verify(mSoftApManager, never()).updateCountryCode(anyString()); in testClientModeManagerAndSoftApManagerDoesntImpactEachOther()
638 verify(mSoftApManager).updateCountryCode(mTelephonyCountryCode); in testClientModeManagerAndSoftApManagerDoesntImpactEachOther()
645 mModeChangeCallbackCaptor.getValue().onActiveModeManagerAdded(mSoftApManager); in testCountryCodeChangedWhenSoftApManagerActive()
648 verify(mSoftApManager, never()).updateCountryCode(anyString()); in testCountryCodeChangedWhenSoftApManagerActive()
650 verify(mSoftApManager).updateCountryCode(mTelephonyCountryCode); in testCountryCodeChangedWhenSoftApManagerActive()
[all …]
DActiveModeWardenTest.java166 @Mock SoftApManager mSoftApManager; field in ActiveModeWardenTest
230 when(mSoftApManager.getRole()).thenReturn(ROLE_SOFTAP_TETHERED); in setUp()
270 return mSoftApManager; in setUp()
481 when(mSoftApManager.getRole()).thenReturn(softApRole); in enterSoftApActiveMode()
482 when(mSoftApManager.getSoftApModeConfiguration()).thenReturn(softApConfig); in enterSoftApActiveMode()
483 mSoftApListener.onStarted(mSoftApManager); in enterSoftApActiveMode()
495 assertEquals(mSoftApManager, mActiveModeWarden.getTetheredSoftApManager()); in enterSoftApActiveMode()
498 assertEquals(mSoftApManager, mActiveModeWarden.getLocalOnlySoftApManager()); in enterSoftApActiveMode()
501 verify(mModeChangeCallback).onActiveModeManagerAdded(mSoftApManager); in enterSoftApActiveMode()
750 verify(mSoftApManager, never()).stop(); in testDisableWifiFromSoftApModeActiveStateDoesNotStopSoftAp()
[all …]
DWifiVendorHalTest.java136 private SoftApManager mSoftApManager; field in WifiVendorHalTest
178 eq(mSoftApManager), anyList())) in setUp()
258 anyLong(), any(), any(), any(), anyBoolean(), eq(mSoftApManager), anyList()); in testStartHalSuccessInStaMode()
282 anyLong(), any(), any(), any(), anyBoolean(), eq(mSoftApManager), anyList()); in testStartHalFailureInStaMode()
305 anyLong(), any(), any(), any(), anyBoolean(), eq(mSoftApManager), anyList()); in testStartHalFailureInIfaceCreationInStaMode()
329 anyLong(), any(), any(), any(), anyBoolean(), eq(mSoftApManager), anyList()); in testStartHalFailureInChipGetInStaMode()
351 anyLong(), any(), any(), any(), anyBoolean(), eq(mSoftApManager), anyList()); in testStartHalFailureInStaIfaceCallbackRegistration()
374 anyLong(), any(), any(), any(), anyBoolean(), eq(mSoftApManager), anyList()); in testStartHalFailureInChipCallbackRegistration()
398 anyLong(), any(), any(), any(), anyBoolean(), eq(mSoftApManager), anyList()); in testStopHalInStaMode()
409 SoftApConfiguration.BAND_2GHZ, false, mSoftApManager, new ArrayList<>())); in testStopHalInApMode()
[all …]
DHalDeviceManagerTest.java134 @Mock private SoftApManager mSoftApManager; field in HalDeviceManagerTest
853 CHIP_CAPABILITY_ANY, null, null, TEST_WORKSOURCE_2, false, mSoftApManager, in testSecondaryInternetStaTreatedAsOpportunistic()
1304 CHIP_CAPABILITY_ANY, apIdl, mHandler, TEST_WORKSOURCE_0, false, mSoftApManager, in testCreateApWithStaIfaceUpTestChipV1UsingHandlerListeners()
1374 CHIP_CAPABILITY_ANY, apIdl, mHandler, TEST_WORKSOURCE_0, false, mSoftApManager, in testCreateLowerPriorityApWithStaIfaceUpTestChipV1UsingHandlerListeners()
1421 CHIP_CAPABILITY_ANY, idl, null, TEST_WORKSOURCE_0, false, mSoftApManager, in testCreateIfaceTestChipV1UsingNullHandlerListeners()
2040 CHIP_CAPABILITY_ANY, null, null, TEST_WORKSOURCE_0, false, mSoftApManager, in testInterfaceCreationFlowTestChipV2()
2460 CHIP_CAPABILITY_ANY, null, null, TEST_WORKSOURCE_0, false, mSoftApManager, in testInterfaceCreationFlowTestChipV3()
2800 CHIP_CAPABILITY_ANY, null, null, TEST_WORKSOURCE_0, false, mSoftApManager, in testInterfaceCreationFlowTestChipV4()
2966 CHIP_CAPABILITY_ANY, null, null, TEST_WORKSOURCE_0, false, mSoftApManager, in testInterfaceCreationFlowTestChipV4ForR()
3312 requiredChipCapabilities, null, null, TEST_WORKSOURCE_0, false, mSoftApManager, in verify60GhzIfaceCreation()
[all …]
DWifiNativeInterfaceManagementTest.java126 @Mock private SoftApManager mSoftApManager; field in WifiNativeInterfaceManagementTest
560 TEST_WORKSOURCE, SoftApConfiguration.BAND_2GHZ, false, mSoftApManager, in testSetupClientAndSoftApInterfaceCausesClientInterfaceTeardown()
599 eq(mSoftApManager), anyList()); in validateHostApdStart()
879 TEST_WORKSOURCE, SoftApConfiguration.BAND_2GHZ, false, mSoftApManager, in testSetupClientInterfaceAndTriggerInterfaceUpOnDestroyedIface()
1128 SoftApConfiguration.BAND_2GHZ, false, mSoftApManager, in testSetupSoftApInterfaceFailureInStartHal()
1954 mSoftApManager, new ArrayList<>())); in executeAndValidateSetupSoftApInterface()
2003 eq(SoftApConfiguration.BAND_2GHZ), eq(isBridged), eq(mSoftApManager), in validateSetupSoftApInterface()
DWifiNativeTest.java281 @Mock private SoftApManager mSoftApManager; field in WifiNativeTest
809 | SoftApConfiguration.BAND_5GHZ, true, mSoftApManager, new ArrayList<>()); in testBridgedApModeWifiCondSetupTeardown()
898 mSoftApManager, new ArrayList<>()); in testStartHalUpdatesCoexUnsafeChannels()