Commit graph

1323 commits

Author SHA1 Message Date
Steven Moreland
477e5978ac libhardware_legacy: vendor_available
Test: build with BOARD_VNDK_VERSION := current
Change-Id: Iccc3a0301a28de52fc17102d251ce728d372ba5c
2017-04-17 13:38:11 -07:00
Dan Willemsen
883d5bc77b Merge "Mark as vendor_available" into oc-dev am: a8d05433c4
am: c7ccca0445

Change-Id: I16cabd1b56a79b4e0e28c3c75b895e2333c1d82f
2017-04-17 18:31:36 +00:00
Steven Moreland
f8482fb3ae libhardware_legacy: Android.mk -> Android.bp am: 4d4047b7e9
am: 05e4f48c00

Change-Id: I16dfda1c328966461b53b60e58459a8dc55307ba
2017-04-17 18:31:27 +00:00
Dan Willemsen
c7ccca0445 Merge "Mark as vendor_available" into oc-dev
am: a8d05433c4

Change-Id: I6fb59c66a1630b869d93c270aa5b4bb36414233c
2017-04-17 18:26:44 +00:00
Steven Moreland
05e4f48c00 libhardware_legacy: Android.mk -> Android.bp
am: 4d4047b7e9

Change-Id: Ia80a97654f41e49f104905cedefe19eadfd6bedb
2017-04-17 18:26:34 +00:00
TreeHugger Robot
a8d05433c4 Merge "Mark as vendor_available" into oc-dev 2017-04-17 18:10:25 +00:00
Dan Willemsen
703e783e28 Mark as vendor_available
By setting vendor_available, the following may become true:

* a prebuilt library from this release may be used at runtime by
  in a later releasse (by vendor code compiled against this release).
  so this library shouldn't depend on runtime state that may change
  in the future.
* this library may be loaded twice into a single process (potentially
  an old version and a newer version). The symbols will be isolated
  using linker namespaces, but this may break assumptions about 1
  library in 1 process (your singletons will run twice).

Background:

This means that these modules may be built and installed twice --
once for the system partition and once for the vendor partition. The
system version will build just like today, and will be used by the
framework components on /system. The vendor version will build
against a reduced set of exports and libraries -- similar to, but
separate from, the NDK. This means that all your dependencies must
also mark vendor_available.

At runtime, /system binaries will load libraries from /system/lib*,
while /vendor binaries will load libraries from /vendor/lib*. There
are some exceptions in both directions -- bionic(libc,etc) and liblog
are always loaded from /system. And SP-HALs (OpenGL, etc) may load
/vendor code into /system processes, but the dependencies of those
libraries will load from /vendor until it reaches a library that's
always on /system. In the SP-HAL case, if both framework and vendor
libraries depend on a library of the same name, both versions will be
loaded, but they will be isolated from each other.

It's possible to compile differently -- reducing your source files,
exporting different include directories, etc. For details see:

https://android-review.googlesource.com/368372

None of this is enabled unless the device opts into the system/vendor
split with BOARD_VNDK_VERSION := current.

Bug: 36426473
Bug: 36079834
Bug: 37343006
Test: Android-aosp_arm.mk is the same before/after
Test: build.ninja is the same before/after
Test: build-aosp_arm.ninja is the same before/after
Test: attempt to compile with BOARD_VNDK_VERSION := current
Merged-In: I3f1e4986c5920b4a64768636cb0bc37fa602c7a7
Change-Id: I3f1e4986c5920b4a64768636cb0bc37fa602c7a7
2017-04-14 16:42:32 +00:00
Steven Moreland
4d4047b7e9 libhardware_legacy: Android.mk -> Android.bp
Test: builds with BOARD_VNDK_VERSION := current
Test: (sanity) Boots and works on internal marlin.
Bug: 33241851
Bug: 29915755
Change-Id: Ic355174a67860afa13377bc9d8f0a140f59ec34e
2017-04-14 16:05:25 +00:00
Dan Willemsen
0a04146069 Include what you use am: 24230cd423
am: 4741fa1116

Change-Id: I1d1592f887dd057e7ac244b38bf8482bea022f44
2017-04-13 00:07:20 +00:00
Dan Willemsen
4741fa1116 Include what you use
am: 24230cd423

Change-Id: Ide8749e929c598747dc341a9ee58847f988f1dad
2017-04-12 23:46:45 +00:00
Dan Willemsen
562393f6b6 Merge "Include what you use" am: 5a975c703f am: 257a4dde1d am: 69a9ba87a1
am: 2b46e0fe51

Change-Id: I7a041d0b8895a4d21f9af0a3b384989b7740d0f4
2017-04-12 22:55:11 +00:00
Dan Willemsen
2b46e0fe51 Merge "Include what you use" am: 5a975c703f am: 257a4dde1d
am: 69a9ba87a1

Change-Id: Ib812553bbb9bdfbe37ea9ee526efb61b0a6b3784
2017-04-12 22:21:59 +00:00
Dan Willemsen
69a9ba87a1 Merge "Include what you use" am: 5a975c703f
am: 257a4dde1d

