Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/app/
DGameManagerShellCommand.java207 String fpsStr = null; in runSetGameModeConfig() local
242 if (fpsStr == null) { in runSetGameModeConfig()
243 fpsStr = getNextArgRequired(); in runSetGameModeConfig()
245 Integer.parseInt(fpsStr); in runSetGameModeConfig()
247 pw.println("Invalid frame rate: '" + fpsStr + "'"); in runSetGameModeConfig()
273 fpsStr, downscaleRatio); in runSetGameModeConfig()
277 + "fps-override: " + fpsStr + "`"); in runSetGameModeConfig()
DGameManagerService.java735 public synchronized void setFpsStr(String fpsStr) {
736 mFps = fpsStr;
1718 @GameMode int gameMode, String fpsStr, String scaling) throws SecurityException {
1736 fpsStr == null ? currentModeConfig.getFps()
1737 : Integer.parseInt(fpsStr)) /* toFps */;
1745 fpsStr == null ? 0 : Integer.parseInt(fpsStr) /* toFps */);
1766 if (fpsStr != null) {
1767 modeConfigOverride.setFpsStr(fpsStr);