Home
last modified time | relevance | path

Searched refs:mMostRecentState (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapClientStateMachine.java104 private int mMostRecentState = BluetoothProfile.STATE_DISCONNECTED; field in PbapClientStateMachine
130 onConnectionStateChanged(mCurrentDevice, mMostRecentState, in enter()
132 mMostRecentState = BluetoothProfile.STATE_DISCONNECTED; in enter()
145 onConnectionStateChanged(mCurrentDevice, mMostRecentState, in enter()
150 mMostRecentState = BluetoothProfile.STATE_CONNECTING; in enter()
252 onConnectionStateChanged(mCurrentDevice, mMostRecentState, in enter()
254 mMostRecentState = BluetoothProfile.STATE_DISCONNECTING; in enter()
297 onConnectionStateChanged(mCurrentDevice, mMostRecentState, in enter()
299 mMostRecentState = BluetoothProfile.STATE_CONNECTED; in enter()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStateMachine.java60 protected int mMostRecentState = BluetoothProfile.STATE_DISCONNECTED; field in A2dpSinkStateMachine
93 return mMostRecentState; in getState()
144 if (mMostRecentState != BluetoothProfile.STATE_DISCONNECTED) { in enter()
294 if (mMostRecentState == currentState) { in onConnectionStateChanged()
301 Log.d(TAG, "Connection state " + mDevice + ": " + mMostRecentState + "->" in onConnectionStateChanged()
305 intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, mMostRecentState); in onConnectionStateChanged()
309 mMostRecentState = currentState; in onConnectionStateChanged()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachine.java122 protected int mMostRecentState = BluetoothProfile.STATE_DISCONNECTED; field in AvrcpControllerStateMachine
179 return mMostRecentState; in getState()
410 if (mMostRecentState != BluetoothProfile.STATE_DISCONNECTED) { in enter()
450 if (mMostRecentState == BluetoothProfile.STATE_CONNECTING) { in enter()
1150 if (mMostRecentState == currentState) { in broadcastConnectionStateChanged()
1157 logD("Connection state " + mDevice + ": " + mMostRecentState + "->" + currentState); in broadcastConnectionStateChanged()
1159 intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, mMostRecentState); in broadcastConnectionStateChanged()
1163 mMostRecentState = currentState; in broadcastConnectionStateChanged()