Push global device state to OomAdjuster

As part of the effort to refactor the OomAdjuster API surface, all
pulled state will be migrated to a pushed model. This CL deals with the
general global device states.

Flag: com.android.server.am.push_global_state_to_oomadjuster
Bug: 302575389
Bug: 346822474
Test: atest MockingOomAdjusterTests
Change-Id: I3f5144ab0472a42aef0f0ddaad7058ca5c31feb7
3 files changed