Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiLockManagerTest.java723 when(mClientModeImpl.setLowLatencyMode(anyBoolean())).thenReturn(true); in testLatencyLockAcquireCauseLlEnableNew()
730 verify(mClientModeImpl).setLowLatencyMode(true); in testLatencyLockAcquireCauseLlEnableNew()
750 verify(mClientModeImpl, never()).setLowLatencyMode(anyBoolean()); in testLatencyLockAcquireCauseLL_enableLegacy()
766 when(mClientModeImpl.setLowLatencyMode(anyBoolean())).thenReturn(true); in testLatencyLockReleaseCauseLlDisable()
773 inOrder.verify(mClientModeImpl).setLowLatencyMode(true); in testLatencyLockReleaseCauseLlDisable()
779 inOrder.verify(mClientModeImpl).setLowLatencyMode(false); in testLatencyLockReleaseCauseLlDisable()
800 when(mClientModeImpl.setLowLatencyMode(true)).thenReturn(false); in testLatencyLockReleaseFailure()
806 inOrder.verify(mClientModeImpl).setLowLatencyMode(true); in testLatencyLockReleaseFailure()
811 inOrder.verify(mClientModeImpl, never()).setLowLatencyMode(anyBoolean()); in testLatencyLockReleaseFailure()
829 when(mClientModeImpl.setLowLatencyMode(anyBoolean())).thenReturn(true); in testLatencyfail2DisablePowerSave()
[all …]
DWifiNativeTest.java650 when(mWifiVendorHal.setLowLatencyMode(anyBoolean())).thenReturn(true); in testLowLatencyModeTrue()
651 assertTrue(mWifiNative.setLowLatencyMode(true)); in testLowLatencyModeTrue()
652 verify(mWifiVendorHal).setLowLatencyMode(true); in testLowLatencyModeTrue()
660 when(mWifiVendorHal.setLowLatencyMode(anyBoolean())).thenReturn(true); in testLowLatencyModeFalse()
661 assertTrue(mWifiNative.setLowLatencyMode(false)); in testLowLatencyModeFalse()
662 verify(mWifiVendorHal).setLowLatencyMode(false); in testLowLatencyModeFalse()
671 when(mWifiVendorHal.setLowLatencyMode(anyBoolean())).thenReturn(false); in testSetLowLatencyModeFail()
672 assertFalse(mWifiNative.setLowLatencyMode(lowLatencyMode)); in testSetLowLatencyModeFail()
673 verify(mWifiVendorHal).setLowLatencyMode(lowLatencyMode); in testSetLowLatencyModeFail()
DClientModeImplTest.java3395 when(mWifiNative.setLowLatencyMode(anyBoolean())).thenReturn(true); in verifySetLowLatencyTrueSuccess()
3396 assertTrue(mCmi.setLowLatencyMode(true)); in verifySetLowLatencyTrueSuccess()
3397 verify(mWifiNative).setLowLatencyMode(true); in verifySetLowLatencyTrueSuccess()
3406 when(mWifiNative.setLowLatencyMode(anyBoolean())).thenReturn(true); in verifySetLowLatencyFalseSuccess()
3407 assertTrue(mCmi.setLowLatencyMode(false)); in verifySetLowLatencyFalseSuccess()
3408 verify(mWifiNative).setLowLatencyMode(false); in verifySetLowLatencyFalseSuccess()
3418 when(mWifiNative.setLowLatencyMode(anyBoolean())).thenReturn(false); in verifySetLowLatencyModeFailure()
3419 assertFalse(mCmi.setLowLatencyMode(lowLatencyMode)); in verifySetLowLatencyModeFailure()
3420 verify(mWifiNative).setLowLatencyMode(eq(lowLatencyMode)); in verifySetLowLatencyModeFailure()
DWifiVendorHalTest.java2929 assertFalse(mWifiVendorHal.setLowLatencyMode(true)); in testSetLowLatencyMode_1_2()
2930 assertFalse(mWifiVendorHal.setLowLatencyMode(false)); in testSetLowLatencyMode_1_2()
2943 assertTrue(mWifiVendorHal.setLowLatencyMode(true)); in testSetLowLatencyMode_1_3_enabled()
2957 assertTrue(mWifiVendorHal.setLowLatencyMode(false)); in testSetLowLatencyMode_1_3_disabled()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiLockManager.java586 if (!setLowLatencyMode(false)) { in updateOpMode()
614 if (!setLowLatencyMode(true)) { in updateOpMode()
656 private boolean setLowLatencyMode(boolean enabled) { in setLowLatencyMode() method in WifiLockManager
665 if (!mClientModeImpl.setLowLatencyMode(enabled)) { in setLowLatencyMode()
673 mClientModeImpl.setLowLatencyMode(!enabled); in setLowLatencyMode()
DWifiNative.java2065 public boolean setLowLatencyMode(boolean enabled) { in setLowLatencyMode() method in WifiNative
2066 return mWifiVendorHal.setLowLatencyMode(enabled); in setLowLatencyMode()
DWifiVendorHal.java2570 public boolean setLowLatencyMode(boolean enabled) { in setLowLatencyMode() method in WifiVendorHal
DClientModeImpl.java3100 public boolean setLowLatencyMode(boolean enabled) { in setLowLatencyMode() method in ClientModeImpl
3104 if (!mWifiNative.setLowLatencyMode(enabled)) { in setLowLatencyMode()