Home
last modified time | relevance | path

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

/packages/services/Car/car-lib/src/android/car/
DCar.java593 private int mConnectionState; field in Car
617 mConnectionState = STATE_CONNECTED;
624 if (mConnectionState == STATE_DISCONNECTED) {
736 mConnectionState = STATE_CONNECTED; in Car()
764 if (mConnectionState != STATE_DISCONNECTED) { in connect()
767 mConnectionState = STATE_CONNECTING; in connect()
779 if (mConnectionState == STATE_DISCONNECTED) { in disconnect()
787 mConnectionState = STATE_DISCONNECTED; in disconnect()
812 return mConnectionState == STATE_CONNECTING; in isConnecting()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java87 private int mConnectionState = BluetoothProfile.STATE_DISCONNECTED; field in A2dpStateMachine
152 mConnectionState = BluetoothProfile.STATE_DISCONNECTED; in enter()
158 broadcastConnectionState(mConnectionState, mLastConnectionState); in enter()
267 mConnectionState = BluetoothProfile.STATE_CONNECTING; in enter()
268 broadcastConnectionState(mConnectionState, mLastConnectionState); in enter()
363 mConnectionState = BluetoothProfile.STATE_DISCONNECTING; in enter()
364 broadcastConnectionState(mConnectionState, mLastConnectionState); in enter()
467 mConnectionState = BluetoothProfile.STATE_CONNECTED; in enter()
475 broadcastConnectionState(mConnectionState, mLastConnectionState); in enter()
590 return mConnectionState; in getConnectionState()
/packages/apps/Car/Radio/src/com/android/car/radio/service/
DRadioAppServiceWrapper.java90 private final MutableLiveData<Integer> mConnectionState = new MutableLiveData<>(); field in RadioAppServiceWrapper
96 mConnectionState.postValue(STATE_CONNECTING);
212 mConnectionState.postValue(STATE_CONNECTED); in onServiceConnected()
218 mConnectionState.postValue(STATE_ERROR); in onServiceFailure()
225 mConnectionState.postValue(STATE_NOT_SUPPORTED); in onNullBinding()
270 return mConnectionState; in getConnectionState()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnection.java613 private Call.State mConnectionState = Call.State.IDLE; field in TelephonyConnection
930 if (Call.State.ACTIVE == mConnectionState) { in performHold()
968 if (Call.State.HOLDING == mConnectionState) { in performUnhold()
1618 Log.v(this, "Update state from %s to %s for %s", mConnectionState, newState, in updateStateInternal()
1621 if (mConnectionState != newState) { in updateStateInternal()
1622 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()