Searched refs:Injector (Results 1 - 25 of 40) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/app/
H A DIntentForwarderActivity.java56 private Injector mInjector;
224 protected Injector createInjector() {
228 private class InjectorImpl implements Injector {
246 public interface Injector { interface in class:IntentForwarderActivity
/frameworks/base/core/java/com/android/internal/os/
H A DKernelSingleUidTimeReader.java65 private final Injector mInjector;
68 this(cpuFreqsCount, new Injector());
71 public KernelSingleUidTimeReader(int cpuFreqsCount, Injector injector) {
243 public static class Injector { class in class:KernelSingleUidTimeReader
/frameworks/base/services/core/java/com/android/server/pm/
H A DCrossProfileAppsServiceImpl.java52 private Injector mInjector;
59 CrossProfileAppsServiceImpl(Context context, Injector injector) {
197 private static class InjectorImpl implements Injector {
247 public interface Injector { interface in class:CrossProfileAppsServiceImpl
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DTransferOwnershipMetadataManager.java68 private final Injector mInjector;
71 this(new Injector());
75 TransferOwnershipMetadataManager(Injector injector) {
231 static class Injector { class in class:TransferOwnershipMetadataManager
H A DCertificateMonitor.java59 private final DevicePolicyManagerService.Injector mInjector;
63 final DevicePolicyManagerService.Injector injector, final Handler handler) {
H A DDeviceAdminServiceController.java55 private final DevicePolicyManagerService.Injector mInjector;
H A DOwners.java127 private final Injector mInjector;
132 this(userManager, userManagerInternal, packageManagerInternal, new Injector());
139 Injector injector) {
1036 public static class Injector { class in class:Owners
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DAppErrorDialogTest.java47 mService = new ActivityManagerService(new ActivityManagerService.Injector() {
H A DCoreSettingsObserverTest.java19 import static com.android.server.am.ActivityManagerService.Injector;
146 private class TestInjector extends Injector {
H A DActivityManagerInternalTest.java57 @Mock private ActivityManagerService.Injector mMockInjector;
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
H A DDisplayManagerServiceTest.java57 private final DisplayManagerService.Injector mShortMockedInjector =
58 new DisplayManagerService.Injector() {
70 private final DisplayManagerService.Injector mBasicInjector =
71 new DisplayManagerService.Injector() {
211 new DisplayManagerService.Injector() {
H A DPersistentDataStoreTest.java191 public class TestInjector extends PersistentDataStore.Injector {
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DTransferOwnershipMetadataManagerTest.java36 import com.android.server.devicepolicy.TransferOwnershipMetadataManager.Injector;
147 static class MockInjector extends Injector {
H A DDevicePolicyManagerServiceTestable.java69 static class MockInjector extends Injector {
114 static class MockInjector extends Injector {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
H A DAppRestrictionsHelper.java53 private final Injector mInjector;
66 this(new Injector(context, user));
70 AppRestrictionsHelper(Injector injector) {
390 static class Injector { class in class:AppRestrictionsHelper
394 Injector(Context context, UserHandle user) { method in class:AppRestrictionsHelper.Injector
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
H A DIntentForwarderActivityTest.java78 private static IntentForwarderActivity.Injector sInjector;
267 protected Injector createInjector() {
279 class TestInjector implements IntentForwarderActivity.Injector {
/frameworks/base/services/core/java/com/android/server/display/
H A DAmbientBrightnessStatsTracker.java63 private final Injector mInjector;
68 public AmbientBrightnessStatsTracker(UserManager userManager, @Nullable Injector injector) {
73 mInjector = new Injector();
346 static class Injector { class in class:AmbientBrightnessStatsTracker
H A DPersistentDataStore.java142 private Injector mInjector;
145 this(new Injector());
149 PersistentDataStore(Injector injector) {
770 static class Injector { class in class:PersistentDataStore
773 public Injector() { method in class:PersistentDataStore.Injector
H A DBrightnessTracker.java158 private final Injector mInjector;
160 public BrightnessTracker(Context context, @Nullable Injector injector) {
168 mInjector = new Injector();
860 static class Injector { class in class:BrightnessTracker
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DLockSettingsServiceTestable.java38 private static class MockInjector extends LockSettingsService.Injector {
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkManagementInternalTest.java62 private NetworkManagementService.Injector mInjector;
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DKernelSingleUidTimeReaderTest.java28 import com.android.internal.os.KernelSingleUidTimeReader.Injector;
273 class TestInjector extends Injector {
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
H A DFileUpdaterTest.java91 private interface Injector { interface in class:FileUpdaterTest
100 private Injector mInjector;
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/
H A DAppRestrictionsHelperTest.java262 private class TestInjector extends AppRestrictionsHelper.Injector {
/frameworks/base/services/usage/java/com/android/server/usage/
H A DAppStandbyController.java260 Injector mInjector;
312 this(new Injector(context, looper));
315 AppStandbyController(Injector injector) {
1481 * Injector for interaction with external code. Override methods to provide a mock
1485 static class Injector { class in class:AppStandbyController
1496 Injector(Context context, Looper looper) { method in class:AppStandbyController.Injector

Completed in 710 milliseconds

12