Change-Id: Iaaeddb83bf794db97eb2d64046773b2b938933a9
2017-04-12 22:16:59 +00:00
Dan Willemsen
257a4dde1d Merge "Include what you use"
am: 5a975c703f

Change-Id: Id47fd6a265eedb3b7b07e5311b08a5c184924bb9
2017-04-12 22:11:32 +00:00
Treehugger Robot
5a975c703f Merge "Include what you use" 2017-04-12 22:00:02 +00:00
Dan Willemsen
24230cd423 Include what you use
This doesn't need utils/Log.h, only log/log.h (and liblog)

Bug: 33241851
Test: m -j libpower
Merged-In: I21b08203fad51902d4a0f6172b4321b8b701ec47
Change-Id: I21b08203fad51902d4a0f6172b4321b8b701ec47
2017-04-11 18:22:37 +00:00
Dan Willemsen
3a43ae7249 Include what you use
This doesn't need utils/Log.h, only log/log.h (and liblog)

Bug: 33241851
Test: m -j libpower
Change-Id: I21b08203fad51902d4a0f6172b4321b8b701ec47
2017-04-11 05:48:54 +00:00
Vijay Venkatraman
aaef62ea41 Exporting headers as libhardware_legacy_headers am: c99381fff4
am: dac3252d85

Change-Id: Ie9cc4f6462c2265f02750d02e97d55539476b632
2017-04-05 22:53:19 +00:00
Vijay Venkatraman
dac3252d85 Exporting headers as libhardware_legacy_headers
am: c99381fff4

Change-Id: I0e488f25d7d35b3a391bbe8e0ff3d0286fd53b96
2017-04-05 22:47:29 +00:00
Etan Cohen
7cc65eb1c8 Merge "[AWARE]: Make changes to support NAN Publish Replied Indication" am: fd58969128 am: ea840aa7a9 am: cd9df3c35b
am: 3c85d4d2e7

Change-Id: Iab6f6a020091fcecfc73f0e0d07fb4a881be001a
2017-04-05 22:35:10 +00:00
Etan Cohen
3c85d4d2e7 Merge "[AWARE]: Make changes to support NAN Publish Replied Indication" am: fd58969128 am: ea840aa7a9
am: cd9df3c35b

Change-Id: I309844e5b784f0fdc22d73fc96c76222fc576683
2017-04-05 22:22:38 +00:00
Etan Cohen
cd9df3c35b Merge "[AWARE]: Make changes to support NAN Publish Replied Indication" am: fd58969128
am: ea840aa7a9

Change-Id: Ib8dc333e09c7bf4f68be615de7e082ab271f4b77
2017-04-05 22:19:36 +00:00
Etan Cohen
ea840aa7a9 Merge "[AWARE]: Make changes to support NAN Publish Replied Indication"
am: fd58969128

Change-Id: Icd8f4c92103396156c06e8dcd5180cd11678631e
2017-04-05 22:17:06 +00:00
Etan Cohen
fd58969128 Merge "[AWARE]: Make changes to support NAN Publish Replied Indication" 2017-04-05 22:09:37 +00:00
Vijay Venkatraman
c99381fff4 Exporting headers as libhardware_legacy_headers
Bug: 33241851
Test: Build sailfish
Change-Id: I05dac45051713ac56b53b2d8fd8b01281dbe0db1
(cherry picked from commit a150372fcc)
2017-04-05 10:07:56 -07:00
Vijay Venkatraman
37a54f30b8 Merge "Exporting headers as libhardware_legacy_headers" am: 825a3e4895 am: d0573b07c1 am: a673b8d80d
am: b3ecdf3ed4

Change-Id: I565e8d18fc78fe2de77775f7f872ee665f902d2f
2017-04-05 01:16:22 +00:00
Vijay Venkatraman
b3ecdf3ed4 Merge "Exporting headers as libhardware_legacy_headers" am: 825a3e4895 am: d0573b07c1
am: a673b8d80d

Change-Id: I412d05500746de3bf9020722b106c8805f83adfc
2017-04-05 01:13:54 +00:00
Vijay Venkatraman
a673b8d80d Merge "Exporting headers as libhardware_legacy_headers" am: 825a3e4895
am: d0573b07c1

Change-Id: I74a52e504d309474567a89279bf946232d5defd9
2017-04-05 01:11:52 +00:00
Vijay Venkatraman
d0573b07c1 Merge "Exporting headers as libhardware_legacy_headers"
am: 825a3e4895

Change-Id: I5da4dddd3d040c794d32a7ec66307ddd3b08a7ae
2017-04-05 01:09:22 +00:00
Vijay Venkatraman
825a3e4895 Merge "Exporting headers as libhardware_legacy_headers" 2017-04-05 01:01:47 +00:00
Etan Cohen
bbc3ed9475 Merge "[AWARE]: Add support to fetch second ndp channel" am: 44e84ef90f am: 32a0fc90ff am: d997c53023
am: 59cb347637

Change-Id: Ic9324957a350c36ada67f218cc0ca04d495bf739
2017-04-05 00:13:36 +00:00
Etan Cohen
59cb347637 Merge "[AWARE]: Add support to fetch second ndp channel" am: 44e84ef90f am: 32a0fc90ff
am: d997c53023

Change-Id: I25c817114953bec6b8d96e6c383e704dcddfa56e
2017-04-05 00:11:12 +00:00
Etan Cohen
d997c53023 Merge "[AWARE]: Add support to fetch second ndp channel" am: 44e84ef90f
am: 32a0fc90ff

Change-Id: I0aa4d8dfec902c1b309d1f5081d1fd4bebd7360a
2017-04-05 00:04:07 +00:00
Etan Cohen
32a0fc90ff Merge "[AWARE]: Add support to fetch second ndp channel"
am: 44e84ef90f

Change-Id: I70021f1c2dd451f1a6ec2e4e9c98809d588940ef
2017-04-05 00:02:07 +00:00
Etan Cohen
44e84ef90f Merge "[AWARE]: Add support to fetch second ndp channel" 2017-04-04 23:54:47 +00:00
Subhani Shaik
1fc39e2e65 [AWARE]: Make changes to support NAN Publish Replied Indication
Bring in support for NAN Publish Replied indication.

Bug: 35195773
Test: integration (sl4a) tests
Change-Id: I3e7e488dfb2bc45753882755e3ce452b072d2f91
2017-04-04 15:12:05 -07:00
Subhani Shaik
35d241d686 [AWARE]: Add support to fetch second ndp channel
Add new parameter second ndp channel freq in the stats response
message to support the certification efforts.

Change-Id: I9011bd7d4c5f34a15fbfe871b67d255807df8347
2017-04-04 14:37:52 -07:00
Vijay Venkatraman
a150372fcc Exporting headers as libhardware_legacy_headers
Bug: 33241851
Test: Build sailfish
Change-Id: I05dac45051713ac56b53b2d8fd8b01281dbe0db1
2017-04-04 14:32:17 -07:00
Etan Cohen
e0429223dc Merge "[AWARE]: Add support to accept either passphrase or pmk" am: ad6f1d5512 am: adedd72dd1
am: 9a46e19052

Change-Id: I136dd9be16b2c187d86ab4a6b16db486f7084123
2017-03-23 00:31:07 +00:00
Etan Cohen
9a46e19052 Merge "[AWARE]: Add support to accept either passphrase or pmk" am: ad6f1d5512
am: adedd72dd1

Change-Id: I8e7a62ca48e6925bf39157d5459ac0d46038a100
2017-03-23 00:29:04 +00:00
Etan Cohen
adedd72dd1 Merge "[AWARE]: Add support to accept either passphrase or pmk"
am: ad6f1d5512

Change-Id: I5b4df7e827e74747dde72b658b563ab62d356e10
2017-03-23 00:26:27 +00:00
Etan Cohen
ad6f1d5512 Merge "[AWARE]: Add support to accept either passphrase or pmk" 2017-03-23 00:10:34 +00:00
Etan Cohen
e58fbf0cdd Merge "[AWARE]: Fix Nan capabilities mismatch" am: 980baf1bd7 am: 41fc794eff
am: 79e9afe244

Change-Id: I1a5a77de97f8abecd182acdd64c3951d44572576
2017-03-21 18:08:32 +00:00
Etan Cohen
79e9afe244 Merge "[AWARE]: Fix Nan capabilities mismatch" am: 980baf1bd7
am: 41fc794eff

Change-Id: I6320d1e6a82f26d3cc60a5c80c71e2ec17aa9ce7
2017-03-21 18:04:33 +00:00
Etan Cohen
41fc794eff Merge "[AWARE]: Fix Nan capabilities mismatch"
am: 980baf1bd7

Change-Id: I01b2d62e40d25be61463ca93ea2153ce086a2be3
2017-03-21 18:01:03 +00:00
Etan Cohen
980baf1bd7 Merge "[AWARE]: Fix Nan capabilities mismatch" 2017-03-21 17:55:40 +00:00
Subhani Shaik
890af5521a [AWARE]: Fix Nan capabilities mismatch
Bug: 36357282
2017-03-16 11:06:08 -07:00
Subhani Shaik
3686f0e883 [AWARE]: Add support to accept either passphrase or pmk
Modify publish/subscribe/Data Initiator/Data Indication messages
to accept either PMK or Passphrase key information. Also, provide
a new parameter service name in Data Initiator request and
Data Indication response to generate PMK from passphrase and
service name for out of band requests.

Bug: 35866810
Test: TBD
Change-Id: Ibe572928e892bbd10be79dc2e09911ada348e89d
2017-03-14 14:56:09 -07:00
Etan Cohen
a3555590a2 Merge "[AWARE]: Add range report in SDEA params" am: 1da29541bc am: eaed213c02
am: 93dea20a32

Change-Id: Ic6c22e9969c8522d40cd6fa5556e940dd6cfd34a
2017-03-09 23:39:24 +00:00
Etan Cohen
93dea20a32 Merge "[AWARE]: Add range report in SDEA params" am: 1da29541bc
am: eaed213c02

Change-Id: Iee364e94f6a004a46d4d13e18be64bce4d39239c
2017-03-09 23:21:31 +00:00