Pin and Unpin Libraries During Camera Open
Previously, libraries were only locked during CameraDevice::Create which could cause locked libraries to get out of sync with the experiment flag. This CL checks the experiment flag during CreateCameraSessionDevice and mlocks/munlocks as needed.
This CL also provides a mechanism to limit the amount of madvising by requesting a HwlMemoryConfig from the HWL.
Bug: 341164335
Test: m, logcat
Change-Id: I75ebf6727aa429488e89e21dfe136685aee0cdf3
9 files changed