85966ba503e89311ad92c1047b6067020f347488 |
|
22-Jun-2017 |
Colin Cross <ccross@android.com> |
Add getHwBinderKernelReferences Add a wrapper for the new BINDER_GET_NODE_DEBUG_INFO ioctl for use by libmemunreachable. Test: memunreachable_binder_test Bug: 28275695 Change-Id: I66337691d4e00a81159a8ca4856c8f5c5cf493ee
/system/libhwbinder/include/hwbinder/ProcessState.h
|
ab00b6a91986c8bb1ae70ca6a043e6a8facd254b |
|
22-Nov-2016 |
Martijn Coenen <maco@google.com> |
Change default hwbinder threadpool behavior. In order to allow single-threaded server operation, we want to allow the creation of processes with just a single thread handling incoming binder transactions. This is somewhat tricky, because registering an interface by itself will start a threadpool (in auto-generated code). The only way to really prevent this is to allow clients/servers to configure their desired threadpool configuration in advance. To that end, ProcessState::setThreadPoolConfiguration() tells libhwbinder how many RPC threads the caller wants in its process, and whether the caller wants to join the threadpool itself. If it does, it must follow up with a call to IPCThreadState::joinThreadPool() later. The main change in behavior is that by default, we now only spawn a single hwbinder thread, and don't allow the kernel to create any additional threads beyond that. Bug: 31226656 Test: mma, hidl_test Change-Id: Id5caa2702e6b2d7fb266801ee0aad2523107e8dd
/system/libhwbinder/include/hwbinder/ProcessState.h
|
f75a23d54cc9e5f7b6b976e65b6ec346178f306d |
|
01-Aug-2016 |
Martijn Coenen <maco@google.com> |
Move android::hidl to android::hardware. Also moved Status and PersistableBundle out of their respective 'binder' and 'os' namespaces. Bug: 30507513 Change-Id: I8822070049a9c1b1b89753aaeb148b05b2aa851d
/system/libhwbinder/include/hwbinder/ProcessState.h
|
e01f4f2b38beb5799dece8742eef5d70d131dbd3 |
|
12-May-2016 |
Martijn Coenen <maco@google.com> |
Move hwbinder to the android::hidl namespace. This should prevent clashes if projects do want to link in both libbinder and libhwbinder. Also had to pull in Static.h from frameworks/native/include/private/binder, as that was not part of the history we pulled from frameworks/native. Change-Id: Ib7379e61229c3e68478f9c5530875292e1d51ded
/system/libhwbinder/include/hwbinder/ProcessState.h
|
4080edcfb5810a4a1817c03740f5f1bb19815ae1 |
|
04-May-2016 |
Martijn Coenen <maco@google.com> |
Make libhwbinder build. - Moved Android.mk to root - Changed module name to libhwbinder - Updated all references to include/binder to include/hwbinder - Removed services that we know will certainly not exist in hwbinder: * AppOps * BatteryStats * MediaResourceMonitor * ProcessInfoService * PermissionCache - Removed tests (we'll have new ones). Change-Id: Ie8cc7d3a36032ad42c02b46655f0e015033d232c
/system/libhwbinder/include/hwbinder/ProcessState.h
|
b1dc654b9dbf8640605629a64b646ef1577c0db9 |
|
15-Apr-2016 |
Colin Cross <ccross@android.com> |
Log when binder thread pool is starved Log when the number of threads executing binder commands is equal to the maximium size of the thread pool for >100ms. Bug: 28201939 Change-Id: I892863d8a81c06e362d4ae18ab08485fdec3c0bb
/system/libhwbinder/include/hwbinder/ProcessState.h
|
2e604f066e712d99b5cd8ba4115f7ed2578d4a5d |
|
14-Apr-2015 |
Wale Ogunwale <ogunwale@google.com> |
Added IPCThreadState::blockUntilThreadAvailable() method. Will be used by the system_server watchdog to monitor the availability of binder threads in the process to handle incoming IPC requests. Bug: 19297165 Change-Id: I39175f3869ad14da5620fddb47f454e6e4ee2b25
/system/libhwbinder/include/hwbinder/ProcessState.h
|
4b030b9e0e2ba067bbe7621cff553053a2fb88b7 |
|
28-Mar-2014 |
Narayan Kamath <narayan@google.com> |
Remove global variables from ProcessState. These weren't really being used and they make it very hard to reason about who looks at command line arguments. Processes started via app_process (this includes all zygote forks and the system_server) can get information about command line arguments from the AndroidRuntime class, which is available via a call to AndroidRuntime::getRuntime. bug: 13647418 Change-Id: I6f92680c3619a68c6d4b0995db4cdc9adc788e36
/system/libhwbinder/include/hwbinder/ProcessState.h
|
d191ed717f5769d0c0a240ff94e004d7eb08d614 |
|
08-Mar-2013 |
Mathias Agopian <mathias@google.com> |
rename binder services main thread to Binder_* When a binder service's main thread joins the thread pool it retains its name (whatever the exec name was), which is very confusing in systrace. we now rename that thread just like its friends in the thread pool. Change-Id: Ibb3b6ff07304b247cfc6fb1694e72350c579513e
/system/libhwbinder/include/hwbinder/ProcessState.h
|
8297f5006d558d8774372774e901aab273b89624 |
|
18-Apr-2012 |
Mathias Agopian <mathias@google.com> |
add set thread count Change-Id: I70f02908d8362a465eb8a2a24356f6989847f7ba
/system/libhwbinder/include/hwbinder/ProcessState.h
|
c0f143dce8d0cbadb53da332365dc83b98040659 |
|
09-Jul-2011 |
Jeff Brown <jeffbrown@google.com> |
Eliminate single-process mode. Bug: 5010576 Change-Id: Id450dc83efed4897d1e4ff451530fed14457aace
/system/libhwbinder/include/hwbinder/ProcessState.h
|
164757037f944dae1eb5f76176570b2e43a37b55 |
|
20-May-2009 |
Mathias Agopian <mathias@google.com> |
move libbinder's header files under includes/binder
/system/libhwbinder/include/hwbinder/ProcessState.h
|