Commit graph

5868 commits

Author SHA1 Message Date
Android Build Merger (Role)
864c26cfc8 Merge "Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp-master am: b48a8a219f -s ours am: cb51cb26b5 -s ours am: 6bea85d36a -s ours" 2017-07-07 01:51:24 +00:00
Jakub Pawlowski
69332133e1 Merge "Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp-master am: b48a8a219f -s ours am: cb51cb26b5 -s ours" into oc-dr1-dev-plus-aosp
am: 554be51ac8  -s ours

Change-Id: I4caab19f53e491dde5481df0477e00877b5c093b
2017-07-07 01:50:22 +00:00
Android Build Merger (Role)
a492795174 Merge "Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp-master am: b48a8a219f -s ours am: cb51cb26b5 -s ours am: 91fa2d1ab8 -s ours" 2017-07-07 01:50:06 +00:00
Jakub Pawlowski
4fef8eedf7 Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp-master am: b48a8a219f -s ours am: cb51cb26b5 -s ours
am: 6bea85d36a  -s ours

Change-Id: I41ba4f528d5d4b14d5fcbfc5a307e17fe0c531b2
2017-07-07 01:49:09 +00:00
Android Build Merger (Role)
e76a334580 Merge "Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp-master am: b48a8a219f -s ours am: cb51cb26b5 -s ours am: 91fa2d1ab8 -s ours" 2017-07-07 01:48:38 +00:00
Jakub Pawlowski
cc1a0ab456 Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp-master am: b48a8a219f -s ours am: cb51cb26b5 -s ours
am: 91fa2d1ab8  -s ours

Change-Id: I7e79602a01da08990bacdd220245bfaee150e0dc
2017-07-07 01:48:08 +00:00
Android Build Merger (Role)
fd2a9ee80c Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87 am: ef5d1b0209 am: f1d9ae0f9a am: cf9926f413 -s ours" 2017-07-07 01:47:51 +00:00
Jakub Pawlowski
1458e17923 Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp-master am: b48a8a219f -s ours am: cb51cb26b5 -s ours
am: 91fa2d1ab8  -s ours

Change-Id: I57ae1f1d59d0f2306f1ee06dce52d59c0a3d3ee4
2017-07-07 01:47:03 +00:00
Jakub Pawlowski
46d34f1fd2 Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87 am: ef5d1b0209 am: f1d9ae0f9a
am: cf9926f413  -s ours

Change-Id: I0ed82e83099c99d12b4a724ed0840d6619b5fddc
2017-07-07 01:45:57 +00:00
Android Build Merger (Role)
554be51ac8 Merge "Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp-master am: b48a8a219f -s ours am: cb51cb26b5 -s ours" into oc-dr1-dev-plus-aosp 2017-07-07 01:44:28 +00:00
Jakub Pawlowski
e413e22f35 Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87 am: ef5d1b0209 am: f1d9ae0f9a
am: cf9926f413  -s ours

Change-Id: Id298f0df078e77250b64afd4aa249d3176c8c620
2017-07-07 01:44:18 +00:00
Jakub Pawlowski
6bea85d36a Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp-master am: b48a8a219f -s ours
am: cb51cb26b5  -s ours

Change-Id: I162cf55d93be65b7455b2f83492489993d6da7d9
2017-07-07 01:43:08 +00:00
Jakub Pawlowski
91fa2d1ab8 Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp-master am: b48a8a219f -s ours
am: cb51cb26b5  -s ours

Change-Id: I28fc23fa73212d0876f8436c1cf41324254f0dcc
2017-07-07 01:42:59 +00:00
Jakub Pawlowski
cf9926f413 Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87 am: ef5d1b0209
am: f1d9ae0f9a

Change-Id: Id0967500ae42be23075cebed5c2640830dcdfb8b
2017-07-07 01:40:41 +00:00
Jakub Pawlowski
cb51cb26b5 Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp-master
am: b48a8a219f  -s ours

Change-Id: Iae4f57534852af650b5c7861286e4be4c851196c
2017-07-07 01:39:41 +00:00
Jakub Pawlowski
f1d9ae0f9a Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87
am: ef5d1b0209

Change-Id: I146d209c06a8975f5be4d26e808d8a85106f446c
2017-07-07 01:37:49 +00:00
Android Build Merger (Role)
b48a8a219f Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp-master 2017-07-07 01:37:41 +00:00
Jakub Pawlowski
8f5aa9ae61 Merge "Make RawAddress into a class (4/4)"
am: 1bd5a3ff87

Change-Id: I71e7ef4a55a3dd570ec6f5056190493e3bb85168
2017-07-07 01:36:05 +00:00
Jakub Pawlowski
ef5d1b0209 Merge "Make RawAddress into a class (4/4)"
am: 1bd5a3ff87

Change-Id: I619d560145d6d4058be35de74bc4ded503da455e
2017-07-07 01:34:39 +00:00
Treehugger Robot
1bd5a3ff87 Merge "Make RawAddress into a class (4/4)" 2017-07-07 01:29:30 +00:00
Tomasz Wasilczyk
a02b6ef23c Implement ProgramSelector at HIDL layer.
No front-end implementation yet.

