History log of /system/libhidl/transport/include/hidl/Static.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2da958e782c7cf664f0e119c417470b4d5f8d4df 22-Mar-2018 Yifan Hong <elsk@google.com> Revert "Remove gBn/sConstructorMap from headers."

This reverts commit 0288c9a89f9c06414a3ccee926bb075dd303e52a.

Reason for revert: crashing when device have old prebuilts
that doesn't even have the static map within
getBn/sConstructorMap

Bug: 69122224
Bug: 73486242
Test: boots
Change-Id: Ic7bac4f54eca5d96e9564f22a78ac0e3de9c864f
Merged-In: Ic7bac4f54eca5d96e9564f22a78ac0e3de9c864f
/system/libhidl/transport/include/hidl/Static.h
0288c9a89f9c06414a3ccee926bb075dd303e52a 08-Feb-2018 Yifan Hong <elsk@google.com> Remove gBn/sConstructorMap from headers.

Prebuilts that include toBinder() should no longer
link to gBnConstructorMap after rebuild.

After prebuilts are updated, symbols (in Static.cpp and
HidlPassthroughSupport.cpp) can be removed as well.

Test: walleye boots
Test: HAL def libs that link to libhidltransport no longer
links to gBnConstructorMap / gBsConstructorMap.

Bug: 69122224
Change-Id: I6554a98a3068f9595666b7131df310e200551e45
/system/libhidl/transport/include/hidl/Static.h
6538e7515b00694574b222da2898716e3cb1431a 08-Feb-2018 Steven Moreland <smoreland@google.com> Revert "Reland "Remove gBn/sConstructorMap.""

This reverts commit d7687b2a89d374d8403b4c6c7f94a21c747aa66f.

Reason for revert: b/73103210

Change-Id: Ibd956944c49f4b1a2e51992a4d199a60cd64d7b5
/system/libhidl/transport/include/hidl/Static.h
d7687b2a89d374d8403b4c6c7f94a21c747aa66f 18-Dec-2017 Yifan Hong <elsk@google.com> Reland "Remove gBn/sConstructorMap."

Use getBn/sConstructorMap() instead to avoid initialization
order problem.

This reverts commit c6ce6e50a77c08a17a28013599469b83d11049b0.

Reason for revert: internal devices are fixed.

Test: boots

Change-Id: Ia6f2bb09a6333abd87affb9c7c089d2ba512c7c9
Fixes: 69122224
/system/libhidl/transport/include/hidl/Static.h
c6ce6e50a77c08a17a28013599469b83d11049b0 15-Dec-2017 Yifan Hong <elsk@google.com> Revert "Remove gBn/sConstructorMap."

This reverts commit c67f65df9a9832094df79c4f02dffa25ca2bb2b1.

Reason for revert: Break internal targets
Bug: 69122224
Bug: 70720496

Change-Id: I6373330871b504999653b4c0bad6bdd7111c25be
/system/libhidl/transport/include/hidl/Static.h
c67f65df9a9832094df79c4f02dffa25ca2bb2b1 10-Nov-2017 Yifan Hong <elsk@google.com> Remove gBn/sConstructorMap.

Test: boot fugu, 2016/2017 Pixel
Bug: 69122224
Change-Id: I525574228bc5f3720901d884fe041597a00ddc77
/system/libhidl/transport/include/hidl/Static.h
97f88f31b63c5f4cb12be40cbd9cc8d725a4ef80 10-Nov-2017 Yifan Hong <elsk@google.com> Double gBn/sConstructorMap

The new getBn/sConstructorMap() functions ensure that the
map is initialized before usage. For ABI compatibility (to prebuilt
HAL definition libs), the old global map is kept and checked as well.

Test: boots
Bug: 69122224
Change-Id: I32b1a612f8e841d1e7dca5335230a3dc7d589da5
/system/libhidl/transport/include/hidl/Static.h
2932c134c47318489d96e3e4de9ab8e5ff956952 21-Jul-2017 Steven Moreland <smoreland@google.com> Revert "Revert "Allow proxies to be compared.""

This reverts commit 7c238ef97977204a5a5ff65a39f602ceb44ed307.

(originally reverted due to merge conflicts)

Bug: 32172906
Test: hidl_test

Change-Id: I590c60ed529847742dede590e1e9a152a7650da0
/system/libhidl/transport/include/hidl/Static.h
7c238ef97977204a5a5ff65a39f602ceb44ed307 21-Jul-2017 Steven Moreland <smoreland@google.com> Revert "Allow proxies to be compared."

