OSDN Git Service

android-x86/system-bt.git
8 years agoam e9d2d9bf: (-s ours) am f2d6434a: gn-build: Add bluetooth-service target
Arman Uguray [Thu, 27 Aug 2015 10:55:07 +0000 (10:55 +0000)]
am e9d2d9bf: (-s ours) am f2d6434a: gn-build: Add bluetooth-service target

* commit 'e9d2d9bf736c83398be134d2b930fd2475a73145':

8 years agoam ff6bf3f0: (-s ours) am 196413f5: Fix TX queue overflow detection
Andre Eisenbach [Thu, 27 Aug 2015 10:55:06 +0000 (10:55 +0000)]
am ff6bf3f0: (-s ours) am 196413f5: Fix TX queue overflow detection

* commit 'ff6bf3f0797ad255352c6d2eb931e3a5d059bea3':

8 years agoam a7b03c08: (-s ours) am 1076b7b0: Customize Bluetooth sniff interval
Pavlin Radoslavov [Thu, 27 Aug 2015 10:55:05 +0000 (10:55 +0000)]
am a7b03c08: (-s ours) am 1076b7b0: Customize Bluetooth sniff interval

* commit 'a7b03c08ccc3c1d483f8bb4248d9dd70162905d1':

8 years agoam 55171419: (-s ours) am 197ee685: Fix a crash for a race condition during Bluetooth...
Pavlin Radoslavov [Thu, 27 Aug 2015 10:55:05 +0000 (10:55 +0000)]
am 55171419: (-s ours) am 197ee685: Fix a crash for a race condition during Bluetooth shutdown

* commit '551714190f58ccfab196c9adc3ffe462ecf2280e':

8 years agoam fd735526: (-s ours) am ac72840a: Update device type correctly in the NVRAM at...
Nitin Arora [Thu, 27 Aug 2015 10:55:04 +0000 (10:55 +0000)]
am fd735526: (-s ours) am ac72840a: Update device type correctly in the NVRAM at inquiry result

* commit 'fd73552668d27e3ccdff5b95757f9ccfde501c91':

8 years agoam 0dea8f20: (-s ours) am 1da48a36: Use pseudo address while re-pairing peripheral
Nitin Arora [Thu, 27 Aug 2015 10:55:04 +0000 (10:55 +0000)]
am 0dea8f20: (-s ours) am 1da48a36: Use pseudo address while re-pairing peripheral

* commit '0dea8f20ef237481e6f6d0a3e35f1bf8a0610850':

8 years agoam 51a5f0fe: (-s ours) am b4365c55: Adding transport type while initiating remote...
Nitin Arora [Thu, 27 Aug 2015 10:55:03 +0000 (10:55 +0000)]
am 51a5f0fe: (-s ours) am b4365c55: Adding transport type while initiating remote discovery

* commit '51a5f0fef5ebee14e5e41e3b180f2795b2d6c771':

8 years agoam cf0189a1: (-s ours) am 280368c7: Fix potential crash when transcoding legacy confi...
Andre Eisenbach [Thu, 27 Aug 2015 10:55:03 +0000 (10:55 +0000)]
am cf0189a1: (-s ours) am 280368c7: Fix potential crash when transcoding legacy config files

* commit 'cf0189a1a73e9ab14a420db403bb36bd5e97b10f':

8 years agoam 835c43db: (-s ours) am ccd37fa0: Enable enhanced connection complete event
Nitin Arora [Thu, 27 Aug 2015 10:55:02 +0000 (10:55 +0000)]
am 835c43db: (-s ours) am ccd37fa0: Enable enhanced connection complete event

* commit '835c43db7e9e72bb058495441bb4d3c8aa9ea82f':

8 years agoam 8ad14e31: (-s ours) resolved conflicts for merge of 65f9c04a to mnc-dev-plus-aosp
Pavlin Radoslavov [Thu, 27 Aug 2015 10:55:02 +0000 (10:55 +0000)]
am 8ad14e31: (-s ours) resolved conflicts for merge of 65f9c04a to mnc-dev-plus-aosp

* commit '8ad14e310bf2e535c09e67c6a20e1caf989fb3a6':

8 years agoam 80c65e4a: (-s ours) am fb229d8b: Exclude Polar HR Monitor from secure conn
tturney [Thu, 27 Aug 2015 10:55:01 +0000 (10:55 +0000)]
am 80c65e4a: (-s ours) am fb229d8b: Exclude Polar HR Monitor from secure conn

* commit '80c65e4a1120fe7ead850036d0f726f27491fb4b':

8 years agoam 3b687a4e: (-s ours) am 6670e315: Fix multi-advertising when LE Privacy is not...
Arman Uguray [Thu, 27 Aug 2015 10:55:00 +0000 (10:55 +0000)]
am 3b687a4e: (-s ours) am 6670e315: Fix multi-advertising when LE Privacy is not available

* commit '3b687a4e1ba4b0fc128f27d9dd68c8d4c2d39287':

8 years agoam d85275da: (-s ours) am f0e9c466: Add Moto Key Link to blacklist for LE secure...
Nitin Arora [Thu, 27 Aug 2015 10:54:59 +0000 (10:54 +0000)]
am d85275da: (-s ours) am f0e9c466: Add Moto Key Link to blacklist for LE secure connections

