Home
last modified time | relevance | path

Searched refs:Injector (Results 1 – 25 of 69) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/wm/
DKeyguardDisableHandler.java44 private Injector mInjector;
47 KeyguardDisableHandler(Injector injector, Handler handler) { in KeyguardDisableHandler()
126 return new KeyguardDisableHandler(new Injector() { in create()
150 interface Injector {
/frameworks/base/core/java/com/android/internal/os/
DKernelSingleUidTimeReader.java63 private final Injector mInjector;
66 this(cpuFreqsCount, new Injector()); in KernelSingleUidTimeReader()
69 public KernelSingleUidTimeReader(int cpuFreqsCount, Injector injector) { in KernelSingleUidTimeReader()
229 public static class Injector { class in KernelSingleUidTimeReader
DKernelCpuThreadReader.java118 private final Injector mInjector;
133 Injector injector) in KernelCpuThreadReader()
155 new Injector()); in create()
553 public static class Injector { class in KernelCpuThreadReader
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DTransferOwnershipMetadataManager.java68 private final Injector mInjector;
71 this(new Injector()); in TransferOwnershipMetadataManager()
75 TransferOwnershipMetadataManager(Injector injector) { in TransferOwnershipMetadataManager()
231 static class Injector { class in TransferOwnershipMetadataManager
DOverlayPackagesProvider.java56 private final Injector mInjector;
63 interface Injector { interface in OverlayPackagesProvider
69 private static final class DefaultInjector implements Injector {
83 OverlayPackagesProvider(Context context, Injector injector) { in OverlayPackagesProvider()
DUpdateInstaller.java51 private DevicePolicyManagerService.Injector mInjector;
54 StartInstallingUpdateCallback callback, DevicePolicyManagerService.Injector injector, in UpdateInstaller()
DNonAbUpdateInstaller.java35 StartInstallingUpdateCallback callback, DevicePolicyManagerService.Injector injector, in NonAbUpdateInstaller()
DCertificateMonitor.java59 private final DevicePolicyManagerService.Injector mInjector;
63 final DevicePolicyManagerService.Injector injector, final Handler handler) { in CertificateMonitor()
/frameworks/base/apct-tests/perftests/core/src/android/os/
DBinderCallsStatsPerfTest.java47 super(new BinderCallsStats.Injector()); in FakeCpuTimeBinderCallsStats()
66 mBinderCallsStats = new BinderCallsStats(new BinderCallsStats.Injector()); in setUp()
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileAppsServiceImpl.java56 private Injector mInjector;
63 CrossProfileAppsServiceImpl(Context context, Injector injector) { in CrossProfileAppsServiceImpl()
240 private static class InjectorImpl implements Injector {
295 public interface Injector { interface in CrossProfileAppsServiceImpl
/frameworks/base/core/java/com/android/internal/app/
DIntentForwarderActivity.java72 private Injector mInjector;
284 protected Injector createInjector() { in createInjector()
288 private class InjectorImpl implements Injector {
316 public interface Injector { interface in IntentForwarderActivity
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayManagerServiceTest.java73 private final DisplayManagerService.Injector mShortMockedInjector =
74 new DisplayManagerService.Injector() {
86 private final DisplayManagerService.Injector mBasicInjector =
87 new DisplayManagerService.Injector() {
295 new DisplayManagerService.Injector() { in testStartVirtualDisplayWithDefDisplay_NoVirtualDisplayAdapter()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppRestrictionsHelper.java54 private final Injector mInjector;
67 this(new Injector(context, user)); in AppRestrictionsHelper()
71 AppRestrictionsHelper(Injector injector) { in AppRestrictionsHelper()
392 static class Injector { class in AppRestrictionsHelper
396 Injector(Context context, UserHandle user) { in Injector() method in AppRestrictionsHelper.Injector
/frameworks/base/services/core/java/com/android/server/display/
DAmbientBrightnessStatsTracker.java63 private final Injector mInjector;
68 public AmbientBrightnessStatsTracker(UserManager userManager, @Nullable Injector injector) { in AmbientBrightnessStatsTracker()
73 mInjector = new Injector(); in AmbientBrightnessStatsTracker()
346 static class Injector { class in AmbientBrightnessStatsTracker
DPersistentDataStore.java134 private Injector mInjector;
137 this(new Injector()); in PersistentDataStore()
141 PersistentDataStore(Injector injector) { in PersistentDataStore()
697 static class Injector { class in PersistentDataStore
700 public Injector() { in Injector() method in PersistentDataStore.Injector
/frameworks/base/services/core/java/com/android/server/appbinding/
DAppBindingService.java75 private final Injector mInjector;
92 static class Injector { class in AppBindingService
109 this(context, new Injector()); in Lifecycle()
112 Lifecycle(Context context, Injector injector) { in Lifecycle()
143 private AppBindingService(Injector injector, Context context) { in AppBindingService()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DTransferOwnershipMetadataManagerTest.java36 import com.android.server.devicepolicy.TransferOwnershipMetadataManager.Injector;
147 static class MockInjector extends Injector {
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DCoreSettingsObserverTest.java21 import static com.android.server.am.ActivityManagerService.Injector;
157 private class TestInjector extends Injector {
DAppErrorDialogTest.java50 mService = new ActivityManagerService(new ActivityManagerService.Injector() { in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUI.java66 public interface Injector extends Function<Context, SystemUI> { interface in SystemUI
DSystemUIApplication.java176 if (o instanceof SystemUI.Injector) { in startServicesIfNeeded()
177 o = ((SystemUI.Injector) o).apply(this); in startServicesIfNeeded()
/frameworks/base/packages/SystemUI/
Dproguard.flags20 -keep class * implements com.android.systemui.SystemUI$Injector
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelSingleUidTimeReaderTest.java29 import com.android.internal.os.KernelSingleUidTimeReader.Injector;
274 class TestInjector extends Injector {
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsServiceTestable.java39 private static class MockInjector extends LockSettingsService.Injector {
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkManagementInternalTest.java63 private NetworkManagementService.Injector mInjector;

123