Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pNativeTest.java221 when(mSupplicantP2pIfaceHalMock.setWpsDeviceType(anyString())).thenReturn(true); in testSetP2pDeviceType()
223 verify(mSupplicantP2pIfaceHalMock).setWpsDeviceType(eq(TEST_DEVICE_TYPE)); in testSetP2pDeviceType()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java359 return mSupplicantP2pIfaceHal.setWpsDeviceType(type); in setP2pDeviceType()
DSupplicantP2pIfaceHal.java2103 public boolean setWpsDeviceType(String typeStr) { in setWpsDeviceType() method in SupplicantP2pIfaceHal
2124 result.setResult(mISupplicantP2pIface.setWpsDeviceType(bytes)); in setWpsDeviceType()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaIfaceHalTest.java1028 when(mISupplicantStaIfaceMock.setWpsDeviceType(any(byte[].class))) in testSetWpsDeviceType()
1034 assertTrue(mDut.setWpsDeviceType(WLAN0_IFACE_NAME, validDeviceTypeStr)); in testSetWpsDeviceType()
1035 verify(mISupplicantStaIfaceMock).setWpsDeviceType(eq(expectedDeviceType)); in testSetWpsDeviceType()
1038 assertFalse(mDut.setWpsDeviceType(WLAN0_IFACE_NAME, invalidDeviceType1Str)); in testSetWpsDeviceType()
1040 assertFalse(mDut.setWpsDeviceType(WLAN0_IFACE_NAME, invalidDeviceType2Str)); in testSetWpsDeviceType()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStaIfaceHal.java1387 public boolean setWpsDeviceType(@NonNull String ifaceName, String typeStr) { in setWpsDeviceType() method in SupplicantStaIfaceHal
1404 return setWpsDeviceType(ifaceName, bytes); in setWpsDeviceType()
1412 private boolean setWpsDeviceType(@NonNull String ifaceName, byte[/* 8 */] type) { in setWpsDeviceType() method in SupplicantStaIfaceHal
1418 SupplicantStatus status = iface.setWpsDeviceType(type); in setWpsDeviceType()
DWifiNative.java1993 return mSupplicantStaIfaceHal.setWpsDeviceType(ifaceName, type); in setDeviceType()