79d2b28f3a04d7914bb932a65d87117c0c7c11cf |
|
17-Apr-2018 |
Chong Zhang <chz@google.com> |
Request cpuset change for 1080p HDR using soft decoder Keep track of cpuset change requests in ResourceManagerService, and request changing of cpuset via SchedulingPolicyService. Bug: 72841545 Test: 1)Using modified Youtube/Exoplayer (that uses softMediaCodec to decode VP9 profile2), manually verify the following: - media.codec is put into top-app cpuset playing VP9 1080p HDR - media.codec is put back into foreground after done - media.codec stays in foreground cpuset playing other content - kill the app process, verify media.codec is put back to foreground until new instances request top-app - kill mediaserver process, verify media.codec is put back to foreground until new instances request top-app - kill media.codec process, starting playback again, verify new media.codec's cpuset can be changed correctly - kill system_server process (using 'adb shell stop && adb shell start'), verify media.codec is put back to foreground. Restart playback and verify the cpuset can be changed correctly. 2) CTS post submit tests Change-Id: Iba50ede1c08b695821fe4f56dbfc5694eab54e7b
/frameworks/av/media/utils/SchedulingPolicyService.cpp
|
83f042776b131b149f803fff6ab184ae2c4d98cd |
|
07-Feb-2017 |
Mikhail Naganov <mnaganov@google.com> |
audioflinger: Adjust priority of hal threads HALs are prohibited from using framework binder, and there is no equivalent scheduling policy service in hwbinder. Thus, in order to match priorities of FastCapture / Mixer threads with their counterparts in the HAL, it is needed to request the priority boost from audioflinger on behalf of the HAL. Test done to verify the priority was correctly set. Bug: 34131400 Change-Id: If8b6b031c0fcba771fae901a5b8e7da89b3a1570 Test: check priority match between audioflinger's and hal's threads
/frameworks/av/media/utils/SchedulingPolicyService.cpp
|
f99498ee4de7123e2fd71778c6877be44fbd1506 |
|
26-Sep-2015 |
Eino-Ville Talvala <etalvala@google.com> |
CameraService: Use SCHED_FIFO for request queue thread in HFR - Move SchedulingPolicyService from audioservice to mediautils - When starting up a high speed stream config, set request queue thread to SCHED_FIFO using SchedulingPolicyService Bug: 24227252 Change-Id: I224b59142bd111caf563779f55cddd62385b9bac
/frameworks/av/media/utils/SchedulingPolicyService.cpp
|