To test package orders, host side tests are added. AllowedPackages istested as well. Additionaly, RouteDiscoveryRequest#getRequiredFeatures is removed as it doesn't seem to be necessary. Adding tests, some bugs are found and fixed. Test: atest MediaRouter2HostTest android.media.cts.MediaRouter2Test MediaRouter2ManagerTest Bug: 193631822 Change-Id: I315d6e0d648777566404875e300030740a482c81
MediaFrameworkTest/
Uses instrumentation and so can be run with runtest.
It assumes /sdcard/media_api/ has been populated.
contents/media_api/
Push to /sdcard/media_api/ for use with MediaFrameworkTest:
adb shell mkdir /sdcard/media_api
adb push contents/media_api/ /sdcard/media_api/
All other subdirectories are manual tests or sample apps.