summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorJeff Vander Stoep <jeffv@google.com>2019-09-26 13:56:50 +0200
committerJeffrey Vander Stoep <jeffv@google.com>2019-10-17 09:22:24 +0000
commitcc7e09cbc2d52dcccc2a0747c9474d00dca6ca41 (patch)
tree2461500a8fde99a4945b8097d33136940e512441 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent3008bb66c506afbc5cb051e6a44afa85bb710078 (diff)
Fix FD leak in ConnectivityManager.getConnectionOwnerUid
Add unit tests to verify that bug has been fixed. Re-enable testGetConnectionOwnerUid() unit tests in presubmit. These were disabled due to test flakiness caused by expected failures passing as a result of other sockets on the system. This is fixed by checking that failures do not have the UID of the calling process instead of INVALID_UID since previously some Qualcomm telephony sockets were causing lookup successes. Test: atest InetDiagSocketTest#testGetConnectionOwnerUid Test: ls -1 /proc/<pid of system_server>/fd | wca Test: atest --generate-new-metrics 200 InetDiagSocketTest#testGetConnectionOwnerUid To verify flakes have been cleaned up. Bug: 141603906 Bug: 141459241 Change-Id: Ib76674f10e4bd24952c557bac7b9c65fba42fdb2 Merged-In: Ib76674f10e4bd24952c557bac7b9c65fba42fdb2 (cherry picked from commit 59940afb16782d2cad2a7a1adbe653c2f5eb9812) Clean cherry pick.
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions