Searched refs:setConnectionState (Results 1 – 4 of 4) sorted by relevance
94 mShadowBluetoothAdapter.setConnectionState(mAdapterConnectionState[0]); in setUp()114 mShadowBluetoothAdapter.setConnectionState(BluetoothAdapter.STATE_CONNECTED); in register_true_shouldSendSummaryChange()128 mShadowBluetoothAdapter.setConnectionState(BluetoothAdapter.STATE_CONNECTED); in onBluetoothStateChanged_btDisabled_shouldSendDisabledSummary()141 mShadowBluetoothAdapter.setConnectionState(BluetoothAdapter.STATE_CONNECTED); in onBluetoothStateChanged_btEnabled_connected_shouldSendConnectedSummary()155 mShadowBluetoothAdapter.setConnectionState(BluetoothAdapter.STATE_CONNECTED); in onBluetoothStateChanged_btEnabled_connectedMisMatch_shouldSendNotConnected()169 mShadowBluetoothAdapter.setConnectionState(BluetoothAdapter.STATE_DISCONNECTED); in onBluetoothStateChanged_btEnabled_notConnected_shouldSendDisconnectedMessage()183 mShadowBluetoothAdapter.setConnectionState(BluetoothAdapter.STATE_DISCONNECTED); in onBluetoothStateChanged_ConnectedDisabledEnabled_shouldSendDisconnectedSummary()191 mShadowBluetoothAdapter.setConnectionState(BluetoothAdapter.STATE_CONNECTED); in onBluetoothStateChanged_ConnectedDisabledEnabled_shouldSendDisconnectedSummary()217 mShadowBluetoothAdapter.setConnectionState(BluetoothAdapter.STATE_CONNECTED); in onConnectionStateChanged_connected_shouldSendConnectedMessage()232 mShadowBluetoothAdapter.setConnectionState(BluetoothAdapter.STATE_DISCONNECTED); in onConnectionStateChanged_inconsistentState_shouldSendDisconnectedMessage()[all …]
233 private void setConnectionState(int state) { in setConnectionState() method in AvrcpBipClient255 setConnectionState(BluetoothProfile.STATE_CONNECTING); in connect()269 setConnectionState(BluetoothProfile.STATE_CONNECTED); in connect()288 setConnectionState(BluetoothProfile.STATE_DISCONNECTING); in refreshObexSession()298 setConnectionState(BluetoothProfile.STATE_CONNECTING); in refreshObexSession()306 setConnectionState(BluetoothProfile.STATE_CONNECTED); in refreshObexSession()325 setConnectionState(BluetoothProfile.STATE_DISCONNECTING); in disconnect()347 setConnectionState(BluetoothProfile.STATE_DISCONNECTED); in disconnect()
373 void setConnectionState(int connectionState) { in setConnectionState() method in AdapterProperties612 setConnectionState(newAdapterState); in sendConnectionStateChange()901 setConnectionState(BluetoothAdapter.STATE_DISCONNECTED); in onBluetoothReady()
51 public void setConnectionState(int state) { in setConnectionState() method in ShadowBluetoothAdapter