Searched refs:p2pGroupAdd (Results 1 – 4 of 4) sorted by relevance
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pNative.java | 563 public boolean p2pGroupAdd(boolean persistent) { in p2pGroupAdd() method in WifiP2pNative 576 public boolean p2pGroupAdd(int netId) { in p2pGroupAdd() method in WifiP2pNative 587 public boolean p2pGroupAdd(WifiP2pConfig config, boolean join) { in p2pGroupAdd() method in WifiP2pNative
|
D | WifiP2pServiceImpl.java | 1783 if (mWifiNative.p2pGroupAdd(config, true)) { in processMessage() 1945 ret = mWifiNative.p2pGroupAdd(config, false); in processMessage() 1956 ret = mWifiNative.p2pGroupAdd(netId); in processMessage() 1961 ret = mWifiNative.p2pGroupAdd(true); in processMessage() 1967 ret = mWifiNative.p2pGroupAdd(false); in processMessage() 3490 if (!mWifiNative.p2pGroupAdd(netId)) { in reinvokePersistentGroup()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImplTest.java | 950 verify(mWifiNative, never()).p2pGroupAdd(any(), anyBoolean()); in testConnectWithConfigValidAsGroupFailureWhenNoChannelUpdated() 966 verify(mWifiNative, never()).p2pGroupAdd(any(), anyBoolean()); in testConnectWithConfigValidAsGroupFailureWhenChannelUpdateWrongPkgName() 982 verify(mWifiNative, never()).p2pGroupAdd(any(), anyBoolean()); in testConnectWithConfigValidAsGroupFailureWhenPermissionDenied() 996 when(mWifiNative.p2pGroupAdd(any(), eq(true))).thenReturn(true); in testConnectWithConfigValidAsGroupSuccess() 998 verify(mWifiNative).p2pGroupAdd(any(), eq(true)); in testConnectWithConfigValidAsGroupSuccess() 1013 when(mWifiNative.p2pGroupAdd(any(), eq(true))).thenReturn(false); in testConnectWithConfigValidAsGroupFailureWhenNativeCallFailure() 1015 verify(mWifiNative).p2pGroupAdd(any(), eq(true)); in testConnectWithConfigValidAsGroupFailureWhenNativeCallFailure() 1031 verify(mWifiNative, never()).p2pGroupAdd(anyBoolean()); in testCreateGroupWithConfigValidAsGroupFailureWhenNoChannelUpdated() 1032 verify(mWifiNative, never()).p2pGroupAdd(any(), anyBoolean()); in testCreateGroupWithConfigValidAsGroupFailureWhenNoChannelUpdated() 1048 verify(mWifiNative, never()).p2pGroupAdd(anyBoolean()); in testCreateGroupWithConfigValidAsGroupFailureWhenChannelUpdateWrongPkgName() [all …]
|
D | WifiP2pNativeTest.java | 395 assertTrue(mWifiP2pNative.p2pGroupAdd(true)); in testJoinGroup() 405 assertTrue(mWifiP2pNative.p2pGroupAdd(5)); in testJoinGroupWithNetworkId() 423 assertTrue(mWifiP2pNative.p2pGroupAdd(config, true)); in testJoinGroupWithConfig()
|