Searched refs:isInForeground (Results 1 – 7 of 7) sorted by relevance
87 public void setIsInForeground(boolean isInForeground) { in setIsInForeground() argument88 mIsInForeground = isInForeground; in setIsInForeground()
128 if (mSystemActivityMonitoringService.isInForeground( in requestAppFocus()130 !mSystemActivityMonitoringService.isInForeground( in requestAppFocus()
193 public boolean isInForeground(int pid, int uid) { in isInForeground() method in SystemActivityMonitoringService
94 public boolean isInForeground(int uid) { in isInForeground() method in ForegroundUtils
1060 if (!mForegroundUtils.isInForeground(Binder.getCallingUid())) { in setForegroundDispatch()1156 if (mForegroundUtils.isInForeground(Binder.getCallingUid())) { in invokeBeam()1243 if (callingUid != Process.SYSTEM_UID && !mForegroundUtils.isInForeground(callingUid)) { in setReaderMode()
162 if (mForegroundUtils.isInForeground(callingUid)) { in unregisteredEnabledForegroundService()
315 if (mForegroundUtils.isInForeground(callingUid)) { in unregisteredPreferredForegroundService()