OSDN Git Service

service: Add IPCHandlerBinder
authorArman Uguray <armansito@google.com>
Thu, 6 Aug 2015 04:19:02 +0000 (21:19 -0700)
committerArman Uguray <armansito@google.com>
Tue, 11 Aug 2015 00:02:32 +0000 (17:02 -0700)
commitb2286f386e20a45b5f19a199d0981f4952216fa3
tree68201f0b91eda9acbcf0b7b8ef47c66cb6084384
parent61f2f365799c40ce52e7b08507b32f20ca0773a3
service: Add IPCHandlerBinder

This CL integrates Binder IPC into the daemon. This introduces
IPCHandlerBinder and BluetoothBinderServer which is the Binder server
proxy for IBluetooth. A new command-line switch is introduced to
optionally disable Binder on platforms that do not use it.

BluetoothBinderServer currently does not fully implement any of the IPC
calls and consists of stubs.

Bug: 22743677
Change-Id: I3e4ba7a3211898bab0c9c8061f4e4db3854711ed
12 files changed:
service/Android.mk
service/daemon.cpp
service/ipc/binder/bluetooth_binder_server.cpp [new file with mode: 0644]
service/ipc/binder/bluetooth_binder_server.h [new file with mode: 0644]
service/ipc/binder/ipc_handler_binder.cpp [new file with mode: 0644]
service/ipc/binder/ipc_handler_binder.h [new file with mode: 0644]
service/ipc/ipc_handler_unix.h
service/ipc/ipc_manager.cpp
service/settings.cpp
service/settings.h
service/switches.h
service/test/stub_ipc_handler_binder.cpp [new file with mode: 0644]