Searched refs:p2pFind (Results 1 – 4 of 4) sorted by relevance
438 public boolean p2pFind() { in p2pFind() method in WifiP2pNative439 return p2pFind(0); in p2pFind()450 public boolean p2pFind(int timeout) { in p2pFind() method in WifiP2pNative
1515 mWifiNative.p2pFind(DISCOVER_TIMEOUT_S); in processMessage()1546 if (mWifiNative.p2pFind(DISCOVER_TIMEOUT_S)) { in processMessage()1586 if (mWifiNative.p2pFind(DISCOVER_TIMEOUT_S)) { in processMessage()
1115 verify(mWifiNative, never()).p2pFind(anyInt()); in testDiscoverPeersFailureWhenNoChannelUpdated()1130 verify(mWifiNative, never()).p2pFind(anyInt()); in testDiscoverPeersFailureWhenChannelUpdateWrongPkgName()1146 verify(mWifiNative, never()).p2pFind(anyInt()); in testDiscoverPeersFailureWhenPermissionDenied()1166 verify(mWifiNative, never()).p2pFind(anyInt()); in testDiscoverPeersFailureWhenLocationModeDisabled()1180 when(mWifiNative.p2pFind(anyInt())).thenReturn(true); in testDiscoverPeersSuccess()1183 verify(mWifiNative).p2pFind(anyInt()); in testDiscoverPeersSuccess()1197 when(mWifiNative.p2pFind(anyInt())).thenReturn(false); in testDiscoverPeersFailureWhenNativeCallFailure()1200 verify(mWifiNative).p2pFind(anyInt()); in testDiscoverPeersFailureWhenNativeCallFailure()1218 verify(mWifiNative, never()).p2pFind(anyInt()); in testDiscoverServicesFailureWhenNoChannelUpdated()1236 verify(mWifiNative, never()).p2pFind(anyInt()); in testDiscoverServicesFailureWhenChannelUpdateWrongPkgName()[all …]
292 assertTrue(mWifiP2pNative.p2pFind()); in testP2pFindIndefinitely()302 assertTrue(mWifiP2pNative.p2pFind(TEST_P2P_FIND_TIMEOUT)); in testP2pFindWithTimeout()