Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/android/service/games/
DGameSessionTest.java68 private LifecycleTrackingGameSession mGameSession; field in GameSessionTest
77 mGameSession = new LifecycleTrackingGameSession() {}; in setUp()
78 mGameSession.attach(mMockGameSessionController, /* taskId= */ 10, in setUp()
122 mGameSession.takeScreenshot(DIRECT_EXECUTOR, in takeScreenshot_gameManagerException_returnsInternalError()
151 mGameSession.takeScreenshot(DIRECT_EXECUTOR, in takeScreenshot_gameManagerError_returnsInternalError()
180 mGameSession.takeScreenshot(DIRECT_EXECUTOR, in takeScreenshot_gameManagerSuccess()
199 mGameSession.moveToState(GameSession.LifecycleState.INITIALIZED); in moveState_InitializedToInitialized_noLifecycleCalls()
201 assertThat(mGameSession.mLifecycleMethodCalls.isEmpty()).isTrue(); in moveState_InitializedToInitialized_noLifecycleCalls()
206 mGameSession.moveToState(GameSession.LifecycleState.CREATED); in moveState_FullLifecycle_ExpectedLifecycleCalls()
207 mGameSession.moveToState(GameSession.LifecycleState.TASK_FOCUSED); in moveState_FullLifecycle_ExpectedLifecycleCalls()
[all …]
/frameworks/base/core/java/android/service/games/
DCreateGameSessionResult.java54 private final IGameSession mGameSession; field in CreateGameSessionResult
60 mGameSession = gameSession; in CreateGameSessionResult()
66 return mGameSession; in getGameSession()
81 dest.writeStrongBinder(mGameSession.asBinder()); in writeToParcel()