Home
last modified time | relevance | path

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

1234

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DDeviceStateMonitorTest.java162 private void updateState(@StateType int stateType, @StateStatus int stateValue) { in updateState() method in DeviceStateMonitorTest
169 updateState(STATE_TYPE_RIL_CONNECTED, STATE_OFF); in updateAllStatesToOff()
170 updateState(STATE_TYPE_SCREEN, STATE_OFF); in updateAllStatesToOff()
171 updateState(STATE_TYPE_POWER_SAVE_MODE, STATE_OFF); in updateAllStatesToOff()
172 updateState(STATE_TYPE_CHARGING, STATE_OFF); in updateAllStatesToOff()
173 updateState(STATE_TYPE_TETHERING, STATE_OFF); in updateAllStatesToOff()
174 updateState(STATE_TYPE_RADIO_AVAILABLE, STATE_OFF); in updateAllStatesToOff()
175 updateState(STATE_TYPE_WIFI_CONNECTED, STATE_OFF); in updateAllStatesToOff()
176 updateState(STATE_TYPE_ALWAYS_SIGNAL_STRENGTH_REPORTED, STATE_OFF); in updateAllStatesToOff()
222 updateState(state, STATE_ON); in verifySetUnsolResponseFilter()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/carrier/
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 …]
DShadeCarrierGroupControllerTest.java403 verify(mShadeCarrier1).updateState(any(), eq(true)); in testSingleCarrier()
404 verify(mShadeCarrier2).updateState(any(), eq(true)); in testSingleCarrier()
405 verify(mShadeCarrier3).updateState(any(), eq(true)); in testSingleCarrier()
421 verify(mShadeCarrier1).updateState(any(), eq(false)); in testMultiCarrier()
422 verify(mShadeCarrier2).updateState(any(), eq(false)); in testMultiCarrier()
423 verify(mShadeCarrier3).updateState(any(), eq(false)); in testMultiCarrier()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/footer/data/repository/
DForegroundServicesRepository.kt54 fun updateState(numberOfPackages: Int) { in <lambda>() method
61 updateState(numberOfPackages) in <lambda>()
66 updateState(fgsManagerController.numRunningPackages) in <lambda>()
80 fun updateState() { in showFooterDot() method
90 updateState() in showFooterDot()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/data/repository/
DUserSwitcherRepository.kt71 suspend fun updateState() { in <lambda>() method
85 launch { updateState() } in <lambda>()
91 updateState() in <lambda>()
97 suspend fun updateState() { in <lambda>() method
101 val callback = UserSwitcherController.UserSwitchCallback { launch { updateState() } } in <lambda>()
104 updateState() in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/security/data/repository/
DSecurityRepository.kt44 suspend fun updateState() { in <lambda>() method
48 val callback = SecurityController.SecurityControllerCallback { launch { updateState() } } in <lambda>()
51 updateState() in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DShadeExpansionStateManagerTest.kt74 shadeExpansionStateManager.updateState(STATE_OPEN) in updateState_listenerNotified()
116 shadeExpansionStateManager.updateState(STATE_OPEN) in onPEC_fractionLessThanOne_expandedFalse_trackingFalse_becomesStateClosed()
132 shadeExpansionStateManager.updateState(STATE_OPEN) in onPEC_fractionLessThanOne_expandedFalse_trackingTrue_doesNotBecomeStateClosed()
179 shadeExpansionStateManager.updateState(STATE_OPEN) in onPEC_fractionOne_expandedFalse_trackingFalse_becomesStateClosed()
195 shadeExpansionStateManager.updateState(STATE_OPEN) in onPEC_fractionOne_expandedFalse_trackingTrue_doesNotBecomeStateClosed()
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
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 …]
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoTile.java43 updateState(); in onStartListening()
66 updateState(); in onPrefsChanged()
69 private void updateState() { in updateState() method in NekoTile
/frameworks/base/packages/SystemUI/src/com/android/systemui/lifecycle/
DRepeatWhenAttached.kt163 ViewTreeObserver.OnWindowVisibilityChangeListener { updateState() } in <lambda>()
164 private val windowFocusListener = ViewTreeObserver.OnWindowFocusChangeListener { updateState() } in <lambda>()
172 updateState() in onCreate()
186 private fun updateState() { in updateState() method in com.android.systemui.lifecycle.ViewLifecycleOwner
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCallWaitingController.java236 updateState( in setCallWaiting()
301 updateState( in onSetCallWaitingDone()
307 updateState(TERMINAL_BASED_ACTIVATED); in onSetCallWaitingDone()
383 updateState(TERMINAL_BASED_NOT_ACTIVATED); in onGetCallWaitingDone()
390 updateState(enabled ? TERMINAL_BASED_ACTIVATED : TERMINAL_BASED_NOT_ACTIVATED); in onGetCallWaitingDone()
512 updateState(desiredState, syncPreference, ignoreSavedState); in updateCarrierConfig()
516 private void updateState(int state) { in updateState() method in CallWaitingController
517 updateState(state, mSyncPreference, false); in updateState()
520 private void updateState(int state, int syncPreference, boolean ignoreSavedState) { in updateState() method in CallWaitingController
638 updateState(TERMINAL_BASED_NOT_SUPPORTED); in setTerminalBasedCallWaitingSupported()
/frameworks/base/services/core/java/com/android/server/
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
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/view/
DNavigationBarButton.java157 boolean needsInvalidateForState = updateState(); in setState()
163 if (updateState()) { in setTintListCompat()
168 private boolean updateState() { in updateState() method in NavigationBarButton.TintedDrawable
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
DDoNotDisturbQuickAffordanceConfig.kt113 trySendWithFailureLogging(updateState(), TAG) in <lambda>()
118 trySendWithFailureLogging(updateState(), TAG) in <lambda>()
124 trySendWithFailureLogging(updateState(), TAG) in <lambda>()
176 private fun updateState(): KeyguardQuickAffordanceConfig.LockScreenState { in <lambda>() method
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRules.java446 updateState(STATE_LOADED, "Success!"); in handleMessage()
483 updateState(STATE_LOADED, "Success!"); in handleMessage()
494 updateState(STATE_ERROR, "Error parsing rules: " + ex); in handleMessage()
502 updateState(STATE_ERROR, errorMsg); in handleMessage()
518 updateState(STATE_ERROR, errorMsg); in handleMessage()
539 updateState(STATE_ERROR, "No ARA or ARF."); in handleMessage()
546 updateState(STATE_LOADED, "Success!"); in handleMessage()
677 private void updateState(int newState, String statusMessage) { in updateState() method in UiccCarrierPrivilegeRules
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DWindowMagnificationAnimationController.java155 updateState(); in enableWindowMagnification()
169 updateState(); in enableWindowMagnification()
258 updateState(); in deleteWindowMagnification()
276 private void updateState() { in updateState() method in WindowMagnificationAnimationController
312 updateState(); in onAnimationEnd()
/frameworks/base/services/core/java/com/android/server/display/color/
DAppSaturationController.java167 return updateState(); in setSaturationLevel()
177 return updateState(); in addColorTransformController()
193 private boolean updateState() { in updateState() method in AppSaturationController.SaturationController
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingController.java105 updateState(state);
267 updateState(false); in stopRecording()
277 public synchronized void updateState(boolean isRecording) { in updateState() method in RecordingController
DRecordingService.java179 updateState(true); in onStartCommand()
183 updateState(false); in onStartCommand()
246 private void updateState(boolean state) { in updateState() method in RecordingService
250 mController.updateState(state); in updateState()
443 updateState(false); in stopService()
/frameworks/base/media/java/android/media/
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()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/panel/component/mediaoutput/domain/interactor/
DFakeMediaControllerInteractor.kt31 fun updateState(change: MediaControllerChangeModel) { in stateChanges() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationShelfTest.kt352 shelf.updateState(stackScrollAlgorithmState, ambientState) in updateState_withNullLastVisibleBackgroundChild_hideShelf()
378 shelf.updateState(stackScrollAlgorithmState, ambientState) in updateState_withNullFirstViewInShelf_hideShelf()
404 shelf.updateState(stackScrollAlgorithmState, ambientState) in updateState_withCollapsedShade_hideShelf()
443 shelf.updateState(stackScrollAlgorithmState, ambientState) in updateState_withHiddenSectionBeforeShelf_hideShelf()
474 shelf.updateState(StackScrollAlgorithmState(), ambientState) in updateState_expansionChanging_shelfAlphaUpdated()
/frameworks/base/services/tests/servicestests/src/com/android/server/
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()
/frameworks/base/services/core/java/com/android/server/om/
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()
795 private boolean updateState(@NonNull final CriticalOverlayInfo info, in updateState() method in OverlayManagerServiceImpl

1234