Home
last modified time | relevance | path

Searched refs:previousState (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimState.java42 public void prepare(ScrimState previousState) { in prepare() argument
49 if (previousState == AOD) { in prepare()
67 public void prepare(ScrimState previousState) { in prepare() argument
69 if (previousState == ScrimState.AOD) { in prepare()
77 } else if (previousState == ScrimState.KEYGUARD) { in prepare()
97 public void prepare(ScrimState previousState) { in prepare() argument
111 public void prepare(ScrimState previousState) { in prepare() argument
112 mNotifTint = previousState.mNotifTint; in prepare()
113 mNotifAlpha = previousState.mNotifAlpha; in prepare()
115 mBehindTint = previousState.mBehindTint; in prepare()
[all …]
DCentralSurfacesImpl.java2182 int previousState = mStatusBarStateController.getState(); in hideKeyguardImpl() local
2197 mLockscreenShadeTransitionController.onHideKeyguard(delay, previousState); in hideKeyguardImpl()
/frameworks/base/services/core/java/com/android/server/media/projection/
DFrameworkStatsLogWrapper.java29 int previousState, in writeStateChanged() argument
38 previousState, in writeStateChanged()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/
DUceDeviceState.java253 DeviceStateResult previousState = getCurrentState(); in refreshDeviceState() local
324 } else if (!currentState.isDeviceStateEqual(previousState)) { in refreshDeviceState()
328 logd("refreshDeviceState: previous: " + previousState + ", current: " + currentState); in refreshDeviceState()
336 DeviceStateResult previousState = getCurrentState(); in resetDeviceState() local
343 logd("resetDeviceState: previous=" + previousState + ", current=" + currentState); in resetDeviceState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DShadeExpansionStateManagerTest.kt156 assertThat(listener.previousState).isEqualTo(STATE_OPENING) in onPEC_fractionOne_expandedTrue_trackingFalse_becomesStateOpeningThenStateOpen()
221 @PanelState var previousState: Int = STATE_CLOSED variable in com.android.systemui.shade.ShadeExpansionStateManagerTest.TestShadeStateListener
225 this.previousState = this.state in onPanelStateChanged()
/frameworks/base/services/core/java/com/android/server/location/provider/
DDelegateLocationProvider.java57 setState(previousState -> mDelegate.getController().setListener(this)); in initializeDelegate()
76 setState(previousState -> newState); in onStateChanged()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DAggregatedMobileDataStatsPuller.java190 final int previousState = mUidPreviousState.get(uid, ActivityManager.PROCESS_STATE_UNKNOWN); in getUidStatsForPreviousStateLocked() local
191 if (DEBUG && previousState == ActivityManager.PROCESS_STATE_UNKNOWN) { in getUidStatsForPreviousStateLocked()
196 final UidProcState statsKey = new UidProcState(uid, previousState); in getUidStatsForPreviousStateLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DBackPanelController.kt134 private var previousState: GestureState = GestureState.GONE in <lambda>() variable
344 previousState == GestureState.ENTRY && in <lambda>()
350 previousState == GestureState.INACTIVE && in <lambda>()
887 previousState = currentState in <lambda>()
908 if (previousState != GestureState.FLUNG) backCallback.triggerBack() in <lambda>()
938 if (previousState == GestureState.INACTIVE) { in <lambda>()
964 if (previousState != GestureState.ACTIVE) { in <lambda>()
982 if (previousState == GestureState.FLUNG) { in <lambda>()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityMetricsLaunchObserverTests.java368 final ActivityMetricsLogger.LaunchingState previousState = mLaunchingState; in notifyActivityLaunching() local
376 .that(previousState).isEqualTo(mLaunchingState); in notifyActivityLaunching()
502 final ActivityMetricsLogger.LaunchingState previousState = mLaunchingState; in testConcurrentLaunches() local
513 .that(previousState).isNotEqualTo(mLaunchingState); in testConcurrentLaunches()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DPasswordTextView.java218 CharState previousState = mTextChars.get(newLength - 2); in onAppend() local
219 if (previousState.isDotSwapPending) { in onAppend()
220 previousState.swapToDotWhenAppearFinished(); in onAppend()
DKeyguardUpdateMonitor.java3754 final boolean previousState = mAllowFingerprintOnCurrentOccludingActivity;
3761 if (mAllowFingerprintOnCurrentOccludingActivity != previousState) {
/frameworks/base/services/tests/servicestests/src/com/android/server/media/projection/
DMediaProjectionMetricsLoggerTest.java708 private void verifyPreviousStateLogged(int previousState) { in verifyPreviousStateLogged() argument
714 eq(previousState), in verifyPreviousStateLogged()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationService.java434 Integer previousState = stateMap.get(domain); in setDomainVerificationStatusInternal() local
436 if (previousState != null) { in setDomainVerificationStatusInternal()
437 if (previousState == state in setDomainVerificationStatusInternal()
438 || !DomainVerificationState.isModifiable(previousState)) { in setDomainVerificationStatusInternal()
444 if (previousState == null in setDomainVerificationStatusInternal()
445 || !DomainVerificationState.isVerified(previousState)) { in setDomainVerificationStatusInternal()
/frameworks/av/media/libstagefright/
DMediaCodec.cpp1777 TunnelPeekState previousState = mTunnelPeekState; in updateTunnelPeek() local
1816 ALOGV("TunnelPeekState: %s -> %s", asString(previousState), asString(mTunnelPeekState)); in updateTunnelPeek()
4414 TunnelPeekState previousState = mTunnelPeekState; in onMessageReceived() local
4418 asString(previousState), in onMessageReceived()
4436 TunnelPeekState previousState = mTunnelPeekState; in onMessageReceived() local
4443 asString(previousState), in onMessageReceived()
4456 asString(previousState), in onMessageReceived()
5174 TunnelPeekState previousState = mTunnelPeekState; in onMessageReceived() local
5175 if (previousState != TunnelPeekState::kLegacyMode) { in onMessageReceived()
5179 asString(previousState), in onMessageReceived()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DLockscreenShadeTransitionController.kt634 fun onHideKeyguard(delay: Long, previousState: Int) { in <lambda>()
642 } else if (previousState != StatusBarState.SHADE_LOCKED) { in <lambda>()
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp778 State previousState = mState; in start() local
779 if (previousState == STATE_PAUSED_STOPPING) { in start()
797 if (previousState == STATE_STOPPED || previousState == STATE_FLUSHED) { in start()
860 if (previousState == STATE_STOPPING) { in start()
875 mState = previousState; in start()
877 if (previousState != STATE_STOPPING) { in start()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp1623 int previousState = getUidState(uid); in updateUid() local
1628 if (wasActive != isUidActive(uid) || state != previousState) { in updateUid()
/frameworks/base/core/java/android/app/
DActivityThread.java5819 boolean previousState = View.sDebugViewAttributes; in updateDebugViewAttributeState()
5830 return previousState != View.sDebugViewAttributes; in updateDebugViewAttributeState()