summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorjunyulai <junyulai@google.com>2019-04-09 14:37:35 +0800
committerjunyulai <junyulai@google.com>2019-04-15 17:44:48 +0800
commit0535295bb99f849d327b3d33cfc97114e8f078e5 (patch)
tree30133cb20b7f0f4cda6a8bf6b62a1cea08a5b06b /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent130b5bf146cfe7bc4684eef15661893dd57cf64f (diff)
Release keepalive slot after stopped
Currntly, keepalive slot is released when stop() is called. Next starting keepalive can use the same slot number while previous keepalive is still stopping. When the previous keepalive is stopped, the incoming as will be processed by the new keepalive. This change release keepalive slot after the result of stopping has returned. Thus, newly created keepalive cannot allocate the same slot number while lower layer is still processing stop event. This change also disable flaky assertions that are caused by test port has been occupied by other process. Bug: 129512753 Test: 1. atest com.android.server.ConnectivityServiceTest \ #testNattSocketKeepalives --generate-new-metrics 100 2. atest FrameworksNetTests --generate-new-metrics 10 3. simulate the fail case manually. Change-Id: I1991627545519ee5cb408a3df3a006f710f4af7b
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions