Home
last modified time | relevance | path

Searched refs:mStateManager (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileLifecycleManagerTest.java71 private TileLifecycleManager mStateManager; field in TileLifecycleManagerTest
89 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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServiceManager.java60 private final TileLifecycleManager mStateManager; field in TileServiceManager
87 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 …]
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DStateKeeperRule.java34 private final StateManager<T> mStateManager; field in StateKeeperRule
42 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()