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.java113 private TileLifecycleManager mStateManager; field in TileLifecycleManagerTest
146 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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServiceManager.java62 private final TileLifecycleManager mStateManager; field in TileServiceManager
95 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 …]
/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()