Searched refs:isAppForeground (Results 1 – 7 of 7) sorted by relevance
172 public boolean isAppForeground(int uid) throws RemoteException { in isAppForeground() method in FrameworkFacade173 return ActivityManager.getService().isAppForeground(uid); in isAppForeground()
1164 if (!mFrameworkFacade.isAppForeground(uid)) { in startLocalOnlyHotspot()
766 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()
567 return mAm.isAppForeground(callingUid); in clipboardAccessAllowed()
537 boolean isAppForeground(int uid); in isAppForeground() method
5601 && mActivityManager.isAppForeground(appInfo.applicationInfo.uid); in beginFullBackup()
7848 public boolean isAppForeground(int uid) throws RemoteException { in isAppForeground() method in ActivityManagerService