/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | GameModeTest.cpp | 114 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/ |
D | GameManagerTests.java | 57 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/ |
D | GameManager.java | 97 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()
|
D | IGameManager.aidl | 27 int getGameMode(); in getGameMode() method
|
D | IGameManagerService.aidl | 26 int getGameMode(String packageName, int userId); in getGameMode() method
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/ |
D | GameManagerServiceTests.java | 453 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/ |
D | GameManagerService.java | 338 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/ |
D | BufferLayer.cpp | 401 const auto gameMode = getGameMode(); in onPostComposition()
|
D | Layer.h | 864 GameMode getGameMode() const { return mGameMode; } in getGameMode() function
|
D | BufferStateLayer.cpp | 411 mOwnerUid, postTime, getGameMode()); in setBuffer()
|
D | Layer.cpp | 1301 /*isBuffer*/ false, getGameMode()); in createSurfaceFrameForTransaction() 1319 /*isBuffer*/ true, getGameMode()); in createSurfaceFrameForBuffer()
|
/frameworks/base/core/api/ |
D | test-current.txt | 296 …method @RequiresPermission(android.Manifest.permission.MANAGE_GAME_MODE) public int getGameMode(@N…
|
D | current.txt | 5569 method public int getGameMode();
|
/frameworks/base/services/ |
D | art-profile | 10205 …droid/server/app/GameManagerService$GamePackageConfiguration$GameModeConfiguration;->getGameMode()I 10257 HSPLcom/android/server/app/GameManagerService;->getGameMode(Ljava/lang/String;I)I+]Lcom/android/ser…
|