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.java708 when(mClientModeImpl.setLowLatencyMode(anyBoolean())).thenReturn(true); in testLatencyLockAcquireCauseLlEnableNew()
715 verify(mClientModeImpl).setLowLatencyMode(true); in testLatencyLockAcquireCauseLlEnableNew()
735 verify(mClientModeImpl, never()).setLowLatencyMode(anyBoolean()); in testLatencyLockAcquireCauseLL_enableLegacy()
751 when(mClientModeImpl.setLowLatencyMode(anyBoolean())).thenReturn(true); in testLatencyLockReleaseCauseLlDisable()
758 inOrder.verify(mClientModeImpl).setLowLatencyMode(true); in testLatencyLockReleaseCauseLlDisable()
764 inOrder.verify(mClientModeImpl).setLowLatencyMode(false); in testLatencyLockReleaseCauseLlDisable()
785 when(mClientModeImpl.setLowLatencyMode(true)).thenReturn(false); in testLatencyLockReleaseFailure()
791 inOrder.verify(mClientModeImpl).setLowLatencyMode(true); in testLatencyLockReleaseFailure()
796 inOrder.verify(mClientModeImpl, never()).setLowLatencyMode(anyBoolean()); in testLatencyLockReleaseFailure()
814 when(mClientModeImpl.setLowLatencyMode(anyBoolean())).thenReturn(true); in testLatencyfail2DisablePowerSave()
[all …]
DWifiNativeTest.java922 when(mWifiVendorHal.setLowLatencyMode(anyBoolean())).thenReturn(true); in testLowLatencyModeTrue()
923 assertTrue(mWifiNative.setLowLatencyMode(true)); in testLowLatencyModeTrue()
924 verify(mWifiVendorHal).setLowLatencyMode(true); in testLowLatencyModeTrue()
932 when(mWifiVendorHal.setLowLatencyMode(anyBoolean())).thenReturn(true); in testLowLatencyModeFalse()
933 assertTrue(mWifiNative.setLowLatencyMode(false)); in testLowLatencyModeFalse()
934 verify(mWifiVendorHal).setLowLatencyMode(false); in testLowLatencyModeFalse()
943 when(mWifiVendorHal.setLowLatencyMode(anyBoolean())).thenReturn(false); in testSetLowLatencyModeFail()
944 assertFalse(mWifiNative.setLowLatencyMode(lowLatencyMode)); in testSetLowLatencyModeFail()
945 verify(mWifiVendorHal).setLowLatencyMode(lowLatencyMode); in testSetLowLatencyModeFail()
DClientModeImplTest.java3912 when(mWifiNative.setLowLatencyMode(anyBoolean())).thenReturn(true); in verifySetLowLatencyTrueSuccess()
3913 assertTrue(mCmi.setLowLatencyMode(true)); in verifySetLowLatencyTrueSuccess()
3914 verify(mWifiNative).setLowLatencyMode(true); in verifySetLowLatencyTrueSuccess()
3923 when(mWifiNative.setLowLatencyMode(anyBoolean())).thenReturn(true); in verifySetLowLatencyFalseSuccess()
3924 assertTrue(mCmi.setLowLatencyMode(false)); in verifySetLowLatencyFalseSuccess()
3925 verify(mWifiNative).setLowLatencyMode(false); in verifySetLowLatencyFalseSuccess()
3935 when(mWifiNative.setLowLatencyMode(anyBoolean())).thenReturn(false); in verifySetLowLatencyModeFailure()
3936 assertFalse(mCmi.setLowLatencyMode(lowLatencyMode)); in verifySetLowLatencyModeFailure()
3937 verify(mWifiNative).setLowLatencyMode(eq(lowLatencyMode)); in verifySetLowLatencyModeFailure()
DWifiVendorHalTest.java2765 assertFalse(mWifiVendorHal.setLowLatencyMode(true)); in testSetLowLatencyMode_1_2()
2766 assertFalse(mWifiVendorHal.setLowLatencyMode(false)); in testSetLowLatencyMode_1_2()
2779 assertTrue(mWifiVendorHal.setLowLatencyMode(true)); in testSetLowLatencyMode_1_3_enabled()
2793 assertTrue(mWifiVendorHal.setLowLatencyMode(false)); in testSetLowLatencyMode_1_3_disabled()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiLockManager.java590 if (!setLowLatencyMode(false)) { in updateOpMode()
618 if (!setLowLatencyMode(true)) { in updateOpMode()
660 private boolean setLowLatencyMode(boolean enabled) { in setLowLatencyMode() method in WifiLockManager
669 if (!mClientModeImpl.setLowLatencyMode(enabled)) { in setLowLatencyMode()
677 mClientModeImpl.setLowLatencyMode(!enabled); in setLowLatencyMode()
DWifiNative.java2283 public boolean setLowLatencyMode(boolean enabled) {
2284 return mWifiVendorHal.setLowLatencyMode(enabled);
DClientModeImpl.java2893 public boolean setLowLatencyMode(boolean enabled) { in setLowLatencyMode() method in ClientModeImpl
2897 if (!mWifiNative.setLowLatencyMode(enabled)) { in setLowLatencyMode()
DWifiVendorHal.java2606 public boolean setLowLatencyMode(boolean enabled) { in setLowLatencyMode() method in WifiVendorHal