Searched refs:GAME_MODE_BATTERY (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/ |
D | GameManagerServiceTests.java | 397 gameManagerService.setGameMode(mPackageName, GameManager.GAME_MODE_BATTERY, in testGameModeMultipleUsers() 399 assertEquals(GameManager.GAME_MODE_BATTERY, in testGameModeMultipleUsers() 467 checkReportedModes(GameManager.GAME_MODE_BATTERY, GameManager.GAME_MODE_STANDARD); in testDeviceConfigBattery() 477 checkReportedModes(GameManager.GAME_MODE_PERFORMANCE, GameManager.GAME_MODE_BATTERY, in testDeviceConfigAll() 509 checkReportedModes(GameManager.GAME_MODE_PERFORMANCE, GameManager.GAME_MODE_BATTERY, in testGameModeOptInAll() 521 checkReportedModes(GameManager.GAME_MODE_BATTERY, GameManager.GAME_MODE_STANDARD); in testGameModeOptInBattery() 544 checkReportedModes(GameManager.GAME_MODE_PERFORMANCE, GameManager.GAME_MODE_BATTERY, in testGameModeOptInBatteryMixed() 557 checkReportedModes(GameManager.GAME_MODE_PERFORMANCE, GameManager.GAME_MODE_BATTERY, in testGameModeOptInPerformanceMixed() 637 gameManagerService.setGameMode(mPackageName, GameManager.GAME_MODE_BATTERY, USER_ID_1); in testResetInvalidGameMode()
|
/frameworks/base/core/java/android/app/ |
D | GameManager.java | 52 GAME_MODE_BATTERY, // 3 79 public static final int GAME_MODE_BATTERY = 3; field in GameManager
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameManagerShellCommand.java | 161 } else if (mode == GameManager.GAME_MODE_BATTERY) { in runGameMode() 194 service.setGameMode(packageName, GameManager.GAME_MODE_BATTERY, in runGameMode()
|
D | GameManagerService.java | 363 || mGameMode == GameManager.GAME_MODE_BATTERY) in isValid() 394 return (mBatteryModeOptedIn && gameMode == GameManager.GAME_MODE_BATTERY) in isGameModeOptedIn() 404 field |= modeToBitmask(GameManager.GAME_MODE_BATTERY); in getAvailableGameModesBitfield()
|
/frameworks/native/services/surfaceflinger/TimeStats/timestatsatomsproto/ |
D | timestats_atoms.proto | 175 GAME_MODE_BATTERY = 4; enumerator
|
/frameworks/native/services/surfaceflinger/TimeStats/ |
D | TimeStats.cpp | 70 return SurfaceflingerStatsLayerInfo::GAME_MODE_BATTERY; in gameModeToProto()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TimeStatsTest.cpp | 1340 EXPECT_EQ(atom0.game_mode(), SurfaceflingerStatsLayerInfo::GAME_MODE_BATTERY); in TEST_F()
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 11590 GAME_MODE_BATTERY = 4; enumerator
|
/frameworks/base/core/api/ |
D | current.txt | 5370 field public static final int GAME_MODE_BATTERY = 3; // 0x3
|