Searched refs:isInForeground (Results 1 – 7 of 7) sorted by relevance
41 public boolean isInForeground(int pid, int uid) { in isInForeground() method in FakeSystemActivityMonitoringService
149 if (mSystemActivityMonitoringService.isInForeground( in requestAppFocus()151 && !mSystemActivityMonitoringService.isInForeground( in requestAppFocus()
205 public boolean isInForeground(int pid, int uid) { in isInForeground() method in SystemActivityMonitoringService
94 public boolean isInForeground(int uid) { in isInForeground() method in ForegroundUtils
1251 if (!mForegroundUtils.isInForeground(Binder.getCallingUid())) { in setForegroundDispatch()1347 if (mForegroundUtils.isInForeground(Binder.getCallingUid())) { in invokeBeam()1438 if (!privilegedCaller && !mForegroundUtils.isInForeground(callingUid)) { in setReaderMode()
163 if (mForegroundUtils.isInForeground(callingUid)) { in unregisteredEnabledForegroundService()
316 if (mForegroundUtils.isInForeground(callingUid)) { in unregisteredPreferredForegroundService()