Home
last modified time | relevance | path

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

/packages/services/Car/car-lib/src/android/car/
DCar.java699 private int mConnectionState; field in Car
732 mConnectionState = STATE_CONNECTED;
745 if (mConnectionState == STATE_DISCONNECTED) {
894 car.mConnectionState = STATE_CONNECTED; in createCar()
1017 car.mConnectionState = STATE_CONNECTED; in createCar()
1052 mConnectionState = STATE_CONNECTED; in Car()
1054 mConnectionState = STATE_DISCONNECTED; in Car()
1100 if (mConnectionState != STATE_DISCONNECTED) { in connect()
1103 mConnectionState = STATE_CONNECTING; in connect()
1109 if (mConnectionState == STATE_DISCONNECTED) { in handleCarDisconnectLocked()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java88 private int mConnectionState = BluetoothProfile.STATE_DISCONNECTED; field in A2dpStateMachine
153 mConnectionState = BluetoothProfile.STATE_DISCONNECTED; in enter()
159 broadcastConnectionState(mConnectionState, mLastConnectionState); in enter()
268 mConnectionState = BluetoothProfile.STATE_CONNECTING; in enter()
269 broadcastConnectionState(mConnectionState, mLastConnectionState); in enter()
364 mConnectionState = BluetoothProfile.STATE_DISCONNECTING; in enter()
365 broadcastConnectionState(mConnectionState, mLastConnectionState); in enter()
468 mConnectionState = BluetoothProfile.STATE_CONNECTED; in enter()
476 broadcastConnectionState(mConnectionState, mLastConnectionState); in enter()
591 return mConnectionState; in getConnectionState()
[all …]
/packages/apps/Car/Radio/src/com/android/car/radio/service/
DRadioAppServiceWrapper.java91 private final MutableLiveData<Integer> mConnectionState = new MutableLiveData<>(); field in RadioAppServiceWrapper
97 mConnectionState.postValue(STATE_CONNECTING);
213 mConnectionState.postValue(STATE_CONNECTED); in onServiceConnected()
219 mConnectionState.postValue(STATE_ERROR); in onServiceFailure()
226 mConnectionState.postValue(STATE_NOT_SUPPORTED); in onNullBinding()
271 return mConnectionState; in getConnectionState()
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
DHearingAidStateMachine.java84 private int mConnectionState = BluetoothProfile.STATE_DISCONNECTED; field in HearingAidStateMachine
136 mConnectionState = BluetoothProfile.STATE_DISCONNECTED; in enter()
244 mConnectionState = BluetoothProfile.STATE_CONNECTING; in enter()
335 mConnectionState = BluetoothProfile.STATE_DISCONNECTING; in enter()
433 mConnectionState = BluetoothProfile.STATE_CONNECTED; in enter()
504 return mConnectionState; in getConnectionState()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnection.java705 private Call.State mConnectionState = Call.State.IDLE; field in TelephonyConnection
1092 if (Call.State.ACTIVE == mConnectionState) { in performHold()
1130 if (Call.State.HOLDING == mConnectionState) { in performUnhold()
1708 boolean isCapable = !mTreatAsEmergencyCall && (mConnectionState == Call.State.ACTIVE || in isAddParticipantCapable()
1709 mConnectionState == Call.State.HOLDING); in isAddParticipantCapable()
2115 Log.v(this, "Update state from %s to %s for %s", mConnectionState, newState, in updateStateInternal()
2118 if (mConnectionState != newState) { in updateStateInternal()
2119 mConnectionState = newState; in updateStateInternal()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterProperties.java91 private volatile int mConnectionState = BluetoothAdapter.STATE_DISCONNECTED; field in AdapterProperties
374 mConnectionState = connectionState; in setConnectionState()
381 return mConnectionState; in getConnectionState()