Home
last modified time | relevance | path

Searched refs:LocalServices (Results 1 – 25 of 70) sorted by relevance

123

/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkStatsAccessTest.java30 import com.android.server.LocalServices;
54 mSystemDpmi = LocalServices.getService(DevicePolicyManagerInternal.class); in setUp()
55 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in setUp()
56 LocalServices.addService(DevicePolicyManagerInternal.class, mDpmi); in setUp()
64 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in tearDown()
65 LocalServices.addService(DevicePolicyManagerInternal.class, mSystemDpmi); in tearDown()
/frameworks/base/services/core/java/com/android/server/
DSystemService.java195 LocalServices.addService(type, service); in publishLocalService()
202 return LocalServices.getService(type); in getLocalService()
206 return LocalServices.getService(SystemServiceManager.class); in getManager()
DSensorNotificationService.java48 LocalServices.addService(SensorNotificationService.class, this); in onStart()
DHardwarePropertiesManagerService.java100 final VrManagerInternal vrService = LocalServices.getService(VrManagerInternal.class); in enforceHardwarePropertiesRetrievalAllowed()
DGestureLauncherService.java115 LocalServices.addService(GestureLauncherService.class, this); in onStart()
303 StatusBarManagerInternal service = LocalServices.getService( in handleCameraLaunchGesture()
/frameworks/base/core/java/com/android/server/backup/
DUsageStatsBackupHelper.java10 import com.android.server.LocalServices;
37 LocalServices.getService(UsageStatsManagerInternal.class); in getBackupPayload()
57 LocalServices.getService(UsageStatsManagerInternal.class); in applyRestoredPayload()
/frameworks/base/core/java/com/android/server/
DLocalServices.java32 public final class LocalServices { class
33 private LocalServices() {} in LocalServices() method in LocalServices
/frameworks/base/services/core/java/com/android/server/telecom/
DTelecomLoaderService.java45 import com.android.server.LocalServices;
75 final PackageManagerInternal packageManagerInternal = LocalServices in onServiceConnected()
199 final PackageManagerInternal packageManagerInternal = LocalServices.getService( in registerDefaultAppProviders()
273 final PackageManagerInternal packageManagerInternal = LocalServices.getService( in registerDefaultAppNotifier()
313 final PackageManagerInternal packageManagerInternal = LocalServices.getService( in registerCarrierConfigChangedReceiver()
/frameworks/base/services/core/java/com/android/server/policy/
DStatusBarController.java32 import com.android.server.LocalServices;
94 StatusBarManagerInternal statusbar = LocalServices.getService(
DBurnInProtectionHelper.java34 import com.android.server.LocalServices;
106 mDisplayManagerInternal = LocalServices.getService(DisplayManagerInternal.class); in BurnInProtectionHelper()
DBarController.java28 import com.android.server.LocalServices;
280 mStatusBarInternal = LocalServices.getService(StatusBarManagerInternal.class); in getStatusBarInternal()
DEnableAccessibilityController.java48 import com.android.server.LocalServices;
229 final WindowManagerInternal windowManager = LocalServices.getService( in enableAccessibility()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsAccess.java34 import com.android.server.LocalServices;
107 final DevicePolicyManagerInternal dpmi = LocalServices.getService( in checkAccessLevel()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DAppIdleController.java24 import com.android.server.LocalServices;
104 mUsageStatsInternal = LocalServices.getService(UsageStatsManagerInternal.class); in AppIdleController()
DDeviceIdleJobsController.java29 import com.android.server.LocalServices;
103 LocalServices.getService(DeviceIdleController.LocalService.class); in DeviceIdleJobsController()
DBatteryController.java30 import com.android.server.LocalServices;
147 LocalServices.getService(BatteryManagerInternal.class); in startTracking()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceMigrationTest.java18 import com.android.server.LocalServices;
132 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testMigration()
247 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in testMigration2_profileOwnerOnUser0()
/frameworks/base/media/java/android/media/
DAudioManagerInternal.java18 import com.android.server.LocalServices;
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java25 import com.android.server.LocalServices;
136 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in Notifier()
137 mInputManagerInternal = LocalServices.getService(InputManagerInternal.class); in Notifier()
138 mInputMethodManagerInternal = LocalServices.getService(InputMethodManagerInternal.class); in Notifier()
/frameworks/base/services/core/java/com/android/server/am/
DActivityStartInterceptor.java46 import com.android.server.LocalServices;
148 DevicePolicyManagerInternal devicePolicyManager = LocalServices.getService( in interceptSuspendPackageIfNeed()
DServiceRecord.java21 import com.android.server.LocalServices;
453 NotificationManagerInternal nm = LocalServices.getService( in postNotification()
583 NotificationManagerInternal nmi = LocalServices.getService( in stripForegroundServiceFlagFromNotification()
/frameworks/base/services/core/java/com/android/server/search/
DSearchManagerService.java46 import com.android.server.LocalServices;
255 LocalServices.getService(StatusBarManagerInternal.class); in launchAssist()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerServiceImpl.java46 import com.android.server.LocalServices;
157 activityTokens = LocalServices.getService(ActivityManagerInternal.class) in showSessionLocked()
DVoiceInteractionManagerService.java63 import com.android.server.LocalServices;
93 mAmInternal = LocalServices.getService(ActivityManagerInternal.class); in VoiceInteractionManagerService()
96 PackageManagerInternal packageManagerInternal = LocalServices.getService( in VoiceInteractionManagerService()
121 mSoundTriggerInternal = LocalServices.getService(SoundTriggerInternal.class); in onBootPhase()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationController.java22 import com.android.server.LocalServices;
756 mWindowManager = LocalServices.getService(WindowManagerInternal.class); in SpecAnimationBridge()
950 mWindowManager = LocalServices.getService(WindowManagerInternal.class); in WindowStateObserver()

123