* commit 'd85275da0f1fadeb4f64425c3839fdbccf1cd84d':

8 years agoam 36b09da3: (-s ours) am 50333a25: Properly disconnect GATT connection during noisy...
Arman Uguray [Thu, 27 Aug 2015 10:54:57 +0000 (10:54 +0000)]
am 36b09da3: (-s ours) am 50333a25: Properly disconnect GATT connection during noisy scans

* commit '36b09da3bb730b75ce4e2aad705b1111b7edcee2':

8 years agoam f1720e9d: (-s ours) am 165332bc: Cleanup alarm_get_remaining_ms
Andre Eisenbach [Thu, 27 Aug 2015 10:54:56 +0000 (10:54 +0000)]
am f1720e9d: (-s ours) am 165332bc: Cleanup alarm_get_remaining_ms

* commit 'f1720e9dae36145d762ad55e143e520e61bf4be3':

8 years agoam 0a1f787d: (-s ours) am ac1399a7: Use correct own address type for batch scan
Nitin Arora [Thu, 27 Aug 2015 10:54:54 +0000 (10:54 +0000)]
am 0a1f787d: (-s ours) am ac1399a7: Use correct own address type for batch scan

* commit '0a1f787db74ee1774c362e14a77c291625202fe8':

8 years agoam 263cc877: (-s ours) am 76356aee: Bug fix PM changes and LE connectivity mode fixes
VenkatRaghavan VijayaRaghavan [Thu, 27 Aug 2015 10:54:52 +0000 (10:54 +0000)]
am 263cc877: (-s ours) am 76356aee: Bug fix PM changes and LE connectivity mode fixes

* commit '263cc8773270c298bb6491302bf466f2bc0f7132':

8 years agoam b2fc085f: (-s ours) am 21331c62: Store the link key derived from cross tranport...
Srinu Jella [Thu, 27 Aug 2015 10:54:50 +0000 (10:54 +0000)]
am b2fc085f: (-s ours) am 21331c62: Store the link key derived from cross tranport link key

* commit 'b2fc085f97092557226016d5c9eba2b77c3d40dd':

8 years agoam bb4bae34: (-s ours) am fd4745ec: service: Some fixes from end-to-end/user testing.
Ian Coolidge [Thu, 27 Aug 2015 10:54:48 +0000 (10:54 +0000)]
am bb4bae34: (-s ours) am fd4745ec: service: Some fixes from end-to-end/user testing.

* commit 'bb4bae34e06b08e620a188660d50f7692a1569ea':

8 years agoam a3758bbe: (-s ours) am 115c6b1d: service: Remove local copies of base and modp_b64
Arman Uguray [Thu, 27 Aug 2015 10:54:46 +0000 (10:54 +0000)]
am a3758bbe: (-s ours) am 115c6b1d: service: Remove local copies of base and modp_b64

* commit 'a3758bbe11bab4d30d7c8c8b90e1f22f2915d276':

8 years agoam cd5bb095: (-s ours) am 0ca99052: gn-build: Add BUILD files for libchrome
Arman Uguray [Thu, 27 Aug 2015 10:54:45 +0000 (10:54 +0000)]
am cd5bb095: (-s ours) am 0ca99052: gn-build: Add BUILD files for libchrome

* commit 'cd5bb09536e12702799cc6fbc669c94429075c06':

8 years agoam 5a4f3b88: (-s ours) am 9f0fa1b6: Add additional BDA ranges for Nexus Remote workaround
Andre Eisenbach [Thu, 27 Aug 2015 10:54:42 +0000 (10:54 +0000)]
am 5a4f3b88: (-s ours) am 9f0fa1b6: Add additional BDA ranges for Nexus Remote workaround

* commit '5a4f3b889e132ea3c60c73ca4fd2fa2937a54184':

8 years agoam be9d6a5b: (-s ours) am e53454f7: Additional BDA range for Nexus Remote secure...
Andre Eisenbach [Thu, 27 Aug 2015 10:54:40 +0000 (10:54 +0000)]
am be9d6a5b: (-s ours) am e53454f7: Additional BDA range for Nexus Remote secure connections blacklist

* commit 'be9d6a5b222333c729ed03c34aba9f10471286de':

8 years agoam 59522cee: (-s ours) resolved conflicts for merge of 27c4e634 to mnc-dev-plus-aosp
Andre Eisenbach [Thu, 27 Aug 2015 10:54:37 +0000 (10:54 +0000)]
am 59522cee: (-s ours) resolved conflicts for merge of 27c4e634 to mnc-dev-plus-aosp

* commit '59522cee564a6a647d8c49dd15f34d6d21d26560':

8 years agoam 8fe49117: (-s ours) am 71334dcd: Do not reject valid connection parameter updates
Andre Eisenbach [Thu, 27 Aug 2015 10:54:34 +0000 (10:54 +0000)]
am 8fe49117: (-s ours) am 71334dcd: Do not reject valid connection parameter updates

* commit '8fe49117ed231c02db07a65652ba1daa9148542d':

