Searched refs:hasAnyForegroundAppRequest (Results 1 – 4 of 4) sorted by relevance
753 when(mWorkSourceHelper2.hasAnyForegroundAppRequest()).thenReturn(true); in testReplaceRequestorWs()1269 when(mWorkSourceHelper1.hasAnyForegroundAppRequest()).thenReturn(true); in testIsItPossibleToCreateIfaceTestChipV1()1273 when(mWorkSourceHelper1.hasAnyForegroundAppRequest()).thenReturn(false); in testIsItPossibleToCreateIfaceTestChipV1()1284 when(mWorkSourceHelper1.hasAnyForegroundAppRequest()).thenReturn(true); in testIsItPossibleToCreateIfaceTestChipV1()1288 when(mWorkSourceHelper1.hasAnyForegroundAppRequest()).thenReturn(false); in testIsItPossibleToCreateIfaceTestChipV1()1322 when(mWorkSourceHelper1.hasAnyForegroundAppRequest()).thenReturn(true); in testIsItPossibleToCreateIfaceTestChipV1ForR()1326 when(mWorkSourceHelper1.hasAnyForegroundAppRequest()).thenReturn(false); in testIsItPossibleToCreateIfaceTestChipV1ForR()1716 when(mWorkSourceHelper1.hasAnyForegroundAppRequest()).thenReturn(true); in testIsItPossibleToCreateIfaceTestChipV2()1720 when(mWorkSourceHelper1.hasAnyForegroundAppRequest()).thenReturn(false); in testIsItPossibleToCreateIfaceTestChipV2()1731 when(mWorkSourceHelper1.hasAnyForegroundAppRequest()).thenReturn(true); in testIsItPossibleToCreateIfaceTestChipV2()[all …]
99 assertFalse(mWorkSourceHelper.hasAnyForegroundAppRequest()); in testHasAnyForegroundAppRequest()104 assertTrue(mWorkSourceHelper.hasAnyForegroundAppRequest()); in testHasAnyForegroundAppRequest()
129 public boolean hasAnyForegroundAppRequest() { in hasAnyForegroundAppRequest() method in WorkSourceHelper
1965 if (ws.hasAnyForegroundAppRequest()) return PRIORITY_FG_APP; in getRequestorWsPriority()