Skip to content
Snippets Groups Projects
  1. Jun 22, 2023
  2. May 19, 2023
  3. May 18, 2023
    • Henri Chataing's avatar
      Merge changes If4c3a82e,Ibbd97441 · 643cae14
      Henri Chataing authored
      * changes:
        pdl: Fix generation of aliased child packet parsing
        pdl: Fix generation of packets with children AND no payload
      643cae14
    • Henri Chataing's avatar
    • Rahul Sabnis's avatar
      Add missing params to sl4a_sl4a function call · 23518f37
      Rahul Sabnis authored
      Bug: 283124370
      Test: system/gd/cert/run --sl4a_sl4a --clean
      Change-Id: I9961b1383a434b4454e0ce0df3027db5393a00df
      23518f37
    • Myles Watson's avatar
      Revert "RootCanal: Delay the first ACL packet sent on a connection" · e535096b
      Myles Watson authored
      This reverts commit ea370c19.
      
      Reason for revert: Broken gdcert test (out-of-order ACL packets under certain conditions)
      
      Change-Id: Ifc980db25492d00b6489a5337a83f0ccd0bc1a78
      e535096b
    • Łukasz Rymanowski's avatar
      gatt: Fix EATT MTU · f3e3aebf
      Łukasz Rymanowski authored
      Make sure that EATT MTU is as per Bluetooth Specification
      
      "The ATT_MTU for the Enhanced ATT bearer shall be set to the minimum of the
      MTU field values of the two devices; these values come from the L2CAP_-
      CREDIT_BASED_CONNECTION_REQ and L2CAP_CREDIT_BASED_-
      CONNECTION_RSP signaling packets or the latest L2CAP_CREDIT_-
      BASED_RECONFIGURE_REQ packets.
      Note: The minimum ATT_MTU for an Enhanced ATT bearer is 64 octets"
      
      Bug: 282719753
      Test: Manual
      Tag: #feature
      Change-Id: I5bb6f7fb36d11c53255de91b927fce226d3c7841
      f3e3aebf
    • Treehugger Robot's avatar
      Merge changes I98936789,Iea07e258 · e0bcc867
      Treehugger Robot authored
      * changes:
        Account for oob generation returning a tuple
        Fix typo in oob generation event name
      e0bcc867
    • Martin Stjernholm's avatar
      Fix problem with ambiguous data dependency when building for linux_bionic. · 1428b5a6
      Martin Stjernholm authored
      In those builds bumble_pandora_server get both linux_glibc and
      linuc_bionic variants, and Soong isn't able to resolve one uniquely
      (even though BumbleBluetoothTests itself is linux_glibc).
      
      This amends https://r.android.com/2547595.
      
      Test: env DIST_DIR=out/dist ./art/tools/dist_linux_bionic.sh -j80 \
              com.android.art.host com.android.support.apexer
      Bug: 282918027
      Change-Id: I0a4846f2d6cd1dfc8ac11c5be95838ac32d21a25
      1428b5a6
    • Jakob Vukalovic's avatar
      rust: Make AttPermissions compatible with libbitflags 2.2.1 · e53ccc57
      Jakob Vukalovic authored
      For compatibility with the new version of libbitflags (2.2.1), implement
      Copy, Clone, Debug, PartialEq, Eq for AttPermissions.
      
      Bug: 261439617
      Test: Build
      Change-Id: I67a64634a5f1bd320f983154c25ba2b7e2a813dc
      Merged-In: Ib00d6cf4c55ce69481aab277ae86365aac3eaa8f
      e53ccc57
    • William Escande's avatar
      5e57aa52
    • Jakub Pawlowski's avatar
      LE Audio: Return SDP services if GATT discovery on LE transport fails · 4d5d871a
      Jakub Pawlowski authored
      Right now, if GATT discovery fails, we would prevent any services from
      being connected in Settings on dual mode device.
      
      After this patch, if LE GATT discovery fails, we will fall back to
      SDP only services, which should keep the audio devices usable.
      
      Bug: 278804760
      Test: pair with LE Audio capable device that would fail to establish LE
      connection, or time out during GATT service discovery
      
      Change-Id: I734f792cb841d44e04748fd421fbfe458bb4ff41
      4d5d871a
    • Chris Manton's avatar
      Remove unused shim inquiry scan result parsing code · 4f37ead7
      Chris Manton authored
      Bug: 283016881
      Test: Compiles and links
      
      Change-Id: I22a20338d787d578d0da3a07644d312e4e3200ca
      4f37ead7
    • Henri Chataing's avatar
      pdl: Fix generation of aliased child packet parsing · 96d7b102
      Henri Chataing authored
      The generator did not handle well packets with child aliases,
      as it was generating a wildcard with no constraint for
      the child specialization.
      
      Extend the generator to handle such cases, within a limit
      - fields must have constraints in immediate children
        (i.e. cannot generate matcher for fields if they are constrained
         by granchildren only)
      - double aliased packets are not allowed (i.e. packets with no
        constraints for two generations)
      
      Bug: 279465240
      Test: atest pdl_generated_files_compile
      Change-Id: If4c3a82e8a06edeab4ef54a8c109b994f6a2dc25
      96d7b102
    • Henri Chataing's avatar
      pdl: Fix generation of packets with children AND no payload · e0734c31
      Henri Chataing authored
      The parser and serialize both have issues in this case
      with parts of the generated code assuming the presence of the
      payload and other not.
      
      The added test packet_decl_parent_with_no_payload
      validates the generated code for this condition.
      
      Bug: 279494407
      Test: atest pdl_generated_files_compile
      Change-Id: Ibbd97441a51fc499250e2072ec8da7f3b7806970
      e0734c31
    • Henri Chataing's avatar
      gd: Patch HCI pdl definitions for ISO commands and events · 387bcb98
      Henri Chataing authored
      - invalid op-code index for LE Set Cig Parameters Test
      - in ISO H4 packets, iso_sdu_length is the total length of
        the sdu, not the length of the fragment
      - rename peripheral_clock_accuracy -> worst_case_sca
      
      Bug: 283254594
      Test: None
      Change-Id: I637c72276974b341c60e20711e56db5158d85643
      387bcb98
    • Łukasz Rymanowski's avatar
      gatt_attr: Allow more operations in GATT service client · 5f637ae6
      Łukasz Rymanowski authored
      With this patch, GATT Service client is prepared to handle more
      operations at the time.
      Needed by following patch
      
      Bug: 282134244
      Test: manual
      Tag: #feature
      Change-Id: I0190f54e1f656519c948d23d8a16065282005b85
      5f637ae6
    • Chris Manton's avatar
      Break out stack::include::sdp_callback.h · 43a42f5a
      Chris Manton authored
      Bug: 282936084
      Test: Compiles and links
      
      Change-Id: Ied37ee7d0e600df47eeab8b9da28ee1ed2f2c655
      43a42f5a
    • Treehugger Robot's avatar
      c0711a44
    • Łukasz Rymanowski's avatar
      bt: Fix getting device type. · f6a115c6
      Łukasz Rymanowski authored
      With this patch p_dev_rec will have updated device type based on the
      inquire database.
      This is needed for dual mode bonding, when first bond over LE and later
      it triest to bond over BR/EDR.
      Note: At that time BTM_GetPeerDeviceTypeFromFeatures will not return any
      type as it is working only when BR/EDR is connected
      
      Bug: 282733852
      Test: manual
      Tag: feature
      Change-Id: I69d708153de45c9c503eb71915ac6ccdddf98c12
      f6a115c6
    • Łukasz Rymanowski's avatar
      LeAudioService: Fix starting scanner · 8c02fa7a
      Łukasz Rymanowski authored
      Make sure to retry when registration does not happen, and in other case
      clear the callback which indicates scan is ongoing.
      
      Bug: 283228408
      Test: manual
      Tag: #feature
      Change-Id: I2399058997b20ea3534951b25c4a8169211d7052
      8c02fa7a
    • Łukasz Rymanowski's avatar
      leaudio: Remove CIG when all ASEs are in the Releasing state · ada7d88a
      Łukasz Rymanowski authored
      We should remove CIG only when there is no active ASEs.
      In this patch we also add a guard which block creating CIS when CIG is
      not exist.
      
      Bug: 282506986
      Test: atest bluetooth_le_audio_test bluetooth_le_audio_client_test
      Test: BluetoothInstrumentationTests
      Tag: #feature
      
      Change-Id: I4943ed9869945f6d63c4f77c8f9c199aaa345a08
      ada7d88a
    • Jakub Tyszkowski's avatar
      AudioUtils: Extract a generic event logger · 78ba78c9
      Jakub Tyszkowski authored
      This will allow us to use the same logging mechanism in not audio related
      use cases, without the hard-codded and confusing "BT Audio" title.
      This logger was also extended with 'logw' and 'loge' methods for
      convenience.
      
      Bug: 278964409
      Test: atest BluetoothInstrumentationTests
      Change-Id: If12dc7b429cc7d1b65be68971a389a7c96131762
      78ba78c9
    • David Duarte's avatar
      Remove grpc from apex · afa629f3
      David Duarte authored
      Testing code was linked inside Gabeldorsche Rust
      and pulled the grpcio dependency into our APEX
      
      Remove the grpc by cutting the dependency
      with Gabeldorsche Rust
      
      Fix: 220806135
      Test: mma
      Change-Id: Ic455f2d1236b33610146de3d88f5a28b56b8da1d
      afa629f3
    • Anna Bauza's avatar
      Merge changes from topic "revert-2586907-MQJYHMXFGR" · fe1322e6
      Anna Bauza authored
      * changes:
        Revert "pdl: Generate snapshots using prettyplease"
        Revert "pdl: Generate canonical tests with prettyplease"
        Revert "pdl: Format generated code using prettyplease"
        Revert "pdl: Remove rustfmt from no_alloc test"
      fe1322e6
    • Benson Li's avatar
      Add init_flag for SCO LC3 codec · 41000d71
      Benson Li authored
      Bug: 282824342
      Test: Manual
      Change-Id: I7378459c3a7738b22e53bf8c5d3bdda417c288ef
      41000d71
    • Alice Kuo's avatar
      Add TbsService to mLeAudioUnicastProfiles · f6f26372
      Alice Kuo authored
      Folow Android 13 CDD, isLeAudioSupported should make sure Tbs service is
      enabled as well
      
      Bug: 283182363
      Test: Manual
      Change-Id: Icfaaf8f55e6acb4a626e52a3ae87bb5073bef8d7
      f6f26372
Loading