Home
last modified time | relevance | path

Searched refs:groupAdd (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java426 when(mP2pIfaceHalAidlMock.groupAdd(anyInt(), anyBoolean())).thenReturn(true); in testGroupAdd()
427 assertTrue(mDut.groupAdd(NETWORK_ID, ENABLE)); in testGroupAdd()
428 verify(mP2pIfaceHalAidlMock).groupAdd(eq(NETWORK_ID), eq(ENABLE)); in testGroupAdd()
437 when(mP2pIfaceHalAidlMock.groupAdd(anyInt(), anyBoolean())).thenReturn(true); in testGroupAddWrapper()
438 assertTrue(mDut.groupAdd(ENABLE)); in testGroupAddWrapper()
439 verify(mP2pIfaceHalAidlMock).groupAdd(eq(-1) /* set by wrapper */, eq(ENABLE)); in testGroupAddWrapper()
453 when(mP2pIfaceHalAidlMock.groupAdd(anyString(), anyString(), in testGroupAddWithConfig()
455 assertTrue(mDut.groupAdd(networkName, passphrase, persistent, freq, BSSID, join)); in testGroupAddWithConfig()
456 verify(mP2pIfaceHalAidlMock).groupAdd(eq(networkName), eq(passphrase), eq(persistent), in testGroupAddWithConfig()
DWifiP2pNativeTest.java716 when(mSupplicantP2pIfaceHalMock.groupAdd(anyBoolean())).thenReturn(true); in testJoinGroup()
718 verify(mSupplicantP2pIfaceHalMock).groupAdd(eq(true)); in testJoinGroup()
726 when(mSupplicantP2pIfaceHalMock.groupAdd(anyInt(), anyBoolean())).thenReturn(true); in testJoinGroupWithNetworkId()
728 verify(mSupplicantP2pIfaceHalMock).groupAdd(eq(5), eq(true)); in testJoinGroupWithNetworkId()
736 when(mSupplicantP2pIfaceHalMock.groupAdd( in testJoinGroupWithConfig()
751 verify(mSupplicantP2pIfaceHalMock).groupAdd( in testJoinGroupWithConfig()
DSupplicantP2pIfaceHalHidlImplTest.java1315 assertFalse(mDut.groupAdd(3, true)); in testGroupAdd_success()
1317 assertTrue(mDut.groupAdd(3, true)); in testGroupAdd_success()
1328 assertFalse(mDut.groupAdd(0, true)); in testGroupAdd_failure()
1341 assertFalse(mDut.groupAdd(0, true)); in testGroupAdd_exception()
1361 assertFalse(mDut.groupAdd(mNetworkName, mPassphrase, mIsPersistent, in testGroupAddWithConfigSuccess()
1369 assertTrue(mDut.groupAdd(mNetworkName, mPassphrase, mIsPersistent, in testGroupAddWithConfigSuccess()
1391 assertFalse(mDut.groupAdd(mNetworkName, mPassphrase, mIsPersistent, in testGroupAddWithConfigFailure()
1418 assertFalse(mDut.groupAdd(mNetworkName, mPassphrase, mIsPersistent, in testGroupAddWithConfigFailureV1_0()
1440 assertFalse(mDut.groupAdd(mNetworkName, mPassphrase, mIsPersistent, in testGroupAddWithConfigException()
DSupplicantP2pIfaceHalAidlImplTest.java1262 assertFalse(mDut.groupAdd(3, true)); in testGroupAdd_success()
1264 assertTrue(mDut.groupAdd(3, true)); in testGroupAdd_success()
1275 assertFalse(mDut.groupAdd(0, true)); in testGroupAdd_failure()
1288 assertFalse(mDut.groupAdd(0, true)); in testGroupAdd_exception()
1307 assertFalse(mDut.groupAdd(mNetworkName, mPassphrase, mIsPersistent, in testGroupAddWithConfigSuccess()
1315 assertTrue(mDut.groupAdd(mNetworkName, mPassphrase, mIsPersistent, in testGroupAddWithConfigSuccess()
1342 assertFalse(mDut.groupAdd(mNetworkName, mPassphrase, mIsPersistent, in testGroupAddWithConfigFailure()
1372 assertFalse(mDut.groupAdd(mNetworkName, mPassphrase, mIsPersistent, in testGroupAddWithConfigException()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHal.java531 public boolean groupAdd(int networkId, boolean isPersistent) { in groupAdd() method in SupplicantP2pIfaceHal
537 return mP2pIfaceHal.groupAdd(networkId, isPersistent); in groupAdd()
549 public boolean groupAdd(boolean isPersistent) { in groupAdd() method in SupplicantP2pIfaceHal
552 return groupAdd(-1, isPersistent); in groupAdd()
570 public boolean groupAdd(String networkName, String passphrase, in groupAdd() method in SupplicantP2pIfaceHal
577 return mP2pIfaceHal.groupAdd(networkName, passphrase, in groupAdd()
DISupplicantP2pIfaceHal.java286 boolean groupAdd(int networkId, boolean isPersistent); in groupAdd() method
302 boolean groupAdd(String networkName, String passphrase, in groupAdd() method
DWifiP2pNative.java663 return mSupplicantP2pIfaceHal.groupAdd(persistent); in p2pGroupAdd()
676 return mSupplicantP2pIfaceHal.groupAdd(netId, true); in p2pGroupAdd()
700 return mSupplicantP2pIfaceHal.groupAdd( in p2pGroupAdd()
DSupplicantP2pIfaceHalAidlImpl.java1191 public boolean groupAdd(int networkId, boolean isPersistent) { in groupAdd() method in SupplicantP2pIfaceHalAidlImpl
1223 public boolean groupAdd(String networkName, String passphrase, in groupAdd() method in SupplicantP2pIfaceHalAidlImpl
DSupplicantP2pIfaceHalHidlImpl.java1343 public boolean groupAdd(int networkId, boolean isPersistent) { in groupAdd() method in SupplicantP2pIfaceHalHidlImpl
1372 public boolean groupAdd(String networkName, String passphrase, in groupAdd() method in SupplicantP2pIfaceHalHidlImpl