Skip to content
Snippets Groups Projects
  1. Jan 14, 2021
    • Julien Desprez's avatar
      Swich TEST_MAPPING config to unit_tests:true · 523d47e8
      Julien Desprez authored
      All unit_tests:true are run in presubmit which avoids
      the explicit definition of TEST_MAPPING.
      
      Test: presubmit runs all those tests
      Bug: 175408655
      Change-Id: I4d42ce5da5cdca819e61691475e8645e83942ab1
      Merged-In: Ib6e861158b8b9b426b48147b778f49f73c35be9f
      523d47e8
  2. Jan 13, 2021
    • Julien Desprez's avatar
      Swich TEST_MAPPING config to unit_tests:true · 5c8b75b8
      Julien Desprez authored
      All unit_tests:true are run in presubmit which avoids
      the explicit definition of TEST_MAPPING.
      
      Ignore-AOSP-First: Will be CP, merge conflict from aosp
      Test: presubmit runs all those tests
      Bug: 175408655
      Change-Id: Ib6e861158b8b9b426b48147b778f49f73c35be9f
      5c8b75b8
  3. Dec 02, 2020
  4. Oct 22, 2020
    • Chris Manton's avatar
      Check a2dp packet length is zero · dc428c3e
      Chris Manton authored
      Bug: 142546668
      Bug: 168254957
      Test: net_test_stack_a2dp_native
      
      Change-Id: I105b445293c02cb4f37c759fd5b05758fd4e3646
      Merged-In: I105b445293c02cb4f37c759fd5b05758fd4e3646
      dc428c3e
  5. Oct 20, 2020
  6. Sep 29, 2020
  7. Sep 25, 2020
    • Yanfei Zhou's avatar
      GAP: Support 128-bit custom UUID in EIR record · d243981a
      Yanfei Zhou authored
      1)Add 128-bit custom UUID into EIR when API
         BluetoothAdapter#listenUsingRfcommWithServiceRecord is called.
      
      2) Delete 128-bit custom UUID from EIR when socket created by API
         BluetoothAdapter#listenUsingRfcommWithServiceRecord is closed.
      
      Test: atest net_test_bta
      Bug: 119535937
      Sponsor: alainv@
      Tag: #feature
      
      Change-Id: I163abf9c4afe5430442381c994e324cefbb04f22
      d243981a
  8. Sep 02, 2020
  9. Aug 20, 2020
    • Jakub Tyszkowski's avatar
      btm: Initial Iso Manager implementation · d093be05
      Jakub Tyszkowski authored
      This adds the ISO Manager used to manage the CIG/CIS and
      in future patches also BIG/BIS channels. It defines an API
      for the user to call and callback interfaces that the user
      has to implement and register in the ISO Manager to use it.
      
      Bug: 150670922
      Tag: #feature
      Test: atest --host net_test_btm_iso
      Sponsor: jpawlowski@
      Change-Id: I0f4719b6efb74a7350cf3d6d9263bf855d60ce6f
      d093be05
  10. Jun 24, 2020
    • Song Gao's avatar
      HF_CLIENT: Upgrade version from 1.6 to 1.7 · dca4654b
      Song Gao authored
      In HFP client version 1.7, mandatory S4 setting for eSCO
      CVSD coding is introduced. S4 setting takes parameters
      as maximum latency = 12msec and retransmission effort = 2.
      
      Cherrypicked from https://r.android.com/1212759
      
      Test: ./run_unit_tests.sh net_test_btif_hf_client_service
      Test: ./run_unit_tests.sh net_test_hf_client_add_record
      Bug: 146090794
      Tag: #feature
      
      Change-Id: Ia450b4c237f130021511efb4795d4b2a98892cef
      dca4654b
    • Song Gao's avatar
      HF_CLIENT: Upgrade version from 1.6 to 1.7 · e2253a57
      Song Gao authored
      In HFP client version 1.7, mandatory S4 setting for eSCO
      CVSD coding is introduced. S4 setting takes parameters
      as maximum latency = 12msec and retransmission effort = 2.
      
      Test:./run_unit_tests.sh net_test_btif_hf_client_service
      Test:./run_unit_tests.sh net_test_hf_client_add_record
      Bug: 146090794
      Tag: #feature
      
      Change-Id: Ia450b4c237f130021511efb4795d4b2a98892cef
      e2253a57
  11. Jun 23, 2020
    • Chris Manton's avatar
      DO NOT MERGE Check a2dp packet length is zero · 05889eb8
      Chris Manton authored
      Bug: 142546668
      Test: net_test_stack_a2dp_native
      
      (cherry picked from commit 006df439)
      (cherry picked from commit b0aa88f0)
      
      Change-Id: I3a365b69aaac7edcff27909d15c842614a9a4603
      05889eb8
    • jonerlin's avatar
      Fine tune btif config mechanism to limit the number of section in bt config... · b17e8ac9
      jonerlin authored
      Fine tune btif config mechanism to limit the number of section in bt config cache and improve the bt config clone performance
      
      * Bt config cache will grow bigger and bigger without limitation and
      cause many Bluetooth stability issues
      * Do not clone the whole config cache before writing config cache
      into file, clone paired devices section instead.
      * Implement BtifConfigCache class to handle bt devices config add,
      remove, paired, unpaired,..etc.
      
      Bug: 143515989
      Test: 1. Add BtifConfigCacheTest unit tests to test bt config cache
      setup, paire with a new devices, unpaire with a devices, remove the
      sections with specific key.
      2. Checking the paired devices information still existed in settings
      after Bluetooth disable or device reboot.
      3. Checking the paired devices information still saved in btif_config
      file after Bluetooth disable and device reboot.
      4. Remove btif_confing files and enable Bluetooth, checking the
      btif_config file can be created and included adapter information
      normally.
      5. Checking the paired devices information be clean in btif_config
      file after device factory reset
      6. keep BLE scanning, then pair with a bluetooth device, connect a
      bluetooth device, disable Bluetooth, checking the function work
      normally.
      Tag: #stability
      
      Merged-In: Ide1ba1b6daaf9d102ab96976cbf28e65031423d0
      Change-Id: Ide1ba1b6daaf9d102ab96976cbf28e65031423d0
      (cherry picked from commit 098212937ba1fd16c7630659d98af877c16f10f3)
      b17e8ac9
  12. Jun 21, 2020
    • jonerlin's avatar
      Fine tune btif config mechanism to limit the number of section in bt config... · b9e10460
      jonerlin authored
      Fine tune btif config mechanism to limit the number of section in bt config cache and improve the bt config clone performance
      
      * Bt config cache will grow bigger and bigger without limitation and
      cause many Bluetooth stability issues
      * Do not clone the whole config cache before writing config cache
      into file, clone paired devices section instead.
      * Implement BtifConfigCache class to handle bt devices config add,
      remove, paired, unpaired,..etc.
      
      Bug: 143515989
      Test: 1. Add BtifConfigCacheTest unit tests to test bt config cache
      setup, paire with a new devices, unpaire with a devices, remove the
      sections with specific key.
      2. Checking the paired devices information still existed in settings
      after Bluetooth disable or device reboot.
      3. Checking the paired devices information still saved in btif_config
      file after Bluetooth disable and device reboot.
      4. Remove btif_confing files and enable Bluetooth, checking the
      btif_config file can be created and included adapter information
      normally.
      5. Checking the paired devices information be clean in btif_config
      file after device factory reset
      6. keep BLE scanning, then pair with a bluetooth device, connect a
      bluetooth device, disable Bluetooth, checking the function work
      normally.
      Tag: #stability
      
      Change-Id: Ide1ba1b6daaf9d102ab96976cbf28e65031423d0
      b9e10460
  13. Jun 20, 2020
    • Chris Manton's avatar
      Fix: fragment packets · e2b3e7da
      Chris Manton authored
      Small overflow window
      
      Bug: 147227320
      Test: net_test_hci_fragmenter_native
      
      Merged-In: I3b7b4cbcbd292ed6fbbf9eacf3be66cf7c4120cc
      (cherry picked from commit 8e2aa03a846bad0ff8c701a8a2468c1442f17b7a)
      Change-Id: Ie64e1e107966c8b0d187739777d3abfe199c66bc
      e2b3e7da
  14. Jun 18, 2020
  15. Apr 27, 2020
    • Chris Manton's avatar
      DO NOT MERGE Fix: fragment packets · 52546cda
      Chris Manton authored
      Small overflow window
      
      Bug: 147227320
      Test: net_test_hci_fragmenter_native
      
      Change-Id: I3b7b4cbcbd292ed6fbbf9eacf3be66cf7c4120cc
      (cherry picked from commit 8e2aa03a846bad0ff8c701a8a2468c1442f17b7a)
      52546cda
  16. Apr 17, 2020
  17. Apr 07, 2020
    • Chris Manton's avatar
      Check a2dp packet length is zero · 30290de9
      Chris Manton authored
      Bug: 142546668
      Test: net_test_stack_a2dp_native
      
      Change-Id: I105b445293c02cb4f37c759fd5b05758fd4e3646
      Merged-In: I105b445293c02cb4f37c759fd5b05758fd4e3646
      30290de9
    • Chris Manton's avatar
      Check a2dp packet length is zero · 006df439
      Chris Manton authored
      Bug: 142546668
      Test: net_test_stack_a2dp_native
      
      Change-Id: I105b445293c02cb4f37c759fd5b05758fd4e3646
      Merged-In: I105b445293c02cb4f37c759fd5b05758fd4e3646
      006df439
  18. Mar 26, 2020
  19. Mar 13, 2020
  20. Mar 12, 2020
  21. Mar 11, 2020
  22. Mar 09, 2020
  23. Mar 08, 2020
    • Chris Manton's avatar
      Fix: fragment packets · 5fd6aecc
      Chris Manton authored
      Small overflow window
      
      Bug: 147227320
      Test: net_test_hci_fragmenter_native
      
      Change-Id: I3b7b4cbcbd292ed6fbbf9eacf3be66cf7c4120cc
      5fd6aecc
  24. Mar 05, 2020
  25. Mar 04, 2020
  26. Apr 02, 2019
    • Jack He's avatar
      Common: remove GD related stuff from common · c1c0e7e0
      Jack He authored
      * Remove reactor, thread, handler, alarm, repeating alarm from common/
        since they are already copied into gd/os
      * Extract thread and alarm benchmarks into gd:bluetooth_benchmark_gd
      * Enable host side unit tests for system/bt in TEST_MAPPING
      
      Bug: 129537494
      Test: run benchmark, run unit tests
      Change-Id: Id5d7592067bab3275976dfc710e4d751c43b9df8
      c1c0e7e0
  27. Mar 28, 2019
    • Zach Johnson's avatar
      Get gd os tests running on host · 739594d8
      Zach Johnson authored
      * Run os tests on host
      * Fix flaky hander clear test
      * Move to linux_generic
      * Remove dependency on libchrome
      * Allow alarms to run on linux host where we can't get CAP_WAKE_ALARM
      
      Test: atest bluetooth_gd_test_os
      Change-Id: Ia95ce39169ac8c963052e3252e7b39ef32bd5bb1
      739594d8
  28. Mar 27, 2019
  29. Jan 10, 2019
    • Dan Shi's avatar
      Add host tests to TEST_MAPPING · dcc96796
      Dan Shi authored
      Also added some missing test_suites setting.
      
      Following tests don't have host_supported set to true in Android.bp:
      net_test_audio_a2dp_hw
      net_test_btif
      net_test_btif_profile_queue
      net_test_device
      net_test_hci
      net_test_stack
      net_test_stack_ad_parser
      net_test_stack_smp
      
      Following tests failed to run in host with error "did not report any run":
      net_test_performance
      net_test_stack_rfcomm
      
      Bug: 111921389
      Test: system/bt$ atest --host :postsubmit
      Change-Id: I5f55cead7a2ad1cadea48220f45781f4f74949dd
      dcc96796
  30. Dec 15, 2018
  31. Oct 05, 2018
  32. Sep 27, 2018
    • Jack He's avatar
      Add TEST_MAPPING to system/bt · cac30a28
      Jack He authored
      * Add "postsubmit" test group to TEST_MAPPING in system/bt
      * Developer can run tests mannually in system/bt via:
        system/bt$ atest :postsubmit
      * Remove legacy configuration files spread across system/bt
      * Created unified configuration file system/bt/AndroidTestTemplate.xml
        and add it to the default build config so that developers don't have
        to configure it
      
      Bug: 113359343
      Test: atest :postsubmit
      Change-Id: I0fdd55b47ef176b5c4ce3d2cd217ffa67cf9bc23
      cac30a28
Loading