/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | PersistentDataStoreTest.java | 46 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
|
D | AmbientBrightnessStatsTrackerTest.java | 49 private TestInjector mTestInjector; 53 mTestInjector = new TestInjector(); in setUp() 397 private class TestInjector extends AmbientBrightnessStatsTracker.Injector { class in AmbientBrightnessStatsTrackerTest
|
D | BrightnessTrackerTest.java | 84 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/ |
D | AppRestrictionsHelperTest.java | 62 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/ |
D | CoreSettingsObserverTest.java | 93 mAms = new ActivityManagerService(new TestInjector()); in setUp() 157 private class TestInjector extends Injector { class in CoreSettingsObserverTest
|
D | UserControllerTest.java | 121 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
|
D | ActivityManagerServiceTest.java | 121 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/ |
D | KernelSingleUidTimeReaderTest.java | 50 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/ |
D | CrossProfileAppsServiceImplTest.java | 80 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/ |
D | ActivityTestsBase.java | 105 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/ |
D | AppCompactorTest.java | 72 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/ |
D | IntentForwarderActivityTest.java | 124 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/ |
D | AccountManagerServiceTest.java | 129 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
|