Home
last modified time | relevance | path

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

1234567

/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DWindowManagerServiceRule.java39 import com.android.server.LocalServices;
82 LocalServices.addService(DisplayManagerInternal.class, in apply()
85 LocalServices.addService(PowerManagerInternal.class, in apply()
88 LocalServices.getService(PowerManagerInternal.class); in apply()
92 LocalServices.addService(ActivityManagerInternal.class, in apply()
95 LocalServices.getService(ActivityManagerInternal.class); in apply()
125 LocalServices.removeServiceForTest(DisplayManagerInternal.class); in apply()
126 LocalServices.removeServiceForTest(PowerManagerInternal.class); in apply()
127 LocalServices.removeServiceForTest(ActivityManagerInternal.class); in apply()
128 LocalServices.removeServiceForTest(WindowManagerInternal.class); in apply()
[all …]
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsAccessTest.java33 import com.android.server.LocalServices;
60 mSystemDpmi = LocalServices.getService(DevicePolicyManagerInternal.class); in setUp()
61 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in setUp()
62 LocalServices.addService(DevicePolicyManagerInternal.class, mDpmi); in setUp()
70 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in tearDown()
71 LocalServices.addService(DevicePolicyManagerInternal.class, mSystemDpmi); in tearDown()
/frameworks/base/services/core/java/com/android/server/content/
DSyncAdapterStateFetcher.java23 import com.android.server.LocalServices;
45 LocalServices.getService(UsageStatsManagerInternal.class); in getStandbyBucket()
61 LocalServices.getService(AppStateTracker.class); in isAppActive()
/frameworks/base/core/java/com/android/server/backup/
DAccountManagerBackupHelper.java23 import com.android.server.LocalServices;
44 AccountManagerInternal am = LocalServices.getService(AccountManagerInternal.class); in getBackupPayload()
67 AccountManagerInternal am = LocalServices.getService(AccountManagerInternal.class); in applyRestoredPayload()
DUsageStatsBackupHelper.java10 import com.android.server.LocalServices;
37 LocalServices.getService(UsageStatsManagerInternal.class); in getBackupPayload()
57 LocalServices.getService(UsageStatsManagerInternal.class); in applyRestoredPayload()
/frameworks/base/services/core/java/com/android/server/
DSystemService.java250 LocalServices.addService(type, service); in publishLocalService()
257 return LocalServices.getService(type); in getLocalService()
261 return LocalServices.getService(SystemServiceManager.class); in getManager()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DDisplayAdjustmentUtils.java25 import com.android.server.LocalServices;
61 final DisplayTransformManager dtm = LocalServices.getService(DisplayTransformManager.class); in applyDaltonizerSetting()
90 final DisplayTransformManager dtm = LocalServices.getService(DisplayTransformManager.class); in applyInversionSetting()
DGlobalActionPerformer.java37 import com.android.server.LocalServices;
152 StatusBarManagerInternal statusBarService = LocalServices.getService( in openRecents()
171 StatusBarManagerInternal statusBarService = LocalServices.getService( in toggleSplitScreen()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayManagerServiceTest.java33 import com.android.server.LocalServices;
93 LocalServices.removeServiceForTest(InputManagerInternal.class); in setUp()
94 LocalServices.addService(InputManagerInternal.class, mMockInputManagerInternal); in setUp()
95 LocalServices.removeServiceForTest(WindowManagerInternal.class); in setUp()
96 LocalServices.addService(WindowManagerInternal.class, mMockWindowManagerInternal); in setUp()
97 LocalServices.removeServiceForTest(LightsManager.class); in setUp()
98 LocalServices.addService(LightsManager.class, mMockLightsManager); in setUp()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyCache.java20 import com.android.server.LocalServices;
37 LocalServices.getService(DevicePolicyManagerInternal.class); in getInstance()
/frameworks/base/services/core/java/com/android/server/input/
DInputForwarder.java24 import com.android.server.LocalServices;
38 mInputManagerInternal = LocalServices.getService(InputManagerInternal.class); in InputForwarder()
/frameworks/base/core/java/com/android/server/
DLocalServices.java32 public final class LocalServices { class
33 private LocalServices() {} in LocalServices() method in LocalServices
/frameworks/base/core/java/android/content/pm/
DPackageList.java23 import com.android.server.LocalServices;
63 LocalServices.getService(PackageManagerInternal.class).removePackageListObserver(this); in close()
/frameworks/base/services/core/java/com/android/server/search/
DSearchables.java39 import com.android.server.LocalServices;
128 LocalServices.getService(PackageManagerInternal.class); in getSearchableInfo()
189 LocalServices.getService(PackageManagerInternal.class); in getSearchableInfo()
466 final PackageManagerInternal pm = LocalServices.getService(PackageManagerInternal.class); in createFilterdSearchableInfoList()
482 final PackageManagerInternal pm = LocalServices.getService(PackageManagerInternal.class); in createFilterdResolveInfoList()
498 final PackageManagerInternal pm = LocalServices.getService(PackageManagerInternal.class); in getGlobalSearchActivity()
512 final PackageManagerInternal pm = LocalServices.getService(PackageManagerInternal.class); in getWebSearchActivity()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/
DUiServiceTestCase.java52 LocalServices.removeServiceForTest(PackageManagerInternal.class); in setup()
53 LocalServices.addService(PackageManagerInternal.class, mPmi); in setup()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java48 import com.android.server.LocalServices;
101 LocalServices.removeServiceForTest(LockSettingsInternal.class); in setUp()
102 LocalServices.removeServiceForTest(DevicePolicyManagerInternal.class); in setUp()
103 LocalServices.addService(DevicePolicyManagerInternal.class, mDevicePolicyManagerInternal); in setUp()
154 mLocalService = LocalServices.getService(LockSettingsInternal.class); in setUp()
/frameworks/base/services/core/java/com/android/server/camera/
DCameraStatsJobService.java30 import com.android.server.LocalServices;
47 CameraServiceProxy serviceProxy = LocalServices.getService(CameraServiceProxy.class); in onStartJob()
/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/display/
DBrightnessIdleJob.java29 import com.android.server.LocalServices;
72 DisplayManagerInternal dmi = LocalServices.getService(DisplayManagerInternal.class); in onStartJob()
/frameworks/base/services/core/java/com/android/server/timezone/
DTimeZoneUpdateIdler.java19 import com.android.server.LocalServices;
43 LocalServices.getService(RulesManagerService.class); in onStartJob()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsWrapper.java27 import com.android.server.LocalServices;
85 return LocalServices.getService(DevicePolicyManagerInternal.class); in getDevicePolicyManagerInternal()
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java64 import com.android.server.LocalServices;
122 LocalServices.getService(UserManagerInternal.class)); in LauncherAppsImpl()
124 LocalServices.getService(ActivityManagerInternal.class)); in LauncherAppsImpl()
126 LocalServices.getService(ShortcutServiceInternal.class)); in LauncherAppsImpl()
303 LocalServices.getService(PackageManagerInternal.class); in resolveActivity()
331 LocalServices.getService(PackageManagerInternal.class); in queryActivitiesForUser()
376 LocalServices.getService(PackageManagerInternal.class); in isPackageEnabled()
394 LocalServices.getService(PackageManagerInternal.class); in getSuspendedPackageLauncherExtras()
410 LocalServices.getService(PackageManagerInternal.class); in getApplicationInfo()
552 LocalServices.getService(PackageManagerInternal.class); in isActivityEnabled()
[all …]
/frameworks/base/services/core/java/com/android/server/oemlock/
DOemLockService.java36 import com.android.server.LocalServices;
81 LocalServices.getService(UserManagerInternal.class) in OemLockService()
221 = LocalServices.getService(PersistentDataBlockManagerInternal.class); in setPersistentDataBlockOemUnlockAllowedBit()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSliceManagerServiceTest.java48 import com.android.server.LocalServices;
74 LocalServices.addService(UsageStatsManagerInternal.class, in setup()
87 LocalServices.removeServiceForTest(UsageStatsManagerInternal.class); in teardown()
/frameworks/base/services/core/java/com/android/server/policy/
DGlobalActions.java21 import com.android.server.LocalServices;
45 mGlobalActionsProvider = LocalServices.getService(GlobalActionsProvider.class); in GlobalActions()

1234567