Searched refs:getSystemService (Results 1 - 25 of 870) sorted by relevance

1234567891011>>

/frameworks/base/core/java/com/android/internal/policy/
H A DDecorContext.java49 public Object getSystemService(String name) { method in class:DecorContext
53 (WindowManagerImpl) super.getSystemService(Context.WINDOW_SERVICE);
58 return super.getSystemService(name);
/frameworks/support/compat/java/android/support/v4/os/
H A DUserManagerCompat.java40 return context.getSystemService(UserManager.class).isUserUnlocked();
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/core/
H A DInstrumentationUiAutomatorBridge.java41 mContext.getSystemService(Service.WINDOW_SERVICE);
53 mContext.getSystemService(Service.POWER_SERVICE);
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/
H A DTestContext.java45 public Object getSystemService(String name) { method in class:TestContext
51 return super.getSystemService(name);
/frameworks/base/tests/testables/src/android/testing/
H A DViewUtils.java42 view.getContext().getSystemService(WindowManager.class).addView(view, lp);
51 view.getContext().getSystemService(WindowManager.class).removeViewImmediate(view);
/frameworks/support/compat/java/android/support/v4/app/
H A DAppOpsManagerCompat.java85 AppOpsManager appOpsManager = context.getSystemService(AppOpsManager.class);
111 AppOpsManager appOpsManager = context.getSystemService(AppOpsManager.class);
/frameworks/base/services/core/java/com/android/server/oemlock/
H A DPersistentDataBlockLock.java69 mContext.getSystemService(Context.PERSISTENT_DATA_BLOCK_SERVICE);
76 mContext.getSystemService(Context.PERSISTENT_DATA_BLOCK_SERVICE);
87 mContext.getSystemService(Context.PERSISTENT_DATA_BLOCK_SERVICE);
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DResourceCursorAdapter.java56 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
84 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
101 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
/frameworks/base/core/tests/coretests/src/android/app/
H A DSearchManagerTest.java115 mContext.getSystemService(Context.SEARCH_SERVICE);
118 mContext.getSystemService(Context.SEARCH_SERVICE);
129 mContext.getSystemService(Context.SEARCH_SERVICE);
143 mContext.getSystemService(Context.SEARCH_SERVICE);
158 mContext.getSystemService(Context.SEARCH_SERVICE);
/frameworks/base/core/java/android/widget/
H A DResourceCursorAdapter.java57 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
80 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
98 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
/frameworks/base/services/core/java/com/android/server/audio/
H A DRotationHelper.java67 ((DisplayManager) sContext.getSystemService(Context.DISPLAY_SERVICE))
73 ((DisplayManager) sContext.getSystemService(Context.DISPLAY_SERVICE))
83 int newRotation = ((WindowManager) sContext.getSystemService(
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsFL/src/com/android/framework/externalsharedpermsfltestapp/
H A DExternalSharedPermsFLTest.java34 ).getSystemService(Context.LOCATION_SERVICE);
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DScreenshotServiceErrorReceiver.java36 context.getSystemService(Context.NOTIFICATION_SERVICE);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DAccessibilityManagerWrapper.java30 mAccessibilityManager = context.getSystemService(AccessibilityManager.class);
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
H A DCarrierActionUtils.java104 final TelephonyManager telephonyMgr = context.getSystemService(TelephonyManager.class);
112 final TelephonyManager telephonyMgr = context.getSystemService(TelephonyManager.class);
136 final TelephonyManager telephonyMgr = context.getSystemService(TelephonyManager.class);
144 final TelephonyManager telephonyMgr = context.getSystemService(TelephonyManager.class);
152 final TelephonyManager telephonyMgr = context.getSystemService(TelephonyManager.class);
160 final TelephonyManager telephonyMgr = context.getSystemService(TelephonyManager.class);
175 context.getSystemService(NotificationManager.class)
187 context.getSystemService(NotificationManager.class)
196 context.getSystemService(NotificationManager.class).cancelAll();
201 final TelephonyManager telephonyMgr = context.getSystemService(TelephonyManage
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
H A DPrivateStorageInfo.java43 final StorageStatsManager stats = context.getSystemService(StorageStatsManager.class);
62 final StorageStatsManager stats = context.getSystemService(StorageStatsManager.class);
/frameworks/base/services/core/java/com/android/server/timezone/
H A DTimeZoneUpdateIdler.java71 (JobScheduler) context.getSystemService(Context.JOB_SCHEDULER_SERVICE);
96 (JobScheduler) context.getSystemService(Context.JOB_SCHEDULER_SERVICE);
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DDemo0.java48 getSystemService(Context.LAYOUT_INFLATER_SERVICE);
54 getSystemService(Context.LAYOUT_INFLATER_SERVICE);
/frameworks/support/compat/java/android/support/v4/content/pm/
H A DShortcutManagerCompat.java54 return context.getSystemService(ShortcutManager.class).isRequestPinShortcutSupported();
91 return context.getSystemService(ShortcutManager.class).requestPinShortcut(
135 result = context.getSystemService(ShortcutManager.class)
/frameworks/base/core/java/android/app/
H A DPresentation.java91 * MediaRouter mediaRouter = (MediaRouter) context.getSystemService(Context.MEDIA_ROUTER_SERVICE);
125 * DisplayManager displayManager = (DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE);
189 mDisplayManager = (DisplayManager)getContext().getSystemService(DISPLAY_SERVICE);
325 (WindowManagerImpl)outerContext.getSystemService(WINDOW_SERVICE);
330 public Object getSystemService(String name) {
334 return super.getSystemService(name);
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DSetTimeZonePermissionsTest.java38 mAlarm = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE);
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
H A DDownloadManagerTestRunner.java60 ((WifiManager)getContext().getSystemService(Context.WIFI_SERVICE))
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPerms/src/com/android/framework/externalsharedpermstestapp/
H A DExternalSharedPermsTest.java39 ).getSystemService(Context.LOCATION_SERVICE);
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/src/com/android/framework/externalsharedpermsdiffkeytestapp/
H A DExternalSharedPermsDiffKeyTest.java37 ).getSystemService(Context.LOCATION_SERVICE);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DTetherUtil.java28 .getSystemService(Context.CARRIER_CONFIG_SERVICE);

Completed in 3730 milliseconds

1234567891011>>