03416d957aeb3383a792e74501fd4d979bc70a12 |
|
15-Aug-2017 |
Steven Moreland <smoreland@google.com> |
defaultPassthroughServiceImplementation errors Test: pass Change-Id: Ib5c9d4400be47994e76a4a4a785a8cc404e1d43c
/system/libhidl/transport/include/hidl/LegacySupport.h
|
2eaead53c725b649f81ffb2fe4a77f60ea088161 |
|
31-Mar-2017 |
Steven Moreland <smoreland@google.com> |
Remove binderization toggle. Bug: 34274385 Test: works on internal marlin Change-Id: I14ac88d2757d5c0e18b0d8a47082225639908359
/system/libhidl/transport/include/hidl/LegacySupport.h
|
f1b7028bb0f43603aaa9d7c1d9aedf7c1e86b0a0 |
|
22-Mar-2017 |
Steven Moreland <smoreland@google.com> |
LegacySupport: include interface name in errors Test: pass Change-Id: Iacbc2b662ffc0c38c32f04140e39091e3734f811
/system/libhidl/transport/include/hidl/LegacySupport.h
|
d51a3e18d63e722973e8784265a7e6f3ac77350a |
|
19-Mar-2017 |
Steven Moreland <smoreland@google.com> |
Passthrough service functions: warn unused result Prevent these from cropping up again: b/34634573 b/34641942 b/34640335 b/34643521 b/36424561 Note, also made defaultServicePassthroughImplementation return status_t instead of int. Test: pass Change-Id: I930a5f7f82390a6869e0ab99c8536bf73dad7d0c
/system/libhidl/transport/include/hidl/LegacySupport.h
|
0586514f4a7cacd74af78fc214e64c39884eeae1 |
|
07-Feb-2017 |
Steven Moreland <smoreland@google.com> |
defaultPassthroughServiceImplementation: default Specify default argument to dPSI which allows the following calls: - dPSI("foo", 1 /* maxThreads */); - dPSI("foo"); - dPSI(1 /* maxThreads */); - dPSI(); Test: compiles Change-Id: If1f7100527583dd7d01c17c107282b043d710ee3
/system/libhidl/transport/include/hidl/LegacySupport.h
|
3903f46a480de9ec5b1c1152f07dc46d7e56064e |
|
13-Jan-2017 |
Steven Moreland <smoreland@google.com> |
Wrapper service: only register if enabled. - wrapper services should only register themselves if persist.hal.binderization is true (which is set in system settings). - If binderization is disabled, we just block the service (otherwise it will just be restarted by init). Bug: 34256441 Test: nfc and lights work with ag/1833821 with persist.hal.binderization set to on and off. There are no additional selinux denials. No other services are affected by this (ENABLE_TREBLE also now requires setting a hal to hwbinder in the manifest to force/guarantee it to be binderized). Change-Id: Ibc314338db5ac9857479609d293ea73672d90849
/system/libhidl/transport/include/hidl/LegacySupport.h
|
fd9311cbb74fa30896f23f122a4de6fb49d1e4f0 |
|
24-Jan-2017 |
Steven Moreland <smoreland@google.com> |
Check registerPassthroughServiceImplementation ret Bug: 34643521 Test: service exits if registerPassthroughServiceImplementation fails. Change-Id: I27776b24d284f0ec601671589b99e07a737d8509
/system/libhidl/transport/include/hidl/LegacySupport.h
|
d403ab31f267d3bf9c7d0c61694b8a2c461b7333 |
|
12-Jan-2017 |
Chris Phoenix <cphoenix@google.com> |
Add name "default" as default to register service the getService() and registerAsService() methods of interface objects now have default parameters of "default" for the service name. HALs will not have to use any service name unless they want to register more than one service. Test: make hidl_test; adb sync; adb shell; data/native_test64/hidl_test64 Modify Nfc HAL to use default name Run VTS test from go/vtsrun on Sensors, Vr, Nfc Verify NFC HAL works (turn NFC on and off in Settings) In support of b/33844934 Change-Id: Ib658a6a692780c16c751e57e05c653d031f30789
/system/libhidl/transport/include/hidl/LegacySupport.h
|
e76c7a27eeb3763a2185c1502fd4572df1513b9a |
|
22-Nov-2016 |
Martijn Coenen <maco@google.com> |
Transport threadpool configuration. Servers can specify the number of threads they'd like to have for handling incoming RPC calls, as well as whether they'd like to join the threadpool themselves, by calling: configureRpcThreadpool(numThreads, true /* callerWillJoin */); This method *must* be called before interacting with any HIDL services, including the servicemanager through IFoo::getService / IFoo.registerAsService(). If the server indicated it wanted to join, it should do so as soon as it can with: joinRpcThreadpool(); This allows a server full flexibility: - Without any of these calls, a threadpool of size 1 will be started, and the main thread won't be a part of it. - If the server wants a single-threaded RPC pool with its own main thread for handling incoming RPC transactions, it can call configureRpcThreadpool(1, true) followed by joinRpcThreadpool(). - If the server wants a multi-threaded RPC pool, it can call configureRpcThreadpool(5, join) followed by joinRpcThreadpool() if join was set to true. Bug: 31226656 Test: mma, hidl_test Change-Id: I9a3c68ebbe34ea9f14cdae48ca9908d05012c3f2
/system/libhidl/transport/include/hidl/LegacySupport.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/LegacySupport.h
|