Home
last modified time | relevance | path

Searched refs:updateState (Results 1 – 25 of 85) sorted by relevance

1234

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/carrier/
H A DShadeCarrierTest.java68 assertTrue(mShadeCarrier.updateState(c, false)); in testUpdateState_first()
75 assertTrue(mShadeCarrier.updateState(c, false)); in testUpdateState_same()
76 assertFalse(mShadeCarrier.updateState(c, false)); in testUpdateState_same()
83 assertTrue(mShadeCarrier.updateState(c, false)); in testUpdateState_changed()
87 assertTrue(mShadeCarrier.updateState(other, false)); in testUpdateState_changed()
94 assertTrue(mShadeCarrier.updateState(c, true)); in testUpdateState_singleCarrier_first()
101 mShadeCarrier.updateState(c, true); in testUpdateState_singleCarrier_noShowIcon()
110 mShadeCarrier.updateState(c, false); in testUpdateState_multiCarrier_showIcon()
119 mShadeCarrier.updateState(c, true); in testUpdateState_changeSingleMultiSingle()
122 mShadeCarrier.updateState(c, false); in testUpdateState_changeSingleMultiSingle()
[all …]
H A DShadeCarrierGroupControllerTest.java357 verify(mShadeCarrier1).updateState(any(), eq(true)); in testSingleCarrier()
358 verify(mShadeCarrier2).updateState(any(), eq(true)); in testSingleCarrier()
359 verify(mShadeCarrier3).updateState(any(), eq(true)); in testSingleCarrier()
376 verify(mShadeCarrier1).updateState(any(), eq(false)); in testMultiCarrier()
377 verify(mShadeCarrier2).updateState(any(), eq(false)); in testMultiCarrier()
378 verify(mShadeCarrier3).updateState(any(), eq(false)); in testMultiCarrier()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/footer/data/repository/
H A DForegroundServicesRepository.kt54 fun updateState(numberOfPackages: Int) { regex
61 updateState(numberOfPackages)
66 updateState(fgsManagerController.numRunningPackages)
80 fun updateState() { regex
90 updateState()
H A DUserSwitcherRepository.kt71 suspend fun updateState() {
85 launch { updateState() }
91 updateState()
97 suspend fun updateState() {
101 val callback = UserSwitcherController.UserSwitchCallback { launch { updateState() } }
104 updateState()
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
H A DAuthResultCoordinator.java61 private void updateState(@Authenticators.Types int strength, IntFunction<Integer> mapper) { in updateState() method in AuthResultCoordinator
84 updateState(strength, (old) -> AUTHENTICATOR_UNLOCKED | old); in authenticatedFor()
92 updateState(strength, (old) -> AUTHENTICATOR_PERMANENT_LOCKED | old); in lockedOutFor()
99 updateState(strength, (old) -> AUTHENTICATOR_TIMED_LOCKED | old); in lockOutTimed()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/lifecycle/
H A DRepeatWhenAttached.kt152 ViewTreeObserver.OnWindowVisibilityChangeListener { updateState() }
153 private val windowFocusListener = ViewTreeObserver.OnWindowFocusChangeListener { updateState() }
161 updateState()
175 private fun updateState() { regex
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/security/data/repository/
H A DSecurityRepository.kt44 suspend fun updateState() {
48 val callback = SecurityController.SecurityControllerCallback { launch { updateState() } }
51 updateState()
/aosp14/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DMainInteractionSession.java107 updateState(); in onShow()
118 updateState(); in onHide()
237 void updateState() { in updateState() method in MainInteractionSession
291 updateState(); in onClick()
338 updateState(); in onClick()
402 updateState(); in onRequestConfirmation()
415 updateState(); in onRequestPickOption()
438 updateState(); in onRequestCompleteVoice()
448 updateState(); in onRequestAbortVoice()
462 updateState(); in onRequestCommand()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
H A DShadeExpansionStateManagerTest.kt86 shadeExpansionStateManager.updateState(STATE_OPEN)
130 shadeExpansionStateManager.updateState(STATE_OPEN)
147 shadeExpansionStateManager.updateState(STATE_OPEN)
197 shadeExpansionStateManager.updateState(STATE_OPEN)
214 shadeExpansionStateManager.updateState(STATE_OPEN)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DAuthBiometricView.java210 updateState(getStateForAfterError()); in AuthBiometricView()
216 updateState(STATE_AUTHENTICATING); in AuthBiometricView()
582 updateState(STATE_AUTHENTICATING); in onDialogAnimatedIn()
588 updateState(STATE_PENDING_CONFIRMATION); in onAuthenticationSucceeded()
590 updateState(STATE_AUTHENTICATED); in onAuthenticationSucceeded()
607 updateState(STATE_ERROR); in onAuthenticationFailed()
622 updateState(STATE_ERROR); in onError()
648 updateState(STATE_HELP); in onHelp()
744 updateState(STATE_AUTHENTICATED); in onFinishInflate()
748 updateState(STATE_AUTHENTICATING); in onFinishInflate()
[all …]
H A DAuthBiometricFaceView.kt45 override fun updateState(@BiometricState newState: Int) {
52 super.updateState(newState)
/aosp14/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
H A DNekoTile.java43 updateState(); in onStartListening()
66 updateState(); in onPrefsChanged()
69 private void updateState() { in updateState() method in NekoTile
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DExtconStateObserver.java58 updateState(extconInfo, name, state); in onUEvent()
70 public abstract void updateState(ExtconInfo extconInfo, String eventName, @NonNull S state); in updateState() method in ExtconStateObserver
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
H A DDoNotDisturbQuickAffordanceConfig.kt113 trySendWithFailureLogging(updateState(), TAG)
118 trySendWithFailureLogging(updateState(), TAG)
124 trySendWithFailureLogging(updateState(), TAG)
176 private fun updateState(): KeyguardQuickAffordanceConfig.LockScreenState { regex
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
H A DWindowMagnificationAnimationController.java154 updateState(); in enableWindowMagnification()
168 updateState(); in enableWindowMagnification()
257 updateState(); in deleteWindowMagnification()
275 private void updateState() { in updateState() method in WindowMagnificationAnimationController
308 updateState(); in onAnimationEnd()
/aosp14/frameworks/base/services/core/java/com/android/server/display/color/
H A DAppSaturationController.java167 return updateState(); in setSaturationLevel()
177 return updateState(); in addColorTransformController()
193 private boolean updateState() { in updateState() method in AppSaturationController.SaturationController
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
H A DRecordingController.java100 updateState(state);
246 updateState(false); in stopRecording()
256 public synchronized void updateState(boolean isRecording) { in updateState() method in RecordingController
H A DRecordingService.java176 updateState(true); in onStartCommand()
180 updateState(false); in onStartCommand()
239 private void updateState(boolean state) { in updateState() method in RecordingService
243 mController.updateState(state); in updateState()
440 updateState(false); in stopService()
/aosp14/frameworks/base/media/java/android/media/
H A DPlayerBase.java181 private void updateState(int state, int deviceId) { in updateState() method in PlayerBase
201 updateState(AudioPlaybackConfiguration.PLAYER_STATE_STARTED, deviceId); in baseStart()
218 updateState(AudioPlaybackConfiguration.PLAYER_STATE_PAUSED, 0); in basePause()
223 updateState(AudioPlaybackConfiguration.PLAYER_STATE_STOPPED, 0); in baseStop()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationShelfTest.kt380 shelf.updateState(stackScrollAlgorithmState, ambientState)
407 shelf.updateState(stackScrollAlgorithmState, ambientState)
434 shelf.updateState(stackScrollAlgorithmState, ambientState)
474 shelf.updateState(stackScrollAlgorithmState, ambientState)
500 shelf.updateState(StackScrollAlgorithmState(), ambientState)
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkScorerAppManagerTest.java300 mNetworkScorerAppManager.updateState(); in testUpdateState_recommendationsForcedOff()
314 mNetworkScorerAppManager.updateState(); in testUpdateState_currentPackageValid()
333 mNetworkScorerAppManager.updateState(); in testUpdateState_currentPackageNotValid_validDefault()
348 mNetworkScorerAppManager.updateState(); in testUpdateState_currentPackageNotValid_invalidDefault()
360 mNetworkScorerAppManager.updateState(); in testUpdateState_currentPackageNull_defaultNull()
374 mNetworkScorerAppManager.updateState(); in testUpdateState_currentPackageEmpty_defaultEmpty()
389 mNetworkScorerAppManager.updateState(); in testUpdateState_currentPackageNotValid_sameAsDefault()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenrecord/
H A DRecordingControllerTest.java153 mController.updateState(true); in testUpdateState()
157 mController.updateState(false); in testUpdateState()
202 mController.updateState(true); in testUserChange()
/aosp14/frameworks/base/services/core/java/com/android/server/om/
H A DOverlayManagerServiceImpl.java249 if (updateState(oi, newUserId, 0)) { in updateOverlaysForUser()
341 modified |= updateState(oi, userId, flags); in updateOverlaysForTarget()
389 if (updateState(currentInfo, userId, flags)) { in updatePackageOverlays()
458 modified |= updateState(oi, userId, 0); in setEnabled()
504 modified |= updateState(disabledInfo, userId, 0); in setEnabledExclusive()
509 modified |= updateState(enabledInfo, userId, 0); in setEnabledExclusive()
572 if (updateState(oi, userId, 0)) { in registerFabricatedOverlay()
799 private boolean updateState(@NonNull final CriticalOverlayInfo info, in updateState() method in OverlayManagerServiceImpl
/aosp14/frameworks/base/core/java/android/service/voice/
H A DAbstractDetector.java139 public void updateState(@Nullable PersistableBundle options, in updateState() method in AbstractDetector
146 mManagerService.updateState(options, sharedMemory, mToken); in updateState()
/aosp14/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DNotificationShadeActivity.java51 updateState(mScroller.getCurrY());
106 private void updateState(int expectedHeight) { in updateState() method in NotificationShadeActivity.FakeNotificationStackView

1234