Home
last modified time | relevance | path

Searched refs:getGroupCapability (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pNativeTest.java504 when(mSupplicantP2pIfaceHalMock.getGroupCapability(anyString())).thenReturn(0x156); in testGetGroupCapability()
505 assertEquals(0x156, mWifiP2pNative.getGroupCapability(TEST_BSSID)); in testGetGroupCapability()
506 verify(mSupplicantP2pIfaceHalMock).getGroupCapability(eq(TEST_BSSID)); in testGetGroupCapability()
DSupplicantP2pIfaceHalTest.java1456 .getGroupCapability( in testGetGroupCapability_success()
1461 assertEquals(-1, mDut.getGroupCapability(mPeerMacAddress)); in testGetGroupCapability_success()
1463 assertEquals(caps, mDut.getGroupCapability(mPeerMacAddress)); in testGetGroupCapability_success()
1479 .getGroupCapability( in testGetGroupCapability_invalidArguments()
1484 assertEquals(-1, mDut.getGroupCapability(address)); in testGetGroupCapability_invalidArguments()
1501 .getGroupCapability( in testGetGroupCapability_failure()
1505 assertEquals(-1, mDut.getGroupCapability(mPeerMacAddress)); in testGetGroupCapability_failure()
1518 .getGroupCapability( in testGetGroupCapability_exception()
1521 assertEquals(-1, mDut.getGroupCapability(mPeerMacAddress)); in testGetGroupCapability_exception()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java690 public int getGroupCapability(String deviceAddress) { in getGroupCapability() method in WifiP2pNative
691 return mSupplicantP2pIfaceHal.getGroupCapability(deviceAddress); in getGroupCapability()
DSupplicantP2pIfaceHal.java1273 public int getGroupCapability(String peerAddress) { in getGroupCapability() method in SupplicantP2pIfaceHal
1294 mISupplicantP2pIface.getGroupCapability( in getGroupCapability()
DWifiP2pServiceImpl.java3313 int gc = mWifiNative.getGroupCapability(config.deviceAddress); in fetchCurrentDeviceDetails()