Searched refs:DEFAULT_FOREGROUND_ID (Results 1 – 1 of 1) sorted by relevance
31 private static final int DEFAULT_FOREGROUND_ID = -1; field in FakeSystemActivityMonitoringService33 private int mForegroundPid = DEFAULT_FOREGROUND_ID;34 private int mForegroundUid = DEFAULT_FOREGROUND_ID;42 return (mForegroundPid == DEFAULT_FOREGROUND_ID || mForegroundPid == pid) in isInForeground()43 && (mForegroundUid == DEFAULT_FOREGROUND_ID || mForegroundUid == uid); in isInForeground()55 mForegroundPid = DEFAULT_FOREGROUND_ID; in resetForegroundPid()59 mForegroundUid = DEFAULT_FOREGROUND_ID; in resetForegroundUid()