Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/device3/
DStatusTracker.cpp171 ComponentState prevState = getDeviceStateLocked(); in threadLoop() local
172 if (prevState != mDeviceState) { in threadLoop()
174 mStateTransitions.add(prevState); in threadLoop()
189 if (newState != prevState) { in threadLoop()
192 prevState = newState; in threadLoop()
200 mDeviceState = prevState; in threadLoop()
/frameworks/base/services/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.java62 BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, in onHealthChannelStateChange() argument
65 "prevState:" + prevState + "newState:" + newState + "ParcelFd:" + fd + in onHealthChannelStateChange()
DIBluetoothCallback.aidl27 void onBluetoothStateChange(int prevState, int newState); in onBluetoothStateChange() argument
DIBluetoothHealthCallback.aidl30 in BluetoothDevice device, int prevState, int newState, in in onHealthChannelStateChange() argument
DIBluetooth.aidl75 … void sendConnectionStateChange(in BluetoothDevice device, int profile, int state, int prevState); in sendConnectionStateChange() argument
DBluetoothHealth.java438 BluetoothDevice device, int prevState, int newState, in onHealthChannelStateChange() argument
440 mCallback.onHealthChannelStateChange(config, device, prevState, newState, 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/java/com/android/server/
DBluetoothManagerService.java140 public void onBluetoothStateChange(int prevState, int newState) throws RemoteException {
141 Message msg = mHandler.obtainMessage(MESSAGE_BLUETOOTH_STATE_CHANGE,prevState,newState);
860 int prevState = msg.arg1; in handleMessage() local
862 …if (DBG) Log.d(TAG, "MESSAGE_BLUETOOTH_STATE_CHANGE: prevState = " + prevState + ", newState=" + n… in handleMessage()
864 bluetoothStateChangeHandler(prevState, newState); in handleMessage()
867 if ((prevState == BluetoothAdapter.STATE_TURNING_ON) && in handleMessage()
1124 private void bluetoothStateChangeHandler(int prevState, int newState) { in bluetoothStateChangeHandler() argument
1125 if (prevState != newState) { in bluetoothStateChangeHandler()
1149 intent.putExtra(BluetoothAdapter.EXTRA_PREVIOUS_STATE, prevState); in bluetoothStateChangeHandler()
1152 if (DBG) Log.d(TAG,"Bluetooth State Change Intent: " + prevState + " -> " + newState); in bluetoothStateChangeHandler()
/frameworks/base/services/java/com/android/server/am/
DActivityStack.java2496 final ActivityState prevState = r.state; in finishCurrentActivityLocked() local
2501 || prevState == ActivityState.STOPPED in finishCurrentActivityLocked()
2502 || prevState == ActivityState.INITIALIZING) { in finishCurrentActivityLocked()