/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/ |
D | PowerUITest.java | 329 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/ |
D | FingerprintDialogView.java | 63 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/ |
D | NetworkState.java | 149 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/ |
D | UserState.java | 57 public int lastState = STATE_BOOTING; field in UserState 107 lastState = state; in setState()
|
D | UserController.java | 1164 uss.setState(uss.lastState);
|
D | ActivityManagerService.java | 3448 final int lastState = reg.lastProcStates.get(item.uid, in dispatchUidsChangedForObserver() local 3450 if (lastState != ActivityManager.PROCESS_STATE_UNKNOWN) { in dispatchUidsChangedForObserver() 3451 final boolean lastAboveCut = lastState <= reg.cutpoint; in dispatchUidsChangedForObserver()
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | Tethering.java | 171 public int lastState; field in Tethering.TetherState 177 lastState = IpServer.STATE_AVAILABLE; in TetherState() 182 switch (lastState) { in isCurrentlyServing() 762 if (tetherState.lastState != IpServer.STATE_AVAILABLE) { in tether() 864 } else if (tetherState.lastState == IpServer.STATE_AVAILABLE) { in sendTetherStateChangedBroadcast() 866 } else if (tetherState.lastState == IpServer.STATE_LOCAL_ONLY) { in sendTetherStateChangedBroadcast() 868 } else if (tetherState.lastState == IpServer.STATE_TETHERED) { in sendTetherStateChangedBroadcast() 1319 if (tetherState.lastState == IpServer.STATE_TETHERED) { in getTetheredIfaces() 1332 if (tetherState.lastState == IpServer.STATE_AVAILABLE) { in getTetherableIfaces() 2244 switch (tetherState.lastState) { in dump() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | StatusBarStateControllerImpl.java | 364 private void recordHistoricalState(int currentState, int lastState) { in recordHistoricalState() argument 368 state.mLastState = lastState; in recordHistoricalState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | LockIcon.java | 279 int lastState = mLastState; in onPreDraw() local 285 boolean shouldUpdate = lastState != state || mForceUpdate; in onPreDraw() 291 @LockAnimIndex final int lockAnimIndex = getAnimationIndexForTransition(lastState, in onPreDraw()
|
/frameworks/base/services/core/java/com/android/server/ |
D | UiModeManagerService.java | 878 final TwilightState lastState = mTwilightManager.getLastTwilightState(); in updateConfigurationLocked() local 879 activateNightMode = lastState == null ? mComputedNightMode : lastState.isNight(); in updateConfigurationLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardViewMediator.java | 448 IccCardConstants.State lastState = mLastSimStates.get(slotId); 449 simWasLocked = (lastState == PIN_REQUIRED || lastState == PUK_REQUIRED);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityStack.java | 2908 final ActivityState lastState = next.getState(); in resumeTopActivityInnerLocked() local 3002 + lastState + ": " + next); in resumeTopActivityInnerLocked() 3003 next.setState(lastState, "resumeTopActivityInnerLocked"); in resumeTopActivityInnerLocked()
|