Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DGameServiceProviderInstanceImplTest.java249 assertThat(mFakeGameServiceConnector.getIsConnected()).isTrue(); in start_startsGameSession()
260 assertThat(mFakeGameServiceConnector.getIsConnected()).isTrue(); in start_multipleTimes_startsGameSessionOnce()
282 assertThat(mFakeGameServiceConnector.getIsConnected()).isFalse(); in startAndStop_startsAndStopsGameSession()
297 assertThat(mFakeGameServiceConnector.getIsConnected()).isFalse(); in startAndStop_multipleTimes_startsAndStopsGameSessionMultipleTimes()
310 assertThat(mFakeGameServiceConnector.getIsConnected()).isFalse(); in stop_stopMultipleTimes_stopsGameSessionOnce()
892 assertThat(mFakeGameSessionServiceConnector.getIsConnected()).isTrue(); in gameTaskRemoved_multipleSessions_destroysOnlyThatGameSession()
920 assertThat(mFakeGameSessionServiceConnector.getIsConnected()).isFalse(); in allGameTasksRemoved_destroysAllGameSessionsAndGameSessionServiceIsDisconnected()
958 assertThat(mFakeGameSessionServiceConnector.getIsConnected()).isTrue(); in createSessionRequested_afterAllPreviousSessionsDestroyed_createsSession()
985 assertThat(mFakeGameServiceConnector.getIsConnected()).isTrue(); in gameSessionServiceDies_severalActiveGameSessions_destroysGameSessions()
986 assertThat(mFakeGameSessionServiceConnector.getIsConnected()).isFalse(); in gameSessionServiceDies_severalActiveGameSessions_destroysGameSessions()
[all …]
DFakeServiceConnector.java139 public boolean getIsConnected() { in getIsConnected() method in FakeServiceConnector