Home
last modified time | relevance | path

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

/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/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java96 private int mConnectionState = BluetoothProfile.STATE_DISCONNECTED; field in A2dpStateMachine
161 mConnectionState = BluetoothProfile.STATE_DISCONNECTED; in enter()
167 broadcastConnectionState(mConnectionState, mLastConnectionState); in enter()
276 mConnectionState = BluetoothProfile.STATE_CONNECTING; in enter()
277 broadcastConnectionState(mConnectionState, mLastConnectionState); in enter()
374 mConnectionState = BluetoothProfile.STATE_DISCONNECTING; in enter()
375 broadcastConnectionState(mConnectionState, mLastConnectionState); in enter()
478 mConnectionState = BluetoothProfile.STATE_CONNECTED; in enter()
487 broadcastConnectionState(mConnectionState, mLastConnectionState); in enter()
602 return mConnectionState; in getConnectionState()
[all …]
/packages/modules/Bluetooth/android/pandora/server/src/com/android/pandora/
DGattInstance.kt42 private var mConnectionState = MutableStateFlow(BluetoothProfile.STATE_DISCONNECTED) variable in com.android.pandora.GattInstance
88 mConnectionState.value = newState in onConnectionStateChange()
175 return mConnectionState.value == BluetoothProfile.STATE_CONNECTED in isConnected()
179 return mConnectionState.value == BluetoothProfile.STATE_DISCONNECTED in isDisconnected()
195 if (mConnectionState.value != newState) { in waitForState()
196 mConnectionState.first { it == newState } in waitForState()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/
DHapClientStateMachine.java87 private int mConnectionState = BluetoothProfile.STATE_DISCONNECTED; field in HapClientStateMachine
166 return mConnectionState; in getConnectionState()
222 mConnectionState = BluetoothProfile.STATE_DISCONNECTED; in enter()
333 mConnectionState = BluetoothProfile.STATE_CONNECTING; in enter()
420 mConnectionState = BluetoothProfile.STATE_DISCONNECTING; in enter()
520 mConnectionState = BluetoothProfile.STATE_CONNECTED; in enter()
/packages/modules/Bluetooth/android/app/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/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioStateMachine.java86 private int mConnectionState = BluetoothProfile.STATE_DISCONNECTED; field in LeAudioStateMachine
138 mConnectionState = BluetoothProfile.STATE_DISCONNECTED; in enter()
246 mConnectionState = BluetoothProfile.STATE_CONNECTING; in enter()
333 mConnectionState = BluetoothProfile.STATE_DISCONNECTING; in enter()
431 mConnectionState = BluetoothProfile.STATE_CONNECTED; in enter()
502 return mConnectionState; in getConnectionState()
/packages/services/Car/car-lib/src/android/car/
DCar.java1347 private int mConnectionState; field in Car
1380 mConnectionState = STATE_CONNECTED;
1395 if (mConnectionState == STATE_DISCONNECTED) {
1652 car.mConnectionState = STATE_CONNECTED; in createCar()
1778 car.mConnectionState = STATE_CONNECTED; in createCar()
1813 mConnectionState = STATE_CONNECTED; in Car()
1815 mConnectionState = STATE_DISCONNECTED; in Car()
1862 if (mConnectionState != STATE_DISCONNECTED) { in connect()
1865 mConnectionState = STATE_CONNECTING; in connect()
1871 if (mConnectionState == STATE_DISCONNECTED) { in handleCarDisconnectLocked()
[all …]
/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/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DAdapterProperties.java103 private volatile int mConnectionState = BluetoothAdapter.STATE_DISCONNECTED; field in AdapterProperties
439 mConnectionState = connectionState; in setConnectionState()
447 return mConnectionState; in getConnectionState()