Home
last modified time | relevance | path

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

/packages/services/Car/bluetooth/bt-map-client-lib/src/com/google/android/auto/mapservice/
DBluetoothMapManager.java89 private int mConnectionState = DISCONNECTED; field in BluetoothMapManager
172 if (mConnectionState != DISCONNECTED && mConnectionState != SUSPENDED) { in connect()
174 mConnectionState); in connect()
177 mConnectionState = CONNECTING; in connect()
239 if (mConnectionState != CONNECTED) { in enableNotifications()
272 if (mConnectionState != CONNECTED) { in pushMessage()
302 if (mConnectionState != CONNECTED) { in getMessage()
337 if (mConnectionState != CONNECTED) { in getMessagesListing()
388 if (mConnectionState == CONNECTED) { in onServiceConnected()
394 mConnectionState = CONNECTING; in onServiceConnected()
[all …]
/packages/services/Car/car-support-lib/src/android/support/car/
DCar.java144 private int mConnectionState; field in Car
150 mConnectionState = STATE_CONNECTED;
157 if (mConnectionState == STATE_DISCONNECTED) {
160 mConnectionState = STATE_DISCONNECTED;
277 mConnectionState = STATE_CONNECTED; in Car()
289 if (mConnectionState != STATE_DISCONNECTED) { in connect()
292 mConnectionState = STATE_CONNECTING; in connect()
304 if (mConnectionState == STATE_DISCONNECTED) { in disconnect()
308 mConnectionState = STATE_DISCONNECTED; in disconnect()
320 return mConnectionState == STATE_CONNECTED; in isConnected()
[all …]
/packages/services/Car/car-lib/src/android/car/
DCar.java217 private int mConnectionState; field in Car
241 mConnectionState = STATE_CONNECTED;
249 if (mConnectionState == STATE_DISCONNECTED) {
252 mConnectionState = STATE_DISCONNECTED;
341 mConnectionState = STATE_CONNECTED; in Car()
352 if (mConnectionState != STATE_DISCONNECTED) { in connect()
355 mConnectionState = STATE_CONNECTING; in connect()
367 if (mConnectionState == STATE_DISCONNECTED) { in disconnect()
375 mConnectionState = STATE_DISCONNECTED; in disconnect()
397 return mConnectionState == STATE_CONNECTING; in isConnecting()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DBluetoothPbapClient.java381 private ConnectionState mConnectionState = ConnectionState.DISCONNECTED; field in BluetoothPbapClient
473 client.mConnectionState = ConnectionState.CONNECTING; in handleMessage()
477 client.mConnectionState = ConnectionState.CONNECTED; in handleMessage()
482 client.mConnectionState = ConnectionState.DISCONNECTED; in handleMessage()
562 return mConnectionState; in getState()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterProperties.java54 private volatile int mConnectionState = BluetoothAdapter.STATE_DISCONNECTED; field in AdapterProperties
179 void setConnectionState(int mConnectionState) { in setConnectionState() argument
180 this.mConnectionState = mConnectionState; in setConnectionState()
187 return mConnectionState; in getConnectionState()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnection.java339 private Call.State mConnectionState = Call.State.IDLE; field in TelephonyConnection
529 if (Call.State.ACTIVE == mConnectionState) { in performHold()
560 if (Call.State.HOLDING == mConnectionState) { in performUnhold()
985 Log.v(this, "Update state from %s to %s for %s", mConnectionState, newState, this); in updateStateInternal()
987 if (mConnectionState != newState) { in updateStateInternal()
988 mConnectionState = newState; in updateStateInternal()