Add mockService method.

Add a mockService method to support the common usage that requires
mocking the system service from with a mock context.

Bug: 231373589
Test: atest FrameworksNetTests
Change-Id: Id17af4027a019834c1779be550f4329b1edd6809
1 file changed
tree: 86912f78b1bb230acc885b3227f1ae65fd501a9f
  1. staticlibs/