Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pNativeTest.java537 when(mSupplicantP2pIfaceHalMock.getGroupCapability(anyString())).thenReturn(0x156); in testGetGroupCapability()
538 assertEquals(0x156, mWifiP2pNative.getGroupCapability(TEST_BSSID)); in testGetGroupCapability()
539 verify(mSupplicantP2pIfaceHalMock).getGroupCapability(eq(TEST_BSSID)); in testGetGroupCapability()
DSupplicantP2pIfaceHalTest.java1480 .getGroupCapability( in testGetGroupCapability_success()
1485 assertEquals(-1, mDut.getGroupCapability(mPeerMacAddress)); in testGetGroupCapability_success()
1487 assertEquals(caps, mDut.getGroupCapability(mPeerMacAddress)); in testGetGroupCapability_success()
1503 .getGroupCapability( in testGetGroupCapability_invalidArguments()
1508 assertEquals(-1, mDut.getGroupCapability(address)); in testGetGroupCapability_invalidArguments()
1525 .getGroupCapability( in testGetGroupCapability_failure()
1529 assertEquals(-1, mDut.getGroupCapability(mPeerMacAddress)); in testGetGroupCapability_failure()
1542 .getGroupCapability( in testGetGroupCapability_exception()
1545 assertEquals(-1, mDut.getGroupCapability(mPeerMacAddress)); in testGetGroupCapability_exception()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java688 public int getGroupCapability(String deviceAddress) { in getGroupCapability() method in WifiP2pNative
689 return mSupplicantP2pIfaceHal.getGroupCapability(deviceAddress); in getGroupCapability()
DSupplicantP2pIfaceHal.java1361 public int getGroupCapability(String peerAddress) { in getGroupCapability() method in SupplicantP2pIfaceHal
1382 mISupplicantP2pIface.getGroupCapability( in getGroupCapability()
DWifiP2pServiceImpl.java3601 int gc = mWifiNative.getGroupCapability(config.deviceAddress); in fetchCurrentDeviceDetails()