Loading services/tests/servicestests/src/com/android/server/usage/AppStandbyControllerTests.java +1 −0 Original line number Diff line number Diff line Loading @@ -489,6 +489,7 @@ public class AppStandbyControllerTests { @Before public void setUp() throws Exception { LocalServices.removeServiceForTest(UsageStatsManagerInternal.class); LocalServices.addService( UsageStatsManagerInternal.class, mock(UsageStatsManagerInternal.class)); MyContextWrapper myContext = new MyContextWrapper(InstrumentationRegistry.getContext()); Loading Loading
services/tests/servicestests/src/com/android/server/usage/AppStandbyControllerTests.java +1 −0 Original line number Diff line number Diff line Loading @@ -489,6 +489,7 @@ public class AppStandbyControllerTests { @Before public void setUp() throws Exception { LocalServices.removeServiceForTest(UsageStatsManagerInternal.class); LocalServices.addService( UsageStatsManagerInternal.class, mock(UsageStatsManagerInternal.class)); MyContextWrapper myContext = new MyContextWrapper(InstrumentationRegistry.getContext()); Loading