1. 13 Oct, 2016 1 commit
  2. 12 Oct, 2016 5 commits
  3. 11 Oct, 2016 3 commits
  4. 10 Oct, 2016 12 commits
  5. 07 Oct, 2016 3 commits
    • Treehugger Robot's avatar
    • Ben YoungTae Kim's avatar
      HID: Fix to handle UHID_OUTPUT_EV command from UHID driver · 960b9c39
      Ben YoungTae Kim authored
      Incorrect size check for UHID_OUTPUT_EV for incoming data from
      UHID driver of kernel was leading to exiting of poll thread.
      This was causing IOT issues with Apple Magic Mouse that require
      output report to be sent for proper functioning of scroll functionality.
      
      Bug: 28942565
      Change-Id: I2eaba1f70b7cd51fb21933031d439543eb141fd2
      960b9c39
    • Gurpreet Ghai's avatar
      Add null check to avoid exception after L2CAP psm assigned · 78e1e09b
      Gurpreet Ghai authored
      Use case: BT will get crash in SNS testing.
      
      steps: SNS testing BT ON/OFF.
      
      Failure: Crash is observed.
      
      Root Cause: If the number of supported services increased,
      larger service record array is required. Smaller array is
      resulting in out of record error causing L2CAP deregister.
      
      Fix: Check added to avoid null pointer exception if null
      is returned while fetching sock from id. Also cleanup of
      SDP and security records done during BT turning Off.
      
      Change-Id: I2e77127262119cabf2c372f894427dcdf3350e80
      78e1e09b
  6. 06 Oct, 2016 1 commit
    • Jakub Pawlowski's avatar
      Refactor advertising data types · 9eaf7768
      Jakub Pawlowski authored
      Currently we have some unnecessary complicated code for handling
      advertising data. Get rid of it.
      
      Bug: 30622771
      Test: Tests making sure flags and tx power are filled are added
      Change-Id: I807cdf11577c357c116c54cab50bbf3261e1ee16
      9eaf7768
  7. 05 Oct, 2016 3 commits
    • Pavlin Radoslavov's avatar
      Use the correct API to check whether a codec is valid · a0db321d
      Pavlin Radoslavov authored
      Use the (new) A2D_IsPeerSinkCodecValid() API call as appropriate
      to check whether the codec information of a Sink peer is valid.
      Previously, A2D_IsSourceCodecSupported() was used, and that didn't
      match the original code (before the refactoring).
      A2D_IsSourceCodecSupported() has extra checks, including min/max bitpool
      oundaries, and those shouldn't be used for this initial check - the
      bitpool boundaries can be adjusted later.
      
      Similarly, use the new A2D_IsPeerSourceCodecValid() API call instead of
      A2D_IsSinkCodecSupported().
      
      Also:
       * Replaced A2D_IsValidCodec() with
         A2D_IsSourceCodecValid(), A2D_IsSinkCodecValid()
         A2D_IsPeerSourceCodecValid(), A2D_IsPeerSinkCodecValid()
         and added the appropriate unit tests.
      
       * Added extra debug messages to help identify similar issues in the future
      
      Bug: 31749230
      Test: manual test with a carkit, and unit tests
      Change-Id: Iafaeb82744df9758e686194c91624992a0c55bdf
      a0db321d
    • Jakub Pawlowski's avatar
      Remove unnecessary checks of BTM_MAX_LOC_BD_NAME_LEN · be43ee76
      Jakub Pawlowski authored
      Change-Id: I6e68f80d0d97081a4fc3879e6c11342923cfef7b
      be43ee76
    • Jakub Pawlowski's avatar
      Make Bluetooth LE multi-advertising testable · e47b769e
      Jakub Pawlowski authored
      This patch turns the code that manages LE multi-advertising into the
      BleAdvertisingManager class. All HCI calls made by this code were
      abstracted into BleAdvertiserHciInterface.
      
      Thanks to those changes, we can mock BleAdvertiserHciInterface and test
      the advertising manager.
      
      The BleAdvertisingManagerTest, still has some dependencies on other
      code from the "stack" module. These have to be implemented on top of the
      test file. In the future, this dependencies should be replaced by mockable
      classes.
      
      Test: Tests covering the change are added in this patch.
      Bug: 30622771
      Change-Id: I4a363678815c235ee01255f462db2a671ef89610
      e47b769e
  8. 04 Oct, 2016 3 commits
  9. 03 Oct, 2016 2 commits
  10. 30 Sep, 2016 7 commits