diff options
author | Cody Kesting <ckesting@google.com> | 2021-02-04 23:02:28 -0800 |
---|---|---|
committer | Cody Kesting <ckesting@google.com> | 2021-02-16 09:46:07 -0800 |
commit | a282ea505f83412c4c4a188055119c3cc665cb0a (patch) | |
tree | 16f03998d32fc801f26dc69cd031a7376e309574 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 6d3bd2dca6fa62cccca67daefd80d7d57e9f069e (diff) |
Implement Safemode alarm in VcnGatewayConnection.
This CL updates VcnGatewayConnection to use WakeupMessages to support
Safemode detection. Safemode is entered if the VcnGatewayConnection
instance takes more than SAFEMODE_TIMEOUT_SECONDS seconds to a) go from
DisconnectedState to ConnectedState, or b) exit and re-enter
ConnectedState. If this timeout is exceeded, the instance will notify
its managing Vcn via VcnGatewayStatusCallback#onEnteredSafemode.
Bug: 178140973
Test: atest FrameworksVcnTests
Change-Id: Iff40aba639b465c3959ef383f1001be419daba4d
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions