Home
last modified time | relevance | path

Searched refs:lastState (Results 1 – 20 of 20) sorted by relevance

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
H A DPowerUITest.java351 BatteryStateSnapshot lastState = state.get(); in testMaybeShowHybridWarning() local
361 lastState = state.get(); in testMaybeShowHybridWarning()
371 lastState = state.get(); in testMaybeShowHybridWarning()
581 lastState = state.get(); in testShouldShowStandardWarning()
605 lastState = state.get(); in testShouldShowStandardWarning()
614 lastState = state.get(); in testShouldShowStandardWarning()
623 lastState = state.get(); in testShouldShowStandardWarning()
632 lastState = state.get(); in testShouldShowStandardWarning()
660 lastState = state.get(); in testShouldDismissStandardWarning()
667 lastState = state.get(); in testShouldDismissStandardWarning()
[all …]
/aosp12/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
H A DNetworkState.java149 State lastState = mStateDepository.get(mStateDepository.size() - 1); in validateNetworkDisconnection() local
150 if ( lastState != mTransitionTarget) { in validateNetworkDisconnection()
152 lastState)); in validateNetworkDisconnection()
190 State lastState = mStateDepository.get(mStateDepository.size() - 1); in validateNetworkConnection() local
191 if ( lastState != mTransitionTarget) { in validateNetworkConnection()
193 lastState)); in validateNetworkConnection()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DAuthBiometricFaceView.java115 protected void updateState(int lastState, int newState) { in updateState() argument
122 lastState == STATE_ERROR || lastState == STATE_HELP; in updateState()
132 } else if (lastState == STATE_PENDING_CONFIRMATION && newState == STATE_AUTHENTICATED) { in updateState()
144 } else if (newState == STATE_ERROR && lastState != STATE_ERROR) { in updateState()
146 } else if (lastState == STATE_AUTHENTICATING && newState == STATE_AUTHENTICATED) { in updateState()
H A DAuthBiometricFingerprintView.java86 private void updateIcon(int lastState, int newState) { in updateIcon() argument
87 final Drawable icon = getAnimationForTransition(lastState, newState); in updateIcon()
89 Log.e(TAG, "Animation not found, " + lastState + " -> " + newState); in updateIcon()
104 if (animation != null && shouldAnimateForTransition(lastState, newState)) { in updateIcon()
H A DAuthBiometricFaceToFingerprintView.java59 protected void updateState(int lastState, int newState) { in updateState() argument
61 lastState == STATE_ERROR || lastState == STATE_HELP; in updateState()
/aosp12/frameworks/base/services/core/java/com/android/server/am/
H A DUserState.java57 public int lastState = STATE_BOOTING; field in UserState
107 lastState = state; in setState()
152 + ", lastState=" + stateToString(lastState) + ", switching=" + switching in toString()
H A DUidObserverController.java295 final int lastState = reg.mLastProcStates.get(item.uid, in dispatchUidsChangedForObserver() local
297 if (lastState != ActivityManager.PROCESS_STATE_UNKNOWN) { in dispatchUidsChangedForObserver()
298 final boolean lastAboveCut = lastState <= reg.mCutpoint; in dispatchUidsChangedForObserver()
H A DUserController.java1551 uss.setState(uss.lastState);
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
H A DServiceStateStats.java56 TimestampedServiceState lastState = in conclude() local
59 addServiceState(lastState, now); in conclude()
65 TimestampedServiceState lastState = in onImsVoiceRegistrationChanged() local
76 addServiceState(lastState, now); in onImsVoiceRegistrationChanged()
H A DRcsStats.java955 LastSipDelegateStat lastState = getLastSipDelegateStat(subId, supportedTags); in createSipDelegateStats() local
956 lastState.createSipDelegateStat(subId); in createSipDelegateStats()
964 LastSipDelegateStat lastState = getLastSipDelegateStat(subId, supportedTags); in onSipDelegateStats() local
965 lastState.setSipDelegateDestroyReason(destroyReason); in onSipDelegateStats()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
H A DQSTileViewImpl.kt133 private var lastState = INVALID regex
429 if (lastState != INVALID && state.state == lastState &&
466 if (state.state != lastState) {
507 lastState = state.state
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
H A DCarPowerManagementServiceUnitTest.java640 private void assertStateReceivedForShutdownOrSleepWithPostpone(int lastState, in assertStateReceivedForShutdownOrSleepWithPostpone() argument
651 if (state[0] == lastState) { in assertStateReceivedForShutdownOrSleepWithPostpone()
658 private void assertStateReceivedForShutdownOrSleepWithPostpone(int lastState) throws Exception { in assertStateReceivedForShutdownOrSleepWithPostpone() argument
660 (lastState == MockedPowerHalService.SET_DEEP_SLEEP_ENTRY in assertStateReceivedForShutdownOrSleepWithPostpone()
661 || lastState == MockedPowerHalService.SET_SHUTDOWN_START) in assertStateReceivedForShutdownOrSleepWithPostpone()
663 assertStateReceivedForShutdownOrSleepWithPostpone(lastState, expectedSecondParameter); in assertStateReceivedForShutdownOrSleepWithPostpone()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherState.java305 LauncherState lastState = lsm.getLastState();
306 lsm.goToState(lastState);
/aosp12/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
H A DTethering.java182 public int lastState; field in Tethering.TetherState
191 lastState = IpServer.STATE_AVAILABLE; in TetherState()
197 switch (lastState) { in isCurrentlyServing()
802 if (tetherState.lastState != IpServer.STATE_AVAILABLE) { in tether()
931 } else if (tetherState.lastState == IpServer.STATE_AVAILABLE) { in sendTetherStateChangedBroadcast()
935 } else if (tetherState.lastState == IpServer.STATE_TETHERED) { in sendTetherStateChangedBroadcast()
1455 if (tetherState.lastState == IpServer.STATE_TETHERED) { in getTetheredIfaces()
1466 if (tetherState.lastState == IpServer.STATE_AVAILABLE) { in getTetherableIfacesForTest()
2375 switch (tetherState.lastState) { in doDump()
2499 tetherState.lastState = state;
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DStatusBarStateControllerImpl.java509 private void recordHistoricalState(int newState, int lastState, boolean upcoming) { in recordHistoricalState() argument
513 state.mLastState = lastState; in recordHistoricalState()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
H A DCarPowerManagerUnitTest.java445 int lastState, int stateParameter) throws Exception { in assertStateReceivedForShutdownOrSleepWithPostpone() argument
449 if (state[0] == lastState) { in assertStateReceivedForShutdownOrSleepWithPostpone()
/aosp12/frameworks/base/core/java/android/view/
H A DInsetsController.java694 final InsetsState lastState = new InsetsState(mState, true /* copySources */); in onStateChanged() local
698 if (!mState.equals(lastState, false /* excludingCaptionInsets */, in onStateChanged()
702 startResizingAnimationIfNeeded(lastState); in onStateChanged()
/aosp12/frameworks/base/services/core/java/com/android/server/
H A DUiModeManagerService.java1465 final TwilightState lastState = mTwilightManager.getLastTwilightState(); in updateConfigurationLocked() local
1466 activateNightMode = lastState == null ? mComputedNightMode : lastState.isNight(); in updateConfigurationLocked()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskFragment.java1218 final ActivityRecord.State lastState = next.getState(); in resumeTopActivity() local
1304 + "%s", lastState, next); in resumeTopActivity()
1305 next.setState(lastState, "resumeTopActivityInnerLocked"); in resumeTopActivity()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DKeyguardViewMediator.java575 int lastState = mLastSimStates.get(slotId);
576 lastSimStateWasLocked = (lastState == TelephonyManager.SIM_STATE_PIN_REQUIRED
577 || lastState == TelephonyManager.SIM_STATE_PUK_REQUIRED);