Searched refs:getConnectionStatus (Results 1 – 6 of 6) sorted by relevance
125 when(mProfile.getConnectionStatus(mDevice)).thenReturn(STATE_CONNECTED); in onAttached_panProfile_connected_setsChecked()138 when(mProfile.getConnectionStatus(mDevice)).thenReturn(STATE_DISCONNECTED); in onAttached_panProfile_notConnected_setsUnchecked()
807 if (sapMsg.getConnectionStatus() == SapMessage.CON_STATUS_OK) { in handleRfcommReply()816 } else if (sapMsg.getConnectionStatus() == SapMessage.CON_STATUS_OK) { in handleRfcommReply()819 } else if (sapMsg.getConnectionStatus() in handleRfcommReply()822 } else if (sapMsg.getConnectionStatus() != SapMessage.CON_STATUS_OK) { in handleRfcommReply()
229 public int getConnectionStatus() { in getConnectionStatus() method in SapMessage
78 mProfile.getConnectionStatus(mCachedDevice.getDevice()) == STATE_CONNECTED); in refreshUi()
120 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in BluetoothDetailsProfilesControllerTest.FakeBluetoothProfile168 return Utils.getConnectionStateSummary(getConnectionStatus(device)); in getSummaryResourceForDevice()
115 profilePref.setChecked(profile.getConnectionStatus(device) == in refreshProfilePreference()