Skip to content
Snippets Groups Projects
  1. Mar 13, 2021
  2. Mar 12, 2021
    • Chris Manton's avatar
      Log command status error conditions · e1292f61
      Chris Manton authored
      Bug: 182524282
      Test: Manual verification on failing scenario
      Tag: #refactor
      Change-Id: Ia76e97648c8091e2bde5a26b307d2779c21e6640
      e1292f61
    • Myles Watson's avatar
      HCI: Use 0x0123 for hex · 4842332a
      Myles Watson authored
      Bug: 182216573
      Test: atest bluetooth_test_gd
            libbt_packets_test
      Tag: #gd-refactor
      Change-Id: Ia06fbdda9101b77204c6ee3ba1c8c1edc81aa3bf
      4842332a
    • Myles Watson's avatar
      HCI: Add more PDL tests · aa9200cd
      Myles Watson authored
      Bug: 182216573
      Test: atest bluetooth_test_gd
            libbt_packets_test
      Tag: #gd-refactor
      Change-Id: I083066083a519c19a8d5c3a4928b306e2495c512
      aa9200cd
    • Myles Watson's avatar
      Only pad the previous field · 9856c2c1
      Myles Watson authored
      Bug: 182216573
      Test: atest bluetooth_test_gd
            libbt_packets_test
            bluetooth_packet_parser_test
      Tag: #gd-refactor
      Change-Id: I8e43aee420be58af81cd9f47fcf53a566af1b3fa
      9856c2c1
    • Myles Watson's avatar
      Merge changes I389b26d7,I0a668115,I75ef0b5c · 210d9ebf
      Myles Watson authored
      * changes:
        Alias iterator in packet-gen
        Use generic type for JsonParser
        Change dynamic_cast to static_cast
      210d9ebf
    • Erwin Jansen's avatar
      Alias iterator in packet-gen · 9132f167
      Erwin Jansen authored
      The msvc compiler is unable to translate some of the generated code:
      
      error: no viable conversion from 'std::array<uint8_t, 248>::iterator'
      (aka '_Array_iterator<unsigned char, 248ULL>') to 'uint8_t *' (aka
      'unsigned char *')
      
      Instead of assigning the value to a ptr, we alias the iterator instead.
      
      Test: atest bluetooth_test_gd
      Tag: #gd-refactor
      Bug: 182505215
      Change-Id: I389b26d71ef5bd8f96ae819d34ce11590f14a5e6
      9132f167
    • Treehugger Robot's avatar
      ded5762c
    • Treehugger Robot's avatar
      Merge changes I86da8ca8,Ibb58fae9,I9c6a9fa3,I4d1ab599,I818c0f4a, ... · 43e812fc
      Treehugger Robot authored
      * changes:
        Change libbt-platform-protos dependency
        Update the readme to use build.py and explain Rust
        Add build.py to simplify building locally
        Build support for Rust via Cargo
        Add option to build libbluetooth as staticlib
        Prevent building some codecs when not supported
        Build support and abstractions for Linux build
        Add source_root parameter to bluetooth_packetgen
        Fix bison 3.7 incompatability
        Host tools support
      43e812fc
  3. Mar 11, 2021
  4. Mar 10, 2021
  5. Mar 09, 2021
    • Chris Manton's avatar
      d79563fb
    • Myles Watson's avatar
      Merge changes I40975081,Ia1fe07b4,Ieffc9874 · 8f418550
      Myles Watson authored
      * changes:
        PDL: Add example test packets
        Rust: Add a packet test
        PDL: Add support for test
      8f418550
    • Chris Manton's avatar
      Revert "Put stack vars in proper scope" · 539c4df4
      Chris Manton authored
      Bug: 182259591
      Test: Builds and compiles
      Tag: #refactor
      
      This reverts commit f293f141.
      
      Change-Id: I25771c2c40089fc46ebce256c0ae1344ac6af2c4
      539c4df4
    • Jeongik Cha's avatar
      Send response as combined form · 36b07485
      Jeongik Cha authored
      As-is: root-canal's response consists of packet type and payload
      separately
      
      In the case of several request in parallel, the responses could be
      overlapped, so make it combined to avoid the situation.
      
      Test: atest AdapterServiceTest
      Bug: 182167189
      Change-Id: I19b99f6399777e927b81c26366d8e02ae577936e
      36b07485
    • Chen Chen's avatar
    • Myles Watson's avatar
      PDL: Add example test packets · 720b5faa
      Myles Watson authored
      Bug: 182216573
      Test: atest libbt_packets_test
      Tag: #gd-refactor
      Change-Id: I40975081d5d30f7078a432df94b9d0c58410da97
      720b5faa
    • Myles Watson's avatar
      Rust: Add a packet test · c826cabc
      Myles Watson authored
      Bug: 182216573
      Test: atest libbt_packets_test
      Tag: #gd-refactor
      Change-Id: Ia1fe07b49363b166d164811dd9aaceea05e66d48
      c826cabc
    • Myles Watson's avatar
      PDL: Add support for test · dd213a65
      Myles Watson authored
      Bug: 182216573
      Test: atest libbt_packets_test
      Tag: #gd-refactor
      Change-Id: Ieffc9874c0ff17cb2a0acb5e9399b6222f585f7c
      dd213a65
    • Chris Manton's avatar
      Merge changes Ib81960bb,I1d84f463,Id475e310,I4ba9755c,Ib6f7b4ba, ... · 46476a51
      Chris Manton authored
      * changes:
        Introduce main_shim_test
        Add main/test::shim mocks
        Add gd/neighbor::inquiry mock
        Add SCO HACK for shim acl mock
        Add gd/hci::controller mock
        gd_acl: Directly access acl manager for SCO hack
        Put stack vars in proper scope
        Return proper type stack/acl/btm_pm::BTM_SetPowerMode
        Explicitly specify status type include/hardware/ble_scanner.h
        Add stack init indirection for activity_attribution
        Use proper tBTM_STATUS types
        Use tBTM_STATUS in stack/l2cap/::
        gd_shim: Log more info about acl queue state
        Add bta_sys post to main alternative method
        Remove unused field srvc_id
        Template prep for bta hardening
        Use btm_status in stack/rfcomm/::
        Use proper types tBLE_SCAN_MODE
        User proper types tBTM_STATUS
        Canonicalize tBTM_APPL_INFO::bta_security
        Streamline bta_av_link_role_ok
        Use canonical include paths
        Add hci code conversion stack/include/hci_error_code
        Remove unused bta/include/bta_api::#defs
        Remove unused API BTM_GetPeerSCA
        Remove unused API BTM_RequestPeerSCA
        Remove unused API BTM_IsPhy2mSupported
        Properly conform tACL_CONN field names
        Add stack/include::BT_HDR rigid struct
        Use proper types tSMP_STATUS
        Properly type stack/smp::tSMP_EVT
        Remove useless extern keyword for definitions
        Remove unused stack/gatt/gatt_int::#defs
        Re-include bta/ag/bta_ag_sdp.cc
      46476a51
  6. Mar 08, 2021
Loading