diff options
| author | Jeff Vander Stoep <jeffv@google.com> | 2019-09-26 13:56:50 +0200 | 
|---|---|---|
| committer | Jeff Vander Stoep <jeffv@google.com> | 2019-09-30 12:46:03 +0200 | 
| commit | 59940afb16782d2cad2a7a1adbe653c2f5eb9812 (patch) | |
| tree | d79f543ab1fd5aa1a138e722b474fb23af38a5b2 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
| parent | 5d8d5f9af7fe035d3eab91f8cd4184c3fe986373 (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
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions
