Home
last modified time | relevance | path

Searched refs:setLowLatencyMode (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiLockManagerTest.java732 when(mClientModeManager.setLowLatencyMode(anyBoolean())).thenReturn(true); in testLatencyLockAcquireCauseLlEnableNew()
739 verify(mClientModeManager).setLowLatencyMode(true); in testLatencyLockAcquireCauseLlEnableNew()
759 verify(mClientModeManager, never()).setLowLatencyMode(anyBoolean()); in testLatencyLockAcquireCauseLL_enableLegacy()
775 when(mClientModeManager.setLowLatencyMode(anyBoolean())).thenReturn(true); in testLatencyLockReleaseCauseLlDisable()
782 inOrder.verify(mClientModeManager).setLowLatencyMode(true); in testLatencyLockReleaseCauseLlDisable()
788 inOrder.verify(mClientModeManager).setLowLatencyMode(false); in testLatencyLockReleaseCauseLlDisable()
809 when(mClientModeManager.setLowLatencyMode(true)).thenReturn(false); in testLatencyLockReleaseFailure()
815 inOrder.verify(mClientModeManager).setLowLatencyMode(true); in testLatencyLockReleaseFailure()
820 inOrder.verify(mClientModeManager, never()).setLowLatencyMode(anyBoolean()); in testLatencyLockReleaseFailure()
838 when(mClientModeManager.setLowLatencyMode(anyBoolean())).thenReturn(true); in testLatencyfail2DisablePowerSave()
[all …]
DWifiNativeTest.java1042 when(mWifiVendorHal.setLowLatencyMode(anyBoolean())).thenReturn(true); in testLowLatencyModeTrue()
1043 assertTrue(mWifiNative.setLowLatencyMode(true)); in testLowLatencyModeTrue()
1044 verify(mWifiVendorHal).setLowLatencyMode(true); in testLowLatencyModeTrue()
1052 when(mWifiVendorHal.setLowLatencyMode(anyBoolean())).thenReturn(true); in testLowLatencyModeFalse()
1053 assertTrue(mWifiNative.setLowLatencyMode(false)); in testLowLatencyModeFalse()
1054 verify(mWifiVendorHal).setLowLatencyMode(false); in testLowLatencyModeFalse()
1063 when(mWifiVendorHal.setLowLatencyMode(anyBoolean())).thenReturn(false); in testSetLowLatencyModeFail()
1064 assertFalse(mWifiNative.setLowLatencyMode(lowLatencyMode)); in testSetLowLatencyModeFail()
1065 verify(mWifiVendorHal).setLowLatencyMode(lowLatencyMode); in testSetLowLatencyModeFail()
DClientModeImplTest.java4550 when(mWifiNative.setLowLatencyMode(anyBoolean())).thenReturn(true); in verifySetLowLatencyTrueSuccess()
4551 assertTrue(mCmi.setLowLatencyMode(true)); in verifySetLowLatencyTrueSuccess()
4552 verify(mWifiNative).setLowLatencyMode(true); in verifySetLowLatencyTrueSuccess()
4561 when(mWifiNative.setLowLatencyMode(anyBoolean())).thenReturn(true); in verifySetLowLatencyFalseSuccess()
4562 assertTrue(mCmi.setLowLatencyMode(false)); in verifySetLowLatencyFalseSuccess()
4563 verify(mWifiNative).setLowLatencyMode(false); in verifySetLowLatencyFalseSuccess()
4573 when(mWifiNative.setLowLatencyMode(anyBoolean())).thenReturn(false); in verifySetLowLatencyModeFailure()
4574 assertFalse(mCmi.setLowLatencyMode(lowLatencyMode)); in verifySetLowLatencyModeFailure()
4575 verify(mWifiNative).setLowLatencyMode(eq(lowLatencyMode)); in verifySetLowLatencyModeFailure()
DWifiVendorHalTest.java3277 assertFalse(mWifiVendorHal.setLowLatencyMode(true)); in testSetLowLatencyMode_1_2()
3278 assertFalse(mWifiVendorHal.setLowLatencyMode(false)); in testSetLowLatencyMode_1_2()
3292 assertTrue(mWifiVendorHal.setLowLatencyMode(true)); in testSetLowLatencyMode_1_3_enabled()
3307 assertTrue(mWifiVendorHal.setLowLatencyMode(false)); in testSetLowLatencyMode_1_3_disabled()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiLockManager.java618 if (!setLowLatencyMode(clientModeManager, false)) { in resetCurrentMode()
652 if (!setLowLatencyMode(clientModeManager, true)) { in setNewMode()
739 private boolean setLowLatencyMode(ClientModeManager clientModeManager, boolean enabled) { in setLowLatencyMode() method in WifiLockManager
748 if (!clientModeManager.setLowLatencyMode(enabled)) { in setLowLatencyMode()
756 clientModeManager.setLowLatencyMode(!enabled); in setLowLatencyMode()
DClientModeDefaults.java137 default boolean setLowLatencyMode(boolean enabled) { in setLowLatencyMode() method
DClientMode.java134 boolean setLowLatencyMode(boolean enabled); in setLowLatencyMode() method
DConcreteClientModeManager.java1299 public boolean setLowLatencyMode(boolean enabled) { in setLowLatencyMode() method in ConcreteClientModeManager
1300 return getClientMode().setLowLatencyMode(enabled); in setLowLatencyMode()
DWifiNative.java2562 public boolean setLowLatencyMode(boolean enabled) {
2563 return mWifiVendorHal.setLowLatencyMode(enabled);
DClientModeImpl.java2773 public boolean setLowLatencyMode(boolean enabled) {
2777 if (!mWifiNative.setLowLatencyMode(enabled)) {
DWifiVendorHal.java3167 public boolean setLowLatencyMode(boolean enabled) { in setLowLatencyMode() method in WifiVendorHal