Home
last modified time | relevance | path

Searched refs:mGameForegroundUids (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/services/core/java/com/android/server/app/
DGameManagerService.java190 private final Set<Integer> mGameForegroundUids = new HashSet<>(); field in GameManagerService
2272 for (int uid : mGameForegroundUids) {
2315 if (!mGameForegroundUids.isEmpty() && mNonGameForegroundUids.isEmpty()) {
2323 if (mGameForegroundUids.isEmpty() && (!disableGameModeWhenAppTop()
2333 mGameForegroundUids.add(uid);
2339 if (mGameForegroundUids.contains(uid)) {
2340 mGameForegroundUids.remove(uid);
2341 if (mGameForegroundUids.isEmpty() && (!disableGameModeWhenAppTop()
2348 if (mNonGameForegroundUids.isEmpty() && !mGameForegroundUids.isEmpty()) {