Searched refs:isInForeground (Results 1 – 4 of 4) sorted by relevance
94 public boolean isInForeground(int uid) { in isInForeground() method in ForegroundUtils
796 if (!mForegroundUtils.isInForeground(Binder.getCallingUid())) { in setForegroundDispatch()879 if (mForegroundUtils.isInForeground(Binder.getCallingUid())) { in invokeBeam()966 if (callingUid != Process.SYSTEM_UID && !mForegroundUtils.isInForeground(callingUid)) { in setReaderMode()
161 if (mForegroundUtils.isInForeground(callingUid)) { in unregisteredEnabledForegroundService()
310 if (mForegroundUtils.isInForeground(callingUid)) { in unregisteredPreferredForegroundService()