Commit Graph

919 Commits

Author SHA1 Message Date
Etan Cohen
b4df78f006 Merge "[AWARE] Modify the discovery session handle to uint8_t"
am: ff14eb32cd

Change-Id: I5db49744cb78e623e3b1ff2e65d67af69d5b0ed0
2017-02-10 02:54:03 +00:00
Etan Cohen
ff14eb32cd Merge "[AWARE] Modify the discovery session handle to uint8_t" 2017-02-10 02:48:43 +00:00
Tri Vo
5b43e2caa8 Use filegroup as genrule srcs.
am: 06da29ffae

Change-Id: Idbea2593c1b5af5f6b7d19c3e28331ccd5452076
2017-02-10 02:29:29 +00:00
Tri Vo
06da29ffae Use filegroup as genrule srcs.
Test: mmma hardware/interfaces -j64
Change-Id: If282ed5f4a87045d169fcea7ad648b046a5f1cfb
2017-02-10 02:18:07 +00:00
Andreas Huber
f9c87639bf Updated makefiles
am: 0574bacb2a

Change-Id: I275da932e31f1b22f900965fd5fb18ed8465f3a0
2017-02-10 01:04:53 +00:00
Andreas Huber
0574bacb2a Updated makefiles
Java intermediates are now created in the common rather than the device-
specific generated sources subdirectory.

Bug: 33842609
Test: make
Change-Id: I16af4cd19bf0b24baa0ad9ebfdb86b4d959c8672
2017-02-09 16:56:56 -08:00
Etan Cohen
218305083f [AWARE] Remove support for vendor-specific attributes
am: ccb1562771

Change-Id: I0c90ff4438e60402aedf06be3e664c8e72fa445f
2017-02-10 00:56:45 +00:00
Etan Cohen
073bb9943a [AWARE] Modify the discovery session handle to uint8_t
Match the NAN protocol.

Bug: 35040192
Test: unit tests + integration (sl4a) tests
Change-Id: I9b39d184708c6e000bd4d84f97659f20d7ec75fd
2017-02-09 12:30:23 -08:00
Etan Cohen
ccb1562771 [AWARE] Remove support for vendor-specific attributes
Vendor-specific attribute support API is not fully functional or
thought out. The Tx portion is working but the Rx portion requires
additional configuration to prevent spamming the framework with all
vendor-specific attributes.

Remove until full solution is designed.

Bug: 35193235
Test: unit tests and integration (sl4a) tests.
Change-Id: I31a601af3b2c1f9f736130ce00abf73c55ac086a
2017-02-09 12:30:18 -08:00
Andre Eisenbach
886dcecc89 Bluetooth: Disable low power managerment on Hal->close()
am: f60aeb4462

Change-Id: Id8e2c0f84f79433b1dddaecd3c6aa69f446090b4
2017-02-08 04:58:43 +00:00
Andre Eisenbach
f60aeb4462 Bluetooth: Disable low power managerment on Hal->close()
This ensures the vendor library can release any wakelocks held and
perform any additional cleanup steps as necessary.

Change-Id: Ibfeac161109162ac375eef9c20f147f0506de602
Fixes: 35097918
Test: manual; disable Bluetooth, monitor wakelocks
2017-02-07 20:48:21 -08:00
Tri Vo
3b5f6dad56 Merge "Remove vts driver/profiler build rules."
am: 0f7a0678af

Change-Id: I77f5d1433cb538dba734bc592929102f426a2d40
2017-02-08 00:15:22 +00:00
Treehugger Robot
0f7a0678af Merge "Remove vts driver/profiler build rules." 2017-02-08 00:12:24 +00:00
Jack Yu
d060299c8d HIDL change for Android O RIL update
am: ed7ef81069

Change-Id: I855a9c8aea86975ec1c78cc1e38e2b0e5962d628
2017-02-06 22:46:07 +00:00
Jack Yu
ed7ef81069 HIDL change for Android O RIL update
1. Added two new API for screen state replacement.
2. Data call API refactoring work.

bug: 20125037, 32224135, 32223897, 32249926, 30282096, 30173958,
33653220
Test: Telephony sanity tests and unit tests

Merged-In: I6b266637914a85bd57c6a055c52c8ff4ced17e1f
Change-Id: I342b99bed8663d107052e791ac97949b34f7dd99
2017-02-06 14:04:47 -08:00
Tri Vo
ac9f1c02f3 Remove vts driver/profiler build rules.
Generate filegroups for .hal files so that driver/profiler build rules
can migrate to another project.

