Home
last modified time | relevance | path

Searched refs:isAppForeground (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiLockManagerTest.java672 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in testForegroundAppAcquireLowLatencyScreenOn()
690 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in testForegroundAppAcquireLowLatencyScreenOff()
706 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(false); in testBackgroundAppAcquireLowLatencyScreenOn()
722 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in testLatencyLockAcquireCauseLlEnableNew()
742 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in testLatencyLockAcquireCauseLL_enableLegacy()
761 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in testLatencyLockReleaseCauseLlDisable()
795 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in testLatencyLockReleaseFailure()
824 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in testLatencyfail2DisablePowerSave()
850 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in testLatencyLockGoScreenOff()
884 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in testLatencyLockGoBackground()
[all …]
DWifiServiceImplTest.java1399 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in registerLOHSRequestFull()
1458 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(false); in testStartLocalOnlyHotspotFailsIfRequestorNotForegroundApp()
1494 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in testHotspotDoesNotStartWhenAlreadyTethering()
1508 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in testHotspotDoesNotStartWhenTetheringDisallowed()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DFrameworkFacade.java202 public boolean isAppForeground(int uid) { in isAppForeground() method in FrameworkFacade
206 return mActivityManagerInternal.isAppForeground(uid); in isAppForeground()
DWifiLockManager.java407 if (mFrameworkFacade.isAppForeground(uid)) { in addUidToLlWatchList()
DWifiServiceImpl.java1420 if (!mFrameworkFacade.isAppForeground(uid)) { in startLocalOnlyHotspot()
/frameworks/base/core/java/android/app/
DActivityManagerInternal.java329 public abstract boolean isAppForeground(int uid); in isAppForeground() method in ActivityManagerInternal
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java2157 && mActivityManagerInternal.isAppForeground( in beginFullBackup()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java5695 private boolean isAppForeground(int uid) { in isAppForeground() method in ActivityManagerService
18460 public boolean isAppForeground(int uid) { in isAppForeground() method in ActivityManagerService.LocalService
18461 return ActivityManagerService.this.isAppForeground(uid); in isAppForeground()
/frameworks/base/services/
Dart-profile2683 PLcom/android/server/am/ActivityManagerService$LocalService;->isAppForeground(I)Z
2914 PLcom/android/server/am/ActivityManagerService;->isAppForeground(I)Z