This reverts commit 8264ad53b64162950b9d7d2cde93b5a961ab806b.

Change-Id: Ibbb66617c751dab7e93834892fb97936e5083e97
/system/libhidl/transport/include/hidl/Static.h
8264ad53b64162950b9d7d2cde93b5a961ab806b 16-May-2017 Steven Moreland <smoreland@google.com> Allow proxies to be compared.

Also:
- removed unnecessary template parameter to toBinder
- don't create redundant BnObjects
- added comparison function for hidl interfaces

toBinder now caches the HIDL pure interface objects
in order to recreate the behavior that the binder kernel does by
itself. This means that if you pass a HIDL object out, you will
always get the same remote reference.

Test: boot a device
Test: boot a marlin
Test: hidl_test and hidl_test_java
Bug: 38348572
Bug: 32172906

Change-Id: I6453200e45eb29e685b06aab4746d9ba18c011a9
/system/libhidl/transport/include/hidl/Static.h
6b9cc8dda25d7b24e6f2bb28dca6acf8c0ac4872 22-Apr-2017 Martijn Coenen <maco@google.com> Allow setting a minimum scheduler policy for a service.

The binder kernel driver supports priority inheritance
at a node (service)-basis, that makes sure all transactions
into that service are executed at a specified minimum
scheduler policy and priority.

This change allows users of HIDL interfaces to set
such a policy for their interface.

Bug: 37293077
Bug: 63899698
Test: verified min_prio in /d/binder output
Merged-In: If72dd8322381246832b460c386dda44fbd225757
Change-Id: If72dd8322381246832b460c386dda44fbd225757
/system/libhidl/transport/include/hidl/Static.h
953e6b0f57b5003390b3e70904bfa47f535492e4 16-Mar-2017 Yifan Hong <elsk@google.com> Hide global variables

* Move gBn/sConstructorMap into details
* Move gDefaultServiceManager[Lock] into details and delete them from Static.h

Test: pass
Test: boots
Bug: 36075507
Change-Id: Ief7938812efe4a9fdf1d7c09850512f19023185d
/system/libhidl/transport/include/hidl/Static.h
637195c1b50ec8a2f625b116da803c2e6e101ada 22-Feb-2017 Steven Moreland <smoreland@google.com> Static.h: include what you use.

Removed transitive dependencies on libutils types.

Bug: 35363681
Test: pass
Change-Id: Id32a089d96930e717b420a8d48831be426b45009
/system/libhidl/transport/include/hidl/Static.h
84888d3553c7595ee57dc73023ae94a27895de0d 07-Feb-2017 Yifan Hong <elsk@google.com> Make gBn/sConstructorMap concurrent.

Test: builds
Test: hidl_test

Bug: 35041785
Change-Id: I60099ddd56fee1faec7e54245d0fa3ccae6e777a
/system/libhidl/transport/include/hidl/Static.h
6bf733ec867a5d46ea05ae5c280a27b051f5018c 07-Dec-2016 Yifan Hong <elsk@google.com> create gBsConstructorMap; add wrapPassthrough

Similar to gBnConstructorMap, this map helps wrapping a local
interface with the smallest BsFoo possible. They are added
in Static.h/cpp.

Added HidlPassthroughSupport.h/cpp to hold wrapPassthrough.

Also fixes a few Return object isOk() checks.

Fix: 33307350

Test: hidl_test

Change-Id: I92a7283699bfe5b022df5ab5a9ead5690477ea97
/system/libhidl/transport/include/hidl/Static.h
b2c9c75b74c87e651dd08a100015eab17319556e 08-Dec-2016 Yifan Hong <elsk@google.com> Cleanup Hidl*Support.* files.

* Move gBnConstructorMap to Static.cpp/h
* update obsolete comments

Test: compiles

Change-Id: If9720b8fc3b09e9b91b8fdc04bcde269208471ed
/system/libhidl/transport/include/hidl/Static.h
00f4a391c6f9a698bbcbbd05bf3d80e213c82884 16-Nov-2016 Yifan Hong <elsk@google.com> Split libhidl into base and transport.

libhidlbase contains "pure" classes that has nothing
to do with tranport level stuff. libhwbinder can now
safely depend on libhidlbase.

IBinder inheriting from IBase will be in a follow up
CL.

Bug: 32756130

Test: mma under hardware/interfaces
Test: hidl_test
Change-Id: Ie2bd80769df3816aab83789ba0d7fca9b5a2e52f
/system/libhidl/transport/include/hidl/Static.h