diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2020-12-15 11:02:22 +0900 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2020-12-15 21:10:36 +0900 |
commit | de7f7447d587f2a34312ca9154b63474b6002147 (patch) | |
tree | 408c4d5c2d5e58812a477f1262b4d0f805598fe6 /rs/java/android/renderscript/ProgramStore.java | |
parent | 42a97894cd1f8746c8e150362784253af8523733 (diff) |
Allow ConnectivityServiceTest to change the calling UID.
Allow ConnectivityServiceTest to change the UID by replacing
static calls to Binder.getCallingUid() with a method that can
be mocked.
Add registerNetworkCallbackAsUid as an initial way to exercise
this, and add some test coverage to the always-on lockdown test
to confirm that things are working as expected.
Bug: 173331190
Test: new unit tests
Change-Id: Ie0b32460e20e5906a0f479191e11a062f21cc608
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions