Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiLockManagerTest.java140 when(mDeviceConfigFacade.isHighPerfLockDeprecated()).thenReturn(true); in setUp()
237 when(mDeviceConfigFacade.isHighPerfLockDeprecated()).thenReturn(false); in acquireWifiLockWithValidParamsShouldSucceed()
245 when(mDeviceConfigFacade.isHighPerfLockDeprecated()).thenReturn(true); in acquireWifiLockWithValidParamsShouldSucceed()
271 if (mDeviceConfigFacade.isHighPerfLockDeprecated() && SdkLevel.isAtLeastU()) { in secondCallToAcquireWifiLockWithSameBinderShouldFail()
294 if (mDeviceConfigFacade.isHighPerfLockDeprecated() && SdkLevel.isAtLeastU()) { in releaseWifiLockShouldSucceed()
303 eq(mDeviceConfigFacade.isHighPerfLockDeprecated() && SdkLevel.isAtLeastU() in releaseWifiLockShouldSucceed()
322 if (mDeviceConfigFacade.isHighPerfLockDeprecated() && SdkLevel.isAtLeastU()) { in releaseLocksForOneCallerNotImpactOtherCallers()
366 if (mDeviceConfigFacade.isHighPerfLockDeprecated() && SdkLevel.isAtLeastU()) { in checkForProperValueForGetStrongestLockMode()
374 assertEquals(mDeviceConfigFacade.isHighPerfLockDeprecated() && SdkLevel.isAtLeastU() in checkForProperValueForGetStrongestLockMode()
402 if (mDeviceConfigFacade.isHighPerfLockDeprecated() && SdkLevel.isAtLeastU()) { in createMergedWorkSourceShouldSucceed()
[all …]
DDeviceConfigFacadeTest.java230 assertEquals(true, mDeviceConfigFacade.isHighPerfLockDeprecated()); in testDefaultValue()
452 assertEquals(true, mDeviceConfigFacade.isHighPerfLockDeprecated()); in testFieldUpdates()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DDeviceConfigFacade.java884 public boolean isHighPerfLockDeprecated() { in isHighPerfLockDeprecated() method in DeviceConfigFacade
DWifiLockManager.java250 if (mDeviceConfigFacade.isHighPerfLockDeprecated() && SdkLevel.isAtLeastU() in acquireWifiLock()