Home
last modified time | relevance | path

Searched refs:MockInjector (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceTestable.java70 public final MockInjector mMockInjector;
73 this(new MockInjector(services, context), services.pathProvider); in DevicePolicyManagerServiceTestable()
77 MockInjector injector, PolicyPathProvider pathProvider) { in DevicePolicyManagerServiceTestable()
88 private static MockInjector unregisterLocalServices(MockInjector injector) { in unregisterLocalServices()
107 static class MockInjector extends Injector { class in DevicePolicyManagerServiceTestable
120 public MockInjector(MockSystemServices services, DpmMockContext context) { in MockInjector() method in DevicePolicyManagerServiceTestable.MockInjector
DTransferOwnershipMetadataManagerTest.java71 private MockInjector mMockInjector;
75 mMockInjector = new MockInjector(); in setUp()
149 static class MockInjector extends Injector { class in TransferOwnershipMetadataManagerTest
/frameworks/base/services/tests/servicestests/src/com/android/server/recoverysystem/
DRecoverySystemServiceTestable.java28 private static class MockInjector extends RecoverySystemService.Injector { class in RecoverySystemServiceTestable
38 MockInjector(Context context, FakeSystemProperties systemProperties, in MockInjector() method in RecoverySystemServiceTestable.MockInjector
152 super(new MockInjector(context, systemProperties, powerManager, uncryptPackageFileWriter, in RecoverySystemServiceTestable()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsServiceTestable.java50 public static class MockInjector extends LockSettingsService.Injector { class in LockSettingsServiceTestable
64 public MockInjector(Context context, LockSettingsStorage storage, in MockInjector() method in LockSettingsServiceTestable.MockInjector
DBaseLockSettingsServiceTests.java115 LockSettingsServiceTestable.MockInjector mInjector;
163 new LockSettingsServiceTestable.MockInjector( in setUp_baseServices()
DRebootEscrowManagerTests.java124 private MockInjector mMockInjector;
137 static class MockInjector extends RebootEscrowManager.Injector { class in RebootEscrowManagerTests
150 MockInjector( in MockInjector() method in RebootEscrowManagerTests.MockInjector
177 MockInjector( in MockInjector() method in RebootEscrowManagerTests.MockInjector
351 new MockInjector( in setUp_baseServices()
367 new MockInjector( in setServerBasedRebootEscrowProvider()
/frameworks/base/services/tests/servicestests/src/com/android/server/apphibernation/
DAppHibernationServiceTest.java134 mAppHibernationService = new AppHibernationService(new MockInjector(mContext)); in setUp()
539 private class MockInjector implements AppHibernationService.Injector { class in AppHibernationServiceTest
542 MockInjector(Context context) { in MockInjector() method in AppHibernationServiceTest.MockInjector
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/trust/
DTrustManagerServiceTest.java226 mService = new TrustManagerService(mMockContext, new MockInjector(mMockContext)); in setUp()
237 private class MockInjector extends TrustManagerService.Injector { class in TrustManagerServiceTest
238 MockInjector(Context context) { in MockInjector() method in TrustManagerServiceTest.MockInjector
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBackgroundInstallControlServiceTest.java133 new BackgroundInstallControlService(new MockInjector(mContext)); in setUp()
1054 private class MockInjector implements BackgroundInstallControlService.Injector { class in BackgroundInstallControlServiceTest
1057 MockInjector(Context context) { in MockInjector() method in BackgroundInstallControlServiceTest.MockInjector