Limit camera daemon cpuset to little cores when app launch

When exiting camera app, camera daemon is still busy in background,
which may affect the launch animation of launcher. So, limit the cpuset
of camera daemon to little cores for 1 second when there is app launch
hint to improve it. This only happens when camera is running. Also
bypass this behavior when video recording is active.

Bug: 240889279
Test: camera daemon cpuset changed as expected
Change-Id: I1893980f0fc3de265a71a3a028f356c7010eaba5
2 files changed
tree: 3edcf697e8e3c9ca4b15c0ede20c6202e0f4e589
  1. audio/
  2. bluetooth/
  3. conf/
  4. factory-images_oriole/
  5. factory-images_raven/
  6. factory_oriole/
  7. factory_raven/
  8. nfc/
  9. oriole/
  10. powerstats/
  11. radio/
  12. raven/
  13. self-extractors_oriole/
  14. self-extractors_raven/
  15. slider/
  16. uwb/
  17. whitefin/
  18. .clang-format
  19. Android.bp
  20. Android.mk
  21. AndroidProducts.mk
  22. aosp_oriole.mk
  23. aosp_oriole_64.mk
  24. aosp_oriole_hwasan.mk
  25. aosp_oriole_pkvm.mk
  26. aosp_raven.mk
  27. aosp_raven_64.mk
  28. aosp_raven_hwasan.mk
  29. aosp_raven_pkvm.mk
  30. aosp_slider.mk
  31. aosp_slider_hwasan.mk
  32. aosp_whitefin.mk
  33. aosp_whitefin_64.mk
  34. aosp_whitefin_hwasan.mk
  35. aosp_whitefin_pkvm.mk
  36. bluetooth_power_limits_G9S9B_EU.csv
  37. bluetooth_power_limits_G9S9B_US.csv
  38. bluetooth_power_limits_GB7N6_EU.csv
  39. bluetooth_power_limits_GB7N6_US.csv
  40. bluetooth_power_limits_oriole.csv
  41. bluetooth_power_limits_oriole_jp.csv
  42. bluetooth_power_limits_raven.csv
  43. bluetooth_power_limits_raven_eu.csv
  44. bluetooth_power_limits_raven_jp.csv
  45. bluetooth_power_limits_raven_us.csv
  46. board-info.txt
  47. CleanSpec.mk
  48. device-oriole.mk
  49. device-raven.mk
  50. device-slider.mk
  51. device-whitefin.mk
  52. factory_oriole.mk
  53. factory_raven.mk
  54. factory_slider.mk
  55. factory_whitefin.mk
  56. full_slider.mk
  57. init.insmod.oriole.cfg
  58. init.insmod.raven.cfg
  59. init.insmod.slider.cfg
  60. init.insmod.whitefin.cfg
  61. media_codecs_dolby_c2.xml
  62. media_profiles_oriole.xml
  63. media_profiles_raven.xml
  64. media_profiles_slider.xml
  65. media_profiles_whitefin.xml
  66. NOTICE
  67. OWNERS
  68. powerhint-oriole.json
  69. powerhint-raven.json
  70. powerhint-slider.json
  71. powerhint-whitefin.json
  72. thermal_info_config_charge_oriole.json
  73. thermal_info_config_charge_raven.json
  74. thermal_info_config_oriole.json
  75. thermal_info_config_oriole_WHI_A.json
  76. thermal_info_config_raven.json
  77. thermal_info_config_slider.json
  78. thermal_info_config_whitefin.json