diff options
author | Remi NGUYEN VAN <reminv@google.com> | 2020-03-19 11:25:50 +0900 |
---|---|---|
committer | Remi NGUYEN VAN <reminv@google.com> | 2020-03-19 11:25:50 +0900 |
commit | fc9119df29f67d70c887a67e08ea510d48b5a124 (patch) | |
tree | 2589b6216a40ce4d3ed2e8484b8203025d1912eb /tools/aapt2/java/AnnotationProcessor_test.cpp | |
parent | 438018d1c0a3039fada617c5f4d06ca783842088 (diff) |
Add a test API for testing NetworkStack.getService
NetworkStack.getService was introduced to avoid relying on
Context#getSystemService to obtain the NetworkStack binder token.
To allow it to be mocked in tests, a method is introduced to allow tests
to specify a mock NetworkStack token for their own process.
Test: atest NetworkStackTests, using the change
Bug: 151243982
Change-Id: I04058a007f2dfe1044cabeb3ac508404873665ad
Diffstat (limited to 'tools/aapt2/java/AnnotationProcessor_test.cpp')
0 files changed, 0 insertions, 0 deletions