8 years agoam 8776ad3b: (-s ours) am 08c08fc0: Fix a bug when responding to AVRCP UNIT_INFO...
Pavlin Radoslavov [Thu, 27 Aug 2015 10:54:30 +0000 (10:54 +0000)]
am 8776ad3b: (-s ours) am 08c08fc0: Fix a bug when responding to AVRCP UNIT_INFO and SUBUNIT_INFO

* commit '8776ad3bb0bdd8d633e7d295ac7608e312a499b4':

8 years agoam 2378ca29: (-s ours) am 26c3dd41: Fail LE secure pairing for secure only peripherals
Nitin Arora [Thu, 27 Aug 2015 10:54:27 +0000 (10:54 +0000)]
am 2378ca29: (-s ours) am 26c3dd41: Fail LE secure pairing for secure only peripherals

* commit '2378ca29b101aea0b31c5d29bb94b0c0a3492e84':

8 years agoam 259a94a9: (-s ours) am 8f766350: Reset the ACL connection data on ACL disconnection
Srinu Jella [Thu, 27 Aug 2015 10:54:22 +0000 (10:54 +0000)]
am 259a94a9: (-s ours) am 8f766350: Reset the ACL connection data on ACL disconnection

* commit '259a94a915556b953f01dcd1729bce272e65905f':

8 years agoam ea21b5da: (-s ours) am 549c64d1: Fix security vulnerabilities in string operations
Miao Chou [Thu, 27 Aug 2015 10:54:10 +0000 (10:54 +0000)]
am ea21b5da: (-s ours) am 549c64d1: Fix security vulnerabilities in string operations

* commit 'ea21b5dae90c8c51da2ccc22e8a8f2f8615fc961':

8 years agoam 37c5fafe: (-s ours) am 680959b0: Add missing data initialization
Pavlin Radoslavov [Thu, 27 Aug 2015 10:54:05 +0000 (10:54 +0000)]
am 37c5fafe: (-s ours) am 680959b0: Add missing data initialization

* commit '37c5fafef2bac1fec5b7ff2bc80123490946c37c':

8 years agoam 1dffda3b: (-s ours) build: fixes for LOG_* message build errors.
Marie Janssen [Thu, 27 Aug 2015 10:54:00 +0000 (10:54 +0000)]
am 1dffda3b: (-s ours) build: fixes for LOG_* message build errors.

* commit '1dffda3bb0c946be415fb3ceabb337694abdf488':
  build: fixes for LOG_* message build errors.

8 years agoam 9a78e8d2: (-s ours) am 49120dc8: build: Fix LOG_TAG define breakage, macro usage
Marie Janssen [Thu, 27 Aug 2015 10:53:55 +0000 (10:53 +0000)]
am 9a78e8d2: (-s ours) am 49120dc8: build: Fix LOG_TAG define breakage, macro usage

* commit '9a78e8d25416325308fa700bb38459817eeb5c7a':

8 years agoam d33e39f1: (-s ours) am db554581: build: Update osi log functions, use consistently
Marie Janssen [Thu, 27 Aug 2015 10:53:43 +0000 (10:53 +0000)]
am d33e39f1: (-s ours) am db554581: build: Update osi log functions, use consistently

* commit 'd33e39f14834ddfcfad27b9bef5ffb87919a8644':

8 years agoam 35c23212: (-s ours) am fd0e9f19: Properly handle outgoing connection requests...
Anubhav Gupta [Thu, 27 Aug 2015 10:53:39 +0000 (10:53 +0000)]
am 35c23212: (-s ours) am fd0e9f19: Properly handle outgoing connection requests in opening/opened state

* commit '35c23212a797bf67e8c41114a60ed4dca10c134c':

8 years agoam e0ec1c0d: (-s ours) am 905c72de: Incorrect address type in ADV end on reconnection
Satya Calloji [Thu, 27 Aug 2015 10:53:34 +0000 (10:53 +0000)]
am e0ec1c0d: (-s ours) am 905c72de: Incorrect address type in ADV end on reconnection

* commit 'e0ec1c0d1328d26f37a13152b0af88487d0bdaa4':

8 years agoam 843101be: (-s ours) am 9c5d0727: Override remote suspend flag on local play state...
Anubhav Gupta [Thu, 27 Aug 2015 10:53:18 +0000 (10:53 +0000)]
am 843101be: (-s ours) am 9c5d0727: Override remote suspend flag on local play state changes

* commit '843101be012626fcc5843269e8edc4ff592866d9':

8 years agoam ceab48b8: (-s ours) am 42f37840: SDP: Validate input UUID\'s length
Srinu Jella [Thu, 27 Aug 2015 10:53:12 +0000 (10:53 +0000)]
am ceab48b8: (-s ours) am 42f37840: SDP: Validate input UUID\'s length

* commit 'ceab48b8a0ec53ee263fa3609a1c48845ed34c64':

8 years agoam 9854afdc: (-s ours) am 97269982: Remove extraneous patch from secure connections...
Andre Eisenbach [Thu, 27 Aug 2015 10:53:07 +0000 (10:53 +0000)]
am 9854afdc: (-s ours) am 97269982: Remove extraneous patch from secure connections workaround

