Searched refs:p2pFind (Results 1 – 4 of 4) sorted by relevance
412 public boolean p2pFind() { in p2pFind() method in WifiP2pNative413 return p2pFind(0); in p2pFind()424 public boolean p2pFind(int timeout) { in p2pFind() method in WifiP2pNative
1708 if (mWifiNative.p2pFind(DISCOVER_TIMEOUT_S)) { in processMessage()1733 if (mWifiNative.p2pFind(DISCOVER_TIMEOUT_S)) { in processMessage()1774 if (mWifiNative.p2pFind(DISCOVER_TIMEOUT_S)) { in processMessage()
1289 verify(mWifiNative, never()).p2pFind(anyInt()); in testDiscoverPeersFailureWhenNoChannelUpdated()1304 verify(mWifiNative, never()).p2pFind(anyInt()); in testDiscoverPeersFailureWhenChannelUpdateWrongPkgName()1320 verify(mWifiNative, never()).p2pFind(anyInt()); in testDiscoverPeersFailureWhenPermissionDenied()1340 verify(mWifiNative, never()).p2pFind(anyInt()); in testDiscoverPeersFailureWhenLocationModeDisabled()1352 when(mWifiNative.p2pFind(anyInt())).thenReturn(true); in testDiscoverPeersSuccess()1355 verify(mWifiNative).p2pFind(anyInt()); in testDiscoverPeersSuccess()1367 when(mWifiNative.p2pFind(anyInt())).thenReturn(false); in testDiscoverPeersFailureWhenNativeCallFailure()1370 verify(mWifiNative).p2pFind(anyInt()); in testDiscoverPeersFailureWhenNativeCallFailure()1388 verify(mWifiNative, never()).p2pFind(anyInt()); in testDiscoverServicesFailureWhenNoChannelUpdated()1406 verify(mWifiNative, never()).p2pFind(anyInt()); in testDiscoverServicesFailureWhenChannelUpdateWrongPkgName()[all …]
310 assertTrue(mWifiP2pNative.p2pFind()); in testP2pFindIndefinitely()320 assertTrue(mWifiP2pNative.p2pFind(TEST_P2P_FIND_TIMEOUT)); in testP2pFindWithTimeout()