Searched defs:prevState (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHealthCallback.java55 * @param prevState The previous state of the channel
62 BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd,
65 "prevState:" + prevState + "newState:" + newState + "ParcelFd:" + fd +
61 onHealthChannelStateChange(BluetoothHealthAppConfiguration config, BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, int channelId) argument
H A DBluetoothHealth.java405 BluetoothDevice device, int prevState, int newState,
407 mCallback.onHealthChannelStateChange(config, device, prevState, newState, fd,
404 onHealthChannelStateChange(BluetoothHealthAppConfiguration config, BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, int channelId) argument
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/
H A Dph_disp.h115 Word16 prevState; member in struct:__anon648
/frameworks/base/core/java/android/server/
H A DBluetoothA2dpService.java493 int prevState = mAudioDevices.get(device);
494 handleSinkStateChange(device, prevState, state);
500 private void handleSinkStateChange(BluetoothDevice device, int prevState, int state) { argument
501 if (state != prevState) {
519 intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, prevState);
524 if (DBG) log("A2DP state : device: " + device + " State:" + prevState + "->" + state);
527 prevState);
531 private void handleSinkPlayingStateChange(BluetoothDevice device, int state, int prevState) { argument
534 intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, prevState);
539 if (DBG) log("A2DP Playing state : device: " + device + " State:" + prevState
[all...]
H A DBluetoothHealthProfileHandler.java147 int prevState = chan.mState;
149 callHealthChannelCallback(chan.mConfig, chan.mDevice, prevState, state, null,
219 int prevState = BluetoothHealth.STATE_CHANNEL_DISCONNECTED;
221 callHealthChannelCallback(config, device, prevState, state, null, chan.mId);
279 int prevState = chan.mState;
281 callHealthChannelCallback(config, device, prevState, chan.mState,
286 prevState = chan.mState;
288 callHealthChannelCallback(config, device, prevState, chan.mState,
438 int state, prevState = BluetoothHealth.STATE_CHANNEL_DISCONNECTED;
473 prevState
492 callHealthChannelCallback(BluetoothHealthAppConfiguration config, BluetoothDevice device, int prevState, int state, ParcelFileDescriptor fd, int id) argument
[all...]
H A DBluetoothService.java2574 device, int profile, int state, int prevState) {
2579 !validateProfileConnectionState(prevState)) {
2585 + "prevState " + prevState + " state " + state);
2589 updateProfileConnectionState(profile, state, prevState);
2591 if (updateCountersAndCheckForConnectionStateChange(state, prevState)) {
2603 convertToAdapterState(prevState));
2607 + prevState + " -> " + state);
2633 private boolean updateCountersAndCheckForConnectionStateChange(int state, int prevState) { argument
2634 switch (prevState) {
2573 sendConnectionStateChange(BluetoothDevice device, int profile, int state, int prevState) argument
[all...]

Completed in 72 milliseconds