Commit Graph

3 Commits

Author SHA1 Message Date
Brett Chabot
073ffdd9fc Convert to androidx.test from android-support-test.
android-support-test has long been deprecated and unsupported,
and it causes problems having both androidx.test and
androiud.support.test included in one binary.

Bug: 172570181
Test: m -j NullHomeTest mediatunertest mediatranscodingtest mediaroutertest mediaframeworktest BluetoothMidiTests
Change-Id: If86f5634beab88db07656f743b19beddd9d77984
2020-11-05 10:28:43 -08:00
hkuang
ef9108a1de TranscodingAPI: Handling Transcding service crash.
Upon receiving a binder died event of the client
due to service crash, we will do the following:
 1) For the job that is running, notify the client
    that the job is failed with error code, so client
    could choose to retry the job or not.
 2) For the jobs that is still pending or paused,
    we will resubmit the job internally once we
    successfully reconnect to the service and
    register a new client.
 3) When trying to connect to the service and register
    a new client. The service may need time to reboot
    or never boot up again. So we will retry for a number
    of times. If we still could not connect, we will notify
    client job failure for the pending and paused jobs.

Bug: 161469320
Bug: 160260102
Test: Run the test with long clip and kill the service.
Change-Id: Idfd8dd0aae60b1dfd6c766552c71f07c60663918
2020-08-20 15:06:30 -07:00
hkuang
51703503e6 transcoding: Rework mediatranscoding test.
Create a sperate directory for all tests associated with
mediatranscoding.
This CL is a preparation of hooking with actual service,
adding perf benchamrk, power measurement.

Bug: 145628554
Test: MediaTranscodingTest.

Change-Id: Ifcdb26eae2e71599e2e19bb92b991f88809ec5e0
2020-06-02 15:25:00 -07:00