Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DPersistentDataStoreTest.java48 private TestInjector mInjector;
52 mInjector = new TestInjector(); in setUp()
164 TestInjector newInjector = new TestInjector(); in testStoreAndReloadOfBrightnessConfigurations()
191 public class TestInjector extends PersistentDataStore.Injector { class in PersistentDataStoreTest
DAmbientBrightnessStatsTrackerTest.java48 private TestInjector mTestInjector;
52 mTestInjector = new TestInjector(); in setUp()
396 private class TestInjector extends AmbientBrightnessStatsTracker.Injector { class in AmbientBrightnessStatsTrackerTest
DBrightnessTrackerTest.java77 private TestInjector mInjector;
97 mInjector = new TestInjector(ensureHandler()); in setUp()
706 private class TestInjector extends BrightnessTracker.Injector { class in BrightnessTrackerTest
719 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()
262 private class TestInjector extends AppRestrictionsHelper.Injector { class in AppRestrictionsHelperTest
265 TestInjector() { in TestInjector() method in AppRestrictionsHelperTest.TestInjector
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DCoreSettingsObserverTest.java103 mAms = new ActivityManagerService(new TestInjector()); in setUp()
146 private class TestInjector extends Injector { class in CoreSettingsObserverTest
DUserControllerTest.java82 private TestInjector mInjector;
107 mInjector = Mockito.spy(new TestInjector(getContext())); in setUp()
323 public static class TestInjector extends UserController.Injector { class in UserControllerTest
333 TestInjector(Context ctx) { in TestInjector() method in UserControllerTest.TestInjector
DActivityManagerServiceTest.java126 private TestInjector mInjector;
138 mInjector = new TestInjector(); in setUp()
806 private class TestInjector extends Injector { class in ActivityManagerServiceTest
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelSingleUidTimeReaderTest.java46 private TestInjector mInjector;
50 mInjector = new TestInjector(); in setUp()
273 class TestInjector extends Injector { class in KernelSingleUidTimeReaderTest
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DCrossProfileAppsServiceImplTest.java76 private TestInjector mTestInjector;
85 mTestInjector = new TestInjector(); in initCrossProfileAppsServiceImpl()
375 private class TestInjector implements CrossProfileAppsServiceImpl.Injector { class in CrossProfileAppsServiceImplTest
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java95 sInjector = new TestInjector(); in setup()
279 class TestInjector implements IntentForwarderActivity.Injector { class in IntentForwarderActivityTest
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java130 private TestInjector mTestInjector;
165 mTestInjector = new TestInjector(realTestContext, mockContext, mMockNotificationManager); in setUp()
3281 static class TestInjector extends AccountManagerService.Injector { class in AccountManagerServiceTest
3284 TestInjector(Context realContext, in TestInjector() method in AccountManagerServiceTest.TestInjector