Home
last modified time | relevance | path

Searched refs:setupIface (Results 1 – 20 of 20) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pNativeInterfaceManagementTest.java104 when(mSupplicantP2pIfaceHal.setupIface(TEST_P2P_IFACE_NAME)).thenReturn(true); in setUp()
139 verify(mSupplicantP2pIfaceHal).setupIface(eq(TEST_P2P_IFACE_NAME)); in testSetUpInterface()
155 verify(mSupplicantP2pIfaceHal).setupIface(eq(TEST_P2P_IFACE_NAME)); in testSetUpInterfaceWithNoVendorHal()
DWifiP2pNativeTest.java198 when(mSupplicantP2pIfaceHalMock.setupIface(eq(TEST_IFACE))).thenReturn(true); in testSetupInterfaceByWifiNativeSuccessInCreatingP2pIface()
216 when(mSupplicantP2pIfaceHalMock.setupIface(eq(TEST_IFACE))).thenReturn(true); in testSetupInterfaceSuccessWhenVendorHalDoesNotSupport()
282 when(mSupplicantP2pIfaceHalMock.setupIface(eq(TEST_IFACE))).thenReturn(true); in testSetupInterfaceByWifiNativeAndFailureInSupplicantConnectionInitNotCompleted()
301 when(mSupplicantP2pIfaceHalMock.setupIface(eq(TEST_IFACE))).thenReturn(false); in testSetupInterfaceByWifiNativeAndFailureInSettingUpP2pIfaceInSupplicant()
318 when(mSupplicantP2pIfaceHalMock.setupIface(eq(TEST_IFACE))).thenReturn(true); in testSetupInterfaceFailureInSettingUpP2pIfaceInSupplicantRegisterDeathHandler()
1031 when(mSupplicantP2pIfaceHalMock.setupIface(any())).thenReturn(true); in prepareDbsMock()
DSupplicantP2pIfaceHalTest.java197 when(mP2pIfaceHalAidlMock.setupIface(anyString())).thenReturn(true); in testSetupIface()
198 assertTrue(mDut.setupIface(IFACE_NAME)); in testSetupIface()
199 verify(mP2pIfaceHalAidlMock).setupIface(eq(IFACE_NAME)); in testSetupIface()
DSupplicantP2pIfaceHalHidlImplTest.java322 assertFalse(mDut.setupIface(mIfaceName)); in testDuplicateSetupIfaceV1_1_Fails()
2833 assertTrue(mDut.setupIface(mIfaceName) == shouldSucceed); in executeAndValidateInitializationSequence()
2890 assertTrue(mDut.setupIface(mIfaceName) == shouldSucceed); in executeAndValidateInitializationSequenceV1_1()
DSupplicantP2pIfaceHalAidlImplTest.java221 assertFalse(mDut.setupIface(mIfaceName)); in testDuplicateSetupIface_Fails()
2751 assertEquals(shouldSucceed, mDut.setupIface(mIfaceName)); in executeAndValidateInitializationSequence()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaIfaceHalTest.java212 when(mStaIfaceHalAidlMock.setupIface(anyString())).thenReturn(true); in testCallAfterNullInitFailure()
213 assertFalse(mDut.setupIface(IFACE_NAME)); in testCallAfterNullInitFailure()
214 verify(mStaIfaceHalAidlMock, never()).setupIface(anyString()); in testCallAfterNullInitFailure()
227 when(mStaIfaceHalAidlMock.setupIface(anyString())).thenReturn(true); in testSetupIface()
228 assertTrue(mDut.setupIface(IFACE_NAME)); in testSetupIface()
229 verify(mStaIfaceHalAidlMock).setupIface(eq(IFACE_NAME)); in testSetupIface()
DSupplicantStaIfaceHalHidlImplTest.java435 assertTrue(mDut.setupIface(WLAN1_IFACE_NAME)); in testEnsureOperationFailsUntilSetupInterfaces()
450 assertFalse(mDut.setupIface(WLAN0_IFACE_NAME)); in testDuplicateSetupIfaceV1_1_Fails()
501 assertTrue(mDut.setupIface(WLAN1_IFACE_NAME)); in testSetupTwoInterfaces()
2811 assertEquals(shouldSucceed, mDut.setupIface(WLAN0_IFACE_NAME)); in executeAndValidateInitializationSequence()
2875 assertTrue(mDut.setupIface(WLAN0_IFACE_NAME) == shouldSucceed); in executeAndValidateInitializationSequenceV1_1()
2948 assertTrue(mDut.setupIface(WLAN0_IFACE_NAME)); in executeAndValidateInitializationSequenceV1_2()
3009 assertTrue(mDut.setupIface(WLAN0_IFACE_NAME)); in executeAndValidateInitializationSequenceV1_3()
3064 assertTrue(mDut.setupIface(WLAN0_IFACE_NAME)); in executeAndValidateInitializationSequenceV1_4()
DSupplicantStaIfaceHalAidlImplTest.java309 assertTrue(mDut.setupIface(WLAN1_IFACE_NAME)); in testEnsureOperationFailsUntilSetupInterfaces()
322 assertFalse(mDut.setupIface(WLAN0_IFACE_NAME)); in testDuplicateSetupIface_Fails()
360 assertTrue(mDut.setupIface(WLAN1_IFACE_NAME)); in testSetupTwoInterfaces()
2890 assertEquals(shouldSucceed, mDut.setupIface(WLAN0_IFACE_NAME)); in executeAndValidateInitializationSequence()
3355 mDut.setupIface(WLAN0_IFACE_NAME); in testEnableMscs()
3373 mDut.setupIface(WLAN0_IFACE_NAME); in testEnableAndResendMscs()
DWifiNativeInterfaceManagementTest.java203 when(mSupplicantStaIfaceHal.setupIface(any())).thenReturn(true); in setUp()
1109 when(mSupplicantStaIfaceHal.setupIface(any())).thenReturn(false); in testSetupClientInterfaceFailureInSupplicantSetupIface()
1373 mInOrder.verify(mSupplicantStaIfaceHal).setupIface(ifaceName); in executeAndValidateSwitchClientInterfaceToConnectivityMode()
DWifiNativeTest.java318 when(mStaIfaceHal.setupIface(any())).thenReturn(true); in setUp()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DISupplicantP2pIfaceHal.java61 boolean setupIface(@NonNull String ifaceName); in setupIface() method
DSupplicantP2pIfaceHal.java141 public boolean setupIface(@NonNull String ifaceName) { in setupIface() method in SupplicantP2pIfaceHal
147 return mP2pIfaceHal.setupIface(ifaceName); in setupIface()
DWifiP2pNative.java258 if (!mSupplicantP2pIfaceHal.setupIface(mP2pIfaceName)) { in setupInterface()
DSupplicantP2pIfaceHalAidlImpl.java210 public boolean setupIface(@NonNull String ifaceName) { in setupIface() method in SupplicantP2pIfaceHalAidlImpl
DSupplicantP2pIfaceHalHidlImpl.java298 public boolean setupIface(@NonNull String ifaceName) { in setupIface() method in SupplicantP2pIfaceHalHidlImpl
/packages/modules/Wifi/service/java/com/android/server/wifi/
DISupplicantStaIfaceHal.java52 boolean setupIface(@NonNull String ifaceName); in setupIface() method
DSupplicantStaIfaceHal.java926 public boolean setupIface(@NonNull String ifaceName) { in setupIface() method in SupplicantStaIfaceHal
932 return mStaIfaceHal.setupIface(ifaceName); in setupIface()
DSupplicantStaIfaceHalAidlImpl.java275 public boolean setupIface(@NonNull String ifaceName) { in setupIface() method in SupplicantStaIfaceHalAidlImpl
DSupplicantStaIfaceHalHidlImpl.java434 public boolean setupIface(@NonNull String ifaceName) { in setupIface() method in SupplicantStaIfaceHalHidlImpl
DWifiNative.java1741 if (!mSupplicantStaIfaceHal.setupIface(iface.name)) { in switchClientInterfaceToConnectivityMode()