Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java686 when(mP2pIfaceHalAidlMock.setWpsDeviceType(anyString())).thenReturn(true); in testSetWpsDeviceType()
687 assertTrue(mDut.setWpsDeviceType(PARAMS)); in testSetWpsDeviceType()
688 verify(mP2pIfaceHalAidlMock).setWpsDeviceType(eq(PARAMS)); in testSetWpsDeviceType()
DWifiP2pNativeTest.java503 when(mSupplicantP2pIfaceHalMock.setWpsDeviceType(anyString())).thenReturn(true); in testSetP2pDeviceType()
505 verify(mSupplicantP2pIfaceHalMock).setWpsDeviceType(eq(TEST_DEVICE_TYPE)); in testSetP2pDeviceType()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DISupplicantP2pIfaceHal.java496 boolean setWpsDeviceType(String typeStr); in setWpsDeviceType() method
DSupplicantP2pIfaceHal.java919 public boolean setWpsDeviceType(String typeStr) { in setWpsDeviceType() method in SupplicantP2pIfaceHal
925 return mP2pIfaceHal.setWpsDeviceType(typeStr); in setWpsDeviceType()
DWifiP2pNative.java405 return mSupplicantP2pIfaceHal.setWpsDeviceType(type); in setP2pDeviceType()
DSupplicantP2pIfaceHalAidlImpl.java2170 public boolean setWpsDeviceType(String typeStr) { in setWpsDeviceType() method in SupplicantP2pIfaceHalAidlImpl
2192 mISupplicantP2pIface.setWpsDeviceType(bytes); in setWpsDeviceType()
DSupplicantP2pIfaceHalHidlImpl.java2282 public boolean setWpsDeviceType(String typeStr) { in setWpsDeviceType() method in SupplicantP2pIfaceHalHidlImpl
2303 result.setResult(mISupplicantP2pIface.setWpsDeviceType(bytes)); in setWpsDeviceType()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaIfaceHalTest.java515 when(mStaIfaceHalAidlMock.setWpsDeviceType(anyString(), anyString())).thenReturn(true); in testSetWpsDeviceType()
516 assertTrue(mDut.setWpsDeviceType(IFACE_NAME, PARAMS)); in testSetWpsDeviceType()
517 verify(mStaIfaceHalAidlMock).setWpsDeviceType(eq(IFACE_NAME), eq(PARAMS)); in testSetWpsDeviceType()
DSupplicantStaIfaceHalAidlImplTest.java827 doNothing().when(mISupplicantStaIfaceMock).setWpsDeviceType(any(byte[].class)); in testSetWpsDeviceType()
832 assertTrue(mDut.setWpsDeviceType(WLAN0_IFACE_NAME, validDeviceTypeStr)); in testSetWpsDeviceType()
833 verify(mISupplicantStaIfaceMock).setWpsDeviceType(eq(expectedDeviceType)); in testSetWpsDeviceType()
836 assertFalse(mDut.setWpsDeviceType(WLAN0_IFACE_NAME, invalidDeviceType1Str)); in testSetWpsDeviceType()
837 assertFalse(mDut.setWpsDeviceType(WLAN0_IFACE_NAME, invalidDeviceType2Str)); in testSetWpsDeviceType()
DSupplicantStaIfaceHalHidlImplTest.java987 when(mISupplicantStaIfaceMock.setWpsDeviceType(any(byte[].class))) in testSetWpsDeviceType()
993 assertTrue(mDut.setWpsDeviceType(WLAN0_IFACE_NAME, validDeviceTypeStr)); in testSetWpsDeviceType()
994 verify(mISupplicantStaIfaceMock).setWpsDeviceType(eq(expectedDeviceType)); in testSetWpsDeviceType()
997 assertFalse(mDut.setWpsDeviceType(WLAN0_IFACE_NAME, invalidDeviceType1Str)); in testSetWpsDeviceType()
999 assertFalse(mDut.setWpsDeviceType(WLAN0_IFACE_NAME, invalidDeviceType2Str)); in testSetWpsDeviceType()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DISupplicantStaIfaceHal.java247 boolean setWpsDeviceType(@NonNull String ifaceName, String typeStr); in setWpsDeviceType() method
DSupplicantStaIfaceHal.java1319 public boolean setWpsDeviceType(@NonNull String ifaceName, String typeStr) { in setWpsDeviceType() method in SupplicantStaIfaceHal
1325 return mStaIfaceHal.setWpsDeviceType(ifaceName, typeStr); in setWpsDeviceType()
DSupplicantStaIfaceHalAidlImpl.java1221 public boolean setWpsDeviceType(@NonNull String ifaceName, String typeStr) { in setWpsDeviceType() method in SupplicantStaIfaceHalAidlImpl
1238 return setWpsDeviceType(ifaceName, bytes); in setWpsDeviceType()
1246 private boolean setWpsDeviceType(@NonNull String ifaceName, byte[/* 8 */] type) { in setWpsDeviceType() method in SupplicantStaIfaceHalAidlImpl
1254 iface.setWpsDeviceType(type); in setWpsDeviceType()
DSupplicantStaIfaceHalHidlImpl.java1621 public boolean setWpsDeviceType(@NonNull String ifaceName, String typeStr) { in setWpsDeviceType() method in SupplicantStaIfaceHalHidlImpl
1638 return setWpsDeviceType(ifaceName, bytes); in setWpsDeviceType()
1646 private boolean setWpsDeviceType(@NonNull String ifaceName, byte[/* 8 */] type) { in setWpsDeviceType() method in SupplicantStaIfaceHalHidlImpl
1652 SupplicantStatus status = iface.setWpsDeviceType(type); in setWpsDeviceType()
DWifiNative.java2908 return mSupplicantStaIfaceHal.setWpsDeviceType(ifaceName, type);