Home
last modified time | relevance | path

Searched refs:setConnectionState (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothSummaryUpdaterTest.java94 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 …]
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpBipClient.java233 private void setConnectionState(int state) { in setConnectionState() method in AvrcpBipClient
255 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowBluetoothAdapter.java53 public void setConnectionState(int state) { in setConnectionState() method in ShadowBluetoothAdapter
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterProperties.java406 void setConnectionState(int connectionState) { in setConnectionState() method in AdapterProperties
685 setConnectionState(newAdapterState); in sendConnectionStateChange()
1011 setConnectionState(BluetoothAdapter.STATE_DISCONNECTED); in onBluetoothReady()