* commit '9854afdc6ff5fc1034e664878ff2d17b1a9dabf4':

8 years agoam e116777a: (-s ours) am f1029c7a: Remove stored link key for temporarily paired...
Srinu Jella [Thu, 27 Aug 2015 10:53:02 +0000 (10:53 +0000)]
am e116777a: (-s ours) am f1029c7a: Remove stored link key for temporarily paired devices

* commit 'e116777afad843f097c48755ef00fbb68969138a':

8 years agoam bfa9853c: (-s ours) am 1192df9f: Save all snoop logs when BtSnoopSaveLog=true
Tucker Sylvestro [Thu, 27 Aug 2015 10:52:47 +0000 (10:52 +0000)]
am bfa9853c: (-s ours) am 1192df9f: Save all snoop logs when BtSnoopSaveLog=true

* commit 'bfa9853c7fdea86c07336694a9a7b7d8977f0498':

8 years agoam f489b51c: (-s ours) am 7927f68b: Blacklist Nexus Remote for LE secure connections
Andre Eisenbach [Thu, 27 Aug 2015 10:52:41 +0000 (10:52 +0000)]
am f489b51c: (-s ours) am 7927f68b: Blacklist Nexus Remote for LE secure connections

* commit 'f489b51c977ac5f7d113bfae8446e7ac269c7047':

8 years agoam 289bfeae: (-s ours) am 4f6c9b4f: Use correct transport type while encrypting link
Nitin Arora [Thu, 27 Aug 2015 10:52:37 +0000 (10:52 +0000)]
am 289bfeae: (-s ours) am 4f6c9b4f: Use correct transport type while encrypting link

* commit '289bfeae1303b3407a77b7c088a47672913d171a':

8 years agoam 25e71477: (-s ours) am d69bef4e: Merge "Prevent LE remote name request during...
Andre Eisenbach [Thu, 27 Aug 2015 10:52:24 +0000 (10:52 +0000)]
am 25e71477: (-s ours) am d69bef4e: Merge "Prevent LE remote name request during inquiry" into mnc-dev

* commit '25e714779ad3470d8775369114f5aa99ce931295':

8 years agoam def63262: (-s ours) am 8e928b4a: Set random identity only if enhanced privacy...
Priti Aghera [Thu, 27 Aug 2015 10:52:19 +0000 (10:52 +0000)]
am def63262: (-s ours) am 8e928b4a: Set random identity only if enhanced privacy is supported

* commit 'def63262404de9dd1a45645d799f1c890b9981ad':

9 years agoam 3a464232: am ee8592f4: am b7460434: Fix memory corruption of BLE whitelist hashmap
Nitin Arora [Tue, 25 Aug 2015 23:37:37 +0000 (23:37 +0000)]
am 3a464232: am ee8592f4: am b7460434: Fix memory corruption of BLE whitelist hashmap

* commit '3a464232611595913e0773d215a8e5199f3f9093':
  Fix memory corruption of BLE whitelist hashmap

9 years agoam ee8592f4: am b7460434: Fix memory corruption of BLE whitelist hashmap
Nitin Arora [Tue, 25 Aug 2015 23:22:48 +0000 (23:22 +0000)]
am ee8592f4: am b7460434: Fix memory corruption of BLE whitelist hashmap

* commit 'ee8592f44738ca438df9256e3e057250d014c740':
  Fix memory corruption of BLE whitelist hashmap

9 years agoam b7460434: Fix memory corruption of BLE whitelist hashmap
Nitin Arora [Tue, 25 Aug 2015 23:18:06 +0000 (23:18 +0000)]
am b7460434: Fix memory corruption of BLE whitelist hashmap

* commit 'b74604341c60628dc7bc8e8e69e3ce2acb4a5373':
  Fix memory corruption of BLE whitelist hashmap

9 years agoFix memory corruption of BLE whitelist hashmap
Nitin Arora [Fri, 21 Aug 2015 19:34:14 +0000 (12:34 -0700)]
Fix memory corruption of BLE whitelist hashmap

When adding devices to the whitelist for LE background connections, a
local variable is used as the hashmap key, preventing any successful
lookups going forward. Thus the device will repeatedly add the same
device to the whitelist and preventing successful connections going
forward.

Bug: 23423602
Change-Id: I3d2590c0a1dd66c6e1864ea53f875a713660b645

9 years agoam 3644c2a3: service: Check for NULL IBinder in registerCallback
Arman Uguray [Mon, 24 Aug 2015 18:40:11 +0000 (18:40 +0000)]
am 3644c2a3: service: Check for NULL IBinder in registerCallback

* commit '3644c2a3f9b203eaf798053097ad92df8b2820cc':
  service: Check for NULL IBinder in registerCallback

9 years agoam d0835477: service: Return SUCCESS from Acquire|ReleaseWakeLock
Arman Uguray [Mon, 24 Aug 2015 18:02:05 +0000 (18:02 +0000)]
am d0835477: service: Return SUCCESS from Acquire|ReleaseWakeLock

* commit 'd0835477cb1047b42eef8d740e8d29888b0874c6':
  service: Return SUCCESS from Acquire|ReleaseWakeLock

