Config dex2oat according to thermal status

Config dex2oat cpuset and thread count according to thermal status.

LIGHT cpuset = 0,1,2,3,4,5 thread = 6
MODERATE cpuset = 0,1,2,3 thread = 4
SEVERE cpuset = 0,1,2,3 thread = 4
CRITICAL cpuset = 0,1,2,3 thread = 2
EMERGENCY cpuset = 0,1,2,3 thread = 1

Bug: 242948832
Test: build pass
Change-Id: I96d7f010254f8c3d826ed09da18e32d6055d4bb5
2 files changed
tree: b60a44d5d519d35221f9dd55d51a0d41daa01f7b
  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. powerhint-oriole.json
  68. powerhint-raven.json
  69. powerhint-slider.json
  70. powerhint-whitefin.json
  71. thermal_info_config_charge_oriole.json
  72. thermal_info_config_charge_raven.json
  73. thermal_info_config_oriole.json
  74. thermal_info_config_oriole_WHI_A.json
  75. thermal_info_config_raven.json
  76. thermal_info_config_slider.json
  77. thermal_info_config_whitefin.json