Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DGameManagerServiceTests.java397 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/
DGameManager.java52 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/
DGameManagerShellCommand.java161 } else if (mode == GameManager.GAME_MODE_BATTERY) { in runGameMode()
194 service.setGameMode(packageName, GameManager.GAME_MODE_BATTERY, in runGameMode()
DGameManagerService.java363 || 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/
Dtimestats_atoms.proto175 GAME_MODE_BATTERY = 4; enumerator
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.cpp70 return SurfaceflingerStatsLayerInfo::GAME_MODE_BATTERY; in gameModeToProto()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTimeStatsTest.cpp1340 EXPECT_EQ(atom0.game_mode(), SurfaceflingerStatsLayerInfo::GAME_MODE_BATTERY); in TEST_F()
/frameworks/proto_logging/stats/
Datoms.proto11590 GAME_MODE_BATTERY = 4; enumerator
/frameworks/base/core/api/
Dcurrent.txt5370 field public static final int GAME_MODE_BATTERY = 3; // 0x3