Bug: b/32621193
Test: VTS
Change-Id: I48f034e709254836cad35bbeb4285c3c42a9e1cd
2017-07-06 17:45:26 -07:00
Pawin Vongmasa
dd7e4c414b Print test information to the target device's logcat
Test: make vts -j99 && \
vts-tradefed run commandAndExit vts \
--skip-all-system-status-check --primary-abi-only \
--skip-preconditions --module VtsHalMediaOmxV1_0Test -l INFO

Bug: 62885431
Change-Id: I71bfa9c5ff4825259c7452ad7ac40fef87103b5f
2017-07-06 17:29:43 -07:00
Peng Xu
eb5a4b228e Merge "Relax accelerometer events norm check" into oc-dr1-dev am: f2cb94e011
am: 09ded5132e

Change-Id: I770005087c733e94e043cacf8dce6eda95b91eca
2017-07-07 00:19:41 +00:00
Peng Xu
09ded5132e Merge "Relax accelerometer events norm check" into oc-dr1-dev
am: f2cb94e011

Change-Id: Ice8882edd7fd8c34dc9d6b7a9a9a8afc2c4e9034
2017-07-07 00:09:17 +00:00
Peng Xu
f2cb94e011 Merge "Relax accelerometer events norm check" into oc-dr1-dev 2017-07-06 23:24:52 +00:00
Enrico Granata
7d8dad4013 The VehiclePropValue response for OBD2_FREEZE_FRAME_INFO didn't have the property ID set correctly
Test: make vts BUILD_GOOGLE_VTS=true -j32 && vts-tradefed run commandAndExit vts -m VtsHalAutomotiveVehicleV2_1Host
Change-Id: I9b4d5f19657301f2d1c98c0811dcfa39cca85381
2017-07-06 15:55:30 -07:00
TreeHugger Robot
f01a231859 Merge "Make RawAddress into a class (4/4)" 2017-07-06 22:53:58 +00:00
Jakub Pawlowski
19f1c07b3a Make RawAddress into a class (4/4)
* Add libbluetooth-types - library containing types implementation, that
is common between stystem/bt and packages/apps/Bluetooth. It must be
included in every project using btif interface.
* Put Raw Address implementation into libbluetooth-types
* Unify all "to/from string" helper methods into ToString and FromString
* bd_addr_empty -> RawAddress::kEmpty
* bd_addr_any -> RawAddress::kAny

Also fix leaks in jni str2addr by adding ReleaseStringUTFChars

Test: types_unittest
Change-Id: I7dca82ec2293ae5338a9500dd6aa43b59d25657a
Merged-In: I7dca82ec2293ae5338a9500dd6aa43b59d25657a
2017-07-06 22:40:09 +00:00
Roshan Pius
cafe3996c3 Merge changes from topic 'wifi_1_1' into oc-dr1-dev am: 291721771f
am: 10e7a7f303

Change-Id: Ia7ce76a26148b60195c8b7a71607ce62285f3151
2017-07-06 22:29:44 +00:00
Steven Moreland
84bc8e95e2 Freeze wifi 1.1 interface.
Test: pass
Bug: 62437848
Bug: 62421345
Change-Id: Ib3bd3bbc28e6f0d34716781d4247ac0411128933
2017-07-06 15:04:05 -07:00
Roshan Pius
10e7a7f303 Merge changes from topic 'wifi_1_1' into oc-dr1-dev
am: 291721771f

Change-Id: I8253fd29b38e8689d1593c2f707d4c9c0ec4cec9
2017-07-06 21:52:44 +00:00
TreeHugger Robot
291721771f Merge changes from topic 'wifi_1_1' into oc-dr1-dev
* changes:
  wifi(implementation): Create 1.1 interface package
  wifi(interface): Create 1.1 interface package
2017-07-06 21:50:20 +00:00
Peng Qi
c59a65f340 BT HAL H4 write flow am: 1d3d5a96f0
am: 0694d1cde6

