Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStateMachine.java64 protected int mMostRecentState = BluetoothProfile.STATE_DISCONNECTED; field in A2dpSinkStateMachine
98 return mMostRecentState; in getState()
156 if (mMostRecentState != BluetoothProfile.STATE_DISCONNECTED) { in enter()
323 if (mMostRecentState == currentState) { in onConnectionStateChanged()
329 Log.d(TAG, "[" + mDevice + "] Connection state: " + mMostRecentState + "->" + currentState); in onConnectionStateChanged()
331 intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, mMostRecentState); in onConnectionStateChanged()
335 mService.connectionStateChanged(mDevice, mMostRecentState, currentState); in onConnectionStateChanged()
336 mMostRecentState = currentState; in onConnectionStateChanged()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/
DPbapClientStateMachine.java107 private int mMostRecentState = BluetoothProfile.STATE_DISCONNECTED; field in PbapClientStateMachine
143 mCurrentDevice, mMostRecentState, BluetoothProfile.STATE_DISCONNECTED); in enter()
144 mMostRecentState = BluetoothProfile.STATE_DISCONNECTED; in enter()
155 mCurrentDevice, mMostRecentState, BluetoothProfile.STATE_CONNECTING); in enter()
157 mMostRecentState = BluetoothProfile.STATE_CONNECTING; in enter()
225 mCurrentDevice, mMostRecentState, BluetoothProfile.STATE_DISCONNECTING); in enter()
226 mMostRecentState = BluetoothProfile.STATE_DISCONNECTING; in enter()
283 mCurrentDevice, mMostRecentState, BluetoothProfile.STATE_CONNECTED); in enter()
284 mMostRecentState = BluetoothProfile.STATE_CONNECTED; in enter()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachine.java128 protected int mMostRecentState = BluetoothProfile.STATE_DISCONNECTED; field in AvrcpControllerStateMachine
206 return mMostRecentState; in getState()
415 if (mMostRecentState != BluetoothProfile.STATE_DISCONNECTED) { in enter()
458 if (mMostRecentState == BluetoothProfile.STATE_CONNECTING) { in enter()
1374 if (mMostRecentState == currentState) { in broadcastConnectionStateChanged()
1384 mDevice, BluetoothProfile.AVRCP_CONTROLLER, currentState, mMostRecentState); in broadcastConnectionStateChanged()
1387 debug("Connection state : " + mMostRecentState + "->" + currentState); in broadcastConnectionStateChanged()
1389 intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, mMostRecentState); in broadcastConnectionStateChanged()
1393 mMostRecentState = currentState; in broadcastConnectionStateChanged()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/
DMceStateMachine.java138 private int mMostRecentState = BluetoothProfile.STATE_DISCONNECTED; field in MceStateMachine
279 if (mMostRecentState == state) { in onConnectionStateChanged()
316 mMostRecentState = state; in setState()
320 return mMostRecentState; in getState()
349 if (mMostRecentState == BluetoothProfile.STATE_CONNECTED) { in sendMapMessage()
402 if (mMostRecentState == BluetoothProfile.STATE_CONNECTED) { in getMessage()
411 if (mMostRecentState == BluetoothProfile.STATE_CONNECTED) { in getUnreadMessages()
419 if (mMostRecentState == BluetoothProfile.STATE_CONNECTED && mMasClient != null) { in getSupportedFeatures()
429 if (mMostRecentState == BluetoothProfile.STATE_CONNECTED) { in setMessageStatus()