android_packages_modules_Co.../tests/unit/java
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Patrick Rohr 48ac9543c3 Remove unnecessary shutdown() calls
For some reason, I used to believe shutdown() was required for tun
interface fds. As it turns out, it isn't and throws an error every time
it is called:

    shutdown failed: ENOTSOCK (Socket operation on non-socket)

This change removes all calls to shutdown() including the shutdownRead()
and shutdownWrite() interface methods.

Test: TH
Flag: EXEMPT mainline
Bug: 1000001
Change-Id: I5a1716f82426b24db9e05367f82dc4080762e288
2025-04-16 15:16:05 -07:00
..
android packages/modules/Connectivity: remove usages of deprecated Mockito matchers 2025-03-10 02:16:21 +01:00
com/android Remove unnecessary shutdown() calls 2025-04-16 15:16:05 -07:00