summaryrefslogtreecommitdiffstats
path: root/radio
AgeCommit message (Collapse)AuthorFilesLines
2017-07-25Mark the module as VNDK or VNDK-SP in Android.bpJustin Yun1-0/+3
As a VNDK/VNDK-SP module, Android.bp must have 'vndk' tag as well as 'vendor_available: true'. For a VNDK module, the 'vndk' tag has 'enabled: true'. It will be installed system/lib(64)/vndk as a vendor variant. For a VNDK-SP module, the 'vndk' tag has 'support_system_process: true' as well as 'enabled: true'. It will be installed system/lib(64)/vndk-sp as a vendor variant. Bug: 63866913 Test: build and boot with BOARD_VNDK_VERSION=current Change-Id: Ia88348f4904dfc6ffb9ad139cac986b4b9438ff7
2017-06-30RDS PI is a number, not a string.Tomasz Wasilczyk2-2/+2
Bug: b/63147256 Test: manual, VTS, instumentalization Change-Id: I1d3d36ae69866281eac46fd6d1a2356f79cfa6ee
2017-04-18Merge "libradio_metadata: work with BOARD_VNDK_VERSION" into oc-devTreeHugger Robot2-1/+4
2017-04-17libradio_metadata: work with BOARD_VNDK_VERSIONSteven Moreland2-1/+4
Test: works with BOARD_VNDK_VERSION Bug: 37342627 Change-Id: I734f94348ce5818ee6720f2ad4f3ad3ad6e74633
2017-04-17libradio_metadata: vendor_availableSteven Moreland1-0/+1
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: 37343404 Test: m -j libradio_metadata Test: attempt to compile with BOARD_VNDK_VERSION := current Change-Id: Ia80038019847b24118850adce2e4180065082e9b
2017-01-27Merge "Implement radio_metadata wrapper for safer memory management." am: ↵Tomasz Wasilczyk3-1/+51
fe81805384 am: cf9d8d70c5 am: 468470f755 am: aaa26d246d Change-Id: Ifc0cd6329f71b99b2f20e5ca11584ffa946de4b7
2017-01-26Implement radio_metadata wrapper for safer memory management.Tomasz Wasilczyk3-1/+51
Bug: b/34054813 Test: VTS, manual - both done in internal branch Change-Id: If9c27669bb0d75ca67b75a761afe4cdc9dc51f0b
2017-01-11Merge "liblog: use log/log.h when utilizing ALOG macros" am: 1fb716a12b am: ↵Mark Salyzyn1-2/+2
b239ca4c99 am: f70588249e am: c464b07573 Change-Id: I003bd76cf3dd0662c59b9e59b59fae3eb919d950
2017-01-11liblog: use log/log.h when utilizing ALOG macrosMark Salyzyn1-2/+2
Test: compile Bug: 30465923 Change-Id: I4329b7dc918b732b07662a27c52e3b431ffabd3d
2016-12-27Merge "media: Replace cutils/log.h with android/log.h or log/log.h" am: ↵Mark Salyzyn1-3/+4
c8a6e3ea23 am: 6f84b4a716 am: bbe900ad12 am: 5af7309214 Change-Id: I0c2a7a0727acf4a97506ee801c4f081145a88ff1
2016-12-27media: Replace cutils/log.h with android/log.h or log/log.hMark Salyzyn1-3/+4
- replace cutils/log.h with android/log.h (main buffer logging) - replace cutils/log.h with log.log.h (+SafetyNet logging) Test: compile Bug: 26552300 Bug: 32189077 Change-Id: Icda4d5ab7555c0b801fd362fdcfa65b1500612b4
2016-11-10radio metadata: add API to get channel and subchannelEric Laurent2-0/+32
Change-Id: I5a5a3a58b8ec667f9a1d911210efd897fc7713cb
2016-10-25radio: fix metadata compatibility for 64 bit processesEric Laurent3-66/+76
Clarify use of 32 bit quantities in radio metadata APIs and internal implementation: all "unsigned int" are replaced by uint32_t. Also use size_t when appropriate. Add checks and asserts on invalid metadata buffer size. Change-Id: I1e4a995858467c679b978574c305d82814f8c15c
2016-10-03Convert to Android.bpDan Willemsen4-25/+107
See build/soong/README.md for more information. Test: mma -j Test: camera_metadata_test on flounder Change-Id: I0f699a2a0d120783a5f543cf6d454109a5fc624b
2016-03-31Merge "Revert "Revert "Make build warnings be errors""" into nyc-devGlenn Kasten1-2/+2
2016-03-29Fix build warningsGlenn Kasten1-2/+0
Change-Id: I13d8d8feab1084a85234da8597cd37102a76a23c
2016-03-29Revert "Revert "Make build warnings be errors""Glenn Kasten1-2/+2
This reverts commit ce89418df1e8c1e8e25067d5a2eb8e1b260e28d9. Change-Id: I0a372cfdfa03344dfff50bce9eb32227238e9c94
2016-03-28Revert "Make build warnings be errors"Glenn Kasten1-2/+2
This reverts commit 2a34a2fc06a96ca23baa2f81a1490d6407a37637. Change-Id: Ia7be57b1ca60e14f40f0104b8b71c84ed6465440
2016-03-24Make build warnings be errorsGlenn Kasten1-2/+2
Change-Id: Ib8dc0b9fdecb414b46ca2db63809ce1ae1ea736e
2015-11-05Add clock to radio metadata.Sanket Agarwal2-2/+41
Bug: b/24807501 Bug: b/22701655 Change-Id: I91c3471f92d2c9600c7a30ceb48fbb25dbc5feea (cherry picked from commit f59f3ce4728467ab745906c50330413b7d848072)
2015-03-12radio meta data utility libraryEric Laurent2-0/+429
Added utility library to manage radio meta data. Radio HALs can link against this library and use it to create meta data entries and pass them to the framework. Change-Id: I7acd585246042024e641ac048815861373ab6d94
2015-03-12radio metadata definitionsEric Laurent1-0/+268
Added public definitions for radio metadata and metadata utility library API. Change-Id: I61ead52d319e36a1e39ad7dd175fb260d3c1b93a