Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java91 private int mConnectionState = BluetoothProfile.STATE_DISCONNECTED; field in A2dpStateMachine
156 mConnectionState = BluetoothProfile.STATE_DISCONNECTED; in enter()
162 broadcastConnectionState(mConnectionState, mLastConnectionState); in enter()
271 mConnectionState = BluetoothProfile.STATE_CONNECTING; in enter()
272 broadcastConnectionState(mConnectionState, mLastConnectionState); in enter()
367 mConnectionState = BluetoothProfile.STATE_DISCONNECTING; in enter()
368 broadcastConnectionState(mConnectionState, mLastConnectionState); in enter()
471 mConnectionState = BluetoothProfile.STATE_CONNECTED; in enter()
479 broadcastConnectionState(mConnectionState, mLastConnectionState); in enter()
594 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);
215 mConnectionState.postValue(STATE_CONNECTED); in onServiceConnected()
221 mConnectionState.postValue(STATE_ERROR); in onServiceFailure()
228 mConnectionState.postValue(STATE_NOT_SUPPORTED); in onNullBinding()
273 return mConnectionState; in getConnectionState()
/packages/services/Car/car-lib/src/android/car/
DCar.java1046 private int mConnectionState; field in Car
1079 mConnectionState = STATE_CONNECTED;
1094 if (mConnectionState == STATE_DISCONNECTED) {
1258 car.mConnectionState = STATE_CONNECTED; in createCar()
1382 car.mConnectionState = STATE_CONNECTED; in createCar()
1417 mConnectionState = STATE_CONNECTED; in Car()
1419 mConnectionState = STATE_DISCONNECTED; in Car()
1465 if (mConnectionState != STATE_DISCONNECTED) { in connect()
1468 mConnectionState = STATE_CONNECTING; in connect()
1474 if (mConnectionState == STATE_DISCONNECTED) { in handleCarDisconnectLocked()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
DHearingAidStateMachine.java87 private int mConnectionState = BluetoothProfile.STATE_DISCONNECTED; field in HearingAidStateMachine
139 mConnectionState = BluetoothProfile.STATE_DISCONNECTED; in enter()
247 mConnectionState = BluetoothProfile.STATE_CONNECTING; in enter()
338 mConnectionState = BluetoothProfile.STATE_DISCONNECTING; in enter()
436 mConnectionState = BluetoothProfile.STATE_CONNECTED; in enter()
507 return mConnectionState; in getConnectionState()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnection.java808 private Call.State mConnectionState = Call.State.IDLE; field in TelephonyConnection
1286 if (Call.State.ACTIVE == mConnectionState) { in performHold()
1324 if (Call.State.HOLDING == mConnectionState) { in performUnhold()
1975 boolean isCapable = !mTreatAsEmergencyCall && (mConnectionState == Call.State.ACTIVE || in isAddParticipantCapable()
1976 mConnectionState == Call.State.HOLDING); in isAddParticipantCapable()
2403 Log.v(this, "Update state from %s to %s for %s", mConnectionState, newState, in updateStateInternal()
2406 if (mConnectionState != newState) { in updateStateInternal()
2407 mConnectionState = newState; in updateStateInternal()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterProperties.java98 private volatile int mConnectionState = BluetoothAdapter.STATE_DISCONNECTED; field in AdapterProperties
407 mConnectionState = connectionState; in setConnectionState()
415 return mConnectionState; in getConnectionState()