Home
last modified time | relevance | path

Searched refs:setWpsConfigMethods (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pNativeTest.java231 when(mSupplicantP2pIfaceHalMock.setWpsConfigMethods(anyString())).thenReturn(true); in testSetConfigMethods()
233 verify(mSupplicantP2pIfaceHalMock).setWpsConfigMethods(eq(TEST_WPS_CONFIG)); in testSetConfigMethods()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java369 return mSupplicantP2pIfaceHal.setWpsConfigMethods(cfg); in setConfigMethods()
DSupplicantP2pIfaceHal.java2143 public boolean setWpsConfigMethods(String configMethodsStr) { in setWpsConfigMethods() method in SupplicantP2pIfaceHal
2154 result.setResult(mISupplicantP2pIface.setWpsConfigMethods(configMethodsMask)); in setWpsConfigMethods()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaIfaceHalTest.java1052 when(mISupplicantStaIfaceMock.setWpsConfigMethods(anyShort())).thenReturn(mStatusSuccess); in testSetWpsConfigMethods()
1057 assertTrue(mDut.setWpsConfigMethods(WLAN0_IFACE_NAME, validConfigMethodsStr)); in testSetWpsConfigMethods()
1058 verify(mISupplicantStaIfaceMock).setWpsConfigMethods(eq(expectedConfigMethods)); in testSetWpsConfigMethods()
1062 assertFalse(mDut.setWpsConfigMethods(WLAN0_IFACE_NAME, invalidConfigMethodsStr)); in testSetWpsConfigMethods()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStaIfaceHal.java1498 public boolean setWpsConfigMethods(@NonNull String ifaceName, String configMethodsStr) { in setWpsConfigMethods() method in SupplicantStaIfaceHal
1505 return setWpsConfigMethods(ifaceName, configMethodsMask); in setWpsConfigMethods()
1509 private boolean setWpsConfigMethods(@NonNull String ifaceName, short configMethods) { in setWpsConfigMethods() method in SupplicantStaIfaceHal
1515 SupplicantStatus status = iface.setWpsConfigMethods(configMethods); in setWpsConfigMethods()
DWifiNative.java2002 return mSupplicantStaIfaceHal.setWpsConfigMethods(ifaceName, cfg); in setConfigMethods()