Disallow PowerManager and AppHibernationManager to be missing.

We can safely assume that PowerManager and AppHibernationManager always
exist because:
- PowerManager is available once PowerManagerService and
  ThermalManagerService are initialized.
- AppHibernationManager is available once AppHibernationService is
  initialized.
- PowerManagerService, ThermalManagerService, and AppHibernationService
  are all initialized before ArtManagerLocal, and the initializations
  are blocking.

Bug: 244289352
Test: manual - call `optimizePackage` in `ArtManagerLocal` constructor
  and see the optimization successful.
Ignore-AOSP-First: ART Services
Change-Id: I0c307fac2772fec3d8a0383f99e6cfb78163cb61
2 files changed