Home
last modified time | relevance | path

Searched refs:setConnectionState (Results 1 – 5 of 5) 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/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpBipClientTest.java122 public void setConnectionState() { in setConnectionState() method in AvrcpBipClientTest
123 mClient.setConnectionState(BluetoothProfile.STATE_CONNECTING); in setConnectionState()
130 mClient.setConnectionState(BluetoothProfile.STATE_DISCONNECTED); in getConnectionState()
133 mClient.setConnectionState(BluetoothProfile.STATE_CONNECTING); in getConnectionState()
136 mClient.setConnectionState(BluetoothProfile.STATE_CONNECTED); in getConnectionState()
139 mClient.setConnectionState(BluetoothProfile.STATE_DISCONNECTING); in getConnectionState()
143 mClient.setConnectionState(invalidState); in getConnectionState()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpBipClient.java223 void setConnectionState(int state) { in setConnectionState() method in AvrcpBipClient
248 setConnectionState(BluetoothProfile.STATE_CONNECTING); in connect()
262 setConnectionState(BluetoothProfile.STATE_CONNECTED); in connect()
279 setConnectionState(BluetoothProfile.STATE_DISCONNECTING); in refreshObexSession()
289 setConnectionState(BluetoothProfile.STATE_CONNECTING); in refreshObexSession()
297 setConnectionState(BluetoothProfile.STATE_CONNECTED); in refreshObexSession()
320 setConnectionState(BluetoothProfile.STATE_DISCONNECTING); in disconnect()
342 setConnectionState(BluetoothProfile.STATE_DISCONNECTED); in disconnect()
/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/shadow/
DShadowBluetoothAdapter.java55 public void setConnectionState(int state) { in setConnectionState() method in ShadowBluetoothAdapter
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DAdapterProperties.java403 void setConnectionState(int connectionState) { in setConnectionState() method in AdapterProperties
811 setConnectionState(newAdapterState); in updateOnProfileConnectionChanged()
1181 setConnectionState(BluetoothAdapter.STATE_DISCONNECTED); in onBluetoothReady()