summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorSuren Baghdasaryan <surenb@google.com>2020-11-20 17:08:51 -0800
committerSuren Baghdasaryan <surenb@google.com>2020-11-23 22:08:41 +0000
commit35221b53381c8823e237c04a71d9c2549114c52f (patch)
tree048a1f6b1f97e1c745835f4db54d102d949035c5 /trusty/coverage/coverage.cpp
parent03f4504ffdd7dac6a51efba7c4d181c50d23a9df (diff)
libprocessgroup: Support per-API level task profiles
When task profiles changes happen, devices released under older API levels might have to use the same profiles as before. This might be due to for missing kernel features or some other reasons. Add support for per-API task profiles to accommodate this scenario. With this mechanism when ro.product.first_api_level is non-empty, the system looks for /system/etc/profiles/task_profiles_<api level>.json file and uses it if it exists. If ro.product.first_api_level is not defined or per-API task profiles file does not exist the system falls back to the default /system/etc/profiles/task_profiles.json file. As before, these task profiles can be competely overwritten using /vendor/etc/task_profiles.json if needed. Bug: 172066799 Test: boot with per-API task profiles Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: I1671b341b3a0fb5e99d0b0788315c61088326b09
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions