Skip to content
  • Gurpreet Ghai's avatar
    Get rid of libhardware dependency in native daemon · c4a6c8d7
    Gurpreet Ghai authored
    Test: compilation test
    Bug: 66187274
    Change-Id: I97ee33a55315f44dc03083d1a8da9a38d5619725
    
    Fix net_test_bluetooth
    
    Test: net_test_bluetooth
    Change-Id: I8c84f0db3ce0e4f6efbd6d7d3cdc794be8fb7faa
    
    Fix net_test_bluetooth
    
    * net_test_bluetooth should try to load Bluetooth library from
      system/lib/hw or system/lib64/hw if it cannot find it from default
      path
    * Also replaced legacy logging macro with libbase logging statements
    
    Bug: 67059247
    Test: net_test_bluetooth
    Change-Id: I6c45f66aedf675397f377ca56203bec9708324e1
    
    Remove hw_module_t dependency in Bluetooth (1/3)
    
    Bug: 67853426
    Test: run Bluetooth
    Merged-In: Ia3808552137d1f770f2c0305aaa01181f383d064
    Change-Id: Ia3808552137d1f770f2c0305aaa01181f383d064
    
    test_vendor: Add base implementation
    
    test_vendor: Add Device and Beacon classes
    Device contains properties to be modeled.  Beacon
    is a simple class that inherits from Device.
    
    test_vendor: Add a Device factory
    The device factory calls the constructors and initializes
    the devices.  The controller uses the factory to instantiate
    devices.
    
    test_vendor: Add a Keyboard class
    Add a connectable LE device.
    
    test_vendor: Add BrokenAdv device
    Generate random broken advertisements.
    
    test_vendor: Add scanning and connections
    Add a connection class to handle data transfer.
    Add scanning and connections in the controller.
    
    Test: Compiles
    Change-Id: Id9f64308447c9de4e83a2a4fa9f59c30bede75ab
    
    Loosen libhardware dependency
    
    In most places we don't really need the libhardware library, just the
    headers.
    
    Bug: 66187274
    Test: compilation test
    Change-Id: Ifa2f547165fcf8b34bc29ab80d2bd12ce02f4ae1
    
    Move include->internal_include (1/2)
    
    Change-Id: If351c7d51a380c33ec9bae3b3f240ed53639f3c9
    
    Remove hw_module_t dependency in Bluetooth - cleanup
    
    Bug: 67853426
    Test: run Bluetooth
    
    Move Bluetooth headers to system/bt (1/3)
    
    Bug: 67853426
    Test: run Bluetooth
    Change-Id: I75748d29a35d10d377d39e0441116dbfd04c82e9
    
    hw/bluetooth.default.so -> libbluetooth.so (1/2)
    
    Also rename the build goal for both the library and headers.
    
    Bug: 67853426
    Test: run Bluetooth
    Merged-In: Iaffeebc1d3f2761e13f6d66d4e855dc342603054
    Change-Id: Iaffeebc1d3f2761e13f6d66d4e855dc342603054
    (cherry picked from commit 842ff8ed7f5b00d5f6da9d975f37e65c41bb8ebc)
    
    Linux: bluetooth.default.so -> libbluetooth.so
    
    Also rename the build goal for both the library.
    
    Bug: 67853426
    Test: run Bluetooth
    Change-Id: Ic5bd27f10ade0b068057049dd98c09e082cafee1
    
    Conflicts:
    	main/BUILD.gn
    
    Use one type for UUID (1/5)
    
    Currently, we have few different representations for UUID in stack:
    tBT_UUID, tSDP_UUID, bt_uuid_t, bluetooth:UUID, or uint8_t*.
    
    Additionally, tBT_UUID and bt_uuid_t are used to hold UUID as 128bit
    as Little Endian or Big Endian, depending on which part of stack (GATT
    or SDP) is using it.
    
    This patch is creating one type, bluetooth::Uuid, that will replace all
    other types.
    
    Bug: 66912853
    Test: all sl4a tests for GATT and RFCOMM
    Merged-In: Ia42d3233146db0488728ed6f878f99b368fe8838
    Change-Id: Ia42d3233146db0488728ed6f878f99b368fe8838
    
    CRs-Fixed: 2191285
    c4a6c8d7