summaryrefslogtreecommitdiff
path: root/libs/androidfw/PathUtils.cpp
diff options
context:
space:
mode:
author Winni Chang <winnichang@google.com> 2023-08-24 14:42:17 +0800
committer Winni Chang <winnichang@google.com> 2024-05-06 09:24:09 +0000
commit01ee9f9666a2ec03e2e0ff20771634316b46df3f (patch)
tree554e3cc923be320a4d23751a240168191b4cafab /libs/androidfw/PathUtils.cpp
parent3814571e9dfc9b450359f3950beccaf283651e1b (diff)
Add delay for switching eARC to ARC
Certain eARC devices need to wait for eARC timeout to enter ARC mode. If there is no delay for these devices, devices would answer <Request ARC Initiated> with <Feature Abort> [Not in correct mode to respond]. [Solution] Add delay when switching eARC mode from eARC to ARC. The reason for 500ms is as follows. TeARC_LOST_HEARTBEAT 120-130ms timeout starting from last received heartbeat to entering [RX DISC1] state 130ms is max time for AVR to leave RX_eARC TeARC_RX_TIMEOUT 250-300ms Heartbeat timeout startingfrom entry into [RX IDLE1] state @ eARC RX 300ms is max time for AVR to give up waiting for next heartbeat start In total this means a max. total timeout of 430 ms. That's why we delay ARC initiation by 500 ms. Bug: 253387972 (cherry picked from https://keystone-mtk-review.git.corp.google.com/c/platform/frameworks/base/+/135980) Change-Id: Idd9221f206144e04241a70af9ca7529a20913adb
Diffstat (limited to 'libs/androidfw/PathUtils.cpp')
0 files changed, 0 insertions, 0 deletions