Home
last modified time | relevance | path

Searched refs:getConnectionStatus (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothDeviceProfilePreferenceTest.java125 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()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapServer.java807 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()
DSapMessage.java229 public int getConnectionStatus() { in getConnectionStatus() method in SapMessage
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothDeviceProfilePreference.java78 mProfile.getConnectionStatus(mCachedDevice.getDevice()) == STATE_CONNECTED); in refreshUi()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsProfilesControllerTest.java120 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() method in BluetoothDetailsProfilesControllerTest.FakeBluetoothProfile
168 return Utils.getConnectionStateSummary(getConnectionStatus(device)); in getSummaryResourceForDevice()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDetailsProfilesController.java115 profilePref.setChecked(profile.getConnectionStatus(device) == in refreshProfilePreference()