Searched refs:mStateManager (Results 1 – 3 of 3) sorted by relevance
113 private TileLifecycleManager mStateManager; field in TileLifecycleManagerTest146 mStateManager = new TileLifecycleManager(mHandler, mWrappedContext, in setUp()166 mStateManager.handleDestroy(); in tearDown()192 mStateManager.executeSetBindService(true); in testBind()201 mStateManager.executeSetBindService(true); in testPackageReceiverExported()212 mStateManager.executeSetBindService(true); in testUnbind()214 mStateManager.executeSetBindService(false); in testUnbind()221 mStateManager.executeSetBindService(true); in testTileServiceCallbacks()223 mStateManager.onTileAdded(); in testTileServiceCallbacks()225 mStateManager.onStartListening(); in testTileServiceCallbacks()[all …]
62 private final TileLifecycleManager mStateManager; field in TileServiceManager95 mStateManager = tileLifecycleManager; in TileServiceManager()120 ComponentName component = mStateManager.getComponent(); in startLifecycleManagerAndAddTile()121 final int userId = mStateManager.getUserId(); in startLifecycleManagerAndAddTile()124 mStateManager.onTileAdded(); in startLifecycleManagerAndAddTile()125 mStateManager.flushMessagesAndUnbind(); in startLifecycleManagerAndAddTile()130 mStateManager.setTileChangeListener(changeListener); in setTileChangeListener()134 return mStateManager.isActiveTile(); in isActiveTile()138 return mStateManager.isToggleableTile(); in isToggleableTile()146 return mStateManager; in getTileService()[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()