/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/occupantconnection/ |
D | SenderFragment.java | 56 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/app/src/com/android/bluetooth/hap/ |
D | HapClientStateMachine.java | 86 private int mConnectionState = STATE_DISCONNECTED; field in HapClientStateMachine 132 return mConnectionState; in getConnectionState() 149 + getConnectionStateName(mConnectionState)); in broadcastConnectionState() 151 mService.connectionStateChanged(mDevice, mLastConnectionState, mConnectionState); in broadcastConnectionState() 155 .putExtra(BluetoothProfile.EXTRA_STATE, mConnectionState) in broadcastConnectionState() 193 mConnectionState = STATE_DISCONNECTED; in enter() 276 mConnectionState = STATE_CONNECTING; in enter() 350 mConnectionState = STATE_DISCONNECTING; in enter() 435 mConnectionState = STATE_CONNECTED; in enter()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/ |
D | A2dpStateMachine.java | 98 private int mConnectionState = STATE_DISCONNECTED; field in A2dpStateMachine 135 if (mConnectionState != STATE_DISCONNECTED && mLastConnectionState != -1) { in doQuit() 138 broadcastConnectionState(STATE_DISCONNECTED, mConnectionState); in doQuit() 162 mConnectionState = STATE_DISCONNECTED; in enter() 168 broadcastConnectionState(mConnectionState, mLastConnectionState); in enter() 302 mConnectionState = STATE_CONNECTING; in enter() 303 broadcastConnectionState(mConnectionState, mLastConnectionState); in enter() 406 mConnectionState = STATE_DISCONNECTING; in enter() 407 broadcastConnectionState(mConnectionState, mLastConnectionState); in enter() 509 mConnectionState = STATE_CONNECTED; in enter() [all …]
|
/packages/modules/Bluetooth/android/pandora/server/src/ |
D | GattInstance.kt | 43 private var mConnectionState = MutableStateFlow(STATE_DISCONNECTED) variable in com.android.pandora.GattInstance 97 mConnectionState.value = newState in onConnectionStateChange() 198 return mConnectionState.value == STATE_CONNECTED in isConnected() 202 return mConnectionState.value == STATE_DISCONNECTED in isDisconnected() 227 if (mConnectionState.value != newState) { in waitForState() 228 mConnectionState.first { it == newState } in waitForState()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hearingaid/ |
D | HearingAidStateMachine.java | 91 private int mConnectionState = STATE_DISCONNECTED; field in HearingAidStateMachine 132 mConnectionState = STATE_DISCONNECTED; in enter() 244 mConnectionState = STATE_CONNECTING; in enter() 336 mConnectionState = STATE_DISCONNECTING; in enter() 433 mConnectionState = STATE_CONNECTED; in enter() 501 return mConnectionState; in getConnectionState()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/ |
D | LeAudioStateMachine.java | 82 private int mConnectionState = STATE_DISCONNECTED; field in LeAudioStateMachine 145 mConnectionState = STATE_DISCONNECTED; in enter() 260 mConnectionState = STATE_CONNECTING; in enter() 362 mConnectionState = STATE_DISCONNECTING; in enter() 471 mConnectionState = STATE_CONNECTED; in enter() 544 return mConnectionState; in getConnectionState()
|
/packages/services/Car/car-lib/src/android/car/ |
D | Car.java | 1721 private int mConnectionState; field in Car 1802 mConnectionState = STATE_CONNECTED; 1820 if (mConnectionState == STATE_DISCONNECTED) { 1844 if (mConnectionState == STATE_DISCONNECTED) { 2343 car.mConnectionState = STATE_CONNECTED; in createCarInternalLegacy() 2426 car.mConnectionState = STATE_CONNECTED; in createCarInternalLegacy() 2556 mConnectionState = STATE_CONNECTED; in setCarServiceLocked() 2637 mConnectionState = STATE_CONNECTED; in Car() 2639 mConnectionState = STATE_DISCONNECTED; in Car() 2684 if (mConnectionState != STATE_DISCONNECTED) { in connect() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | AdapterProperties.java | 102 private volatile int mConnectionState = BluetoothAdapter.STATE_DISCONNECTED; field in AdapterProperties 277 mConnectionState = connectionState; in setConnectionState() 285 return mConnectionState; in getConnectionState()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConnection.java | 844 private Call.State mConnectionState = Call.State.IDLE; field in TelephonyConnection 1319 if (Call.State.ACTIVE == mConnectionState) { in performHold() 1361 if (Call.State.HOLDING == mConnectionState) { in performUnhold() 2013 boolean isCapable = !mTreatAsEmergencyCall && (mConnectionState == Call.State.ACTIVE || in isAddParticipantCapable() 2014 mConnectionState == Call.State.HOLDING); in isAddParticipantCapable() 2467 Log.v(this, "Update state from %s to %s for %s", mConnectionState, newState, in updateStateInternal() 2470 if (mConnectionState != newState) { in updateStateInternal() 2471 mConnectionState = newState; in updateStateInternal()
|