History log of /frameworks/base/services/core/jni/com_android_server_SystemServer.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bef3988921ece2076e441c2c1253755627760ea4 14-Jun-2017 Yifan Hong <elsk@google.com> SensorManager: attach background thread to JavaVM

Test: pass
Bug: 62404135
Change-Id: Ic3c0849cd366f550cbdccbb9bb8d082c5c570c35
/frameworks/base/services/core/jni/com_android_server_SystemServer.cpp
eb4b2d056cd905b4b6ca0c985131c102f2254a45 29-Apr-2017 Martijn Coenen <maco@google.com> Increase max system_server hwbinder threadpool to 5.

system_server hosts HIDL services, but also many different
callback interfaces. Subtle deadlocks can occur if there's
only one HwBinder thread to handle incoming transactions.
Increasing this to 5 threads seems reasonable - we haven't
really seen any performance issues due to this.

The main danger with this change is that not all callback
interfaces may be written in a thread-safe way, but some
quick testing revealed no issues.

Bug: 37531523
Bug: 37509431
Test: builds, Maps/YouTube/Camera/Music/Netflix
Change-Id: I52bff2f2263625c1a33f60b8b27c307c1d31000c
/frameworks/base/services/core/jni/com_android_server_SystemServer.cpp
3d8166f88534c32b5ba7614e6cebe6f2439b6abe 07-Apr-2017 Steven Moreland <smoreland@google.com> Start service from libscheduleservicehidl.

Test: internal camera successfully sets priority.
Bug: 29251823
Change-Id: I3c3caeb3e2e169dee483da25cc8217e1aad14adf
/frameworks/base/services/core/jni/com_android_server_SystemServer.cpp
26b421f8e0411f044e13bbdad4b3ab1dab3c17c8 10-Mar-2017 Yifan Hong <elsk@google.com> Start android.frameworks.sensorservice@1.0 in system_server

Bug: 35219747
Test: marlin boots
Test: lshal -ipm | grep android.frameworks.sensorservice@1.0

Change-Id: I67dfb217d1b568e140cefce0bdba3f8f4dbe679c
/frameworks/base/services/core/jni/com_android_server_SystemServer.cpp
9b73a5473a36534731cc19501408a6123c8e69a8 01-Feb-2017 Keun-young Park <keunyoung@google.com> wait for sensor service before starting WMS

- Starting sensor service in separate thread led into occasional 1 sec
blocking of WMS inside PhoneWindowManager to get sensor service.
- Change startSensorService into blocking call and call it from
separate thread using SystemServerInitThreadPool.
- This does not improve best case boot-up time but fixes occasional 1 sec delay
which is happening in 10 to 20% rate. So this is potential 100 to 200ms saving for many runs.

bug: 34846045
Test: multiple reboots.
Change-Id: Ia08fa3284aed5e576acaac6fbfd74b9db9f7d63c
/frameworks/base/services/core/jni/com_android_server_SystemServer.cpp
f94016d91b1001b7575a7063934ec47edefb79a9 29-Nov-2016 Wei Wang <wvw@google.com> Start sensor service in a seperate thread

StartSensorService is taking ~141.8ms on marlin to start
With this CL, StartSensor will be done in a seperate
thread so the SystemServer can continue booting

Bug: 33199244
Test: on marlin
Change-Id: I9e486d61e85072d5cbe69b1671c8fbfeca9c2200
/frameworks/base/services/core/jni/com_android_server_SystemServer.cpp
b57dd722f1dc0663417da37d3a82f8283ad3c982 24-Sep-2015 Elliott Hughes <enh@google.com> resolved conflicts for a884d81e to stage-aosp-master

Change-Id: Ice485967fa96f13786024b6939b826638e906ff0
76f6a86de25e1bf74717e047e55fd44b089673f3 19-Sep-2015 Daniel Micay <danielmicay@gmail.com> constify JNINativeMethod function pointer tables

Change-Id: I4036c924958221cbc644724f8eb01c5de3cd7954
/frameworks/base/services/core/jni/com_android_server_SystemServer.cpp
b9d71a6f89b1183f6389b1774652445a420c6cbf 30-Apr-2015 Svet Ganov <svetoslavganov@google.com> Add body sensors app op - framework base

Change-Id: Idd5cd573fab3405e5b2a6e51d2d9d115650826e9
/frameworks/base/services/core/jni/com_android_server_SystemServer.cpp
8dcf593f90792272bd21e498da1aeb60fced1989 01-Oct-2014 Andreas Gampe <agampe@google.com> resolved conflicts for merge of 6290c048 to lmp-dev-plus-aosp

Change-Id: I9fd4b4402f301c3521f57b207793ab4dfdd67a12
184e3ed0f094ecb6cb8130a135ba8a8e9e51803a 30-Sep-2014 Andreas Gampe <agampe@google.com> resolved conflicts for merge of 6290c048 to lmp-mr1-dev-plus-aosp

Change-Id: I2551a233079c2be562ba37dc7413d59ce4e7bf83
9158825f9c41869689d6b1786d7c7aa8bdd524ce 22-Nov-2013 Amith Yamasani <yamasani@google.com> Move some system services to separate directories

Refactored the directory structure so that services can be optionally
excluded. This is step 1. Will be followed by another change that makes
it possible to remove services from the build.

Change-Id: Ideacedfd34b5e213217ad3ff4ebb21c4a8e73f85
/frameworks/base/services/core/jni/com_android_server_SystemServer.cpp