Dan Willemsen
fbe95d5c0f
Fix problem found with host bionic fortify checks am: dc1921810e
am: 6737d81d15
...
am: ca253762cb
Change-Id: Ie33aa142f0af34f640397c29baf5d8076b89dc32
2017-12-01 04:37:31 +00:00
Dan Willemsen
6737d81d15
Fix problem found with host bionic fortify checks
...
am: dc1921810e
Change-Id: Id82671e9f0b4debc28b516a0b3f10104fc54e198
2017-12-01 04:29:29 +00:00
Dan Willemsen
dc1921810e
Fix problem found with host bionic fortify checks
...
hardware/interfaces/bluetooth/1.0/default/test/bluetooth_address_test.cc:59:39:
error: 'open' called with O_CREAT or O_TMPFILE, but missing mode
Bug: 31559095
Test: out/host/linux-x86/nativetest{,64}/bluetooth-address-unit-tests/bluetooth-address-unit-tests
Change-Id: I913c78e25eccaecf8830f1caf8e92f834ab8bb76
2017-11-30 18:00:36 -08:00
Chih-Hung Hsieh
1bf3cfc11d
Merge "Use -Werror in hardware/interfaces" am: 02804915fb
am: 8e736c21de
...
am: f53fe9317b
Change-Id: Ifc0a5be285be1a57d998db3c032e392b307cfa80
2017-11-28 19:31:03 +00:00
Chih-Hung Hsieh
8e736c21de
Merge "Use -Werror in hardware/interfaces"
...
am: 02804915fb
Change-Id: Id73af9532487a85ad1d1170dbce809761d4a93a8
2017-11-28 19:24:00 +00:00
Chih-Hung Hsieh
3f2ea62d06
Use -Werror in hardware/interfaces
...
* Use hidl_defaults, which has -Wall -Werror.
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Ifbca0e176a8e031acc27256eb46d23b89cdf1a0e
2017-11-20 10:49:11 -08:00
Xin Li
bb9e38fef9
Merge commit '1a06284b24f5eb7bb9c1fea0817da8898b3b1bff' from
...
oc-mr1-dev-plus-aosp into stage-aosp-master
Change-Id: I2a044eb8c9981d0a8198ffe2df55559afbd76341
Merged-In: I4fb9f18884f7ef21162015a0032c4431444f7025
2017-11-14 12:08:38 -08:00
Steven Moreland
8db261bc99
Updating makefiles for hidl_interface.
...
Bug: 64487114
Test: manual
Merged-In: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
Change-Id: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
2017-11-13 10:00:18 -08:00
Steven Moreland
a1169dd600
Update makefiles for hidl_interface.
...
Bug: 35570956
Test: manual
Change-Id: I7a220b78ee081240e1dc30ef5672ba39e3e98375
2017-11-10 09:06:55 -08:00
Steven Moreland
d28c1bdf62
Merge "Automatic mk -> bp." am: e5fd969f19
am: 72c720a4e3
...
am: 26013bf6ac
Change-Id: Id936fb4806d122045c771c951220361efeef10c6
2017-11-07 21:24:49 +00:00
Steven Moreland
26013bf6ac
Merge "Automatic mk -> bp." am: e5fd969f19
...
am: 72c720a4e3
Change-Id: Icfc8b46117e94461906806023852836a0ace3a55
2017-11-07 21:21:40 +00:00
Steven Moreland
90e3a50f03
Automatic mk -> bp.
...
Automatic mk -> bp conversion for all modules here
which can be converted and built automatically.
Test: Soong resolves all dependencies
Bug: 37512442
Change-Id: Ib789212cb88d55731397c600d132e7c672c0d8be
2017-11-03 16:30:28 +00:00
Steven Moreland
1d7374c5e1
Update for Soong java makefiles. am: c3e80fa01e
am: 0fff75dee1
am: 6c811964a1
...
am: 116161d94e
Change-Id: I33643636e2511de77fdf7de57777eb67edee2e52
2017-10-11 16:39:21 +00:00
Steven Moreland
116161d94e
Update for Soong java makefiles. am: c3e80fa01e
am: 0fff75dee1
...
am: 6c811964a1
Change-Id: I85ccbb4a15cd18938607f5bca4e065b9d7e0182b
2017-10-11 16:31:07 +00:00
Steven Moreland
c3e80fa01e
Update for Soong java makefiles.
...
Test: pass
Bug: 33420795
Change-Id: Id9b1919a19b8ff682738cfb0869a479b4dbb4293
2017-10-10 23:07:20 +00:00
Steven Moreland
70bfb9d250
Merge "Update for hidl adapter module defaults." am: 988c977079
am: 861651985f
am: b53e6ad535
...
am: 9a17f41f6f
Change-Id: I78d9292068b372238554fd9d35128e69f5b5f9d2
2017-10-04 21:54:11 +00:00
Steven Moreland
9a17f41f6f
Merge "Update for hidl adapter module defaults." am: 988c977079
am: 861651985f
...
am: b53e6ad535
Change-Id: I23269fb7a9bdd352e670a80f390527d9eef31412
2017-10-04 21:51:00 +00:00
Steven Moreland
527fd76a0e
Update for hidl adapter module defaults.
...
Test: pass
Change-Id: Idc6a943149a279bf17cfcfd0f2571473e53bbbbf
2017-10-04 12:47:03 -07:00
Steven Moreland
91799c6cc7
Merge "Fix typo in update makefiles." am: 9960148420
am: f07e364ce3
am: 71a193a425
...
am: 9fdd241905
Change-Id: I1c852fa6600fecc44d5afd1a65a5f51c43ecf71c
2017-09-27 00:02:52 +00:00
Steven Moreland
9fdd241905
Merge "Fix typo in update makefiles." am: 9960148420
am: f07e364ce3
...
am: 71a193a425
Change-Id: I45ae43f07323254212532acbf0f891d11143b05f
2017-09-26 23:58:51 +00:00
Steven Moreland
a5299ee739
Fix typo in update makefiles.
...
Bug: 37518178
Test: pass
Change-Id: Ic401b3a473f15ca4c01e58b3072e19db7c31b653
2017-09-26 21:59:43 +00:00
Steven Moreland
7741c0e17b
Update makefiles for hidl adapter. am: 26a0bb2762
am: 73949c1d7e
am: b94d0c7290
...
am: 97228c0b7d
Change-Id: Ic4b459b7c1a4325453945b0b00db8f44e4e77c26
2017-09-26 13:36:09 +00:00
Steven Moreland
97228c0b7d
Update makefiles for hidl adapter. am: 26a0bb2762
am: 73949c1d7e
...
am: b94d0c7290
Change-Id: If766cffbcc003cc0cc5eb98969b924aa918fff44
2017-09-26 12:53:13 +00:00
Steven Moreland
26a0bb2762
Update makefiles for hidl adapter.
...
Bug: 37518178
Test: manual
Change-Id: I50e999907d3c64d2b039272b823971998da64d1b
2017-09-25 18:35:56 +00:00
Jaekyun Seok
81104ae5ef
Add 'vendor.' prefix to a vendor HAL service name
...
To prevent property name collisions between properties of system and
vendor, 'vendor.' prefix must be added to a vendor HAL service name.
You can see the details in http://go/treble-sysprop-compatibility .
Test: succeeded building and tested on a walleye device
Bug: 36796459
Change-Id: I4e8fbee791ec917a8f627a1366f4d44ec7e6febc
2017-09-12 08:01:42 +09:00
Myles Watson
b6f71541c7
Bluetooth: Remove credit check from Loopback tests am: 0e06a63c76
am: 8f2ea671d9
...
am: 138cf4f037
Change-Id: Ided5b6a7c401b0f433bd12d3ab2a9a031c94ab89
2017-09-07 01:50:04 +00:00
Myles Watson
0e06a63c76
Bluetooth: Remove credit check from Loopback tests
...
The Bluetooth specification doesn't require data credits
to come back within a specific timeframe, so the VTS test
can not require it.
Bug: 65269854
Test: VtsHalBlueoothV1_0TargetTest with simulated chip (no credits)
Change-Id: If2fc052d3b5236f6a3097f3d5403882226561404
2017-09-06 23:58:18 +00:00
Peng Qi
096308714b
Bluetooth: AsyncFdWatcher: Fix FD leak am: 5c6da2669c
am: a9b81f3c4c
...
am: 981ba19b27
Change-Id: Ibb9a79d515d6f500cbdc95b57f43cd05128772d8
2017-08-29 20:17:40 +00:00
Peng Qi
5c6da2669c
Bluetooth: AsyncFdWatcher: Fix FD leak
...
AsyncFdWatcher thread notification pipe fds without close
which causes FD leak under Bluetooth on/off stress test.
Close the notification pipe fds when shut down Bluetooth.
Test: Bluetooth on/off stress test
Change-Id: I7575adec49161f9764f0e070ef3c1043b8295a97
2017-08-29 17:55:21 +00:00
Myles Watson
b44f87234f
Bluetooth: Remove random MAC addresses am: 8d0d6f99df
am: cd541f9648
...
am: f9ee1782df
Change-Id: I22871c562bfe2b67446dfba69938821e3cf91b13
2017-08-25 16:55:49 +00:00
Myles Watson
8d0d6f99df
Bluetooth: Remove random MAC addresses
...
Bug:65014945
Test: boot a wiped device with no property set, check the Bluetooth address
Change-Id: I905f9dbf2f0782e19de64a8f798d1e26ffd9f1bf
2017-08-25 13:18:41 +00:00
Myles Watson
173441461f
Merge "Bluetooth: Check H4 HCI packet types" am: dcc6f25d05
am: 526b1dcb99
...
am: d11c986c40
Change-Id: I95c5c0e7eff6446e5c5c32aec1491d8d69858624
2017-08-24 23:51:55 +00:00
Myles Watson
24bd994c08
Bluetooth: Return false when not shut down am: 9833109a3e
am: f682ae5219
...
am: d258feee5b
Change-Id: I291f9b95673b161e7a1928b3a62abc21d5bef36f
2017-08-24 23:51:16 +00:00
Treehugger Robot
dcc6f25d05
Merge "Bluetooth: Check H4 HCI packet types"
2017-08-24 23:31:54 +00:00
Myles Watson
9833109a3e
Bluetooth: Return false when not shut down
...
Do not crash in the vendor layer. The stack will crash
when it fails to initialize.
Bug: 64535243
Test: Bluetooth starts/stops
Change-Id: I69fdd2879c80fa2f006c50f0a42a85e9289b14fe
2017-08-24 17:48:18 +00:00
Myles Watson
521621d515
Bluetooth: Check H4 HCI packet types
...
An invalid type byte can cause an access outside
the bounds of the array.
Bug: 64565737
Test: Bluetooth On/Off
Change-Id: Ie11dd62942f66b9fc60ebce2e4339c37d597fdf0
2017-08-24 16:24:18 +00:00
Steven Moreland
4f25c2a143
Revert "Revert "Updating all makefiles.""
...
Relanding without automotive/vehicle/2.0+2.1 changes.
This reverts commit 1020ebedfb
.
Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Change-Id: Icc49df42c2bedf443d878d5d8fbaa53441ea65db
2017-08-11 23:02:01 +00:00
Steven Moreland
1020ebedfb
Revert "Updating all makefiles."
...
This reverts commit 8ac1971678
.
Reason for revert: Didn't remove automotive changes from this CL.
Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Change-Id: I1c660cffc8817ad0b33da9f6eceb3d88e7c48416
2017-08-11 22:56:56 +00:00
Steven Moreland
8ac1971678
Updating all makefiles.
...
Bug: 64487114
Test: none
Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Change-Id: I2fa89b6661c39859ec4fb62c4bb0a05a35e645f0
2017-08-10 22:40:04 +00:00
Myles Watson
f1a1661a80
Merge "Bluetooth: Check the number of file descriptors" am: 6b75bccdce
am: b58a5a0b6a
am: 7b296f0909
...
am: 97046dbce6
Change-Id: Idac175c0c0548cf111626c3512ac64087bc95423
2017-08-10 00:58:42 +00:00
Myles Watson
97046dbce6
Merge "Bluetooth: Check the number of file descriptors" am: 6b75bccdce
am: b58a5a0b6a
...
am: 7b296f0909
Change-Id: I93a75f77c7b016396300eb13342979dea4751711
2017-08-10 00:49:18 +00:00
Myles Watson
b58a5a0b6a
Merge "Bluetooth: Check the number of file descriptors"
...
am: 6b75bccdce
Change-Id: I16d0c95de17649cd5750aad13a7578c3e7c007b0
2017-08-10 00:39:52 +00:00
Treehugger Robot
6b75bccdce
Merge "Bluetooth: Check the number of file descriptors"
2017-08-10 00:30:44 +00:00
Myles Watson
18be6ef787
Merge "Bluetooth: Add OWNERS file for default/" am: 7b351292fe
am: 372e367651
am: 5241db9e60
...
am: ce1af7c70b
Change-Id: Ibf576fb9809e7e96d379f28ecaf026c1584a652b
2017-08-09 23:58:23 +00:00
Myles Watson
ce1af7c70b
Merge "Bluetooth: Add OWNERS file for default/" am: 7b351292fe
am: 372e367651
...
am: 5241db9e60
Change-Id: Ic090b70d5875cea35a463c6e66a62f715ca1f065
2017-08-09 20:45:02 +00:00
Myles Watson
372e367651
Merge "Bluetooth: Add OWNERS file for default/"
...
am: 7b351292fe
Change-Id: I34716c300678db8d1ae6a4d5aada936d8ce009fc
2017-08-09 20:40:34 +00:00
Steven Moreland
65de66a67e
Update makefiles for vndk enabled. am: 5e59402492
am: 271d53d836
...
am: 148ca84740
Change-Id: I5ef3611026b9c770bf713c14b9e01899a796e61c
2017-08-09 20:36:43 +00:00
Myles Watson
7c127dc4cb
Bluetooth: Add OWNERS file for default/
...
Test: build
Change-Id: Ib4cbd5502ac0791d4bc700f28de68d0548256de6
2017-08-09 18:34:19 +00:00
Myles Watson
ec1eda69b6
Bluetooth: Check the number of file descriptors
...
Opening the serial port(s) returns -1 when it fails, check
that the number of file descriptors is greater than 0 and
less than the size of the array.
Test: VtsHalBluetoothV1_0TargetTest, Bluetooth start/stop
Bug: 64420262
Change-Id: Icbffa5bd8c02030e389bac03aa5e1e78cc3c6057
2017-08-09 18:23:48 +00:00
Steven Moreland
271d53d836
Update makefiles for vndk enabled.
...
am: 5e59402492
Change-Id: I08414d68d5275df82336653cb91765af7235f914
2017-08-09 00:44:39 +00:00