Skip to content
Snippets Groups Projects
  1. Aug 15, 2022
  2. Aug 13, 2022
  3. Aug 12, 2022
  4. Aug 11, 2022
  5. Aug 10, 2022
    • Krzysztof Kosiński's avatar
      Bluetooth: fix -Wdefaulted-function-deleted warnings. · 603bf656
      Krzysztof Kosiński authored
      Some types had explicitly defaulted constructors even though they
      are not actually default-constructible. Also fixes an unused
      variable warning.
      
      Tag: #refactor
      Bug: 241680050
      Test: atest --host bluetoothtbd_test net_test_osi
      Change-Id: Ieea664fe7c6ecdca6be352777c775dfd4649e5bd
      603bf656
    • Juan Yescas's avatar
      Remove dependency PlatformProperies from Bluetooth app · f60d8e55
      Juan Yescas authored
      packages/modules/Bluetooth/android/app/Android.bp include
      PlatformProperties as dependency as well as
      "framework-bluetooth-pre-jarjar". The last one also adds the
      dependency PlatformProperties, which it is causing the test
      StrictJavaPackagesTest.testApkInApex_nonClasspathClasses to
      fail.
      
      Note:
      
      The problem the test is trying to detect is multiple copies
      of the same class across the bootclasspath; in this case,
      framework-bluetooth is part of the bootclasspath, so all its
      classes are by default available (with caveats) to all java code;
      PlatformProperties is being bundle again in the Bluetooth APK
      (and applying the same jarjar rules as framework-bluetooth),
      so the end result is that we are bundling the same class that
      is already in the bootclasspath.
      
      Bug: 241475987
      Tag: #compatibility
      Test: Run Bluetooth test cases.
      
      Change-Id: Ia7015fe1dcd279b5e39853a234fef7d908eb8236
      Merged-In: Ia7015fe1dcd279b5e39853a234fef7d908eb8236
      f60d8e55
    • Myles Watson's avatar
      HAL: Print an error on a timeout for cuttlefish · b82f2088
      Myles Watson authored
      500 ms should be sufficient for finding the Bluetooth HAL,
      but when it is not, complain loudly and continue, in case
      the HAL still starts.
      
      Bug: 233804549
      Test: atest
      Change-Id: Ic20f0bc4f494f8e72aec1af8205b7be5e0ce9165
      b82f2088
    • Łukasz Rymanowski's avatar
      has_client: Improve subscribtion to control point · 967aa140
      Łukasz Rymanowski authored
      As per specification we should register for notification when EATT is
      used and indication if EATT is NOT used. This is bit odd as having
      support and being able to connect, and maintaing connection are
      different things.
      To be on the save side we would like to register to both - notification
      and indication and let server to decide what it is sent (based on the
      bearer).
      
      With this patch, we register to anything what servers allow dispite
      EATT tracking.
      
      This will also help PTS testing
      
      Bug: 238171211
      Test: atest BluetoothInstrumentationTests
      Test: PTS
      Tag: #feature
      Change-Id: I7c30278de00e3e75c6ecd9b6c55258b7eef92fe9
      967aa140
    • Łukasz Rymanowski's avatar
      gatt: Fix incorrect GATT confirmation on indication · 090653c2
      Łukasz Rymanowski authored
      If there is many GATT users, Android sends indication to all the users
      and expects confimation.
      Without this fix, we could endup sending multiple Confirmation to remote
      device on single Indication - which is wrong.
      
      This patch fixes this.
      Found during PTS HAP testing.
      
      Bug: 238171211
      Test: atest BluetoothInstrumentationTests
      Test: PTS
      tag: #feature
      Change-Id: Ieef9a0f3448ce8529624e777282e857a7f206c00
      090653c2
Loading