Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DFrameworkFacade.java172 public boolean isAppForeground(int uid) throws RemoteException { in isAppForeground() method in FrameworkFacade
173 return ActivityManager.getService().isAppForeground(uid); in isAppForeground()
DWifiServiceImpl.java1164 if (!mFrameworkFacade.isAppForeground(uid)) { in startLocalOnlyHotspot()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java766 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in registerLOHSRequestFull()
827 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(false); in testStartLocalOnlyHotspotFailsIfRequestorNotForegroundApp()
843 when(mFrameworkFacade.isAppForeground(anyInt())).thenThrow(new RemoteException()); in testStartLocalOnlyHotspotFailsIfForegroundAppCheckThrowsRemoteException()
856 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in testHotspotDoesNotStartWhenAlreadyTethering()
871 when(mFrameworkFacade.isAppForeground(anyInt())).thenReturn(true); in testHotspotDoesNotStartWhenTetheringDisallowed()
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java567 return mAm.isAppForeground(callingUid); in clipboardAccessAllowed()
/frameworks/base/core/java/android/app/
DIActivityManager.aidl537 boolean isAppForeground(int uid); in isAppForeground() method
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java5601 && mActivityManager.isAppForeground(appInfo.applicationInfo.uid); in beginFullBackup()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java7848 public boolean isAppForeground(int uid) throws RemoteException { in isAppForeground() method in ActivityManagerService