9 years agoservice: Check for NULL IBinder in registerCallback
Arman Uguray [Mon, 24 Aug 2015 18:00:25 +0000 (11:00 -0700)]
service: Check for NULL IBinder in registerCallback

Added checks for NULL binder in IBluetooth.registerCallback and
IBluetooth.unregisterCallback.

Change-Id: I6136ad08d83696ad0e94cc2425667df9310f2b96

9 years agoservice: Return SUCCESS from Acquire|ReleaseWakeLock
Arman Uguray [Mon, 24 Aug 2015 17:08:19 +0000 (10:08 -0700)]
service: Return SUCCESS from Acquire|ReleaseWakeLock

Added code back to lie and return BT_STATUS_SUCCESS from the
AcquireWakeLock and ReleaseWakeLock OS callouts, since without these
the adapter cannot be properly disabled.

Bug: 23390297
Change-Id: I9801ccc7f72d83d132363fc888319bfb9b2eff29

9 years agoam bc6ad53e: Merge "Improve adv_data transfer between contexts."
Ian Coolidge [Mon, 24 Aug 2015 17:35:53 +0000 (17:35 +0000)]
am bc6ad53e: Merge "Improve adv_data transfer between contexts."

* commit 'bc6ad53e310c2b6b1734883e8d92f5c147279d23':
  Improve adv_data transfer between contexts.

9 years agoMerge "Improve adv_data transfer between contexts."
Ian Coolidge [Mon, 24 Aug 2015 17:22:45 +0000 (17:22 +0000)]
Merge "Improve adv_data transfer between contexts."

9 years agoresolved conflicts for merge of a3d3c312 to mnc-dr-dev-plus-aosp
Pavlin Radoslavov [Mon, 24 Aug 2015 06:47:11 +0000 (23:47 -0700)]
resolved conflicts for merge of a3d3c312 to mnc-dr-dev-plus-aosp

Change-Id: I98a27cd20ed225ad278af9f2b27b6e954a55f7a7

9 years agoam 5c572ffb: am aa41fec0: Check the return value when reading HCI type byte
Pavlin Radoslavov [Mon, 24 Aug 2015 05:05:15 +0000 (05:05 +0000)]
am 5c572ffb: am aa41fec0: Check the return value when reading HCI type byte

* commit '5c572ffb5b61e5c7f7fe1080bdb27098c9bc5511':
  Check the return value when reading HCI type byte

9 years agoam aa41fec0: Check the return value when reading HCI type byte
Pavlin Radoslavov [Mon, 24 Aug 2015 05:00:20 +0000 (05:00 +0000)]
am aa41fec0: Check the return value when reading HCI type byte

* commit 'aa41fec0e36653e828bfc2a54fca11447ed56cc5':
  Check the return value when reading HCI type byte

9 years agoCheck the return value when reading HCI type byte
Pavlin Radoslavov [Thu, 20 Aug 2015 23:53:16 +0000 (16:53 -0700)]
Check the return value when reading HCI type byte

Add missing return value check when reading the HCI type byte.
This check is needed as a safeguard. For example, function
event_uart_has_bytes() could be called (indirectly)
within the run_reactor() loop not only when there are bytes to read,
but also if there is an error (e.g., EPOLLHUP | EPOLLRDHUP | EPOLLERR).

Bug: 23105107
Change-Id: Ic3b6e4d656406949e384c8106b0c607f7c221759

9 years agoam 6f5f0540: test_vendor_lib: Clean up controller documentation and address style...
Dennis Cheng [Fri, 21 Aug 2015 22:25:40 +0000 (22:25 +0000)]
am 6f5f0540: test_vendor_lib: Clean up controller documentation and address style issues

* commit '6f5f0540f1557c87349d9f3378a90979c175ed1d':
  test_vendor_lib: Clean up controller documentation and address style issues

9 years agoam 2e00ba9b: test_vendor_lib: Add tests
Dennis Cheng [Fri, 21 Aug 2015 22:25:36 +0000 (22:25 +0000)]
am 2e00ba9b: test_vendor_lib: Add tests

* commit '2e00ba9b74536ce9a0d1adf78f92e6478563e49b':
  test_vendor_lib: Add tests

9 years agoam ad588372: Merge "Enable clang compilation, use stdatomic.h."
Chih-hung Hsieh [Fri, 21 Aug 2015 22:25:26 +0000 (22:25 +0000)]
am ad588372: Merge "Enable clang compilation, use stdatomic.h."

* commit 'ad5883726417d06ee79fa26e4050f8c3a9439578':
  Enable clang compilation, use stdatomic.h.

9 years agoam e2982ad5: service: Don\'t lie about supporting wake locks
Arman Uguray [Fri, 21 Aug 2015 22:25:24 +0000 (22:25 +0000)]
am e2982ad5: service: Don\'t lie about supporting wake locks

* commit 'e2982ad5a15f604218a7cfb37ab1aaed544667d3':
  service: Don't lie about supporting wake locks

9 years agotest_vendor_lib: Clean up controller documentation and address style
Dennis Cheng [Fri, 21 Aug 2015 03:32:01 +0000 (20:32 -0700)]
test_vendor_lib: Clean up controller documentation and address style
issues

