Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java1719 verify(mWifiNative, never()).p2pExtListen(anyBoolean(), anyInt(), anyInt()); in testStartListenFailureWhenPermissionDenied()
1728 when(mWifiNative.p2pExtListen(eq(true), anyInt(), anyInt())).thenReturn(false); in testStartListenFailureWhenNativeCallFailure()
1733 verify(mWifiNative).p2pExtListen(eq(true), anyInt(), anyInt()); in testStartListenFailureWhenNativeCallFailure()
1742 when(mWifiNative.p2pExtListen(eq(true), anyInt(), anyInt())).thenReturn(true); in testStartListenSuccess()
1748 verify(mWifiNative).p2pExtListen(eq(true), anyInt(), anyInt()); in testStartListenSuccess()
1762 verify(mWifiNative, never()).p2pExtListen(anyBoolean(), anyInt(), anyInt()); in testStopListenFailureWhenPermissionDenied()
1771 when(mWifiNative.p2pExtListen(eq(false), anyInt(), anyInt())).thenReturn(false); in testStopListenFailureWhenNativeCallFailure()
1774 verify(mWifiNative).p2pExtListen(eq(false), anyInt(), anyInt()); in testStopListenFailureWhenNativeCallFailure()
1784 when(mWifiNative.p2pExtListen(eq(false), anyInt(), anyInt())).thenReturn(true); in testStopListenSuccess()
1787 verify(mWifiNative).p2pExtListen(eq(false), anyInt(), anyInt()); in testStopListenSuccess()
DWifiP2pNativeTest.java341 assertTrue(mWifiP2pNative.p2pExtListen(true, 10000, 20000)); in testP2pExtListen()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java452 public boolean p2pExtListen(boolean enable, int period, int interval) { in p2pExtListen() method in WifiP2pNative
DWifiP2pServiceImpl.java1895 if (mWifiNative.p2pExtListen(true, 500, 500)) { in processMessage()
1910 if (mWifiNative.p2pExtListen(false, 0, 0)) { in processMessage()
2249 if (mWifiNative.p2pExtListen(true, 500, 500)) { in processMessage()
2264 if (mWifiNative.p2pExtListen(false, 0, 0)) { in processMessage()