Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/service/games/
H A DGameSessionService.java110 GameSession gameSession = onNewSession(createGameSessionRequest); in doCreate() local
111 Objects.requireNonNull(gameSession); in doCreate()
130 gameSession.attach( in doCreate()
139 new CreateGameSessionResult(gameSession.mInterface, in doCreate()
144 gameSession.doCreate(); in doCreate()
H A DCreateGameSessionResult.java58 @NonNull IGameSession gameSession, in CreateGameSessionResult()
60 mGameSession = gameSession; in CreateGameSessionResult()
/aosp14/frameworks/base/services/core/java/com/android/server/app/
H A 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()
H A DGameServiceProviderInstanceImpl.java481 IGameSession gameSession = gameSessionRecord.getGameSession(); in onTransientSystemBarsVisibilityChanged() local
482 if (gameSession == null) { in onTransientSystemBarsVisibilityChanged()
487 gameSession.onTransientSystemBarVisibilityFromRevealGestureChanged(visible); in onTransientSystemBarsVisibilityChanged()
577 private void setGameSessionFocusedIfNecessary(int taskId, IGameSession gameSession) { in setGameSessionFocusedIfNecessary() argument
582 gameSession.onTaskFocusChanged(true); in setGameSessionFocusedIfNecessary()
676 IGameSession gameSession = gameSessionRecord.getGameSession(); in destroyGameSessionFromRecordLocked() local
677 if (gameSession != null) { in destroyGameSessionFromRecordLocked()
679 gameSession.onDestroyed(); in destroyGameSessionFromRecordLocked()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/android/service/games/
H A DGameSessionTest.java91 GameSession gameSession = new GameSession() {}; in takeScreenshot_attachNotCalled_throwsIllegalStateException() local
94 gameSession.takeScreenshot(DIRECT_EXECUTOR, in takeScreenshot_attachNotCalled_throwsIllegalStateException()