Home
last modified time | relevance | path

Searched refs:prevState (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/services/camera/libcameraservice/device3/
DStatusTracker.cpp168 ComponentState prevState = getDeviceStateLocked(); in threadLoop() local
169 if (prevState != mDeviceState) { in threadLoop()
171 mStateTransitions.add(prevState); in threadLoop()
186 if (newState != prevState) { in threadLoop()
189 prevState = newState; in threadLoop()
197 mDeviceState = prevState; in threadLoop()
/frameworks/base/services/core/java/com/android/server/location/
DGeofenceState.java70 int prevState = mState; in processLocation() local
75 if (prevState != STATE_INSIDE) { in processLocation()
80 if (prevState == STATE_INSIDE) { in processLocation()
/frameworks/base/core/java/android/bluetooth/
DBluetoothHealthCallback.java82 BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, in onHealthChannelStateChange() argument
85 + "prevState:" + prevState + "newState:" + newState + "ParcelFd:" + fd in onHealthChannelStateChange()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Dph_disp.cpp221 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()
Dph_disp.h115 Word16 prevState; member
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java237 public void onBluetoothStateChange(int prevState, int newState) throws RemoteException {
239 mHandler.obtainMessage(MESSAGE_BLUETOOTH_STATE_CHANGE, prevState, newState);
2007 int prevState = msg.arg1; in handleMessage() local
2012 prevState) + " > " + BluetoothAdapter.nameForState( in handleMessage()
2016 bluetoothStateChangeHandler(prevState, newState); in handleMessage()
2019 if ((prevState == BluetoothAdapter.STATE_BLE_TURNING_ON) && (newState in handleMessage()
2023 if ((prevState == BluetoothAdapter.STATE_TURNING_ON) && (newState in handleMessage()
2030 if ((prevState == BluetoothAdapter.STATE_BLE_TURNING_OFF) && (newState in handleMessage()
2346 private void sendBleStateChanged(int prevState, int newState) { in sendBleStateChanged() argument
2349 "Sending BLE State Change: " + BluetoothAdapter.nameForState(prevState) + " > " in sendBleStateChanged()
[all …]
/frameworks/base/core/java/android/app/servertransaction/
DTransactionExecutorHelper.java178 final int prevState = r.getLifecycleState(); in getLifecycleRequestForCurrentState() local
180 switch (prevState) { in getLifecycleRequestForCurrentState()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeManagerTest.java125 int prevState = intent.getIntExtra(EXTRA_PREVIOUS_WIFI_STATE, WIFI_STATE_UNKNOWN); in checkWifiStateChangedBroadcast() local
126 assertEquals(expectedPrevState, prevState); in checkWifiStateChangedBroadcast()
DSoftApManagerTest.java1177 int prevState = intent.getIntExtra(EXTRA_PREVIOUS_WIFI_AP_STATE, WIFI_AP_STATE_DISABLED); in checkApStateChangedBroadcast() local
1182 assertEquals(expectedPrevState, prevState); in checkApStateChangedBroadcast()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerServiceTest.java266 private void verifySeqCounterAndInteractions(UidRecord uidRec, int prevState, int curState, in verifySeqCounterAndInteractions() argument
272 uidRec.setProcState = prevState; in verifySeqCounterAndInteractions()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStack.java4145 final ActivityState prevState = r.getState(); in finishCurrentActivityLocked() local
4158 && prevState == PAUSED && (noFocusedStack || noRunningStack); in finishCurrentActivityLocked()
4161 || (prevState == PAUSED in finishCurrentActivityLocked()
4164 || prevState == STOPPING in finishCurrentActivityLocked()
4165 || prevState == STOPPED in finishCurrentActivityLocked()
4166 || prevState == ActivityState.INITIALIZING) { in finishCurrentActivityLocked()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java558 final int prevState = intent.getIntExtra(EXTRA_PREVIOUS_WIFI_AP_STATE, in checkAndStartWifi()
566 handleWifiApStateChange(currState, prevState, errorCode, ifaceName, mode); in checkAndStartWifi()
/frameworks/base/core/java/android/app/
DActivityThread.java5255 final int prevState = r.getLifecycleState(); in handleRelaunchActivityLocally() local
5257 if (prevState < ON_RESUME || prevState > ON_STOP) { in handleRelaunchActivityLocally()
5259 + "current state is " + prevState); in handleRelaunchActivityLocally()