Searched refs:getGameModeConfiguration (Results 1 – 8 of 8) sorted by relevance
138 assertNull(config.getGameModeConfiguration(GameManager.GAME_MODE_STANDARD)); in testReadGameServiceSettings()139 final GameModeConfiguration performanceConfig = config.getGameModeConfiguration( in testReadGameServiceSettings()146 final GameModeConfiguration batteryConfig = config.getGameModeConfiguration( in testReadGameServiceSettings()157 GameModeConfiguration customConfig = config.getGameModeConfiguration( in testReadGameServiceSettings()182 final GameModeConfiguration batteryConfig = config.getGameModeConfiguration( in testReadGameServiceSettings_invalidConfigAttributes()223 final GameModeConfiguration batteryConfig = config.getGameModeConfiguration( in testReadGameServiceSettings_invalidTags()280 batteryConfig = config.getGameModeConfiguration(GameManager.GAME_MODE_BATTERY); in testWriteGameServiceSettings()288 performanceConfig = config.getGameModeConfiguration(GameManager.GAME_MODE_PERFORMANCE); in testWriteGameServiceSettings()297 customConfig = config.getGameModeConfiguration(GameManager.GAME_MODE_CUSTOM); in testWriteGameServiceSettings()301 assertNull(config.getGameModeConfiguration(GameManager.GAME_MODE_PERFORMANCE)); in testWriteGameServiceSettings()[all …]
67 gameModeInfo.getGameModeConfiguration(GameManager.GAME_MODE_PERFORMANCE)); in testParcelable()69 gameModeInfo.getGameModeConfiguration(GameManager.GAME_MODE_BATTERY)); in testParcelable()83 newGameModeInfo.getGameModeConfiguration(GameManager.GAME_MODE_PERFORMANCE)); in testParcelable()85 newGameModeInfo.getGameModeConfiguration(GameManager.GAME_MODE_BATTERY)); in testParcelable()
88 assertNull(gameModeInfo.getGameModeConfiguration(GameManager.GAME_MODE_CUSTOM)); in testUpdateCustomGameModeConfiguration()97 gameModeInfo.getGameModeConfiguration(GameManager.GAME_MODE_CUSTOM)); in testUpdateCustomGameModeConfiguration()
717 assertEquals(scaling, config.getGameModeConfiguration(gameMode).getScaling(), 0.01f); in checkDownscaling()727 assertEquals(config.getGameModeConfiguration(gameMode).getUseAngle(), angleEnabled); in checkAngleEnabled()739 loadingBoost, config.getGameModeConfiguration(gameMode).getLoadingBoostDuration()); in checkLoadingBoost()749 assertEquals(fps, config.getGameModeConfiguration(gameMode).getFps()); in checkFps()1236 config.getGameModeConfiguration(GameManager.GAME_MODE_PERFORMANCE).getFps()); in testGameModeConfigAllowFpsTrue()1237 assertEquals(30, config.getGameModeConfiguration(GameManager.GAME_MODE_BATTERY).getFps()); in testGameModeConfigAllowFpsTrue()1251 config.getGameModeConfiguration(GameManager.GAME_MODE_PERFORMANCE).getFps()); in testGameModeConfigAllowFpsFalse()1252 assertEquals(0, config.getGameModeConfiguration(GameManager.GAME_MODE_BATTERY).getFps()); in testGameModeConfigAllowFpsFalse()1279 assertNull(config.getGameModeConfiguration(GameManager.GAME_MODE_PERFORMANCE)); in testDeviceConfigOptInOverlap()1370 .build(), gameModeInfo.getGameModeConfiguration(GameManager.GAME_MODE_BATTERY)); in testGetGameModeInfoWithAllGameModes()[all …]
857 public GameModeConfiguration getGameModeConfiguration(@GameMode int gameMode) {897 && overrideConfig.getGameModeConfiguration(GameManager.GAME_MODE_PERFORMANCE)900 && overrideConfig.getGameModeConfiguration(GameManager.GAME_MODE_BATTERY)1139 config.getGameModeConfiguration(gameMode);1232 config.getGameModeConfiguration(gameMode);1258 config.getGameModeConfiguration(gameMode);1380 packageConfig.getGameModeConfiguration(gameMode);1675 packageConfig.getGameModeConfiguration(gameMode);1696 || packageConfig.getGameModeConfiguration(gameMode) == null) {1727 if (pkgConfig != null && pkgConfig.getGameModeConfiguration(gameMode) != null) {[all …]
198 final GameModeConfiguration modeConfig = config.getGameModeConfiguration(mode); in writeGameModeConfigTags()
228 public @Nullable GameModeConfiguration getGameModeConfiguration( in getGameModeConfiguration() method in GameModeInfo
944 method @Nullable public android.app.GameModeConfiguration getGameModeConfiguration(int);