diff options
author | Hari Veerubhotla <vsubrahm@codeaurora.org> | 2018-07-03 12:42:42 +0530 |
---|---|---|
committer | Hari Veerubhotla <vsubrahm@codeaurora.org> | 2018-07-11 11:14:38 +0530 |
commit | 3ca1042017fc9e41db6f9f11815adec89d4db321 (patch) | |
tree | 6acbfd822345cd2fdb28eee74e1a26f71c7e7d94 /boot/1.0/default/service.cpp | |
parent | aba32b080b63defc4201bcf57a19d17c8f32a6fb (diff) |
Tuning of Binder buffer for below HALs
1. Boot Control
2. Vibrator
Set the Binder buffer memory limit for boot control
and Vibrator HALs to 8 KiB.
CRs-Fixed: 2275027
Change-Id: I7955af000aa34e19d1229949c0966ef93e7ff0cb
Diffstat (limited to 'boot/1.0/default/service.cpp')
-rw-r--r-- | boot/1.0/default/service.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/1.0/default/service.cpp b/boot/1.0/default/service.cpp index f3996efe9c..fbae285bdf 100644 --- a/boot/1.0/default/service.cpp +++ b/boot/1.0/default/service.cpp @@ -22,5 +22,6 @@ using ::android::hardware::boot::V1_0::IBootControl; using android::hardware::defaultPassthroughServiceImplementation; int main (int /* argc */, char * /* argv */ []) { + android::hardware::ProcessState::initWithMmapSize((size_t)8192); return defaultPassthroughServiceImplementation<IBootControl>(); } |