Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileLifecycleManagerTest.java68 private TileLifecycleManager mStateManager; field in TileLifecycleManagerTest
86 mStateManager = new TileLifecycleManager(mHandler, mContext, in setUp()
120 mStateManager.setBindService(true); in testBind()
126 mStateManager.setBindService(true); in testUnbind()
127 mStateManager.setBindService(false); in testUnbind()
133 mStateManager.setBindService(true); in testTileServiceCallbacks()
134 mStateManager.onTileAdded(); in testTileServiceCallbacks()
136 mStateManager.onStartListening(); in testTileServiceCallbacks()
138 mStateManager.onClick(null); in testTileServiceCallbacks()
140 mStateManager.onStopListening(); in testTileServiceCallbacks()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServiceManager.java60 private final TileLifecycleManager mStateManager; field in TileServiceManager
86 mStateManager = tileLifecycleManager; in TileServiceManager()
109 ComponentName component = mStateManager.getComponent(); in startLifecycleManagerAndAddTile()
113 mStateManager.onTileAdded(); in startLifecycleManagerAndAddTile()
114 mStateManager.flushMessagesAndUnbind(); in startLifecycleManagerAndAddTile()
119 mStateManager.setTileChangeListener(changeListener); in setTileChangeListener()
123 return mStateManager.isActiveTile(); in isActiveTile()
131 return mStateManager; in getTileService()
135 return mStateManager.getToken(); in getToken()
155 mStateManager.onStopListening(); in setLastUpdate()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareServiceImpl.java70 private WifiAwareStateManager mStateManager; field in WifiAwareServiceImpl
105 mStateManager = awareStateManager; in start()
107 mStateManager.start(mContext, handlerThread.getLooper(), awareMetrics, wifiPermissionsUtil, in start()
157 mStateManager.startLate(); in startLate()
164 return mStateManager.isUsageEnabled(); in isUsageEnabled()
171 return mStateManager.getCapabilities() == null ? null in getCharacteristics()
172 : mStateManager.getCapabilities().toPublicCharacteristics(); in getCharacteristics()
227 mStateManager.disconnect(clientId); in connect()
248 mStateManager.connect(clientId, uid, pid, callingPackage, callback, configRequest, in connect()
274 mStateManager.disconnect(clientId); in disconnect()
[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()