Home
last modified time | relevance | path

Searched refs:handleUpdateState (Results 1 – 25 of 58) sorted by relevance

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DBluetoothTileTest.kt110 tile.handleUpdateState(state, /* arg= */ null) in testIcon_whenDisabled_isOffState()
122 tile.handleUpdateState(state, /* arg= */ null) in testIcon_whenDisconnected_isOffState()
134 tile.handleUpdateState(state, /* arg= */ null) in testIcon_whenConnected_isOnState()
146 tile.handleUpdateState(state, /* arg= */ null) in testIcon_whenConnecting_isSearchState()
158 tile.handleUpdateState(state, /* arg= */ null) in testSecondaryLabel_whenBatteryMetadataAvailable_isMetadataBatteryLevelState()
183 tile.handleUpdateState(state, /* arg= */ null) in testSecondaryLabel_whenBatteryMetadataUnavailable_isBluetoothBatteryLevelState()
238 tile.handleUpdateState(state, null) in testMetadataListener_whenDisconnected_isUnregistered()
333 tile.handleUpdateState(state, /* arg= */ null) in listenToDeviceMetadata()
DHotspotTileTest.java115 mTile.handleUpdateState(mState, null); in handleUpdateState_wifiTetheringIsAllowed_stateIsNotUnavailable()
130 mTile.handleUpdateState(mState, null); in handleUpdateState_wifiTetheringIsDisallowed_stateIsUnavailable()
144 mTile.handleUpdateState(state, /* arg= */ null); in testIcon_whenDisabled_isOffState()
156 mTile.handleUpdateState(state, /* arg= */ null); in testIcon_whenTransient_isSearchState()
168 mTile.handleUpdateState(state, /* arg= */ null); in testIcon_whenEnabled_isOnState()
DRecordIssueTileTest.kt120 tile.handleUpdateState(testState, null) in qsTileUi_shouldLookCorrect_whenInactive()
131 tile.handleUpdateState(testState, null) in qsTileUi_shouldLookCorrect_whenRecording()
143 tile.handleUpdateState(testState, null) in inActiveQsTile_switchesToActive_whenClicked()
153 tile.handleUpdateState(testState, null) in activeQsTile_switchesToInActive_whenClicked()
DQuickAccessWalletTileTest.java251 mTile.handleUpdateState(state, null); in testHandleUpdateState_updateLabelAndIcon()
264 mTile.handleUpdateState(state, null); in testHandleUpdateState_updateLabelAndIcon_noIconFromApi()
295 mTile.handleUpdateState(state, null); in testHandleUpdateState_walletIsUpdating()
307 mTile.handleUpdateState(state, null); in testHandleUpdateState_walletIsUpdating()
321 mTile.handleUpdateState(state, null); in testHandleUpdateState_hasCard_deviceLocked_tileInactive()
335 mTile.handleUpdateState(state, null); in testHandleUpdateState_hasCard_deviceUnlocked_tileActive()
349 mTile.handleUpdateState(state, null); in testHandleUpdateState_noCard_tileInactive()
364 mTile.handleUpdateState(state, null); in testHandleUpdateState_qawServiceUnavailable_tileUnavailable()
376 mTile.handleUpdateState(state, null); in testHandleUpdateState_qawFeatureUnavailable_tileUnavailable()
DFlashlightTileTest.kt88 tile.handleUpdateState(state, /* arg= */ null) in testIcon_whenFlashlightEnabled_isOnState()
100 tile.handleUpdateState(state, /* arg= */ null) in testIcon_whenFlashlightDisabled_isOffState()
111 tile.handleUpdateState(state, /* arg= */ null) in testIcon_whenFlashlightUnavailable_isOffState()
DQRCodeScannerTileTest.java111 mTile.handleUpdateState(state, null); in testTileDetails()
122 mTile.handleUpdateState(state, null); in testQRCodeTileUnavailable()
132 mTile.handleUpdateState(state, null); in testQRCodeTileAvailable()
DHearingDevicesTileTest.java163 mTile.handleUpdateState(activeState, null); in handleUpdateState_activeHearingDevice_stateActiveConnectedLabel()
176 mTile.handleUpdateState(disconnectedState, null); in handleUpdateState_bondedInactiveHearingDevice_stateInactiveDisconnectedLabel()
189 mTile.handleUpdateState(inactiveState, null); in handleUpdateState_noHearingDevice_stateInactive()
DDataSaverTileTest.kt101 tile.handleUpdateState(state, true) in testIcon_whenDataSaverEnabled_isOnState()
111 tile.handleUpdateState(state, false) in testIcon_whenDataSaverDisabled_isOffState()
DNightDisplayTileTest.kt115 mTile.handleUpdateState(state, /* arg= */ null) in testIcon_whenDisabled_showsOffState()
126 mTile.handleUpdateState(state, /* arg= */ null) in testIcon_whenEnabled_showsOnState()
DAirplaneModeTileTest.kt118 mTile.handleUpdateState(state, 0) in testIcon_whenDisabled_showsOffState()
128 mTile.handleUpdateState(state, 1) in testIcon_whenEnabled_showsOnState()
DLocationTileTest.kt113 tile.handleUpdateState(state, /* arg= */ null) in testIcon_whenDisabled_isOffState()
124 tile.handleUpdateState(state, /* arg= */ null) in testIcon_whenEnabled_isOnState()
DColorInversionTileTest.java133 mTile.handleUpdateState(state, COLOR_INVERSION_DISABLED); in testIcon_whenColorInversionDisabled_isOffState()
143 mTile.handleUpdateState(state, COLOR_INVERSION_ENABLED); in testIcon_whenColorInversionEnabled_isOnState()
DCameraToggleTileTest.kt110 tile.handleUpdateState(state, CAMERA_TOGGLE_ENABLED) in testIcon_whenCameraAccessEnabled_isOnState()
120 tile.handleUpdateState(state, CAMERA_TOGGLE_DISABLED) in testIcon_whenCameraAccessDisabled_isOffState()
DUiModeNightTileTest.kt113 tile.handleUpdateState(state, /* arg= */ null) in testIcon_whenNightModeOn_isOnState()
124 tile.handleUpdateState(state, /* arg= */ null) in testIcon_whenNightModeOn_isOffState()
DMicrophoneToggleTileTest.kt111 tile.handleUpdateState(state, MICROPHONE_TOGGLE_ENABLED) in testIcon_whenMicrophoneAccessEnabled_isOnState()
120 tile.handleUpdateState(state, MICROPHONE_TOGGLE_DISABLED) in testIcon_whenMicrophoneAccessDisabled_isOffState()
DBatterySaverTileTest.kt151 tile.handleUpdateState(state, /* arg= */ null) in testIcon_whenBatterySaverDisabled_isOffState()
162 tile.handleUpdateState(state, /* arg= */ null) in testIcon_whenBatterySaverEnabled_isOnState()
DReduceBrightColorsTileTest.java153 mTile.handleUpdateState(state, /* arg= */ null); in testIcon_whenTileEnabled_isOnState()
164 mTile.handleUpdateState(state, /* arg= */ null); in testIcon_whenTileDisabled_isOffState()
DScreenRecordTileTest.java270 mTile.handleUpdateState(state, /* arg= */ null); in testIcon_whenRecording_isOnState()
281 mTile.handleUpdateState(state, /* arg= */ null); in testIcon_whenStarting_isOnState()
292 mTile.handleUpdateState(state, /* arg= */ null); in testIcon_whenRecordingOff_isOffState()
DDndTileTest.kt221 tile.handleUpdateState(state, /* arg= */ null) in testIcon_whenDndModeOff_isOffState()
231 tile.handleUpdateState(state, /* arg= */ null) in testIcon_whenDndModeOn_isOnState()
DRotationLockTileTest.java248 mLockTile.handleUpdateState(state, /* arg= */ null); in testIcon_whenDisabled_isOffState()
258 mLockTile.handleUpdateState(state, /* arg= */ null); in testIcon_whenEnabled_isOnState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/unified/
DBatteryLayersDrawable.kt82 handleUpdateState(field, value)
100 private fun handleUpdateState(old: BatteryDrawableState, new: BatteryDrawableState) { in handleUpdateState() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DCustomTileTest.kt205 customTile.handleUpdateState(state, null) in testValueUpdatedInBooleanTile()
209 customTile.handleUpdateState(state, null) in testValueUpdatedInBooleanTile()
213 customTile.handleUpdateState(state, null) in testValueUpdatedInBooleanTile()
222 customTile.handleUpdateState(customTile.newTileState(), null) in testNoCrashOnNullDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/carrier/
DShadeCarrierGroupController.java186 mMainHandler = new H(mainLooper, this::handleUpdateCarrierInfo, this::handleUpdateState); in ShadeCarrierGroupController()
335 private void handleUpdateState() { in handleUpdateState() method in ShadeCarrierGroupController
426 handleUpdateState(); // handleUpdateCarrierInfo is always called from main thread. in handleUpdateCarrierInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DInternetTileNewImpl.kt98 override fun handleUpdateState(state: QSTile.BooleanState, arg: Any?) { in <lambda>() method
DFontScalingTile.kt110 override fun handleUpdateState(state: QSTile.State?, arg: Any?) { in handleUpdateState() method

123