Searched refs:DEFAULT_FOREGROUND_ID (Results 1 – 2 of 2) 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;46 return (mForegroundPid == DEFAULT_FOREGROUND_ID || mForegroundPid == pid) in isInForeground()47 && (mForegroundUid == DEFAULT_FOREGROUND_ID || mForegroundUid == uid); in isInForeground()59 mForegroundPid = DEFAULT_FOREGROUND_ID; in resetForegroundPid()63 mForegroundUid = DEFAULT_FOREGROUND_ID; in resetForegroundUid()
52 private static final int DEFAULT_FOREGROUND_ID = -1; field in CarAppFocusManagerTest54 private int mForegroundPid = DEFAULT_FOREGROUND_ID;55 private int mForegroundUid = DEFAULT_FOREGROUND_ID;93 return (mForegroundPid == DEFAULT_FOREGROUND_ID || mForegroundPid == pid) in setUp()94 && (mForegroundUid == DEFAULT_FOREGROUND_ID || mForegroundUid == uid); in setUp()