Home
last modified time | relevance | path

Searched refs:mLastConnectionState (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java76 private int mLastConnectionState = -1; field in A2dpStateMachine
158 if (mLastConnectionState != -1) { in enter()
160 broadcastConnectionState(mConnectionState, mLastConnectionState); in enter()
182 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTED; in exit()
271 if (mLastConnectionState == BluetoothProfile.STATE_CONNECTING in logFailureIfNeeded()
272 || mLastConnectionState == BluetoothProfile.STATE_DISCONNECTED) { in logFailureIfNeeded()
276 (mLastConnectionState == BluetoothProfile.STATE_CONNECTING) in logFailureIfNeeded()
284 mLastConnectionState, in logFailureIfNeeded()
307 broadcastConnectionState(mConnectionState, mLastConnectionState); in enter()
320 mLastConnectionState = BluetoothProfile.STATE_CONNECTING; in exit()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioStateMachine.java66 private int mLastConnectionState = -1; field in LeAudioStateMachine
131 if (mLastConnectionState != -1) { in enter()
133 broadcastConnectionState(BluetoothProfile.STATE_DISCONNECTED, mLastConnectionState); in enter()
147 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTED; in exit()
246 broadcastConnectionState(BluetoothProfile.STATE_CONNECTING, mLastConnectionState); in enter()
256 mLastConnectionState = BluetoothProfile.STATE_CONNECTING; in exit()
343 broadcastConnectionState(BluetoothProfile.STATE_DISCONNECTING, mLastConnectionState); in enter()
353 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTING; in exit()
456 broadcastConnectionState(BluetoothProfile.STATE_CONNECTED, mLastConnectionState); in enter()
466 mLastConnectionState = BluetoothProfile.STATE_CONNECTED; in exit()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hearingaid/
DHearingAidStateMachine.java69 private int mLastConnectionState = -1; field in HearingAidStateMachine
134 if (mLastConnectionState != -1) { in enter()
136 broadcastConnectionState(BluetoothProfile.STATE_DISCONNECTED, mLastConnectionState); in enter()
147 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTED; in exit()
246 broadcastConnectionState(BluetoothProfile.STATE_CONNECTING, mLastConnectionState); in enter()
256 mLastConnectionState = BluetoothProfile.STATE_CONNECTING; in exit()
347 broadcastConnectionState(BluetoothProfile.STATE_DISCONNECTING, mLastConnectionState); in enter()
357 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTING; in exit()
458 broadcastConnectionState(BluetoothProfile.STATE_CONNECTED, mLastConnectionState); in enter()
468 mLastConnectionState = BluetoothProfile.STATE_CONNECTED; in exit()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/vc/
DVolumeControlStateMachine.java56 private int mLastConnectionState = -1; field in VolumeControlStateMachine
121 if (mLastConnectionState != -1) { in enter()
123 broadcastConnectionState(BluetoothProfile.STATE_DISCONNECTED, mLastConnectionState); in enter()
134 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTED; in exit()
239 broadcastConnectionState(BluetoothProfile.STATE_CONNECTING, mLastConnectionState); in enter()
249 mLastConnectionState = BluetoothProfile.STATE_CONNECTING; in exit()
353 broadcastConnectionState(BluetoothProfile.STATE_DISCONNECTING, mLastConnectionState); in enter()
363 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTING; in exit()
466 broadcastConnectionState(BluetoothProfile.STATE_CONNECTED, mLastConnectionState); in enter()
476 mLastConnectionState = BluetoothProfile.STATE_CONNECTED; in exit()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/csip/
DCsipSetCoordinatorStateMachine.java56 private int mLastConnectionState = -1; field in CsipSetCoordinatorStateMachine
122 if (mLastConnectionState != -1) { in enter()
123 csipConnectionState(BluetoothProfile.STATE_DISCONNECTED, mLastConnectionState); in enter()
134 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTED; in exit()
246 csipConnectionState(BluetoothProfile.STATE_CONNECTING, mLastConnectionState); in enter()
256 mLastConnectionState = BluetoothProfile.STATE_CONNECTING; in exit()
344 csipConnectionState(BluetoothProfile.STATE_DISCONNECTING, mLastConnectionState); in enter()
354 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTING; in exit()
461 csipConnectionState(BluetoothProfile.STATE_CONNECTED, mLastConnectionState); in enter()
471 mLastConnectionState = BluetoothProfile.STATE_CONNECTED; in exit()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bas/
DBatteryStateMachine.java70 private int mLastConnectionState = BluetoothProfile.STATE_DISCONNECTED; field in BatteryStateMachine
286 if (mLastConnectionState != BluetoothProfile.STATE_DISCONNECTED) { in enter()
289 mLastConnectionState, BluetoothProfile.STATE_DISCONNECTED); in enter()
296 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTED; in exit()
354 dispatchConnectionStateChanged(mLastConnectionState, BluetoothProfile.STATE_CONNECTING); in enter()
360 mLastConnectionState = BluetoothProfile.STATE_CONNECTING; in exit()
417 mLastConnectionState, BluetoothProfile.STATE_DISCONNECTING); in enter()
423 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTING; in exit()
485 dispatchConnectionStateChanged(mLastConnectionState, BluetoothProfile.STATE_CONNECTED); in enter()
497 mLastConnectionState = BluetoothProfile.STATE_CONNECTED; in exit()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/
DHapClientStateMachine.java68 private int mLastConnectionState = -1; field in HapClientStateMachine
221 if (mLastConnectionState != -1) { in enter()
223 broadcastConnectionState(BluetoothProfile.STATE_DISCONNECTED, mLastConnectionState); in enter()
234 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTED; in exit()
339 broadcastConnectionState(BluetoothProfile.STATE_CONNECTING, mLastConnectionState); in enter()
349 mLastConnectionState = BluetoothProfile.STATE_CONNECTING; in exit()
436 broadcastConnectionState(BluetoothProfile.STATE_DISCONNECTING, mLastConnectionState); in enter()
446 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTING; in exit()
550 broadcastConnectionState(BluetoothProfile.STATE_CONNECTED, mLastConnectionState); in enter()
560 mLastConnectionState = BluetoothProfile.STATE_CONNECTED; in exit()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DBassClientStateMachine.java138 private int mLastConnectionState = -1; field in BassClientStateMachine
1430 if (mLastConnectionState == -1) { in enter()
1434 mDevice, mLastConnectionState, BluetoothProfile.STATE_DISCONNECTED); in enter()
1435 if (mLastConnectionState != BluetoothProfile.STATE_DISCONNECTED) { in enter()
1451 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTED; in exit()
1521 mDevice, mLastConnectionState, BluetoothProfile.STATE_CONNECTING); in enter()
1531 mLastConnectionState = BluetoothProfile.STATE_CONNECTING; in exit()
1798 if (mLastConnectionState != BluetoothProfile.STATE_CONNECTED) { in enter()
1800 mDevice, mLastConnectionState, BluetoothProfile.STATE_CONNECTED); in enter()
1811 mLastConnectionState = BluetoothProfile.STATE_CONNECTED; in exit()