Bug: 34893894
Test: mmma hardware/interfaces -j32
Change-Id: Iefc98a6df16706fbb798bc32405fe8ff0c3de450
2017-02-06 13:54:41 -08:00
Myles Watson
27b935aea4 Merge "Bluetooth: Generate a random address"
am: 812f8ad3ab

Change-Id: I141ce9c018c7b781759ed2c773f286b328cdb4e9
2017-02-06 18:11:30 +00:00
Treehugger Robot
812f8ad3ab Merge "Bluetooth: Generate a random address" 2017-02-06 18:07:13 +00:00
Myles Watson
11f10baefe Bluetooth: Generate a random address
If a device does not have a factory address set, generate one.

Since this is a bug, add a warning.

Bug: 34952761
Test: Pixel C Bluetooth turns on and off
Change-Id: Icd2ef5c40f0ef6ad93effd9dd662b4b79d3eb0f6
2017-02-06 14:37:51 +00:00
Keun Soo Yim
43063541fa move VTS stub files and non-functional tests (aosp)
am: 5d6712c7e1

Change-Id: I1a21eba2c653161cb745d383749c539aae15f3be
2017-02-04 06:45:28 +00:00
Keun Soo Yim
5d6712c7e1 move VTS stub files and non-functional tests (aosp)
Test: mma
Bug: 34976004
Merged-In: Id9c88a9778fba49f0841a474aa067d271f14e207
Change-Id: Id9c88a9778fba49f0841a474aa067d271f14e207
2017-02-04 02:52:31 +00:00
Myles Watson
cb06ecd1d1 Merge changes Ic4fcbb22,I1be8a18d
am: b19f11d09d

Change-Id: I666a015519db1221eaa6f2523b8a11653e5991f2
2017-02-03 18:29:45 +00:00
Myles Watson
5e3a517d3f Bluetooth: Use AsyncFdWatcher for power management
am: beb13b45c0

Change-Id: I6e0c5fa73ee8c3c920dd56dad5e97edcc321020c
2017-02-03 18:29:44 +00:00
Myles Watson
c3e3a43238 Bluetooth: AsyncFdWatcher: Refactor timeout lock
am: eba1312c86

Change-Id: I7941c96144b32482683c9b30c4bd99418db14869
2017-02-03 18:29:43 +00:00
Myles Watson
2c2cda15b4 Merge "Bluetooth: Free memory from transmit_cb commands"
am: 559ae1585b

Change-Id: Ib4224beec441ef48d2a7815344f877150decb7c0
2017-02-03 18:29:33 +00:00
Treehugger Robot
b19f11d09d Merge changes Ic4fcbb22,I1be8a18d
* changes:
  Bluetooth: Use AsyncFdWatcher for power management
  Bluetooth: AsyncFdWatcher: Refactor timeout lock
2017-02-03 18:24:23 +00:00
Treehugger Robot
559ae1585b Merge "Bluetooth: Free memory from transmit_cb commands" 2017-02-03 18:24:09 +00:00
Zhuoyao Zhang
2b741f188b Merge "Support driver/profiler for all hals."
am: a0ff9aca7a

Change-Id: I15c0dfb56548ab7945f2bdb85b7c22a9e5f73075
2017-02-03 00:46:39 +00:00
Zhuoyao Zhang
a0ff9aca7a Merge "Support driver/profiler for all hals." 2017-02-03 00:43:03 +00:00
Myles Watson
beb13b45c0 Bluetooth: Use AsyncFdWatcher for power management
Implement low power mode using timeouts from the interface.

Test: Boots, Bluetooth turns on/off,
      Instrumented bt_vendor library shows power management
      calls.
Change-Id: Ic4fcbb222f24b66c13f3797b14475d278c49fbc6
2017-02-02 22:15:56 +00:00
Myles Watson
eba1312c86 Bluetooth: AsyncFdWatcher: Refactor timeout lock
Allow timeouts to change the timeout.
Add a unit test for this.

Test: Unit tests pass, Bluetooth starts and stops.
Change-Id: I1be8a18dd74a312175ec9c27de37213272650e8e
2017-02-02 22:15:49 +00:00
Myles Watson
4e2e8ec4e0 Bluetooth: Free memory from transmit_cb commands
Test: Bluetooth starts and stops
Change-Id: I540fcc77f9bae0178db325b7014f2b839d4ad77d
2017-02-02 22:15:33 +00:00
Roshan Pius
2666dcea2e Merge "wifi: Add scanning mac oui setter"
am: fc5a779766

