History log of /system/bt/service/ipc/ipc_manager.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e415c050edbb2710e8807dd2602c851412953268 23-Sep-2015 Scott James Remnant <keybuk@google.com> Rename IPCHandlerUnix to IPCHandlerLinux

Since it relies on the Linux-specific sequential packet socket type,
rename the "Unix" IPC Handler to "Linux".

Change-Id: I04c4d6d3f73061099ebffb1ee3adfd0a20430dd7
/system/bt/service/ipc/ipc_manager.h
d6a4b0c950f44d3eab34825880d26c19e362d22b 14-Aug-2015 Arman Uguray <armansito@google.com> service: Replace CoreStack with Adapter

This CL removes the CoreStack class. Code that depended on a CoreStack instance
now depend on Adapter and hal::BluetoothInterface instead.

Bug: 23169364
Change-Id: Ide008cc7d3f9e74656f6bfa4df2dfee511e55b90
/system/bt/service/ipc/ipc_manager.h
e0d08c9fecdf92c386b52375501a306c8f67d63e 05-Aug-2015 Arman Uguray <armansito@google.com> service: Clean up IPC shutdown and add unit tests

This CL reworks the IPCHandlerUnix shutdown routine to be more robust
and adds a test suite for the basic thread creation and shutdown sanity.

Bug: 22532180
Change-Id: I22d119d6514f2ceb1460c0925b4e92b71ec87e06
/system/bt/service/ipc/ipc_manager.h
fe65fb7978bc9257a36d1e5eae59c5f412dbdb49 25-Jul-2015 Arman Uguray <armansito@google.com> service: Refactor IPC and singletons

This CL makes the following major refactors to the system service code:

1. A new global Daemon object is introduced, which manages the main event
loop and all other subsystems of the Bluetooth daemon. This object is the only
singleton class and initializes and owns everything else.

2. Everything that was a singleton and/or was initialized directly in main.cpp
is now a) no longer a singleton; b) now initialized and owned by the global
Daemon instance.

3. All of the Chromecast specific IPC code has been moved into the ipc/
subdirectory. This directory is meant for everything that is IPC related,
paving the way for enabling multiple IPC systems (domain-socket based, Binder
based, etc) simultaneously in the future. Main changes to the Chromecast IPC
code are:

a. All files and classes have been renamed to reflect the
UNIX-domain-socket-specific nature of the IPC mechanism.

b. The code no longer hogs up the main thread while listening for
connections. All of this logic has been moved to a dedicated thread with
its own MessageLoopForIO, so that it can use the built-in mechanisms for
polling on client sockets in the future.

Bug: 22532180
Change-Id: I42db06dba6cff3bc8f8101a1ea2b6787a69409fd
/system/bt/service/ipc/ipc_manager.h