Searched refs:setWpsDeviceType (Results 1 – 6 of 6) sorted by relevance
221 when(mSupplicantP2pIfaceHalMock.setWpsDeviceType(anyString())).thenReturn(true); in testSetP2pDeviceType()223 verify(mSupplicantP2pIfaceHalMock).setWpsDeviceType(eq(TEST_DEVICE_TYPE)); in testSetP2pDeviceType()
359 return mSupplicantP2pIfaceHal.setWpsDeviceType(type); in setP2pDeviceType()
2103 public boolean setWpsDeviceType(String typeStr) { in setWpsDeviceType() method in SupplicantP2pIfaceHal2124 result.setResult(mISupplicantP2pIface.setWpsDeviceType(bytes)); in setWpsDeviceType()
1028 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()
1387 public boolean setWpsDeviceType(@NonNull String ifaceName, String typeStr) { in setWpsDeviceType() method in SupplicantStaIfaceHal1404 return setWpsDeviceType(ifaceName, bytes); in setWpsDeviceType()1412 private boolean setWpsDeviceType(@NonNull String ifaceName, byte[/* 8 */] type) { in setWpsDeviceType() method in SupplicantStaIfaceHal1418 SupplicantStatus status = iface.setWpsDeviceType(type); in setWpsDeviceType()
1993 return mSupplicantStaIfaceHal.setWpsDeviceType(ifaceName, type); in setDeviceType()