summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2019-04-28 00:55:19 +0900
committerLorenzo Colitti <lorenzo@google.com>2019-05-09 17:58:48 +0900
commit62f3e53f68d15b4fc4d9f28dea2867983acc0dc8 (patch)
tree2ad31c5f76beb9fe0547224052e88d55f54ce06f /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parente9da42203f6d9d375cc813be817e5338c8226c6d (diff)
Add tests for strict mode private DNS validation.
Test successful and failed validation, and updating the config. In order to do this, add a FakeDns class so we can change DNS responses dynamically while the test is running. Also a couple of minor fixes: 1. Make sure the DNS timeout is set. Before this CL, it was always 0. Not sure why. It does seem to be set to the default value (12500) when actually running on device. We didn't catch this because the only tests that use the timeout set it explicitly. 2. Make runNetworkTest a bit more realistic: always send NetworkCapabilities *before* calling notifyNetworkConnected. This is what ConnectivityService does. Bug: 122652057 Test: atest FrameworksNetTests NetworkStackTests Test: atest --generate-new-metrics 50 NetworkStackTests:com.android.server.connectivity.NetworkMonitorTest Change-Id: Ifd6694262501874f3261c864a049cb35c6afb9c8
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions