Home
last modified time | relevance | path

Searched refs:mConnectionState (Results 1 – 9 of 9) sorted by relevance

/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/occupantconnection/
DSenderFragment.java56 private int mConnectionState; field in SenderFragment
72 mConnectionState = STATE_CONNECTED;
78 mConnectionState = STATE_NOT_CONNECTED;
84 mConnectionState = STATE_NOT_CONNECTED;
119 if (mConnectionState == STATE_CONNECTING) { in onCreateView()
124 if (mConnectionState == STATE_CONNECTED) { in onCreateView()
131 mConnectionState = STATE_CONNECTING; in onCreateView()
142 if (mConnectionState != STATE_CONNECTING) { in onCreateView()
148 mConnectionState = STATE_NOT_CONNECTED; in onCreateView()
159 if (mConnectionState != STATE_CONNECTED) { in onCreateView()
[all …]
/packages/modules/Bluetooth/android/pandora/server/src/
DGattInstance.kt42 private var mConnectionState = MutableStateFlow(BluetoothProfile.STATE_DISCONNECTED) variable
91 mConnectionState.value = newState in onConnectionStateChange()
192 return mConnectionState.value == BluetoothProfile.STATE_CONNECTED in isConnected()
196 return mConnectionState.value == BluetoothProfile.STATE_DISCONNECTED in isDisconnected()
221 if (mConnectionState.value != newState) { in waitForState()
222 mConnectionState.first { it == newState } in waitForState()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java75 private int mConnectionState = BluetoothProfile.STATE_DISCONNECTED; field in A2dpStateMachine
154 mConnectionState = BluetoothProfile.STATE_DISCONNECTED; in enter()
160 broadcastConnectionState(mConnectionState, mLastConnectionState); in enter()
306 mConnectionState = BluetoothProfile.STATE_CONNECTING; in enter()
307 broadcastConnectionState(mConnectionState, mLastConnectionState); in enter()
420 mConnectionState = BluetoothProfile.STATE_DISCONNECTING; in enter()
421 broadcastConnectionState(mConnectionState, mLastConnectionState); in enter()
540 mConnectionState = BluetoothProfile.STATE_CONNECTED; in enter()
550 broadcastConnectionState(mConnectionState, mLastConnectionState); in enter()
686 return mConnectionState; in getConnectionState()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioStateMachine.java64 private int mConnectionState = BluetoothProfile.STATE_DISCONNECTED; field in LeAudioStateMachine
127 mConnectionState = BluetoothProfile.STATE_DISCONNECTED; in enter()
245 mConnectionState = BluetoothProfile.STATE_CONNECTING; in enter()
342 mConnectionState = BluetoothProfile.STATE_DISCONNECTING; in enter()
451 mConnectionState = BluetoothProfile.STATE_CONNECTED; in enter()
527 return mConnectionState; in getConnectionState()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hearingaid/
DHearingAidStateMachine.java68 private int mConnectionState = BluetoothProfile.STATE_DISCONNECTED; field in HearingAidStateMachine
130 mConnectionState = BluetoothProfile.STATE_DISCONNECTED; in enter()
245 mConnectionState = BluetoothProfile.STATE_CONNECTING; in enter()
346 mConnectionState = BluetoothProfile.STATE_DISCONNECTING; in enter()
456 mConnectionState = BluetoothProfile.STATE_CONNECTED; in enter()
529 return mConnectionState; in getConnectionState()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/
DHapClientStateMachine.java67 private int mConnectionState = BluetoothProfile.STATE_DISCONNECTED; field in HapClientStateMachine
152 return mConnectionState; in getConnectionState()
217 mConnectionState = BluetoothProfile.STATE_DISCONNECTED; in enter()
338 mConnectionState = BluetoothProfile.STATE_CONNECTING; in enter()
435 mConnectionState = BluetoothProfile.STATE_DISCONNECTING; in enter()
548 mConnectionState = BluetoothProfile.STATE_CONNECTED; in enter()
/packages/services/Car/car-lib/src/android/car/
DCar.java1629 private int mConnectionState; field in Car
1662 mConnectionState = STATE_CONNECTED;
1677 if (mConnectionState == STATE_DISCONNECTED) {
2065 car.mConnectionState = STATE_CONNECTED; in createCar()
2153 car.mConnectionState = STATE_CONNECTED; in createCar()
2189 mConnectionState = STATE_CONNECTED; in Car()
2191 mConnectionState = STATE_DISCONNECTED; in Car()
2239 if (mConnectionState != STATE_DISCONNECTED) { in connect()
2242 mConnectionState = STATE_CONNECTING; in connect()
2249 if (mConnectionState == STATE_DISCONNECTED) { in handleCarDisconnectLocked()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnection.java844 private Call.State mConnectionState = Call.State.IDLE; field in TelephonyConnection
1319 if (Call.State.ACTIVE == mConnectionState) { in performHold()
1359 if (Call.State.HOLDING == mConnectionState) { in performUnhold()
2011 boolean isCapable = !mTreatAsEmergencyCall && (mConnectionState == Call.State.ACTIVE || in isAddParticipantCapable()
2012 mConnectionState == Call.State.HOLDING); in isAddParticipantCapable()
2465 Log.v(this, "Update state from %s to %s for %s", mConnectionState, newState, in updateStateInternal()
2468 if (mConnectionState != newState) { in updateStateInternal()
2469 mConnectionState = newState; in updateStateInternal()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DAdapterProperties.java113 private volatile int mConnectionState = BluetoothAdapter.STATE_DISCONNECTED; field in AdapterProperties
404 mConnectionState = connectionState; in setConnectionState()
412 return mConnectionState; in getConnectionState()