Home
last modified time | relevance | path

Searched refs:getGameModeLocked (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/app/
DGameManagerServiceSettingsTests.java127 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/
DGameManagerSettings.java95 int getGameModeLocked(String packageName) { in getGameModeLocked() method in GameManagerSettings
DGameManagerService.java1066 return mSettings.get(userId).getGameModeLocked(packageName);
1183 fromGameMode = userSettings.getGameModeLocked(packageName);
/frameworks/base/services/
Dart-wear-profile7423 HPLcom/android/server/app/GameManagerSettings;->getGameModeLocked(Ljava/lang/String;)I