Searched refs:prevState (Results 1 – 11 of 11) sorted by relevance
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | ServiceStateStats.java | 101 TimestampedServiceState prevState = in onServiceStateChanged() local 104 prevState, now, getDataServiceSwitch(prevState.mServiceState, newState)); in onServiceStateChanged() 108 private void addServiceState(TimestampedServiceState prevState, long now) { in addServiceState() argument 109 addServiceStateAndSwitch(prevState, now, null); in addServiceState() 113 TimestampedServiceState prevState, in addServiceStateAndSwitch() argument 116 if (prevState.mServiceState == null) { in addServiceStateAndSwitch() 120 if (now >= prevState.mTimestamp) { in addServiceStateAndSwitch() 121 CellularServiceState state = copyOf(prevState.mServiceState); in addServiceStateAndSwitch() 122 state.totalTimeMillis = now - prevState.mTimestamp; in addServiceStateAndSwitch() 131 @Nullable CellularServiceState prevState, CellularServiceState nextState) { in getDataServiceSwitch() [all …]
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | StatusTracker.cpp | 187 ComponentState prevState = getDeviceStateLocked(); in threadLoop() local 188 if (prevState != mDeviceState) { in threadLoop() 190 mStateTransitions.add(prevState); in threadLoop() 205 if (newState != prevState) { in threadLoop() 208 prevState = newState; in threadLoop() 216 mDeviceState = prevState; in threadLoop()
|
/frameworks/av/media/codecs/amrnb/dec/src/ |
D | ph_disp.cpp | 221 state->prevState = 0; in ph_disp_reset() 775 if ((impNr > ((state->prevState) + 1)) && (state->onset == 0)) in ph_disp() 798 state->prevState = impNr; in ph_disp()
|
D | ph_disp.h | 115 Word16 prevState; member
|
/frameworks/base/services/core/java/com/android/server/location/provider/ |
D | MockableLocationProvider.java | 169 setState(prevState -> newState); in setProviderLocked() 331 setState(prevState -> newState); in onStateChanged()
|
/frameworks/base/core/java/android/app/servertransaction/ |
D | TransactionExecutorHelper.java | 184 final int prevState = r.getLifecycleState(); in getLifecycleRequestForCurrentState() local 186 switch (prevState) { in getLifecycleRequestForCurrentState()
|
/frameworks/base/services/core/java/com/android/server/location/provider/proxy/ |
D | ProxyLocationProvider.java | 151 setState(prevState -> State.EMPTY_STATE); in onUnbind() 268 setState(prevState -> State.EMPTY_STATE in onInitialize()
|
/frameworks/base/services/companion/java/com/android/server/companion/presence/ |
D | BleCompanionDeviceScanner.java | 301 final int prevState = intent.getIntExtra(EXTRA_PREVIOUS_STATE, -1); in registerBluetoothStateBroadcastReceiver() 309 + nameForBtState(prevState) + "->" + nameForBtState(state)); in registerBluetoothStateBroadcastReceiver()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/ |
D | NavBarHelper.java | 351 final int prevState = mA11yButtonState; in updateA11yState() local 380 if (prevState != mA11yButtonState) { in updateA11yState()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ActivityManagerServiceTest.java | 255 private void verifySeqCounterAndInteractions(UidRecord uidRec, int prevState, int curState, in verifySeqCounterAndInteractions() argument 260 uidRec.setSetProcState(prevState); in verifySeqCounterAndInteractions()
|
/frameworks/base/core/java/android/app/ |
D | ActivityThread.java | 4141 final int prevState = r.getLifecycleState(); in schedulePauseWithUserLeaveHintAndReturnToCurrentState() local 4142 if (prevState != ON_RESUME && prevState != ON_PAUSE) { in schedulePauseWithUserLeaveHintAndReturnToCurrentState() 4146 switch (prevState) { in schedulePauseWithUserLeaveHintAndReturnToCurrentState() 5717 final int prevState = r.getLifecycleState(); in handleRelaunchActivityLocally() local 5719 if (prevState < ON_START || prevState > ON_STOP) { in handleRelaunchActivityLocally() 5721 + "current state is " + prevState); in handleRelaunchActivityLocally()
|