This upload cleans up the command documentation in the controller's
header file and also fixes a few logical errors related to command
status event packets. Some style fixes are also included, such as
removing braces for single line conditionals to conform to remain
consistent with the rest of the project.

Bug: 21586676
Change-Id: Ife5e608e43c3030e76eff8ea79ce6cad0b2c10a3

9 years agotest_vendor_lib: Add tests
Dennis Cheng [Tue, 18 Aug 2015 23:44:08 +0000 (16:44 -0700)]
test_vendor_lib: Add tests

This upload adds unit tests for the packet_stream and hci_transport
objects.

Bug: 21586676
Change-Id: Ica99be959cdd801ea10631d31fc0f0b8ea1d8456

9 years agoMerge "Enable clang compilation, use stdatomic.h."
Chih-hung Hsieh [Fri, 21 Aug 2015 20:25:29 +0000 (20:25 +0000)]
Merge "Enable clang compilation, use stdatomic.h."

9 years agoservice: Don't lie about supporting wake locks
Arman Uguray [Thu, 20 Aug 2015 22:40:31 +0000 (15:40 -0700)]
service: Don't lie about supporting wake locks

Changed the code to return error rather than success from the native
bt_os_callout_t hooks.

Bug: 23390297
Change-Id: I0a4e2678ace88072294b82e57cf1e1bd3edd08cd

9 years agoEnable clang compilation, use stdatomic.h.
Chih-Hung Hsieh [Thu, 13 Aug 2015 19:27:32 +0000 (12:27 -0700)]
Enable clang compilation, use stdatomic.h.

* Remove old atomic.h and atomic_test.cpp.
  Use stdatomi.h in counter.c.
* Suppress warnings on unused variables/parameters.
* Suppress warnings on redefined typedef.

Change-Id: Ic7ec652608f2c9423984a3631fb58efea5a835e7

9 years agoam 7a87e719: test_vendor_lib: Add working post delayed task
Dennis Cheng [Fri, 21 Aug 2015 00:12:18 +0000 (00:12 +0000)]
am 7a87e719: test_vendor_lib: Add working post delayed task

* commit '7a87e719982e874c1d23e106a4dbc8dd2ede97bd':
  test_vendor_lib: Add working post delayed task

9 years agotest_vendor_lib: Add working post delayed task
Dennis Cheng [Fri, 14 Aug 2015 20:15:31 +0000 (13:15 -0700)]
test_vendor_lib: Add working post delayed task

This upload fixes the post delayed task functionality so that it uses
a custom time stamped event object instead of posting callbacks to the
vendor manager's task runner (which does not support delayed tasks for
MessageLoopForIO).

Bug: 21586676
Change-Id: Ib5d9019d8c8dd5c9ad865df82eac16b0ecf50268

9 years agoam 39a66bed: service/client: Register IBluetoothCallback
Arman Uguray [Thu, 20 Aug 2015 22:42:44 +0000 (22:42 +0000)]
am 39a66bed: service/client: Register IBluetoothCallback

* commit '39a66bed960d96eca900e7e002e0d7bef0e0e151':
  service/client: Register IBluetoothCallback

9 years agoam 67ab1c85: service: Introduce IBluetoothCallback.h
Arman Uguray [Thu, 20 Aug 2015 22:42:43 +0000 (22:42 +0000)]
am 67ab1c85: service: Introduce IBluetoothCallback.h

* commit '67ab1c856dfc0ca9fb44b94b3621d4183a693a5a':
  service: Introduce IBluetoothCallback.h

9 years agoam 5bb6aa6a: service: Add native RemoteCallbackList
Arman Uguray [Thu, 20 Aug 2015 22:42:43 +0000 (22:42 +0000)]
am 5bb6aa6a: service: Add native RemoteCallbackList

* commit '5bb6aa6a0fc49b38e4951a37d2c30644a0bf00be':
  service: Add native RemoteCallbackList

9 years agoservice/client: Register IBluetoothCallback
Arman Uguray [Thu, 20 Aug 2015 19:47:55 +0000 (12:47 -0700)]
service/client: Register IBluetoothCallback

bluetooth-cli now registers an IBluetoothCallback to receive adapter
state updates, which gets automatically unregistered when bluetooth-cli
exits.

Bug: 23328384
Change-Id: I4f190e91ecd8401b9f5eb1cffdfb26cd9d5cecb0

9 years agoservice: Introduce IBluetoothCallback.h
Arman Uguray [Thu, 20 Aug 2015 19:36:20 +0000 (12:36 -0700)]
service: Introduce IBluetoothCallback.h

This CL introduces the native bindings for the IBluetoothCallback
Binder interface and implements the IBluetooth registerCallback and
unregisterCallback methods.

Bug: 23328384
Change-Id: I6fbf72cff7e3f037a412be8678ea97f3a7ada0c8

9 years agoservice: Add native RemoteCallbackList
Arman Uguray [Thu, 20 Aug 2015 19:31:50 +0000 (12:31 -0700)]
service: Add native RemoteCallbackList

This CL introduces a native port of the android.os.RemoteCallbackList
Java class. This is in preparation of the upcoming IBluetoothCallback
implementation.

Bug: 23328384
Change-Id: Icebf5c286ced820fa631da35f50cdf5d244fdded

9 years agoam 8f3595f8: service: Add complete IBluetooth transaction enums
Arman Uguray [Thu, 20 Aug 2015 22:05:05 +0000 (22:05 +0000)]
am 8f3595f8: service: Add complete IBluetooth transaction enums

* commit '8f3595f8632b64f386276229492220dac3d6ceb5':
  service: Add complete IBluetooth transaction enums

9 years agoam 42feba6b: Revert "service: Move UNIX IPC code into ipc/unix/"
Arman Uguray [Thu, 20 Aug 2015 21:55:09 +0000 (21:55 +0000)]
am 42feba6b: Revert "service: Move UNIX IPC code into ipc/unix/"

* commit '42feba6b2da890cfee2d1daaf6c2e76378c55e49':
  Revert "service: Move UNIX IPC code into ipc/unix/"

9 years agoam 4cebc7e1: service: Introduce bluetooth::Adapter::Observer
Arman Uguray [Thu, 20 Aug 2015 21:55:06 +0000 (21:55 +0000)]
am 4cebc7e1: service: Introduce bluetooth::Adapter::Observer

* commit '4cebc7e190f29acb56ef8658a9ad02137e82e967':
  service: Introduce bluetooth::Adapter::Observer

9 years agoservice: Add complete IBluetooth transaction enums
Arman Uguray [Thu, 20 Aug 2015 19:12:56 +0000 (12:12 -0700)]
service: Add complete IBluetooth transaction enums

This CL completes the IBluetooth transaction codes based on the
latest IBluetooth.aidl file from goog/mnc-dev.

Bug: 23227962
Change-Id: I76d58647a0467cd0eb18f9bd0d3eceb36ce2abcf

9 years agoRevert "service: Move UNIX IPC code into ipc/unix/"
Arman Uguray [Thu, 20 Aug 2015 21:06:57 +0000 (21:06 +0000)]
Revert "service: Move UNIX IPC code into ipc/unix/"

It turns out "unix" is defined to be 1 somewhere, which breaks compilation of this CL (since I added "namespace unix").

This reverts commit 93e66a66464aa30ca7184e4a7378c8e8d752cbe1.

Change-Id: I00b0a59a35024ccf78297117916d12031a6346a5

9 years agoservice: Introduce bluetooth::Adapter::Observer
Arman Uguray [Thu, 20 Aug 2015 18:38:49 +0000 (11:38 -0700)]
service: Introduce bluetooth::Adapter::Observer

This CL introduces a new Observer interface for the Adapter class.
This meant to serve as the top-level API for receiving Adapter state
notifications, property updates, etc, in a format that doesn't use
the native HAL types.

Bug: 23328384
Change-Id: Ibf29063a169ad5e986d433d0901b3b973af0aa56

9 years agoam 503baaae: service: Support base switches::kV
Arman Uguray [Thu, 20 Aug 2015 20:42:46 +0000 (20:42 +0000)]
am 503baaae: service: Support base switches::kV

* commit '503baaae63d798a5f25a7faa9206cd72f87927be':
  service: Support base switches::kV

9 years agoam 93e66a66: service: Move UNIX IPC code into ipc/unix/
Arman Uguray [Thu, 20 Aug 2015 20:42:45 +0000 (20:42 +0000)]
am 93e66a66: service: Move UNIX IPC code into ipc/unix/

* commit '93e66a66464aa30ca7184e4a7378c8e8d752cbe1':
  service: Move UNIX IPC code into ipc/unix/

9 years agoservice: Support base switches::kV
Arman Uguray [Thu, 20 Aug 2015 18:49:00 +0000 (11:49 -0700)]
service: Support base switches::kV

This is a libbase built-in command-line flag to set log verbosity,
so that the VLOG macro does the right thing. This CL enables that for
the daemon. To enable VLOGs with a given verbosity level and below, do

bluetoothtbd --v=<level>

Change-Id: I128a42c52425c37640c016c3c6158419cc1c0f66

9 years agoservice: Move UNIX IPC code into ipc/unix/
Arman Uguray [Thu, 20 Aug 2015 20:07:18 +0000 (13:07 -0700)]
service: Move UNIX IPC code into ipc/unix/

Moved the UNIX IPC related code into a new ipc/unix subdirectory.
Added new namespace levels for unix and binder that mimic the
directory structure.

Change-Id: I58954d0c3dd1a6fe9c141c3122d42530385265f6

9 years agoam 8d375723: Merge "Send current RPA instead of pseudo-address on connect." into...
Sharvil Nanavati [Thu, 20 Aug 2015 19:01:42 +0000 (19:01 +0000)]
am 8d375723: Merge "Send current RPA instead of pseudo-address on connect." into cw-e-dev

* commit '8d375723276be2cfe01d029e0f2adb8061398a5c':
  Send current RPA instead of pseudo-address on connect.

