Searched refs:p2pFind (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pNative.java | 484 public boolean p2pFind() { in p2pFind() method in WifiP2pNative 485 return p2pFind(0); in p2pFind() 496 public boolean p2pFind(int timeout) { in p2pFind() method in WifiP2pNative 521 public boolean p2pFind(@WifiP2pManager.WifiP2pScanType int type, int freq, int timeout) { in p2pFind() method in WifiP2pNative
|
D | WifiP2pServiceImpl.java | 3152 if (p2pFind(DISCOVER_TIMEOUT_S)) { in processMessageImpl() 3216 if (p2pFind(scanType, freq, DISCOVER_TIMEOUT_S, discoveryConfig)) { in processMessageImpl() 3278 if (p2pFind(DISCOVER_TIMEOUT_S)) { in processMessageImpl() 7471 private boolean p2pFind(int timeout) { in p2pFind() method in WifiP2pServiceImpl.P2pStateMachine 7472 return p2pFind( in p2pFind() 7477 private boolean p2pFind(@WifiP2pManager.WifiP2pScanType int scanType, int freq, in p2pFind() method in WifiP2pServiceImpl.P2pStateMachine 7489 return mWifiNative.p2pFind(timeout); in p2pFind() 7492 return mWifiNative.p2pFind(scanType, freq, timeout); in p2pFind() 7495 return mWifiNative.p2pFind(scanType, freq, timeout); in p2pFind()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pNativeTest.java | 574 assertTrue(mWifiP2pNative.p2pFind()); in testP2pFindIndefinitely() 584 assertTrue(mWifiP2pNative.p2pFind(TEST_P2P_FIND_TIMEOUT)); in testP2pFindWithTimeout() 594 assertTrue(mWifiP2pNative.p2pFind( in testP2pFindOnSocialChannels() 610 assertTrue(mWifiP2pNative.p2pFind( in testP2pFindOnSpecificFrequency()
|
D | WifiP2pServiceImplTest.java | 2178 verify(mWifiNative, never()).p2pFind(anyInt()); in testDiscoverPeersFailureWhenNoChannelUpdated() 2193 verify(mWifiNative, never()).p2pFind(anyInt()); in testDiscoverPeersFailureWhenChannelUpdateWrongPkgName() 2214 verify(mWifiNative, never()).p2pFind(anyInt()); in testDiscoverPeersFailureWhenPermissionDenied() 2241 verify(mWifiNative, never()).p2pFind(anyInt()); in testDiscoverPeersFailureWhenLocationModeDisabled() 2255 when(mWifiNative.p2pFind(anyInt())).thenReturn(true); in testDiscoverPeersFullSuccess() 2257 verify(mWifiNative).p2pFind(anyInt()); in testDiscoverPeersFullSuccess() 2286 when(mWifiNative.p2pFind(anyInt(), anyInt(), anyInt())).thenReturn(true); in testDiscoverPeersSocialSuccess() 2290 verify(mWifiNative).p2pFind( in testDiscoverPeersSocialSuccess() 2315 when(mWifiNative.p2pFind(anyInt(), anyInt(), anyInt())).thenReturn(true); in testDiscoverPeersSpecificFrequencySuccess() 2319 verify(mWifiNative).p2pFind( in testDiscoverPeersSpecificFrequencySuccess() [all …]
|