Home
last modified time | relevance | path

Searched refs:getGameMode (Results 1 – 14 of 14) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DGameModeTest.cpp114 EXPECT_EQ(rootLayer->getGameMode(), GameMode::Performance); in TEST_F()
115 EXPECT_EQ(childLayer1->getGameMode(), GameMode::Performance); in TEST_F()
116 EXPECT_EQ(childLayer2->getGameMode(), GameMode::Performance); in TEST_F()
125 EXPECT_EQ(rootLayer->getGameMode(), GameMode::Performance); in TEST_F()
126 EXPECT_EQ(childLayer->getGameMode(), GameMode::Performance); in TEST_F()
135 EXPECT_EQ(rootLayer->getGameMode(), GameMode::Performance); in TEST_F()
136 EXPECT_EQ(childLayer->getGameMode(), GameMode::Performance); in TEST_F()
139 EXPECT_EQ(childLayer->getGameMode(), GameMode::Unsupported); in TEST_F()
152 EXPECT_EQ(rootLayer->getGameMode(), GameMode::Standard); in TEST_F()
153 EXPECT_EQ(childLayer1->getGameMode(), GameMode::Standard); in TEST_F()
[all …]
/frameworks/base/core/tests/GameManagerTests/src/android/app/
DGameManagerTests.java57 mGameManager.getGameMode()); in testPublicApiGameModeGetterSetter()
61 mGameManager.getGameMode()); in testPublicApiGameModeGetterSetter()
65 mGameManager.getGameMode()); in testPublicApiGameModeGetterSetter()
71 mGameManager.getGameMode(mPackageName)); in testPrivilegedGameModeGetterSetter()
75 mGameManager.getGameMode(mPackageName)); in testPrivilegedGameModeGetterSetter()
79 mGameManager.getGameMode(mPackageName)); in testPrivilegedGameModeGetterSetter()
/frameworks/base/core/java/android/app/
DGameManager.java97 public @GameMode int getGameMode() { in getGameMode() method in GameManager
99 return mService.getGameMode(mContext.getPackageName(), mContext.getUserId()); in getGameMode()
115 public @GameMode int getGameMode(@NonNull String packageName) { in getGameMode() method in GameManager
117 return mService.getGameMode(packageName, mContext.getUserId()); in getGameMode()
DIGameManager.aidl27 int getGameMode(); in getGameMode() method
DIGameManagerService.aidl26 int getGameMode(String packageName, int userId); in getGameMode() method
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DGameManagerServiceTests.java453 gameManagerService.getGameMode(mPackageName, USER_ID_1)); in testGameModeDefaultValue()
469 gameManagerService.getGameMode(mPackageName, USER_ID_2)); in testDefaultValueForNonexistentUser()
485 gameManagerService.getGameMode(mPackageName, USER_ID_1)); in testGameMode()
491 gameManagerService.getGameMode(mPackageName, USER_ID_1)); in testGameMode()
495 gameManagerService.getGameMode(mPackageName, USER_ID_1)); in testGameMode()
509 gameManagerService.getGameMode(PACKAGE_NAME_INVALID, in testGetGameModeInvalidPackageName()
534 gameManagerService.getGameMode(mPackageName, USER_ID_1)); in testSetGameModePermissionDenied()
551 gameManagerService.getGameMode(mPackageName, USER_ID_1)); in testSetGameModePermissionDenied()
572 gameManagerService.getGameMode(mPackageName, USER_ID_1)); in testGameModeMultipleUsers()
578 gameManagerService.getGameMode(mPackageName, USER_ID_2)); in testGameModeMultipleUsers()
[all …]
/frameworks/base/services/core/java/com/android/server/app/
DGameManagerService.java338 getGameMode(packageName, userId) == GameManager.GAME_MODE_PERFORMANCE; in doHandleMessage()
705 public int getGameMode() { in getGameMode() method in GameManagerService.GamePackageConfiguration.GameModeConfiguration
831 mModeConfigs.put(config.getGameMode(), config); in addModeConfig()
1001 public @GameMode int getGameMode(@NonNull String packageName, @UserIdInt int userId) in getGameMode() method in GameManagerService
1104 final int gameMode = getGameMode(packageName, userId); in isAngleEnabled()
1131 final int gameMode = getGameMode(packageName, userId); in getLoadingBoostDuration()
1170 final int gameMode = getGameMode(packageName, userId); in notifyGraphicsEnvironmentSetup()
1526 int gameMode = getGameMode(packageName, userId); in resetGameModeConfigOverride()
1614 int gameMode = getGameMode(packageName, userId); in updateConfigsForUser()
1670 sb.append(getGameMode(packageName, userId)); in writeGameModeInterventionsToFile()
/frameworks/native/services/surfaceflinger/
DBufferLayer.cpp401 const auto gameMode = getGameMode(); in onPostComposition()
DLayer.h864 GameMode getGameMode() const { return mGameMode; } in getGameMode() function
DBufferStateLayer.cpp411 mOwnerUid, postTime, getGameMode()); in setBuffer()
DLayer.cpp1301 /*isBuffer*/ false, getGameMode()); in createSurfaceFrameForTransaction()
1319 /*isBuffer*/ true, getGameMode()); in createSurfaceFrameForBuffer()
/frameworks/base/core/api/
Dtest-current.txt296 …method @RequiresPermission(android.Manifest.permission.MANAGE_GAME_MODE) public int getGameMode(@N…
Dcurrent.txt5569 method public int getGameMode();
/frameworks/base/services/
Dart-profile10205 …droid/server/app/GameManagerService$GamePackageConfiguration$GameModeConfiguration;->getGameMode()I
10257 HSPLcom/android/server/app/GameManagerService;->getGameMode(Ljava/lang/String;I)I+]Lcom/android/ser…