/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | GameModeTest.cpp | 88 EXPECT_EQ(rootLayer->getGameMode(), GameMode::Performance); in TEST_F() 89 EXPECT_EQ(childLayer1->getGameMode(), GameMode::Performance); in TEST_F() 90 EXPECT_EQ(childLayer2->getGameMode(), GameMode::Performance); in TEST_F() 99 EXPECT_EQ(rootLayer->getGameMode(), GameMode::Performance); in TEST_F() 100 EXPECT_EQ(childLayer->getGameMode(), GameMode::Performance); in TEST_F() 109 EXPECT_EQ(rootLayer->getGameMode(), GameMode::Performance); in TEST_F() 110 EXPECT_EQ(childLayer->getGameMode(), GameMode::Performance); in TEST_F() 113 EXPECT_EQ(childLayer->getGameMode(), GameMode::Unsupported); in TEST_F() 126 EXPECT_EQ(rootLayer->getGameMode(), GameMode::Standard); in TEST_F() 127 EXPECT_EQ(childLayer1->getGameMode(), GameMode::Standard); in TEST_F() [all …]
|
/frameworks/base/core/tests/GameManagerTests/src/android/app/ |
D | GameManagerTests.java | 59 mGameManager.getGameMode()); in testPublicApiGameModeGetterSetter() 63 mGameManager.getGameMode()); in testPublicApiGameModeGetterSetter() 67 mGameManager.getGameMode()); in testPublicApiGameModeGetterSetter() 73 mGameManager.getGameMode(mPackageName)); in testPrivilegedGameModeGetterSetter() 77 mGameManager.getGameMode(mPackageName)); in testPrivilegedGameModeGetterSetter() 81 mGameManager.getGameMode(mPackageName)); in testPrivilegedGameModeGetterSetter()
|
/frameworks/base/core/java/android/app/ |
D | GameManager.java | 115 public @GameMode int getGameMode() { in getGameMode() method in GameManager 132 public @GameMode int getGameMode(@NonNull String packageName) { in getGameMode() method in GameManager 150 gameMode = mService.getGameMode(packageName, in getGameModeImpl()
|
D | IGameManager.aidl | 27 int getGameMode(); in getGameMode() method
|
D | IGameManagerService.aidl | 29 int getGameMode(String packageName, int userId); in getGameMode() method
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/ |
D | GameManagerServiceTests.java | 527 gameManagerService.getGameMode(mPackageName, USER_ID_1)); in testGetGameMode_defaultValue() 536 gameManagerService.getGameMode(mPackageName, USER_ID_1)); in testGetGameMode_nonGame() 552 gameManagerService.getGameMode(mPackageName, USER_ID_2)); in testDefaultValueForNonexistentUser() 568 gameManagerService.getGameMode(mPackageName, USER_ID_1)); in testGameMode() 574 gameManagerService.getGameMode(mPackageName, USER_ID_1)); in testGameMode() 578 gameManagerService.getGameMode(mPackageName, USER_ID_1)); in testGameMode() 594 gameManagerService.getGameMode(PACKAGE_NAME_INVALID, in testGetGameModeInvalidPackageName() 617 gameManagerService.getGameMode(mPackageName, USER_ID_1)); in testSetGameModePermissionDenied() 634 gameManagerService.getGameMode(mPackageName, USER_ID_1)); in testSetGameModePermissionDenied() 655 gameManagerService.getGameMode(mPackageName, USER_ID_1)); in testGameModeMultipleUsers() [all …]
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameManagerService.java | 371 getGameMode(packageName, userId) == GameManager.GAME_MODE_PERFORMANCE; 702 public int getGameMode() { 869 mModeConfigs.put(config.getGameMode(), config); 1076 public @GameMode int getGameMode(@NonNull String packageName, @UserIdInt int userId) 1220 final int gameMode = getGameMode(packageName, userId); 1246 final int gameMode = getGameMode(packageName, userId); 1282 final int gameMode = getGameMode(packageName, userId); 1437 final int gameMode = getGameMode(packageName, userId); 1818 int gameMode = getGameMode(packageName, userId); 1896 int gameMode = getGameMode(packageName, userId); [all …]
|
D | GameManagerShellCommand.java | 100 gameManagerService.getGameMode(packageName, userId)); in runListGameModes()
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 1430 /*isBuffer*/ false, getGameMode()); in createSurfaceFrameForTransaction() 1448 /*isBuffer*/ true, getGameMode()); in createSurfaceFrameForBuffer() 1473 /*isBuffer*/ false, getGameMode()); in setFrameTimelineVsyncForSkippedFrames() 3222 mOwnerUid, postTime, getGameMode()); in setBuffer() 4101 const auto gameMode = getGameMode(); in onCompositionPresented()
|
D | Layer.h | 840 gui::GameMode getGameMode() const { return mGameMode; } in getGameMode() function
|
/frameworks/base/core/api/ |
D | test-lint-baseline.txt | 590 RequiresPermission: android.app.GameManager#getGameMode(String): 591 Method 'getGameMode' documentation mentions permissions already declared by @RequiresPermission
|
D | test-current.txt | 343 …method @RequiresPermission(android.Manifest.permission.MANAGE_GAME_MODE) public int getGameMode(@N…
|
D | current.txt | 6054 method public int getGameMode();
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |