OSDN Git Service

service: Added RemoteCallbackMap
authorArman Uguray <armansito@google.com>
Fri, 4 Sep 2015 19:57:37 +0000 (12:57 -0700)
committerArman Uguray <armansito@google.com>
Thu, 17 Sep 2015 23:32:12 +0000 (16:32 -0700)
commitf8711f2e95343f2c9673ab4ffc0bebbdba16c452
tree42ccd91523536c850e051769d5225a9eb1b68260
parent81f82d278f4d5593012357857c5bc1d0cd758c82
service: Added RemoteCallbackMap

Added the RemoteCallbackMap template class which allows storing
IInterface subclasses in an associative array while tracking the
death of the remote process that owns the associated binder. This is
similar to RemoteCallbackList but stores entries in key-value pairs.

Also fixed some RemoteCallbackList documentation and change the code to
use std::unordered_map rather than std::map.

Bug: 23793954
Change-Id: I205c0491d21fef3bc5eeb5c4a7356dab4b6eb8dc
service/ipc/binder/remote_callback_list.h
service/ipc/binder/remote_callback_map.h [new file with mode: 0644]
service/uuid.h