Searched refs:getGameModeLocked (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/app/ |
D | GameManagerServiceSettingsTests.java | 127 assertEquals(GameManager.GAME_MODE_STANDARD, settings.getGameModeLocked(PACKAGE_NAME_1)); in testReadGameServiceSettings() 128 assertEquals(GameManager.GAME_MODE_PERFORMANCE, settings.getGameModeLocked(PACKAGE_NAME_2)); in testReadGameServiceSettings() 129 assertEquals(GameManager.GAME_MODE_BATTERY, settings.getGameModeLocked(PACKAGE_NAME_3)); in testReadGameServiceSettings() 130 assertEquals(GameManager.GAME_MODE_STANDARD, settings.getGameModeLocked(PACKAGE_NAME_4)); in testReadGameServiceSettings() 217 assertEquals(1, settings.getGameModeLocked(PACKAGE_NAME_1)); in testReadGameServiceSettings_invalidTags() 218 assertEquals(2, settings.getGameModeLocked(PACKAGE_NAME_2)); in testReadGameServiceSettings_invalidTags() 219 assertEquals(3, settings.getGameModeLocked(PACKAGE_NAME_3)); in testReadGameServiceSettings_invalidTags() 271 assertEquals(3, settings.getGameModeLocked(PACKAGE_NAME_1)); in testWriteGameServiceSettings() 272 assertEquals(2, settings.getGameModeLocked(PACKAGE_NAME_2)); in testWriteGameServiceSettings() 273 assertEquals(1, settings.getGameModeLocked(PACKAGE_NAME_3)); in testWriteGameServiceSettings() [all …]
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameManagerSettings.java | 95 int getGameModeLocked(String packageName) { in getGameModeLocked() method in GameManagerSettings
|
D | GameManagerService.java | 1066 return mSettings.get(userId).getGameModeLocked(packageName); 1183 fromGameMode = userSettings.getGameModeLocked(packageName);
|
/frameworks/base/services/ |
D | art-wear-profile | 7423 HPLcom/android/server/app/GameManagerSettings;->getGameModeLocked(Ljava/lang/String;)I
|