/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerServiceTestable.java | 70 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
|
D | TransferOwnershipMetadataManagerTest.java | 71 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/ |
D | RecoverySystemServiceTestable.java | 28 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/ |
D | LockSettingsServiceTestable.java | 50 public static class MockInjector extends LockSettingsService.Injector { class in LockSettingsServiceTestable 64 public MockInjector(Context context, LockSettingsStorage storage, in MockInjector() method in LockSettingsServiceTestable.MockInjector
|
D | BaseLockSettingsServiceTests.java | 115 LockSettingsServiceTestable.MockInjector mInjector; 163 new LockSettingsServiceTestable.MockInjector( in setUp_baseServices()
|
D | RebootEscrowManagerTests.java | 124 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/ |
D | AppHibernationServiceTest.java | 134 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/ |
D | TrustManagerServiceTest.java | 226 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/ |
D | BackgroundInstallControlServiceTest.java | 133 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
|