Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DGameManagerServiceTests.java25 import static com.android.server.app.GameManagerService.SET_GAME_STATE;
1603 assertTrue(gameManagerService.mHandler.hasEqualMessages(SET_GAME_STATE, gameState)); in testSetGameStateNotLoading()
1618 assertFalse(gameManagerService.mHandler.hasMessages(SET_GAME_STATE)); in testSetGameState_nonGame()
1638 assertFalse(gameManagerService.mHandler.hasMessages(SET_GAME_STATE)); in testAddGameStateListener()
1645 assertTrue(gameManagerService.mHandler.hasMessages(SET_GAME_STATE)); in testAddGameStateListener()
1659 assertTrue(gameManagerService.mHandler.hasMessages(SET_GAME_STATE)); in testAddGameStateListener()
1681 assertTrue(gameManagerService.mHandler.hasMessages(SET_GAME_STATE)); in testRemoveGameStateListener()
/frameworks/base/services/core/java/com/android/server/app/
DGameManagerService.java146 static final int SET_GAME_STATE = 4; field in GameManagerService
362 case SET_GAME_STATE: {
478 final Message msg = mHandler.obtainMessage(SET_GAME_STATE);