Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
H A DAuthBiometricViewTest.java85 initDialog(mContext, false /* allowDeviceCredential */, mCallback, new MockInjector()); in testOnAuthenticationSucceeded_noConfirmationRequired_sendsActionAuthenticated()
98 initDialog(mContext, false /* allowDeviceCredential */, mCallback, new MockInjector() { in testOnAuthenticationSucceeded_confirmationRequired_updatesDialogContents()
128 initDialog(mContext, false /* allowDeviceCredential */, mCallback, new MockInjector() { in testPositiveButton_sendsActionAuthenticated()
145 initDialog(mContext, false /* allowDeviceCredential */, mCallback, new MockInjector() { in testNegativeButton_beforeAuthentication_sendsActionButtonNegative()
163 initDialog(mContext, false /* allowDeviceCredential */, mCallback, new MockInjector() { in testCancelButton_whenPendingConfirmation_sendsActionUserCanceled()
188 initDialog(mContext, false /* allowDeviceCredential */, mCallback, new MockInjector() { in testTryAgainButton_sendsActionTryAgain()
205 initDialog(mContext, false /* allowDeviceCredential */, mCallback, new MockInjector()); in testError_sendsActionError()
313 new MockInjector() { in testRestoresState()
374 Bundle savedState, MockInjector injector) { in initDialog()
386 AuthBiometricView.Callback callback, MockInjector injector) { in initDialog()
[all …]
H A DAuthBiometricFaceToFingerprintViewTest.java269 super(context, null, new MockInjector()); in TestableView()
278 private class MockInjector extends AuthBiometricView.Injector { class in AuthBiometricFaceToFingerprintViewTest
H A DAuthContainerViewTest.java274 super(config, new MockInjector(), fpProps, faceProps); in TestableAuthContainer()
284 private final class MockInjector extends AuthContainerView.Injector { class in AuthContainerViewTest
/aosp12/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
H A DTelephonyProviderTestable.java42 private MockInjector mMockInjector;
45 this(new MockInjector()); in TelephonyProviderTestable()
48 private TelephonyProviderTestable(MockInjector mockInjector) { in TelephonyProviderTestable()
125 static class MockInjector extends Injector { class in TelephonyProviderTestable
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerServiceTestable.java72 services.activityManagerInternal, new MockInjector(services)); in OwnersTestable()
75 static class MockInjector extends Injector { class in DevicePolicyManagerServiceTestable.OwnersTestable
78 private MockInjector(MockSystemServices services) { in MockInjector() method in DevicePolicyManagerServiceTestable.OwnersTestable.MockInjector
95 protected final MockInjector mMockInjector;
98 this(new MockInjector(services, context)); in DevicePolicyManagerServiceTestable()
101 private DevicePolicyManagerServiceTestable(MockInjector injector) { in DevicePolicyManagerServiceTestable()
120 static class MockInjector extends Injector { class in DevicePolicyManagerServiceTestable
133 public MockInjector(MockSystemServices services, DpmMockContext context) { in MockInjector() method in DevicePolicyManagerServiceTestable.MockInjector
486 new TransferOwnershipMetadataManagerTest.MockInjector()); in newTransferOwnershipMetadataManager()
H A DTransferOwnershipMetadataManagerTest.java71 private MockInjector mMockInjector;
75 mMockInjector = new MockInjector(); in setUp()
149 static class MockInjector extends Injector { class in TransferOwnershipMetadataManagerTest
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DLockSettingsServiceTestable.java43 private static class MockInjector extends LockSettingsService.Injector { class in LockSettingsServiceTestable
56 public MockInjector(Context context, LockSettingsStorage storage, KeyStore keyStore, in MockInjector() method in LockSettingsServiceTestable.MockInjector
165 public MockInjector mInjector;
174 super(new MockInjector(context, storage, keystore, mActivityManager, in LockSettingsServiceTestable()
H A DRebootEscrowManagerTests.java115 private MockInjector mMockInjector;
126 static class MockInjector extends RebootEscrowManager.Injector { class in RebootEscrowManagerTests
136 MockInjector(Context context, UserManager userManager, in MockInjector() method in RebootEscrowManagerTests.MockInjector
158 MockInjector(Context context, UserManager userManager, in MockInjector() method in RebootEscrowManagerTests.MockInjector
291 mMockInjector = new MockInjector(mContext, mUserManager, mRebootEscrow, in setUp_baseServices()
297 mMockInjector = new MockInjector(mContext, mUserManager, mServiceConnection, in setServerBasedRebootEscrowProvider()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/recoverysystem/
H A 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()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/apphibernation/
H A DAppHibernationServiceTest.java121 mAppHibernationService = new AppHibernationService(new MockInjector(mContext)); in setUp()
433 private class MockInjector implements AppHibernationService.Injector { class in AppHibernationServiceTest
436 MockInjector(Context context) { in MockInjector() method in AppHibernationServiceTest.MockInjector