More media mainline module code separation

Bug: 245354160
Test: build & boot
Change-Id: I86270e3ab657411848e14af199cff2ccb77a6cf7
21 files changed