Use cmdline gc-type and phenotype to decide which GC to run

Bug: 242553398
Bug: 160737021
Test: manual with android builds and module installations
Change-Id: Icfc25058e669406a0c3eb178376db8041e11c27b
(cherry picked from commit 0ec131e448a446926bd49a80480a357329f2603a)
Merged-In: Icfc25058e669406a0c3eb178376db8041e11c27b
3 files changed