Change-Id: I1a5cae7511b26a0e1087fa14edd76e0de7bd911b
2017-07-06 20:34:20 +00:00
Roshan Pius
dbd83ef585 wifi(implementation): Create 1.1 interface package
1. Move the implementation in 1.0/default to 1.1/default.
2. Move all of the implementation to
android::hardware::V1_1::implementation namespace.
3. All of the header files include the android::hardware::V1_0 namespace
so that it can access the types from 1.0 package. ("using namespace" is
against Google style guide though :().
The other option to prefix each 1.0 type with the namespace name.
For example: V1_0::WifiStatus.
4. Added the implementation of the new 1.1 method
IWifiChip.setTxPowerLimit().
4. The executable name and the .rc still has 1.0 name in it to avoid
changing all the device.mk files.

TODO: Hookup to the new legacy HAL API.

Bug: 62437848
Test: mmm -j128 hardware/interfaces/wifi/1.1/default/
Test: Device boots up and able to connect to wifi networks.
Test: New VTS tests passes
Change-Id: Ib36282939e70b064f246041a03d8870f5cb6410e
2017-07-06 19:44:33 +00:00
Peng Qi
0694d1cde6 BT HAL H4 write flow
am: 1d3d5a96f0

Change-Id: I35a29810d3db40bbb18dd294620510ce88d66d44
2017-07-06 18:50:56 +00:00
Myles Watson
3e272a7076 Bluetooth: Change CHECK() to LOG_ALWAYS_FATAL()
Bug: 62641184
Test: Compilation
Change-Id: I21192c7a5c15def379d040b586a66ee1534c7c15
2017-07-06 18:44:22 +00:00
Peng Qi
1d3d5a96f0 BT HAL H4 write flow
If to send type and data separately for one HCI packet,
it will cause two system call context switch to kernel space,
which will introduce software overhead on data path.
Plus, if vendor does not use pure UART interface, it causes different
data behavior on BUS and may not adapt to all vendors as legacy HAL did.
Considering backward-compatibility, to use writev to send
type and data together once as legacy BT HAL did.

Bug: 63391357
Test: H4 UTTest, BT VTS test, Bluetooth on/off
Change-Id: I2d93085fe0c01b48d0e3729a3fa85b5b27335b2c
(cherry picked from commit 92afd74a15)
2017-07-06 18:40:04 +00:00
Peng Qi
0d608ecd04 BT HAL H4 write flow am: 92afd74a15 am: 2b1413fd87 am: 541859599d
am: 9830ed5ae9

Change-Id: I87aee3462a5bc532933cc0fd86896d1c8b02ddb4
2017-07-06 17:08:24 +00:00
Peng Qi
9830ed5ae9 BT HAL H4 write flow am: 92afd74a15 am: 2b1413fd87
am: 541859599d

Change-Id: I0575db87f577f31b15884e0c0f80597c16ae5eb0
2017-07-06 16:33:08 +00:00
Peng Qi
541859599d BT HAL H4 write flow am: 92afd74a15
am: 2b1413fd87

Change-Id: I10da550c30c9b480ac1f3f3b14d463b9441b9368
2017-07-06 16:30:38 +00:00
Peng Qi
2b1413fd87 BT HAL H4 write flow
am: 92afd74a15

Change-Id: Ie8231290c6aa5600c3e9c355b04fe494aa64d190
2017-07-06 16:27:51 +00:00
Roshan Pius
ee3daf9ab6 wifi(interface): Create 1.1 interface package
Extend the wifi HAL to add a new method in IWifiChip. This new method is
used for setting the TX power limit for meeting SAR requirements.

Bug: 62437848
Test: ./hardware/interfaces/update-makefiles.sh
Test: mmm -j32 hardware/interfaces/wifi/1.1
Change-Id: I8320a64812339f15cd88636505de0dfda18f0ebf
2017-07-06 09:19:25 -07:00
Jae Shin
378a36d38c Merge "Add structural test VtsHalConfigstoreV1_1Target" into oc-dr1-dev am: 5e5c184750
am: deefa80e22

Change-Id: I99f2003f9aba85ff581429557e899bc04a5f096d
2017-07-06 02:50:07 +00:00
Jae Shin
deefa80e22 Merge "Add structural test VtsHalConfigstoreV1_1Target" into oc-dr1-dev
am: 5e5c184750

Change-Id: Ie8bd61057ca7592c3f1df82fd0be09f63ee35d10
2017-07-06 02:07:59 +00:00
Jae Shin
5e5c184750 Merge "Add structural test VtsHalConfigstoreV1_1Target" into oc-dr1-dev 2017-07-06 01:31:06 +00:00
Etan Cohen
ee1909df6a Merge "[AWARE] Pass through full structure for end NDP command" into oc-dr1-dev am: 61f5c145fb
am: 4d24c1509e

Change-Id: I16b84e4566bedd4172cdc48d3d158ac1c80b0f4c
2017-07-05 22:41:41 +00:00
Etan Cohen
4d24c1509e Merge "[AWARE] Pass through full structure for end NDP command" into oc-dr1-dev
am: 61f5c145fb

Change-Id: Ia985a1de1db3e026890c83588f0f52d6a3f0ce24
2017-07-05 22:27:00 +00:00
TreeHugger Robot
61f5c145fb Merge "[AWARE] Pass through full structure for end NDP command" into oc-dr1-dev 2017-07-05 22:11:25 +00:00
Tomasz Wasilczyk
2af8c52a6a Merge "Add RDS info to virtual stations, convert to ProgramInfo." 2017-07-05 21:22:46 +00:00
Tomasz Wasilczyk
75763c20b4 Merge "RDS PI is a number, not a string." 2017-07-05 21:19:27 +00:00