Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/app/
DGameManagerSettings.java77 private final ArrayMap<String, Integer> mGameModes = new ArrayMap<>(); field in GameManagerSettings
96 if (mGameModes.containsKey(packageName)) { in getGameModeLocked()
97 final int gameMode = mGameModes.get(packageName); in getGameModeLocked()
112 mGameModes.put(packageName, gameMode); in setGameModeLocked()
120 mGameModes.remove(packageName); in removeGame()
162 final ArraySet<String> packageNames = new ArraySet<>(mGameModes.keySet()); in writePersistentDataLocked()
167 if (mGameModes.containsKey(packageName)) { in writePersistentDataLocked()
168 serializer.attributeInt(null, ATTR_GAME_MODE, mGameModes.get(packageName)); in writePersistentDataLocked()
217 mGameModes.clear(); in readPersistentDataLocked()
273 mGameModes.put(name, gameMode); in readPackage()