Home
last modified time | relevance | path

Searched refs:TestInjector (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DPersistentDataStoreTest.java46 private TestInjector mInjector;
50 mInjector = new TestInjector(); in setUp()
162 TestInjector newInjector = new TestInjector(); in testStoreAndReloadOfBrightnessConfigurations()
189 public class TestInjector extends PersistentDataStore.Injector { class in PersistentDataStoreTest
DAmbientBrightnessStatsTrackerTest.java49 private TestInjector mTestInjector;
53 mTestInjector = new TestInjector(); in setUp()
397 private class TestInjector extends AmbientBrightnessStatsTracker.Injector { class in AmbientBrightnessStatsTrackerTest
DBrightnessTrackerTest.java84 private TestInjector mInjector;
106 mInjector = new TestInjector(ensureHandler()); in setUp()
810 private class TestInjector extends BrightnessTracker.Injector { class in BrightnessTrackerTest
830 public TestInjector(Handler handler) { in TestInjector() method in BrightnessTrackerTest.TestInjector
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/
DAppRestrictionsHelperTest.java62 private TestInjector mInjector;
74 mInjector = new TestInjector(); in setUp()
263 private class TestInjector extends AppRestrictionsHelper.Injector { class in AppRestrictionsHelperTest
266 TestInjector() { in TestInjector() method in AppRestrictionsHelperTest.TestInjector
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DCoreSettingsObserverTest.java93 mAms = new ActivityManagerService(new TestInjector()); in setUp()
157 private class TestInjector extends Injector { class in CoreSettingsObserverTest
DUserControllerTest.java121 private TestInjector mInjector;
147 mInjector = spy(new TestInjector(getInstrumentation().getTargetContext())); in setUp()
537 private static class TestInjector extends UserController.Injector { class in UserControllerTest
551 TestInjector(Context ctx) { in TestInjector() method in UserControllerTest.TestInjector
DActivityManagerServiceTest.java121 private TestInjector mInjector;
133 mInjector = new TestInjector(); in setUp()
928 private class TestInjector extends Injector { class in ActivityManagerServiceTest
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelSingleUidTimeReaderTest.java50 private TestInjector mInjector;
64 mInjector = new TestInjector(); in setUp()
287 class TestInjector extends Injector { class in KernelSingleUidTimeReaderTest
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DCrossProfileAppsServiceImplTest.java80 private TestInjector mTestInjector;
89 mTestInjector = new TestInjector(); in initCrossProfileAppsServiceImpl()
516 private class TestInjector implements CrossProfileAppsServiceImpl.Injector { class in CrossProfileAppsServiceImplTest
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTestsBase.java105 final TestInjector mTestInjector = new TestInjector();
590 private static class TestInjector extends ActivityManagerService.Injector { class in ActivityTestsBase
634 TestActivityManagerService(TestInjector testInjector, TestActivityTaskManagerService atm) { in TestActivityManagerService()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DAppCompactorTest.java72 ActivityManagerService ams = new ActivityManagerService(new TestInjector()); in setUp()
648 private class TestInjector extends Injector { class in AppCompactorTest
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java124 sInjector = spy(new TestInjector()); in setup()
634 public class TestInjector implements IntentForwarderActivity.Injector { class in IntentForwarderActivityTest
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java129 private TestInjector mTestInjector;
167 mTestInjector = new TestInjector(realTestContext, mockContext, mMockNotificationManager); in setUp()
3304 static class TestInjector extends AccountManagerService.Injector { class in AccountManagerServiceTest
3307 TestInjector(Context realContext, in TestInjector() method in AccountManagerServiceTest.TestInjector