summaryrefslogtreecommitdiff
path: root/src/com/android/server/NetworkStackService.java
diff options
context:
space:
mode:
authorRemi NGUYEN VAN <reminv@google.com>2020-05-15 08:21:05 +0000
committerRemi NGUYEN VAN <reminv@google.com>2020-05-15 10:49:34 +0000
commit9eb5c2c37c3a6ee41fbe7735c343f569c775ced7 (patch)
tree0560fee06d9bf5c7a3380486662bb5a568549966 /src/com/android/server/NetworkStackService.java
parent473501ff1662c4f5a35f5d4e0b39e4a6e3c86e66 (diff)
Do not mock shim in TcpSocketTrackerTest
Instead of mocking the shim, the test needs to run only on platforms that support the feature, and can provide test versions of the underlying objects (here Network). Also move the SDK version check to TcpSocketTracker itself, as users of TcpSocketTracker should not be able to set isTcpInfoParsingSupported to true on Q. Bug: 143586229 Test: atest NetworkStackTests NetworkStackNextTests on Q and R Change-Id: I580ae9ded468d3f08da336b160596484938bf2a5 Merged-In: I580ae9ded468d3f08da336b160596484938bf2a5 (cherry picked from commit 3ad1d5f0fbfff40d3dc66c3c68f103a9b2d3f5ef)
Diffstat (limited to 'src/com/android/server/NetworkStackService.java')
0 files changed, 0 insertions, 0 deletions