public void testRemoteConnection(ParcelFileDescriptor fd) throws RemoteException {
    // A better approach will be that we store the request and on connect
    // we execute this later.
    if (service == null) {
      mManager.connectRemote();
      Log.d(tag, "Service is not connected, failing listDevices");
      return;
    }
    Log.d(tag, "testing connection..");

    service.setFileDescriptor(fd);
  }