Add ContextUtils

Some tests need to create a Context with assigned user and
should delegate to orignal Context. Thus, add
ContextUtils#mockContextAsUser to factorize the usage.

Bug: 170593746
Test: atest FrameworksNetTests
Change-Id: I93f64a141709e181276ed4b5195811c36100c1d0
1 file changed
tree: 230f8c4dcca54be2f7e2693f260214ec8caa2025
  1. staticlibs/