summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2021-02-04 01:47:38 +0900
committerLorenzo Colitti <lorenzo@google.com>2021-02-04 04:19:28 +0000
commitb7e9f5b1cad7d0a0ecde00e7c50d728bd7d8cd50 (patch)
treee1e3d70893367da33d72e33d5163b3147310962c /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent9a59faa385d9ff31dd7d309b38fee9ea0e4647b3 (diff)
Improve getConnectionOwnerUid tests.
Currently, the tests only check whether the method throws a SecurityException or not. Also check the return value of the call, by mocking out InetDiagMessage.getConnectionOwnerUid. This is required to test an upcoming change that will never throw SecurityException but always return INVALID_UID if the caller lacks permissions. Bug: 173331190 Test: test-only change Change-Id: I63f42a2f098fcf8796c9b4525a3a7b8320c0a139
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions