Migrate CTS to separate broadcast to scan volume.

It can't sent MEDIA_MOUNTED via the shell, so let's use a separate
broadcast.  Also improve robustness of several tests.

Bug: 123251175
Test: atest cts/tests/tests/media/src/android/media/cts/MediaScanner*
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: I05755eebc3a95d9091b0ca31c79a3962805179fd
2 files changed