Change-Id: I6531cee9a0b5aeb645f28877919a50b06ee1c6a8
2017-02-02 19:41:24 +00:00
Treehugger Robot
fc5a779766 Merge "wifi: Add scanning mac oui setter" 2017-02-02 19:28:07 +00:00
Zhuoyao Zhang
bd752892b3 Support driver/profiler for all hals.
* Update the make file to generate driver/profiler for hals.

Test: mma
Change-Id: I2a91d913b05beb8e1ecf28a205852f848ef1f5ee
2017-02-01 20:53:21 -08:00
Yuexi Ma
aab4a5b8cf vts files for radio hal
am: faad7891fb

Change-Id: I20b2ded113957974de68b5ea2544bfc997f5ae81
2017-02-02 01:22:01 +00:00
Yuexi Ma
faad7891fb vts files for radio hal
Merged-In:I8bce0b3ce4874442638e4967b4b88fcd60497729
Test: mma
Change-Id: I8bce0b3ce4874442638e4967b4b88fcd60497729
(cherry picked from commit 689c6fb1b5)
2017-02-01 15:30:07 -08:00
Roshan Pius
795bb81596 wifi: Add scanning mac oui setter
Bug: 34886995
Test: Compiles
Change-Id: I55d4cf55d1832f27de975f97c2e739012ddacc28
2017-02-01 21:57:40 +00:00
Etan Cohen
cc195e0c67 Merge "Wi-Fi/NAN HAL/service fixups"
am: 7f1c9647b8

Change-Id: I9cf88ab989a4365c15cc3a48aa446e1452e3efe0
2017-02-01 05:37:22 +00:00
Etan Cohen
7f1c9647b8 Merge "Wi-Fi/NAN HAL/service fixups" 2017-02-01 05:33:17 +00:00
Etan Cohen
4bbc209282 Wi-Fi/NAN HAL/service fixups
Fixes related to debugging during integration with
framework. Changes are due to errors in original
definition.

Bug: 32315992
Test: integration (sl4a) tests
Change-Id: I5c427e4d0f8677a611eb6d9abfa641a7f8406e31
2017-01-31 14:39:57 -08:00
Myles Watson
150ff7ba06 Bluetooth: Move AsyncFdWatcher tests to the device
am: b43a5b2435

Change-Id: I2b2f98eb96e2a0c8583a5177686f9099ee5102cd
2017-01-31 20:35:44 +00:00
Myles Watson
b43a5b2435 Bluetooth: Move AsyncFdWatcher tests to the device
Darwin builds were breaking.

Test: compile, unit tests pass
Change-Id: Ia00f590fe56211e25dff8d3138ebd93a306cf2c6
2017-01-31 12:20:44 -08:00
Myles Watson
92add17f16 Bluetooth: Add a timeout in async_fd_watcher
am: 7d42dcad6e

Change-Id: I0086b5ca130b11b296d3fe839c1e099ed4044425
2017-01-31 19:26:39 +00:00
Myles Watson
7d42dcad6e Bluetooth: Add a timeout in async_fd_watcher
Add a timeout to the select call and a callback.
Add unit tests for async_fd_watcher.

Test: unit tests pass
Change-Id: I0076fd52e79aac0d2a9fcceb90aae318d5f0757b
2017-01-31 04:32:16 +00:00
Roshan Pius
13dedb9197 Merge "wifi: Fixing Nits"
am: 76cf857403

Change-Id: I4cfc3ba7771106a4efb801d5a9d40b4ae2cd4088
2017-01-31 01:10:36 +00:00
Treehugger Robot
76cf857403 Merge "wifi: Fixing Nits" 2017-01-31 01:05:51 +00:00
Myles Watson
1daf027d94 Bluetooth: Make Send() send a complete packet
am: df765eab60

Change-Id: I742da2de02c1205ced2c9c62a28dba22d9060520
2017-01-31 00:44:29 +00:00
Myles Watson
df765eab60 Bluetooth: Make Send() send a complete packet
Add the packet type to Send() so that it is called once per packet.

Test: Bluetooth starts/stops and scans
Change-Id: I2ef9c5f9a85d3227d4ff181b6a6931f239f75049
2017-01-31 00:36:48 +00:00
Myles Watson
00802c2adb Bluetooth: Check for waiting HAL callbacks
am: a7d33b3636

Change-Id: Id68578c65b30f92c010ec266e04d2f0a21a9d6a8
2017-01-31 00:33:11 +00:00