Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DGameModeTest.cpp88 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/
DGameManagerTests.java59 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/
DGameManager.java115 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()
DIGameManager.aidl27 int getGameMode(); in getGameMode() method
DIGameManagerService.aidl29 int getGameMode(String packageName, int userId); in getGameMode() method
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DGameManagerServiceTests.java527 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/
DGameManagerService.java371 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 …]
DGameManagerShellCommand.java100 gameManagerService.getGameMode(packageName, userId)); in runListGameModes()
/frameworks/native/services/surfaceflinger/
DLayer.cpp1430 /*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()
DLayer.h840 gui::GameMode getGameMode() const { return mGameMode; } in getGameMode() function
/frameworks/base/core/api/
Dtest-lint-baseline.txt590 RequiresPermission: android.app.GameManager#getGameMode(String):
591 Method 'getGameMode' documentation mentions permissions already declared by @RequiresPermission
Dtest-current.txt343 …method @RequiresPermission(android.Manifest.permission.MANAGE_GAME_MODE) public int getGameMode(@N…
Dcurrent.txt6054 method public int getGameMode();
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...