Home
last modified time | relevance | path

Searched refs:CATEGORY_GAME (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/applications/
DApplicationsStateTest.java60 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; in testGameFilterAcceptsCategorizedGame()
68 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; in testGameFilterAcceptsCategorizedGameAndDeprecatedIsGame()
89 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; in testAudiosFilterRejectsNotAudio()
110 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; in testOtherAppsRejectsGame()
152 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; in testAppsExceptGamesFilterRejectsGame()
362 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; in testVideosFilterRejectsNotVideo()
/frameworks/base/services/core/java/com/android/server/app/
DGameClassifierImpl.java47 return applicationCategory == ApplicationInfo.CATEGORY_GAME; in isGame()
DGameManagerService.java1036 return applicationInfo.category == ApplicationInfo.CATEGORY_GAME;
1999 == ApplicationInfo.CATEGORY_GAME)
2055 if (applicationInfo.category != ApplicationInfo.CATEGORY_GAME) {
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DGameManagerServiceTests.java240 mockAppCategory(mPackageName, DEFAULT_PACKAGE_UID, ApplicationInfo.CATEGORY_GAME); in setUp()
1642 mockAppCategory(mPackageName, DEFAULT_PACKAGE_UID, ApplicationInfo.CATEGORY_GAME); in testAddGameStateListener()
1678 mockAppCategory(mPackageName, DEFAULT_PACKAGE_UID, ApplicationInfo.CATEGORY_GAME); in testRemoveGameStateListener()
1699 mockAppCategory(p, DEFAULT_PACKAGE_UID + i++, ApplicationInfo.CATEGORY_GAME); in mockInterventionListForMultipleUsers()
1706 applicationInfos[i].category = ApplicationInfo.CATEGORY_GAME; in mockInterventionListForMultipleUsers()
2047 mockAppCategory("com.android.app1", DEFAULT_PACKAGE_UID + 1, ApplicationInfo.CATEGORY_GAME); in testWritingSettingFile_onShutdown()
2305 mockAppCategory(someGamePkg, DEFAULT_PACKAGE_UID + 1, ApplicationInfo.CATEGORY_GAME); in testNotifyGraphicsEnvironmentSetup_differentApp()
2337 mockAppCategory(someGamePkg, somePackageId, ApplicationInfo.CATEGORY_GAME); in testGamePowerMode_twoGames()
2360 mockAppCategory(someGamePkg, somePackageId, ApplicationInfo.CATEGORY_GAME); in testGamePowerMode_twoGamesOverlap()
2398 mockAppCategory(gamePkg1, gameUid1, ApplicationInfo.CATEGORY_GAME); in testGamePowerMode_gameAndNotGameApps_flagOn()
[all …]
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java1322 CATEGORY_GAME,
1348 public static final int CATEGORY_GAME = 0; field in ApplicationInfo
1422 case ApplicationInfo.CATEGORY_GAME: in getCategoryTitle()
/frameworks/base/core/java/android/os/
DGraphicsEnvironment.java161 if (appInfoWithMetaData.category == ApplicationInfo.CATEGORY_GAME) { in setup()
/frameworks/base/services/tests/servicestests/src/com/android/server/app/
DMockPackageManager.java66 mApplicationInfo.category = ApplicationInfo.CATEGORY_GAME; in MockPackageManager()
/frameworks/base/services/core/java/com/android/server/power/hint/
DHintManagerService.java836 case ApplicationInfo.CATEGORY_GAME: in createHintSessionWithConfig()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/hint/
DHintManagerServiceTest.java172 mApplicationInfo.category = ApplicationInfo.CATEGORY_GAME;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java2183 || info.info.category == ApplicationInfo.CATEGORY_GAME;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt12169 field public static final int CATEGORY_GAME = 0; // 0x0