Searched refs:mStateManager (Results 1 – 3 of 3) sorted by relevance
71 private TileLifecycleManager mStateManager; field in TileLifecycleManagerTest89 mStateManager = new TileLifecycleManager(mHandler, mContext, in setUp()125 mStateManager.setBindService(true); in testBind()131 mStateManager.setBindService(true); in testUnbind()132 mStateManager.setBindService(false); in testUnbind()138 mStateManager.setBindService(true); in testTileServiceCallbacks()139 mStateManager.onTileAdded(); in testTileServiceCallbacks()141 mStateManager.onStartListening(); in testTileServiceCallbacks()143 mStateManager.onClick(null); in testTileServiceCallbacks()145 mStateManager.onStopListening(); in testTileServiceCallbacks()[all …]
60 private final TileLifecycleManager mStateManager; field in TileServiceManager87 mStateManager = tileLifecycleManager; in TileServiceManager()111 ComponentName component = mStateManager.getComponent(); in startLifecycleManagerAndAddTile()115 mStateManager.onTileAdded(); in startLifecycleManagerAndAddTile()116 mStateManager.flushMessagesAndUnbind(); in startLifecycleManagerAndAddTile()121 mStateManager.setTileChangeListener(changeListener); in setTileChangeListener()125 return mStateManager.isActiveTile(); in isActiveTile()129 return mStateManager.isToggleableTile(); in isToggleableTile()137 return mStateManager; in getTileService()141 return mStateManager.getToken(); in getToken()[all …]
34 private final StateManager<T> mStateManager; field in StateKeeperRule42 mStateManager = stateManager; in StateKeeperRule()51 final T previousValue = mStateManager.get(); in apply()55 final T currentValue = mStateManager.get(); in apply()57 mStateManager.set(previousValue); in apply()