Home
last modified time | relevance | path

Searched refs:refreshState (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DRotationLockTileTest.java134 mLockTile.refreshState(); in setUp()
148 mLockTile.refreshState(); in setUp()
168 mLockTile.refreshState(); in testSecondaryString_rotateOff_isEmpty()
178 mLockTile.refreshState(); in testSecondaryString_cameraRotateOff_isEmpty()
188 mLockTile.refreshState(); in testSecondaryString_powerSaveEnabled_isEmpty()
198 mLockTile.refreshState(); in testSecondaryString_cameraDisabled_isEmpty()
209 mLockTile.refreshState(); in testSecondaryString_noCameraPermission_isEmpty()
235 otherTile.refreshState(); in testSecondaryString_rotationResolverDisabled_isEmpty()
DReduceBrightColorsTileTest.java114 mTile.refreshState(); in testNotActive()
125 mTile.refreshState(); in testActive()
136 mTile.refreshState(); in testActive_clicked_featureIsActivated()
150 mTile.refreshState(); in testIcon_whenTileEnabled_isOnState()
161 mTile.refreshState(); in testIcon_whenTileDisabled_isOffState()
DScreenRecordTileTest.java152 mTile.refreshState(); in testNotActive()
180 mTile.refreshState(); in testIsStarting()
204 mTile.refreshState(); in testIsRecording()
225 mTile.refreshState(); in testContentDescriptionHasTileName()
236 mTile.refreshState(); in testForceExpandIcon_notRecordingNotStarting()
247 mTile.refreshState(); in testForceExpandIcon_recordingNotStarting()
258 mTile.refreshState(); in testForceExpandIcon_startingNotRecording()
DDreamTileTest.java130 mTile.refreshState(); in testNotAvailable()
151 mTile.refreshState(); in testInactiveWhenDreaming()
164 mTile.refreshState(); in testActive()
177 mTile.refreshState(); in testClick()
187 mTile.refreshState(); in testClick()
DDndTileTest.kt156 tile.refreshState() in testForceExpandIcon_durationAskAlways_true()
166 tile.refreshState() in testForceExpandIcon_durationNotAskAlways_false()
176 tile.refreshState() in testForceExpandIcon_changeWhileListening()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DFlashlightTile.java107 refreshState(newState); in handleClick()
157 refreshState(enabled); in onFlashlightChanged()
162 refreshState(false); in onFlashlightError()
167 refreshState(); in onFlashlightAvailabilityChanged()
DScreenRecordTile.java129 refreshState(); in handleClick()
234 refreshState(); in onCountdown()
239 refreshState(); in onCountdownEnd()
244 refreshState(); in onRecordingStart()
249 refreshState(); in onRecordingEnd()
DRotationLockTile.java120 refreshState(); in onPowerSaveChanged()
137 refreshState(newState); in handleClick()
220 refreshState(rotationLocked);
226 (sensor, enabled) -> refreshState();
DHotspotTile.java100 refreshState(); in handleSetListening()
121 refreshState(isEnabled ? null : ARG_SHOW_TRANSIENT_ENABLING); in handleClick()
214 refreshState(mCallbackInfo); in onDataSaverChanged()
221 refreshState(mCallbackInfo); in onHotspotChanged()
DUiModeNightTile.java96 refreshState(); in onUiModeChanged()
101 refreshState(); in onPowerSaveChanged()
116 refreshState(newState); in handleClick()
DBluetoothTile.java146 refreshState(isEnabled ? null : ARG_SHOW_TRANSIENT_ENABLING); in handleClickEvent()
341 refreshState();
346 refreshState();
352 if (key == BluetoothDevice.METADATA_MAIN_BATTERY) refreshState();
DDreamTile.java87 refreshState();
118 refreshState(); in DreamTile()
125 refreshState(); in DreamTile()
DHearingDevicesTile.java61 refreshState();
66 refreshState();
DCastTile.java331 refreshState(); in setCastTransportAllowed()
341 refreshState(); in setHotspotConnected()
376 refreshState(); in onCastDevicesChanged()
381 refreshState(); in onKeyguardShowingChanged()
DInternetTile.java322 refreshState(mWifiInfo); in setWifiIndicators()
345 refreshState(mCellularInfo); in setMobileDataIndicators()
360 refreshState(mEthernetInfo); in setEthernetIndicators()
401 refreshState(mWifiInfo); in setIsAirplaneMode()
406 refreshState(mWifiInfo); in setIsAirplaneMode()
408 refreshState(mCellularInfo); in setIsAirplaneMode()
435 refreshState(mWifiInfo); in setConnectivityStatus()
DQuickAccessWalletTile.java234 refreshState(); in onWalletCardsRetrieved()
261 refreshState(); in onWalletCardsRetrieved()
269 refreshState(); in onWalletCardRetrievalError()
DBatterySaverTile.java165 refreshState(level); in onBatteryLevelChanged()
171 refreshState(null); in onPowerSaveChanged()
DLocationTile.java142 refreshState(); in onLocationSettingsChanged()
147 refreshState(); in onKeyguardShowingChanged()
DDataSaverTile.java135 refreshState(mState.value); in toggleDataSaver()
162 refreshState(isDataSaving); in onDataSaverChanged()
DDndTile.java116 refreshState(); in DndTile()
318 refreshState();
326 refreshState(zen);
DNightDisplayTile.java232 refreshState(); in handleSetListening()
245 refreshState(); in onActivated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DCustomTileInterface.kt31 fun refreshState() method
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/
DFakeQSTile.kt45 override fun refreshState() {} in refreshState() method in com.android.systemui.qs.FakeQSTile
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileImpl.java243 refreshState(); in handleStale()
338 public void refreshState() { in refreshState() method in QSTileImpl
339 refreshState(null); in refreshState()
347 protected final void refreshState(@Nullable Object arg) { in refreshState() method in QSTileImpl
475 refreshState(); // Ensure we get at least one refresh after listening. in handleSetListeningInternal()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSPanelControllerTest.kt134 verify(tile).refreshState() in testSetListeningDoesntRefreshListeningTiles()
135 verify(otherTile, Mockito.never()).refreshState() in testSetListeningDoesntRefreshListeningTiles()

123