code: @Implementation
    protected int getProfileConnectionState(int profile) {
      Integer state = profileConnectionStateData.get(profile);
      if (state == null) {
        return BluetoothProfile.STATE_DISCONNECTED;
      }
      return state;
    }
docs: Returns the connection state for the given Bluetooth {@code profile}, defaulting to {@link
  BluetoothProfile.STATE_DISCONNECTED} if the profile's connection state was never set.
  
  <p>Set a Bluetooth profile's connection state via {@link #setProfileConnectionState(int, int)}.