Skip to content
Snippets Groups Projects
  1. Aug 24, 2023
    • Jakub Tyszkowski's avatar
      LeAudio: Introduce codec wrapper interface · cff48f93
      Jakub Tyszkowski authored
      This extracts the encoding logic from client.cc,
      for better code separation and maintainance.
      
      Bug: 295972694
      Bug: 262481440
      Bug: 262481609
      Test: atest bluetooth_le_audio_client_test bluetooth_le_audio_test bluetooth_test_broadcaster_state_machine bluetooth_test_broadcaster
      Change-Id: Iee2d1a53c0a0955a8ff7bdd0e9e705ad17159cd9
      cff48f93
  2. Aug 23, 2023
  3. Aug 22, 2023
  4. Aug 21, 2023
    • Rongxuan Liu's avatar
      [le audio] Fix crash when terminating big during streaming · 811abfd8
      Rongxuan Liu authored
      There could be one case that BIG is teared down due to BT shut down.
      We need to validate iso_impl_ before using it.
      
      Bug: 291516832
      Tag: #bug
      Test: atest net_test_btm_iso
      Test: manual test with BT off and confirm no crash
      Change-Id: Id3612d0f5651f91d5f7e871c6c38624c072cd874
      811abfd8
    • Rongxuan Liu's avatar
      [le audio] BassClient multiple sources handling improvement · 77bad2da
      Rongxuan Liu authored
      Current code doesn't handle multiple sources well. It might have race
      conditions and cause unsynced source got reported, and following PAST
      operation might fail because of this.
      
      This commit improved the handling of multiple sources for BassClient,
      1. We need to make sure all notified sources are managable by
         maintaining the syncs.
      2. Limit the max active synced sources.
      3. Clean up the source properly when source or sink lost.
      
      Bug: 294456735
      Tag: #bug
      Test: atest BassClientStateMachineTest BassClientServiceTest
      Test: manually test assistant with two sources
      Change-Id: Ib69563a342f3f093997902fbf6252bd9626550b3
      77bad2da
    • Rongxuan Liu's avatar
      [le audio] BassClient clear notified flag before new scanning · edca0897
      Rongxuan Liu authored
      Bug: 287357243
      Tag: #bug
      Test: atest BassClientServiceTest
      Test: manually test assistant to observe sources are always notified
      Change-Id: Id6deecbee5429ff3c5337cfe1e588586679f00e8
      edca0897
    • Sungsoo Lim's avatar
    • Henri Chataing's avatar
    • Bailey Kuo's avatar
      RootCanal: Generate the rust backend for link_layer_packets.pdl · ca2546f5
      Bailey Kuo authored
      Used by netsimd to generate the beacon advertising
      events for beacon devices.
      
      Bug: 289385842
      Test: m netsimd
      Change-Id: I990aca3b0f55c7bad05abdfd1a92fae3e5ee60e5
      ca2546f5
    • Charlie Boutier's avatar
      5908f073
    • Christine Hallstrom's avatar
      Clarify documentation on address returned in scan results · f2b901e4
      Christine Hallstrom authored
      Test: m com.android.btservices
      Bug: 288319369
      Change-Id: Id711b5127a3c7fc1de97a19edea08b35b7bfdd08
      f2b901e4
    • William Escande's avatar
      Merge changes Iee66ef18,Id5dc18d7,I78ddb76d,I94b1681c,Id979702c, ... into main · 63384dde
      William Escande authored
      * changes:
        Bluetooth: Do not load jni in instrumented test
        AdapterServiceTest: Ignore native test
        AdapterService: Split native interface for test
        ActivityAttribution: Do not call native in test
        Keystore: Remove native call from test
        Bqr: Remove native call from test
        VolumeControl: stop calling NativeInterface in test
        HidDevice: stop calling NativeInterface in test
        AvrcpTarget: Extract NativeInterface
        PeriodicScan: Extract NativeInterface
        SdpManager: Extract NativeInterface
        LeAudio: Make sure test does not call native
        HeadsetClient: Properly mock native
        AtPhonebookTest: Properly mock native
        GattService: Do not call native in test
        ScanManagerTest: only call tested class
        DistanceMeasurement: stop calling NativeInterface in test
        ContextMapTest: only call tested class
        AppScanStatsTest: only call tested class
        HapClient: stop calling NativeInterface in test
        HidHost: stop calling NativeInterface in test
        HeadsetService: stop calling NativeInterface in test
        HearingAidService: stop calling NativeInterface in test
        CsipSetCoordinator: stop calling NativeInterface in test
        KeystoreService: stop calling NativeInterface in test
        AvrcpController: Move some method to static
        AvrcpController: Delete unused code
        A2dpSinkStream: stop calling NativeInterface in test
        AvrcpController: Split NativeInterface for test
        A2dpSinkService: stop calling NativeInterface in test
        A2dpService: stop calling NativeInterface in test
        Test health: Allow test to call doStart and doStop
        Pan: Explicitly require address not to be null
        Pan: Prevent native call from within the test
      63384dde
    • Henri Chataing's avatar
      RootCanal: Reorganize vendor command specification · 152ee713
      Henri Chataing authored
      - rename LeAdvFilter commands to LeApcf
      - group vendor command definitions at the end of the hci_packets.pdl file
      - remove definitions for android vendor commands and events that are
        not going to be implemented:
        - LE Multi Adv
        - A2DP Hardware Offload
        - Bluetooth Quality Report
      - implement stubs for all recognized vendor commands
      
      Bug: 296143555
      Test: m root-canal
      Change-Id: I294400bc9c03cd0ac5694f8116f82931bfc67cd3
      152ee713
Loading