History log of /system/bt/service/test/parcel_helpers_unittest.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
512fabd174f38ba423bd057a3687623ea3b9deb4 17-Feb-2016 Pavlin Radoslavov <pavlin@google.com> Fix ParcelHelpersTest.ScanResult unit test

Fix a failing unit test that was broken by some
earlier cleanup work.

Bug: 26879229
Bug: 27152031
Change-Id: I244d078a23a69c82fbc7cb4468649ab933131977
/system/bt/service/test/parcel_helpers_unittest.cpp
12265e39b511f28425236b0dc97c78e7d837304b 13-Feb-2016 Pavlin Radoslavov <pavlin@google.com> Fix C/C++ compiler generated warnings

* Remove unused functions: -Wno-unused-function
* Fix logical operations that are missing parentheses:
-Wno-logical-not-parentheses, -Wno-parentheses
* Add missing braces in initializers: -Wno-missing-braces
* Remove unused variables: -Wno-unused-variable
* Fix printf()-like formatting issues: -Wno-format
* Avoid using unitialized variables:
-Wno-maybe-uninitialized, -Wno-uninitialized
* Fix a bug inside bta_gattc_get_gatt_db_impl()
when the processed GATT DB attribute type is unknown.
* Fix warnings about missing field initializers:
-Wno-missing-field-initializers
* Re-implement macro COMPILE_ASSERT(COND) to fix a compilation warning:
-Wno-non-literal-null-conversion
* Fix sign mismatch comparison warnings:
-Wno-sign-compare
* Fix warnings related to enum conversion:
-Wno-enum-conversion
* Fix warnings related to incompatible pointer types:
-Wno-incompatible-pointer-types
* Fix warnings related to enum conversion:
-Wno-enum-conversion

Bug: 26879229
Change-Id: I522931fe156aeab23ae841051a9e25ceab00b1c2
/system/bt/service/test/parcel_helpers_unittest.cpp
be4ae78ad94311389227b1788cf11d36c81d6d22 03-Feb-2016 Marie Janssen <jamuraa@google.com> binder: fix possible stack corruption

The stack could be corrupted by crafting a IPC call in interesting ways
when a character buffer was passed.

This patch also removes code duplication where these would occur.

Bug: 26917241
Change-Id: Ib6c149a293abf01f31c69a94c8f6dd91d8a2fff2
/system/bt/service/test/parcel_helpers_unittest.cpp
57dcd7e47681d3f452ab0f2b34f413af9be51e9e 17-Nov-2015 Arman Uguray <armansito@google.com> service: Add scan structures

Added the ScanFilter, ScanSettings, ScanResult structures that are
used in the BLE scan API.

Bug: 25744656
Change-Id: Id1bb28e7ebe85fd40013876aa097e1d0f0a4e471
/system/bt/service/test/parcel_helpers_unittest.cpp
234138e2606dd7a54fbcc540643511abc0a3598d 07-Oct-2015 Arman Uguray <armansito@google.com> service: Create a client library for applications

This CL creates the libbluetooth-client static library that external
code can link against to interact with the Bluetooth daemon using
Binder. To this end, all service/ code that is common to the client
library and the daemon itself have been moved to service/common/bluetooth
and service/common is exported in LOCAL_EXPORT_C_INCLUDE_DIRS.

bluetooth-cli and bt-example-hr-server have been update to demonstrate
how an app should use this library (using library includes).

Bug: 23169160
Change-Id: Ie6841bd6c48846eecec824ff1e80a9971385d1fc
/system/bt/service/test/parcel_helpers_unittest.cpp
f92aeb96ae4dfe2e8cd7c27ca7b94a03518855cf 24-Sep-2015 Arman Uguray <armansito@google.com> service: Add Parcel utilities for UUID and GATT

Added Parcel helpers for UUID and GattIdentifier. Also added the
util::IsAddressValid helper function and unit tests.

Bug: 24245347
Change-Id: I52d7274dd0a8e2806836efc4467eb4d11ac0c7e4
/system/bt/service/test/parcel_helpers_unittest.cpp
3d73f617610de09a68243852c91a2fffcabc367c 31-Aug-2015 Arman Uguray <armansito@google.com> service: Add AdvertiseData and AdvertiseSettings

Added native definitions for AdvertiseData and AdvertiseSettings
framework objects. Also introduced parcel_helpers, which currently
provides functions to convert AdvertiseData and AdvertiseSettings
to/from Parcel.

As part of this, the bt_service_binder_unittests executable has been
added. This is built for the target device rather than host, as it
requires libbinder and libbinder currently can't be built for host.

Bug: 23793954
Change-Id: Ic55d7f48579e519006decaada5b6f2ef7aefe595
/system/bt/service/test/parcel_helpers_unittest.cpp