History log of /system/hwservicemanager/service.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bdfe63abb5a97382bcb9e29c01e43c17a24aa50a 27-Mar-2017 Martijn Coenen <maco@google.com> Flush commands to binder driver.

To make sure it knows we've created a looper
for handling commands. This only becomes
necessary with new kernel changes that schedule
binder process operations to specific threads:
that code checks whether a thread has registered
before sending it operations, and without this
flush(), hwservicemanager's only thread won't be
marked as such.

Test: marlin boots
Change-Id: I38414cee4a6508148adf47c856524336b820edb1
Merged-In: I38414cee4a6508148adf47c856524336b820edb1
/system/hwservicemanager/service.cpp
57353e73c217dce4168df4bd255dbe3b905667d5 27-Mar-2017 Steven Moreland <smoreland@google.com> Update comments in hwservicemanager service.cpp. am: 50bf182814 am: 4fe291115d
am: 225e19df3d

Change-Id: I2bb2e4c125fa45e90505190f78cf621b9f2b6d6f
537f2bdaf34a2770d22727e2353956837e1e4a28 27-Mar-2017 Steven Moreland <smoreland@google.com> Exit if /dev/hwbinder not available. am: aa6ace9676 am: 0fa6a6d905
am: 436fbca3ca

Change-Id: I043ccc006d51b4bbe4c1edca10f4e729bb605bc6
50bf182814b7f6b6d2da1a67238d268b528e8d08 27-Mar-2017 Steven Moreland <smoreland@google.com> Update comments in hwservicemanager service.cpp.

indentation/consistency/freshening

Test: pass
Change-Id: I5d0d3f39e25eb0bc2209f5d16a30a0ffebdce1a4
/system/hwservicemanager/service.cpp
aa6ace9676924542feff93769e6e469ded64f0d8 27-Mar-2017 Steven Moreland <smoreland@google.com> Exit if /dev/hwbinder not available.

Test: pass
Bug: 36577127
Change-Id: Ibd971215b08a1c124b793e083032c34749ca62dd
/system/hwservicemanager/service.cpp
7847c447d36ab8c419b1693df841b18dcfa412df 23-Mar-2017 Tim Murray <timmurray@google.com> add support for BINDER_SET_INHERIT_FIFO_PRIO ioctl

Test: works
bug 36516194

Change-Id: Ib23559026dfb741d4371197d3d3a8a0a726e3b9e
/system/hwservicemanager/service.cpp
1a5da1cf62832d45089b004e6050bd3d8d879e63 06-Mar-2017 Martijn Coenen <maco@google.com> Remove interfaceChain from IServiceManager::add()

Bug: 32742469
Test: hidl_test, binderized marlin boots
Change-Id: Ied6ed55ea12fc8c2bd576254a5bf5dda7e18dbf0
/system/hwservicemanager/service.cpp
1899688a7cf4f75508415548b0c54e7d29fd775c 25-Feb-2017 Yifan Hong <elsk@google.com> IServiceManager/ITokenManager uses "default" service name

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: boots
Test: hidl_test

Bug: 33844934
Change-Id: I0938f9b5b6ab054eafc60b58fbe686a01124e71d
/system/hwservicemanager/service.cpp
61ff909c8599f62614df3b1568d8fdfaba62398e 10-Jan-2017 Yifan Hong <elsk@google.com> BnServiceManager -> BnHwServiceManager

Bug: 33554989
Test: mma
Change-Id: I2c91b1d315725fc1e234b6e0763bf3de3dadc937
/system/hwservicemanager/service.cpp
437bbb48b783ddf56cbcb4dd58fb521a74d07c49 28-Dec-2016 Martijn Coenen <maco@google.com> Configure threadpool correctly.

Bug: 31226656
Test: mma, hidl_test
Change-Id: Ib3a6e552ce50e80287e0c711a89988a6c0355e47
/system/hwservicemanager/service.cpp
66ac401fabe4106f53e3352f0559cad082246d7b 22-Dec-2016 Steven Moreland <smoreland@google.com> Add android.hidl.token@1.0::ITokenManager impl.

For now, this service will be part of hwservicemanager because it is
also for registration and unregistration of services. There are a couple
main differences between IServiceManager and ITokenManager:

- IServiceManager keeps strong references to interfaces, but ITokenManager
keeps week references.
- IServiceManager receives the token (name) of an interface, but
ITokenManager creates and returns tokens to things registering
themselves.

Test: hidl_test passes:

make hidl_test hwservicemanager -j64 && adb sync && phone-kill
hwservicemanager && adb shell ./data/nativetest64/hidl_test/hidl_test64

(where phone-kill kills a process on my phone. hwservicemanager will
automatically restart)

Bug: 33058559
Change-Id: I09741aa99edb7c2c97ffc057c7ff71d9d9dabc02
/system/hwservicemanager/service.cpp
fcfcdfb512f40a9633ebe87412ac9df5fdc502b0 12-Dec-2016 Martijn Coenen <maco@google.com> Fix hwservicemanager uses of Bn classes.

Test: builds, hidl_test, hidl_test_java
Bug: 33173166
Change-Id: Id012fa3a08106665e3cc7edf4baecc85ef0632d0
/system/hwservicemanager/service.cpp
3f542b0744d761f4539033bad632946d71493cab 01-Dec-2016 Steven Moreland <smoreland@google.com> Revert "Use get instead of implicit cast with Return<*>."

This reverts commit ee0f34ea045b28659d363c1dc84aa5af56fa9402.

Change-Id: I49ac5312e820b9ebd3a021d4b9cfa83558989240
/system/hwservicemanager/service.cpp
ee0f34ea045b28659d363c1dc84aa5af56fa9402 22-Nov-2016 Steven Moreland <smoreland@google.com> Use get instead of implicit cast with Return<*>.

Bug: 31348667
Test: hidl_test
Change-Id: I709cb763284ceb29b9cf0b72bf52968181c500ee
/system/hwservicemanager/service.cpp
7623781d8a12e828d78a2d43d35d5b8e548dbb76 09-Nov-2016 Steven Moreland <smoreland@google.com> Update for IServiceManager service retrieval APIs.

This will allow other services to query for information on what sort of
services are currently registered with the service manager. Note, this
is different from the VINTF manifest which is a static entity.

Test: hidl_test, hidl_test_java, nfc works
Bug: 30804608
Change-Id: I796348b6e5677b98d0f383bf4cf0bfe4b320492a
/system/hwservicemanager/service.cpp
5fb3d658c5b5f3f3409070c4f25e224b13230329 03-Nov-2016 Steven Moreland <smoreland@google.com> Update for namespaced services in hwservicemanager.

This prevents name collisions if multiple different instances from
different packages/interfaces register under the same name.
Additionally, interface now register themselves under their parent
classes. This is to enable vendor extensions to hals to still serve the
android framework.

Test: end to end
Bug: 31861268
Change-Id: Ibdc7309efb996027618e6baee7bdcd7c805cbe82
/system/hwservicemanager/service.cpp
d83d1104ac2e522999d0f960d1f32e4ed955d06f 26-Oct-2016 Steven Moreland <smoreland@google.com> Update for hidlized service manager.

Test: end to end (runs on device, nfc registers with it and runs)
Test: hidl_test
Bug: 32313592
Change-Id: I8a98e8f46c2f2216a097018599c7ac81701b008b
/system/hwservicemanager/service.cpp