9 years agoMerge "Send current RPA instead of pseudo-address on connect." into cw-e-dev
Sharvil Nanavati [Thu, 20 Aug 2015 18:33:37 +0000 (18:33 +0000)]
Merge "Send current RPA instead of pseudo-address on connect." into cw-e-dev

9 years agoSend current RPA instead of pseudo-address on connect.
Sharvil Nanavati [Mon, 10 Aug 2015 20:00:06 +0000 (13:00 -0700)]
Send current RPA instead of pseudo-address on connect.

Bug: 23079777

Change-Id: If6da80392748cdaad2a4833dd31fe299b62c28e3

9 years agoam bf7db314: test_vendor_lib: Read controller properties from file.
Dennis Cheng [Thu, 20 Aug 2015 04:36:42 +0000 (04:36 +0000)]
am bf7db314: test_vendor_lib: Read controller properties from file.

* commit 'bf7db3143fda4dc8391c92ec25dc93b9725ec225':
  test_vendor_lib: Read controller properties from file.

9 years agotest_vendor_lib: Read controller properties from file.
Dennis Cheng [Mon, 10 Aug 2015 16:29:41 +0000 (09:29 -0700)]
test_vendor_lib: Read controller properties from file.

This upload lets the controller be configured via a JSON file that
specifies the controller attributes. A default configuration is not
currently provided but will be included in a future upload. Also fixes
a few mistakes in test_channel.py.

Bug: 21586676
Change-Id: I9d0e65a9664e179ddb97664a748c766f4f8a554e

9 years agoam 9aecbff6: am 28dd2209: am d2199cbb: Disable remote TCP connections
Pavlin Radoslavov [Wed, 19 Aug 2015 02:07:31 +0000 (02:07 +0000)]
am 9aecbff6: am 28dd2209: am d2199cbb: Disable remote TCP connections

* commit '9aecbff65749d7baf681c1f1f6256c3f286cbd12':
  Disable remote TCP connections

9 years agoam 28dd2209: am d2199cbb: Disable remote TCP connections
Pavlin Radoslavov [Wed, 19 Aug 2015 01:55:34 +0000 (01:55 +0000)]
am 28dd2209: am d2199cbb: Disable remote TCP connections

* commit '28dd2209e46711d08d77439f09d7b0ea55473038':
  Disable remote TCP connections

9 years agoam d2199cbb: Disable remote TCP connections
Pavlin Radoslavov [Wed, 19 Aug 2015 01:48:29 +0000 (01:48 +0000)]
am d2199cbb: Disable remote TCP connections

* commit 'd2199cbb8f361772819402b56e6fa46587a31c56':
  Disable remote TCP connections

9 years agoam 5192309a: service/client: Add support for the latest methods
Arman Uguray [Tue, 18 Aug 2015 23:22:12 +0000 (23:22 +0000)]
am 5192309a: service/client: Add support for the latest methods

* commit '5192309af14408c3f170f15c1282ae5c1eb5abff':
  service/client: Add support for the latest methods

9 years agoservice/client: Add support for the latest methods
Arman Uguray [Tue, 18 Aug 2015 00:25:04 +0000 (17:25 -0700)]
service/client: Add support for the latest methods

Added support for calling the IBluetooth getAddress, setName,
and getName methods.

Bug: 23227962
Change-Id: Ib8c3f609b02e953a2989c18d614b5f52a56421c2

9 years agoam 03b1f0fb: service: Implement IBluetooth getAddress, getName, and setName
Arman Uguray [Tue, 18 Aug 2015 22:47:17 +0000 (22:47 +0000)]
am 03b1f0fb: service: Implement IBluetooth getAddress, getName, and setName

* commit '03b1f0fb7247ddc1c8496bf3b1bdc056110d12fa':
  service: Implement IBluetooth getAddress, getName, and setName

9 years agoservice: Implement IBluetooth getAddress, getName, and setName
Arman Uguray [Tue, 18 Aug 2015 00:23:42 +0000 (17:23 -0700)]
service: Implement IBluetooth getAddress, getName, and setName

This CL implements the IBluetooth getAddress, getName, and setName
API methods.

Bug: 23227962
Change-Id: I5ba8395a08bdbcf6a882ea8f413448cf0a1f331a

9 years agoam fb685ef1: Fix typo in main/bte_main.c.
Miao Chou [Tue, 18 Aug 2015 21:51:47 +0000 (21:51 +0000)]
am fb685ef1: Fix typo in main/bte_main.c.

* commit 'fb685ef1e420893ddad6b99d5a9aa6f09ae0b2da':
  Fix typo in main/bte_main.c.

9 years agoFix typo in main/bte_main.c.
Miao Chou [Tue, 11 Aug 2015 18:41:58 +0000 (11:41 -0700)]
Fix typo in main/bte_main.c.

Change-Id: If16dd316545b485f3a92c9700f9af35bf97fdd42

9 years agoam 77bf8137: service: Add four more IBluetooth API definitions
Arman Uguray [Tue, 18 Aug 2015 20:06:54 +0000 (20:06 +0000)]
am 77bf8137: service: Add four more IBluetooth API definitions

* commit '77bf8137962c2477f28041b29220b92f90a7460a':
  service: Add four more IBluetooth API definitions