summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorhkuang <hkuang@google.com>2020-08-06 20:19:31 -0700
committerhkuang <hkuang@google.com>2020-08-20 15:06:30 -0700
commitef9108a1de75f2ea61c3b8dfea815885149940e4 (patch)
tree11088ddba3fb1ea44daf97342d67357641616e2b /tools/aapt2/java/JavaClassGenerator.cpp
parent8fd758e5684b8db59892921c62131d45704899cd (diff)
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions