Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DGameManagerServiceTests.java312 gameManagerService.setGameMode(mPackageName, GameManager.GAME_MODE_PERFORMANCE, in testGameMode()
314 assertEquals(GameManager.GAME_MODE_PERFORMANCE, in testGameMode()
355 gameManagerService.setGameMode(mPackageName, GameManager.GAME_MODE_PERFORMANCE, in testSetGameModePermissionDenied()
389 gameManagerService.setGameMode(mPackageName, GameManager.GAME_MODE_PERFORMANCE, in testGameModeMultipleUsers()
391 assertEquals(GameManager.GAME_MODE_PERFORMANCE, in testGameModeMultipleUsers()
401 assertEquals(GameManager.GAME_MODE_PERFORMANCE, in testGameModeMultipleUsers()
457 checkReportedModes(GameManager.GAME_MODE_PERFORMANCE, GameManager.GAME_MODE_STANDARD); in testDeviceConfigPerformance()
477 checkReportedModes(GameManager.GAME_MODE_PERFORMANCE, GameManager.GAME_MODE_BATTERY, in testDeviceConfigAll()
509 checkReportedModes(GameManager.GAME_MODE_PERFORMANCE, GameManager.GAME_MODE_BATTERY, in testGameModeOptInAll()
532 checkReportedModes(GameManager.GAME_MODE_PERFORMANCE, GameManager.GAME_MODE_STANDARD); in testGameModeOptInPerformance()
[all …]
/frameworks/base/core/tests/GameManagerTests/src/android/app/
DGameManagerTests.java63 mGameManager.setGameMode(mPackageName, GameManager.GAME_MODE_PERFORMANCE); in testPublicApiGameModeGetterSetter()
64 assertEquals(GameManager.GAME_MODE_PERFORMANCE, in testPublicApiGameModeGetterSetter()
77 mGameManager.setGameMode(mPackageName, GameManager.GAME_MODE_PERFORMANCE); in testPrivilegedGameModeGetterSetter()
78 assertEquals(GameManager.GAME_MODE_PERFORMANCE, in testPrivilegedGameModeGetterSetter()
/frameworks/base/core/java/android/app/
DGameManager.java51 GAME_MODE_PERFORMANCE, // 2
74 public static final int GAME_MODE_PERFORMANCE = 2; field in GameManager
/frameworks/base/services/core/java/com/android/server/app/
DGameManagerShellCommand.java159 if (mode == GameManager.GAME_MODE_PERFORMANCE) { in runGameMode()
183 service.setGameMode(packageName, GameManager.GAME_MODE_PERFORMANCE, in runGameMode()
DGameManagerService.java362 return (mGameMode == GameManager.GAME_MODE_PERFORMANCE in isValid()
395 || (mPerfModeOptedIn && gameMode == GameManager.GAME_MODE_PERFORMANCE); in isGameModeOptedIn()
407 field |= modeToBitmask(GameManager.GAME_MODE_PERFORMANCE); in getAvailableGameModesBitfield()
/frameworks/native/services/surfaceflinger/TimeStats/timestatsatomsproto/
Dtimestats_atoms.proto174 GAME_MODE_PERFORMANCE = 3; enumerator
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.cpp68 return SurfaceflingerStatsLayerInfo::GAME_MODE_PERFORMANCE; in gameModeToProto()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTimeStatsTest.cpp1358 EXPECT_EQ(atom1.game_mode(), SurfaceflingerStatsLayerInfo::GAME_MODE_PERFORMANCE); in TEST_F()
/frameworks/proto_logging/stats/
Datoms.proto11589 GAME_MODE_PERFORMANCE = 3; enumerator
/frameworks/base/core/api/
Dcurrent.txt5371 field public static final int GAME_MODE_PERFORMANCE = 2; // 0x2