Searched refs:assertConnectionStateName (Results 1 – 1 of 1) sorted by relevance
555 private void assertConnectionStateName(int connectionState, String name) { in assertConnectionStateName() method in BluetoothAdapterTest563 assertConnectionStateName(STATE_DISCONNECTED, "STATE_DISCONNECTED"); in BluetoothProfile_getConnectionStateName()564 assertConnectionStateName(STATE_CONNECTED, "STATE_CONNECTED"); in BluetoothProfile_getConnectionStateName()565 assertConnectionStateName(STATE_CONNECTING, "STATE_CONNECTING"); in BluetoothProfile_getConnectionStateName()566 assertConnectionStateName(STATE_CONNECTED, "STATE_CONNECTED"); in BluetoothProfile_getConnectionStateName()567 assertConnectionStateName(STATE_DISCONNECTING, "STATE_DISCONNECTING"); in BluetoothProfile_getConnectionStateName()568 assertConnectionStateName(STATE_DISCONNECTING + 1, "STATE_UNKNOWN"); in BluetoothProfile_getConnectionStateName()