private String formatDeviceCandidate(DeviceCandidate device) {
   if (device.getRssi() > GBDevice.RSSI_UNKNOWN) {
     return context.getString(
         R.string.device_with_rssi, device.getName(), GB.formatRssi(device.getRssi()));
   }
   return device.getName();
 }