Home
last modified time | relevance | path

Searched refs:prevState (Results 1 – 11 of 11) 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.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.aidl83 … void sendConnectionStateChange(in BluetoothDevice device, int profile, int state, int prevState); in sendConnectionStateChange() argument
DBluetoothHealth.java437 BluetoothDevice device, int prevState, int newState, in onHealthChannelStateChange() argument
439 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/core/java/com/android/server/
DBluetoothManagerService.java141 public void onBluetoothStateChange(int prevState, int newState) throws RemoteException {
142 Message msg = mHandler.obtainMessage(MESSAGE_BLUETOOTH_STATE_CHANGE,prevState,newState);
880 int prevState = msg.arg1; in handleMessage() local
882 …if (DBG) Log.d(TAG, "MESSAGE_BLUETOOTH_STATE_CHANGE: prevState = " + prevState + ", newState=" + n… in handleMessage()
884 bluetoothStateChangeHandler(prevState, newState); in handleMessage()
887 if ((prevState == BluetoothAdapter.STATE_TURNING_ON) && in handleMessage()
1146 private void bluetoothStateChangeHandler(int prevState, int newState) { in bluetoothStateChangeHandler() argument
1147 if (prevState != newState) { in bluetoothStateChangeHandler()
1172 intent.putExtra(BluetoothAdapter.EXTRA_PREVIOUS_STATE, prevState); in bluetoothStateChangeHandler()
1175 if (DBG) Log.d(TAG,"Bluetooth State Change Intent: " + prevState + " -> " + newState); in bluetoothStateChangeHandler()
/frameworks/base/services/core/java/com/android/server/am/
DActivityStack.java2810 final ActivityState prevState = r.state; in finishCurrentActivityLocked() local
2815 || prevState == ActivityState.STOPPED in finishCurrentActivityLocked()
2816 || prevState == ActivityState.INITIALIZING) { in finishCurrentActivityLocked()