aboutsummaryrefslogtreecommitdiff
path: root/TestMediaApp/src/com
AgeCommit message (Collapse)Author
2019-11-08Merge "Add untagged root node type as error case" into pi-car-devTreeHugger Robot
2019-10-31Add untagged root node type as error caseSimon Dai
Bug: 142157597 Test: Manual Change-Id: I71d13017411ab630669831d50d6a0bf94b74f08b
2019-10-28Merge "Fix null rootHints" into pi-car-devTreeHugger Robot
2019-10-28Fix null rootHintsYabin Huang
1.Create media browser with art size extra 2.Log the client name when rootHints is null Bug: 143305459 Test: manual Change-Id: I11ba78e3451ee8688b3c4e80e087a8f5399b8073
2019-10-25Add option for a single tab under the rootArnaud Berry
Test: manual Change-Id: Ib663a9026fdf037d4ace9169ece28f94bf447079
2019-10-23Add the option to create local files for the album artArnaud Berry
The data for those files still comes from the application's assets, but this illustrates what to do with bytes that would be received from a remote uri. Test: manual Change-Id: I5fa590d632df477df215231319e40bd05f5eb90b
2019-10-10Log the EXTRA_MEDIA_ART_SIZE_HINT_PIXELS value in onGetRootArnaud Berry
Shows apps how to retrieve the recommended bitmap size. Test: manual Change-Id: Iafe5fd211bd227454685212f52aad40fb392f3e8
2019-10-08Add initial playback state, and support prepare()Simon Dai
Test: Manual Change-Id: I7ea12ccf50420c07e9468225955f9e88ab003b77
2019-10-04Merge "Reset the state properly when logout" into pi-car-devYabin Huang
2019-10-04Enable AA for multiple browse servicesJay Sebastian
Add extra to enable AA to work with a media session in a package with multiple browse services. Test: manually with AAP Change-Id: Ibd84c51cba7890bff9a70ba73cacb9782334a416
2019-10-03Reset the state properly when logoutYabin Huang
This CL resets the metadata to be null and stop the ongoing playback when logout Fixes: 141892268 Test: manual Change-Id: Id78b168f8ce8da931e7c92983722a83a4403a629
2019-10-02Create unbundled gradle project, and make the app work with AutoArnaud Berry
Removed dependencies on other repositories so that the tests repository can be checked out and built independently with Android Studio. Test: manual Change-Id: If499e0510ffd5071dd674a66d74f378994b7c1f6
2019-09-26Handle prepare() in test media appSimon Dai
Now prepares the first playable item (in root) for playback Test: Manual Change-Id: I647c1ed518eb672bc89ad831daaedb6817c7b588
2019-09-24Add some test cases in test media appYabin Huang
Fixes: 139295650 Test: manual Change-Id: I4c2443992fe0fa7e9a21397aa1c47ba9ce62579f
2019-09-18Simulate blutooth case of having a playable queue without browse itemsArnaud Berry
Test: manual Change-Id: Ib47544cb340c0a17fc2bfea3f527a6fd51d93f16
2019-09-10Remove use of class hidden in masterAurimas Liutikas
Change-Id: I05cbd07d2488add544cf7b7ddf450455136ba49e
2019-08-30Add pref to control the new delay in TmaAssetProvider#openAssetFileArnaud Berry
Bug: 140314643 Test: manual Change-Id: I636e649435543adc073102de4eea130985eeca57
2019-08-20Add second media service so we can test both vector and non vector iconsArnaud Berry
When flagging is enabled, the Media center highlights the bitmap icon. Test: manual Change-Id: Ieda0a335819d64b9fb6d8dda486a9e79e6a9627c
2019-08-13Add ability to throw exceptions when playing media itemsArnaud Berry
Test: manual Change-Id: I94a1a08e601bda8750797e5d1b20a04e93471382
2019-08-08Support resource uris and use them for some media itemsArnaud Berry
Also add a rectangular vector icon. Test: manual Change-Id: I2bce9136310f5bfad8f061e15a72995e9152af9c
2019-07-31Fix a crash when a given media item is not foundYabin Huang
Fixes: 138455442 Test: manual Change-Id: Ib71832a8d04ed721f779a1505332684aa7d11342
2019-07-03TestMedia: prev/next + queue + one custom actionarnaudberry
The prev / next actions are now implemented. The queue shows the content of the active item's parent node The heart ++/-- custom actions is set on the Advanced/Custom Action item, it uses a vector drawable and a png to check the Media center's icon bitmap flagging logic. Test: manual Change-Id: Ib97d17551908f34e461aa9ae3cb2c860b260b8ca
2019-07-01Remove previous EventTrigger callback when playing a new media itemYabin Huang
Fixes: 136506990 Test: manual Change-Id: I4db061590f66b0549982919183091fa6bacb2d65
2019-06-26Add search to test media appSimon Dai
Bug: 134767149 Test: Manual Change-Id: Ia129a0f71f4f17222d7c44ced87cd182a77d3dd3
2019-05-30Add artwork supportArnaud Berry
Added various resolution bitmaps and media items referencing them. Also added missing launcher icons. I took the photos myself so there's no previous copyright on them. Test: manual Change-Id: I4fe550bb2c55e246683e3242d776fe514059b891
2019-05-21Create Test Media AppArnaud Berry
This application is intended to help test the Car/Media app by making it easy to send it media items and playback states. Those media items are bundled within the assets of the TestMediaApp, as very readable json files. Quick overview: - loader package interprets the json files - prefs package implements the app's preferences (account type, root node, reply delay) - TmaBrowser implements the MediaBrowserService. It send replies based on the content of the prefs and the json files - TmaLibrary caches the interpreted files - TmaPlayer simulates all media interactions (without playing any sound) - TmaMediaItem represents the media items of the test app - TmaMediaEvent represents playback events to send to the media session Test: manual Change-Id: I5f4e6c537d8d0e49d4f5a1dc958e73722b78534e