Home
last modified time | relevance | path

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

/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
H A DWifiP2pNativeTest.java423 when(mSupplicantP2pIfaceHalMock.groupAdd(anyBoolean())).thenReturn(true); in testJoinGroup()
425 verify(mSupplicantP2pIfaceHalMock).groupAdd(eq(true)); in testJoinGroup()
433 when(mSupplicantP2pIfaceHalMock.groupAdd(anyInt(), anyBoolean())).thenReturn(true); in testJoinGroupWithNetworkId()
435 verify(mSupplicantP2pIfaceHalMock).groupAdd(eq(5), eq(true)); in testJoinGroupWithNetworkId()
443 when(mSupplicantP2pIfaceHalMock.groupAdd( in testJoinGroupWithConfig()
458 verify(mSupplicantP2pIfaceHalMock).groupAdd( in testJoinGroupWithConfig()
H A DSupplicantP2pIfaceHalTest.java1289 assertFalse(mDut.groupAdd(3, true)); in testGroupAdd_success()
1291 assertTrue(mDut.groupAdd(3, true)); in testGroupAdd_success()
1302 assertFalse(mDut.groupAdd(0, true)); in testGroupAdd_failure()
1315 assertFalse(mDut.groupAdd(0, true)); in testGroupAdd_exception()
1335 assertFalse(mDut.groupAdd(mNetworkName, mPassphrase, mIsPersistent, in testGroupAddWithConfigSuccess()
1343 assertTrue(mDut.groupAdd(mNetworkName, mPassphrase, mIsPersistent, in testGroupAddWithConfigSuccess()
1365 assertFalse(mDut.groupAdd(mNetworkName, mPassphrase, mIsPersistent, in testGroupAddWithConfigFailure()
1392 assertFalse(mDut.groupAdd(mNetworkName, mPassphrase, mIsPersistent, in testGroupAddWithConfigFailureV1_0()
1414 assertFalse(mDut.groupAdd(mNetworkName, mPassphrase, mIsPersistent, in testGroupAddWithConfigException()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
H A DWifiP2pNative.java551 return mSupplicantP2pIfaceHal.groupAdd(persistent); in p2pGroupAdd()
564 return mSupplicantP2pIfaceHal.groupAdd(netId, true); in p2pGroupAdd()
588 return mSupplicantP2pIfaceHal.groupAdd( in p2pGroupAdd()
H A DSupplicantP2pIfaceHal.java1253 public boolean groupAdd(int networkId, boolean isPersistent) { in groupAdd() method in SupplicantP2pIfaceHal
1282 public boolean groupAdd(String networkName, String passphrase, in groupAdd() method in SupplicantP2pIfaceHal
1322 public boolean groupAdd(boolean isPersistent) { in groupAdd() method in SupplicantP2pIfaceHal
1324 return groupAdd(-1, isPersistent); in groupAdd()