Home
last modified time | relevance | path

Searched refs:gameManagerService (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DGameManagerServiceTests.java292 private void startUser(GameManagerService gameManagerService, int userId) { in startUser() argument
294 gameManagerService.onUserStarting(new SystemService.TargetUser(userInfo), in startUser()
299 private void switchUser(GameManagerService gameManagerService, int from, int to) { in switchUser() argument
302 gameManagerService.onUserSwitching(/* from */ new SystemService.TargetUser(userInfoFrom), in switchUser()
524 GameManagerService gameManagerService = createServiceAndStartUser(USER_ID_1); in testGetGameMode_defaultValue() local
527 gameManagerService.getGameMode(mPackageName, USER_ID_1)); in testGetGameMode_defaultValue()
533 GameManagerService gameManagerService = createServiceAndStartUser(USER_ID_1); in testGetGameMode_nonGame() local
536 gameManagerService.getGameMode(mPackageName, USER_ID_1)); in testGetGameMode_nonGame()
544 GameManagerService gameManagerService = in testDefaultValueForNonexistentUser() local
547 startUser(gameManagerService, USER_ID_1); in testDefaultValueForNonexistentUser()
[all …]
/frameworks/base/services/core/java/com/android/server/app/
DGameManagerShellCommand.java97 final GameManagerService gameManagerService = (GameManagerService) in runListGameModes() local
100 gameManagerService.getGameMode(packageName, userId)); in runListGameModes()
102 for (int mode : gameManagerService.getAvailableGameModes(packageName, userId)) { in runListGameModes()
114 final GameManagerService gameManagerService = (GameManagerService) in runListGameModeConfigs() local
117 final String listStr = gameManagerService.getInterventionList(packageName, in runListGameModeConfigs()
266 final GameManagerService gameManagerService = (GameManagerService) in runSetGameModeConfig() local
268 if (gameManagerService == null) { in runSetGameModeConfig()
272 gameManagerService.setGameModeConfigOverride(packageName, userId, gameMode, in runSetGameModeConfig()
312 final GameManagerService gameManagerService = (GameManagerService) in runResetGameModeConfig() local
319 gameManagerService.resetGameModeConfigOverride(packageName, userId, -1); in runResetGameModeConfig()
[all …]