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/services/core/java/com/android/server/
DBluetoothManagerService.java169 public void onBluetoothStateChange(int prevState, int newState) throws RemoteException {
170 Message msg = mHandler.obtainMessage(MESSAGE_BLUETOOTH_STATE_CHANGE,prevState,newState);
1348 int prevState = msg.arg1; in handleMessage() local
1350 …if (DBG) Slog.d(TAG, "MESSAGE_BLUETOOTH_STATE_CHANGE: prevState = " + prevState + ", newState=" + … in handleMessage()
1352 bluetoothStateChangeHandler(prevState, newState); in handleMessage()
1355 if ((prevState == BluetoothAdapter.STATE_BLE_TURNING_ON) && in handleMessage()
1360 if ((prevState == BluetoothAdapter.STATE_TURNING_ON) && in handleMessage()
1368 if ((prevState == BluetoothAdapter.STATE_BLE_TURNING_OFF) && in handleMessage()
1650 private void sendBleStateChanged(int prevState, int newState) { in sendBleStateChanged() argument
1651 if (DBG) Slog.d(TAG,"BLE State Change Intent: " + prevState + " -> " + newState); in sendBleStateChanged()
[all …]
/frameworks/base/core/java/android/bluetooth/
DBluetoothHealthCallback.java65 BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, in onHealthChannelStateChange() argument
68 "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
DBluetoothHealth.java437 BluetoothDevice device, int prevState, int newState, in onHealthChannelStateChange() argument
439 mCallback.onHealthChannelStateChange(config, device, prevState, newState, fd, in onHealthChannelStateChange()
DIBluetooth.aidl88 … void sendConnectionStateChange(in BluetoothDevice device, int profile, int state, int prevState); in sendConnectionStateChange() argument
/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/am/
DActivityStack.java3542 final ActivityState prevState = r.state; in finishCurrentActivityLocked() local
3547 || (prevState == ActivityState.PAUSED in finishCurrentActivityLocked()
3549 || prevState == ActivityState.STOPPED in finishCurrentActivityLocked()
3550 || prevState == ActivityState.INITIALIZING) { in finishCurrentActivityLocked()