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.java712 when(mClientModeImpl.setLowLatencyMode(anyBoolean())).thenReturn(true); in testLatencyLockAcquireCauseLlEnableNew()
719 verify(mClientModeImpl).setLowLatencyMode(true); in testLatencyLockAcquireCauseLlEnableNew()
739 verify(mClientModeImpl, never()).setLowLatencyMode(anyBoolean()); in testLatencyLockAcquireCauseLL_enableLegacy()
755 when(mClientModeImpl.setLowLatencyMode(anyBoolean())).thenReturn(true); in testLatencyLockReleaseCauseLlDisable()
762 inOrder.verify(mClientModeImpl).setLowLatencyMode(true); in testLatencyLockReleaseCauseLlDisable()
768 inOrder.verify(mClientModeImpl).setLowLatencyMode(false); in testLatencyLockReleaseCauseLlDisable()
789 when(mClientModeImpl.setLowLatencyMode(true)).thenReturn(false); in testLatencyLockReleaseFailure()
795 inOrder.verify(mClientModeImpl).setLowLatencyMode(true); in testLatencyLockReleaseFailure()
800 inOrder.verify(mClientModeImpl, never()).setLowLatencyMode(anyBoolean()); in testLatencyLockReleaseFailure()
818 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.java3599 when(mWifiNative.setLowLatencyMode(anyBoolean())).thenReturn(true); in verifySetLowLatencyTrueSuccess()
3600 assertTrue(mCmi.setLowLatencyMode(true)); in verifySetLowLatencyTrueSuccess()
3601 verify(mWifiNative).setLowLatencyMode(true); in verifySetLowLatencyTrueSuccess()
3610 when(mWifiNative.setLowLatencyMode(anyBoolean())).thenReturn(true); in verifySetLowLatencyFalseSuccess()
3611 assertTrue(mCmi.setLowLatencyMode(false)); in verifySetLowLatencyFalseSuccess()
3612 verify(mWifiNative).setLowLatencyMode(false); in verifySetLowLatencyFalseSuccess()
3622 when(mWifiNative.setLowLatencyMode(anyBoolean())).thenReturn(false); in verifySetLowLatencyModeFailure()
3623 assertFalse(mCmi.setLowLatencyMode(lowLatencyMode)); in verifySetLowLatencyModeFailure()
3624 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.java588 if (!setLowLatencyMode(false)) { in updateOpMode()
616 if (!setLowLatencyMode(true)) { in updateOpMode()
658 private boolean setLowLatencyMode(boolean enabled) { in setLowLatencyMode() method in WifiLockManager
667 if (!mClientModeImpl.setLowLatencyMode(enabled)) { in setLowLatencyMode()
675 mClientModeImpl.setLowLatencyMode(!enabled); in setLowLatencyMode()
DWifiNative.java2066 public boolean setLowLatencyMode(boolean enabled) { in setLowLatencyMode() method in WifiNative
2067 return mWifiVendorHal.setLowLatencyMode(enabled); in setLowLatencyMode()
DWifiVendorHal.java2570 public boolean setLowLatencyMode(boolean enabled) { in setLowLatencyMode() method in WifiVendorHal
DClientModeImpl.java3114 public boolean setLowLatencyMode(boolean enabled) { in setLowLatencyMode() method in ClientModeImpl
3118 if (!mWifiNative.setLowLatencyMode(enabled)) { in setLowLatencyMode()