summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2020-11-16 16:05:44 +0900
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-02-09 20:18:10 +0000
commit531c1795567e13b4d55eb447db51561986cbc874 (patch)
tree3fcfe5b549a1e082c05a5d29148aa55b167f405c /graphics/java/android/renderscript/ProgramVertexFixedFunction.java
parentd864955916540d87d91344e61f4e05db7b80728b (diff)
Simplify MockVpn.
This CL removes four methods in MockVpn by slightly changing the test code to leverage the actual methods implemented by the (production) Vpn superclass. This works because setting mInterface results in isRunningLocked() returning true, which makes a number of methods behave as if the VPN is connected (which is what the test expects). The more realistic behaviour exposes a minor bug in the treatment of underlying networks. Add a TODO to fix it. Bug: 172870110 Test: test-only change Change-Id: I49421183538ba61ca790af71e309ece36b653bf9 Merged-In: I49421183538ba61ca790af71e309ece36b653bf9 (cherry picked from commit 9ededd8476680d40b0b0d5b21e3a4bc0d743adae)
Diffstat (limited to 'graphics/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions