Vts: refactor decoder code

1. add support use mime to select component instead of component name
2. move GetURL functions to class

Test: atest VtsHalMediaC2V1_0TargetVideoDecTest
Test: atest VtsHalMediaC2V1_0TargetAudioDecTest
Bug: 183454262

Change-Id: I2d6bb3874ec9850e53431be584b7a7e343556009
2 files changed