Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java438 public boolean p2pFind() { in p2pFind() method in WifiP2pNative
439 return p2pFind(0); in p2pFind()
450 public boolean p2pFind(int timeout) { in p2pFind() method in WifiP2pNative
DWifiP2pServiceImpl.java1515 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()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java1115 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 …]
DWifiP2pNativeTest.java292 assertTrue(mWifiP2pNative.p2pFind()); in testP2pFindIndefinitely()
302 assertTrue(mWifiP2pNative.p2pFind(TEST_P2P_FIND_TIMEOUT)); in testP2pFindWithTimeout()