Searched refs:mStateManager (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | TileLifecycleManagerTest.java | 71 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/ |
D | TileServiceManager.java | 61 private final TileLifecycleManager mStateManager; field in TileServiceManager 87 mStateManager = tileLifecycleManager; in TileServiceManager() 110 ComponentName component = mStateManager.getComponent(); in startLifecycleManagerAndAddTile() 114 mStateManager.onTileAdded(); in startLifecycleManagerAndAddTile() 115 mStateManager.flushMessagesAndUnbind(); in startLifecycleManagerAndAddTile() 120 mStateManager.setTileChangeListener(changeListener); in setTileChangeListener() 124 return mStateManager.isActiveTile(); in isActiveTile() 128 return mStateManager.isToggleableTile(); in isToggleableTile() 136 return mStateManager; in getTileService() 140 return mStateManager.getToken(); in getToken() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareServiceImpl.java | 69 private WifiAwareStateManager mStateManager; field in WifiAwareServiceImpl 105 mStateManager = awareStateManager; in start() 110 mStateManager.start(mContext, handlerThread.getLooper(), awareMetrics, in start() 144 mHandler.post(() -> mStateManager.startLate()); in startLate() 151 return mStateManager.isUsageEnabled(); in isUsageEnabled() 158 return mStateManager.getCapabilities() == null ? null in getCharacteristics() 159 : mStateManager.getCapabilities().toPublicCharacteristics(); in getCharacteristics() 214 mStateManager.disconnect(clientId); in connect() 235 mStateManager.connect(clientId, uid, pid, callingPackage, callingFeatureId, callback, in connect() 261 mStateManager.disconnect(clientId); in disconnect() [all …]
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | StateKeeperRule.java | 34 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()
|