Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
DPowerUITest.java329 BatteryStateSnapshot lastState = state.get(); in testMaybeShowHybridWarning() local
333 mPowerUI.maybeShowHybridWarning(state.get(), lastState); in testMaybeShowHybridWarning() local
339 lastState = state.get(); in testMaybeShowHybridWarning()
343 mPowerUI.maybeShowHybridWarning(state.get(), lastState); in testMaybeShowHybridWarning() local
349 lastState = state.get(); in testMaybeShowHybridWarning()
353 mPowerUI.maybeShowHybridWarning(state.get(), lastState); in testMaybeShowHybridWarning() local
552 BatteryStateSnapshot lastState = state.get(); in testShouldShowStandardWarning() local
557 boolean shouldShow = mPowerUI.shouldShowLowBatteryWarning(state.get(), lastState); in testShouldShowStandardWarning()
559 lastState = state.get(); in testShouldShowStandardWarning()
563 shouldShow = mPowerUI.shouldShowLowBatteryWarning(state.get(), lastState); in testShouldShowStandardWarning()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DFingerprintDialogView.java63 protected void updateIcon(int lastState, int newState) { in updateIcon() argument
64 final Drawable icon = getAnimationForTransition(lastState, newState); in updateIcon()
66 Log.e(TAG, "Animation not found, " + lastState + " -> " + newState); in updateIcon()
76 if (animation != null && shouldAnimateForTransition(lastState, newState)) { in updateIcon()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
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()
/frameworks/base/services/core/java/com/android/server/am/
DUserState.java57 public int lastState = STATE_BOOTING; field in UserState
107 lastState = state; in setState()
DUserController.java1135 uss.setState(uss.lastState);
DActivityManagerService.java3424 final int lastState = reg.lastProcStates.get(item.uid, in dispatchUidsChangedForObserver() local
3426 if (lastState != ActivityManager.PROCESS_STATE_UNKNOWN) { in dispatchUidsChangedForObserver()
3427 final boolean lastAboveCut = lastState <= reg.cutpoint; in dispatchUidsChangedForObserver()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java146 public int lastState; field in Tethering.TetherState
152 lastState = IpServer.STATE_AVAILABLE; in TetherState()
157 switch (lastState) { in isCurrentlyServing()
487 if (tetherState.lastState != IpServer.STATE_AVAILABLE) { in tether()
557 } else if (tetherState.lastState == IpServer.STATE_AVAILABLE) { in sendTetherStateChangedBroadcast()
559 } else if (tetherState.lastState == IpServer.STATE_LOCAL_ONLY) { in sendTetherStateChangedBroadcast()
561 } else if (tetherState.lastState == IpServer.STATE_TETHERED) { in sendTetherStateChangedBroadcast()
980 if (tetherState.lastState == IpServer.STATE_TETHERED) { in getTetheredIfaces()
993 if (tetherState.lastState == IpServer.STATE_AVAILABLE) { in getTetherableIfaces()
1743 switch (tetherState.lastState) { in dump()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarStateControllerImpl.java323 private void recordHistoricalState(int currentState, int lastState) { in recordHistoricalState() argument
327 state.mLastState = lastState; in recordHistoricalState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java441 IccCardConstants.State lastState = mLastSimStates.get(slotId);
442 simWasLocked = (lastState == PIN_REQUIRED || lastState == PUK_REQUIRED);
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStack.java2899 final ActivityState lastState = next.getState(); in resumeTopActivityInnerLocked() local
2993 + lastState + ": " + next); in resumeTopActivityInnerLocked()
2994 next.setState(lastState, "resumeTopActivityInnerLocked"); in resumeTopActivityInnerLocked()