Files
frameworks_base/core/java/android
Remi NGUYEN VAN a24a9f710e 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
(clean cherry-pick from internal branch)
Merged-In: I04058a007f2dfe1044cabeb3ac508404873665ad

Change-Id: I0e626d871176112a8575d629a05cb7a935b577a6
2020-03-23 03:25:51 +00:00
..
2020-03-23 11:28:56 +09:00
2020-03-11 02:51:25 +00:00
2020-01-28 13:49:48 +00:00
2020-03-13 03:06:12 -07:00