808f50a8fd04e1096d08b8b34c253f8c22657f4f |
|
22-May-2017 |
Steven Moreland <smoreland@google.com> |
libhwbinder: add TREBLE_TESTING_OVERRIDE to tests These environmental variables disable a check that modules which are registered are also defined in the device manifest. Since these tests register services themselves and the services are only on the device if it is being tested, we want to enable this override. Explanation of override: This means that you must set TREBLE_TESTING_OVERRIDE when running a test such as hidl_test. Ideally these binaries set this value themselves. This allows test modules to dynamically add and unset services even though they are not declared in the device manifest. This prevents a problem where framework changes are accidentally made in a way that is not backwards compatible. For instance, consider the following situation for two devices developed in the same tree: A: serves @1.1::IFoo, declares @1.0::IFoo (incorrect) B: serves @1.0::IFoo, declares @1.0::IFoo (correct configuration) If development is done on device A, then framework code like: "V1_1::IFoo:: getService()->doV1_0Api()" will work. However, this will unintentionally break the feature for devices like device B for which "V1_1::IFoo::getService() will return nullptr. In order to prevent problems like this, we only allow fetching an interface if it is declared in a VINTF manifest. Test: all of the vts/performance tests here still work on a launch Treble device. Bug: 38415912 Merged-In: I5595ac2389b8234a1a10d3c38da1918cc6d5a5e0 Change-Id: I5595ac2389b8234a1a10d3c38da1918cc6d5a5e0
/system/libhwbinder/vts/performance/Benchmark.cpp
|
f2a26623afdff13989d93940ae0828a2d1b86690 |
|
11-Jan-2017 |
Mark Salyzyn <salyzyn@google.com> |
liblog: use log/log.h when utilizing ALOG macros am: 8be2b7660e am: 8c096d732d am: d87c526c3c am: fb5bc148c5 Change-Id: I9b5b869794e74a405d7a2c6209bf39219cd846d4
|
b08eee2bf2f5187ad6ca15a02005a3e77a173d8a |
|
30-Dec-2016 |
Martijn Coenen <maco@google.com> |
Change default hwbinder threadpool behavior. am: ab00b6a919 am: f6ab65d353 am: 48ae42146e am: 139d5446d4 Change-Id: I5d0a2216718d81521a66de07dd8c006d23a7f6c0
|
774220b364242e9bd7d594dc2bb858ccce946018 |
|
28-Dec-2016 |
Keun Soo Yim <yim@google.com> |
reorg VTS registered tests using sub dirs under vts/ Test: mma Change-Id: I6f86eb3ee09de63488e40d92adfeb36d6a4df8e0
/system/libhwbinder/vts/performance/Benchmark.cpp
|