Home
last modified time | relevance | path

Searched refs:gameSession (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/service/games/
DGameSessionService.java110 GameSession gameSession = onNewSession(createGameSessionRequest); in doCreate() local
111 Objects.requireNonNull(gameSession); in doCreate()
129 gameSession.attach( in doCreate()
138 new CreateGameSessionResult(gameSession.mInterface, in doCreate()
143 gameSession.doCreate(); in doCreate()
DCreateGameSessionResult.java58 @NonNull IGameSession gameSession, in CreateGameSessionResult()
60 mGameSession = gameSession; in CreateGameSessionResult()
/frameworks/base/services/core/java/com/android/server/app/
DGameSessionRecord.java66 @Nullable IGameSession gameSession, in GameSessionRecord() argument
71 this.mIGameSession = gameSession; in GameSessionRecord()
95 @NonNull IGameSession gameSession, in withGameSession()
97 Objects.requireNonNull(gameSession); in withGameSession()
101 gameSession, in withGameSession()
DGameServiceProviderInstanceImpl.java486 IGameSession gameSession = gameSessionRecord.getGameSession(); in onTransientSystemBarsVisibilityChanged() local
487 if (gameSession == null) { in onTransientSystemBarsVisibilityChanged()
492 gameSession.onTransientSystemBarVisibilityFromRevealGestureChanged(visible); in onTransientSystemBarsVisibilityChanged()
582 private void setGameSessionFocusedIfNecessary(int taskId, IGameSession gameSession) { in setGameSessionFocusedIfNecessary() argument
587 gameSession.onTaskFocusChanged(true); in setGameSessionFocusedIfNecessary()
681 IGameSession gameSession = gameSessionRecord.getGameSession(); in destroyGameSessionFromRecordLocked() local
682 if (gameSession != null) { in destroyGameSessionFromRecordLocked()
684 gameSession.onDestroyed(); in destroyGameSessionFromRecordLocked()
/frameworks/base/services/tests/mockingservicestests/src/android/service/games/
DGameSessionTest.java91 GameSession gameSession = new GameSession() {}; in takeScreenshot_attachNotCalled_throwsIllegalStateException() local
94 gameSession.takeScreenshot(DIRECT_EXECUTOR, in takeScreenshot_attachNotCalled_throwsIllegalStateException()