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

1234567891011>>

/frameworks/support/v4/api24/android/support/v4/os/
H A DUserManagerCompatApi24.java25 return context.getSystemService(UserManager.class).isUserUnlocked();
/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/v4/api23/android/support/v4/app/
H A DAppOpsManagerCompat23.java31 AppOpsManager appOpsManager = context.getSystemService(AppOpsManager.class);
36 AppOpsManager appOpsManager = context.getSystemService(AppOpsManager.class);
/frameworks/support/v4/froyo/android/support/v4/media/session/
H A DMediaSessionCompatApi8.java24 AudioManager am = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE);
29 AudioManager am = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE);
/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/SettingsLib/src/com/android/settingslib/
H A DTetherUtil.java27 (WifiManager) context.getSystemService(Context.WIFI_SERVICE);
33 .getSystemService(Context.CARRIER_CONFIG_SERVICE);
H A DRestrictedLockUtils.java71 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService(
105 UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE);
121 final DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService(
126 final UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE);
232 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService(
266 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService(
285 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService(
314 UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE);
340 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService(
367 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService(
[all...]
/frameworks/support/v4/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/core/tests/hosttests/test-apps/ExternalSharedPermsFL/src/com/android/framework/externalsharedpermsfltestapp/
H A DExternalSharedPermsFLTest.java34 ).getSystemService(Context.LOCATION_SERVICE);
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/bots/
H A DKeyboardBot.java41 .getSystemService(Context.INPUT_METHOD_SERVICE);
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DScreenshotServiceErrorReceiver.java36 context.getSystemService(Context.NOTIFICATION_SERVICE);
/frameworks/support/v4/jellybean-mr1/android/support/v4/hardware/display/
H A DDisplayManagerJellybeanMr1.java24 return context.getSystemService(Context.DISPLAY_SERVICE);
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DAppFuseTest.java36 final StorageManager storageManager = getContext().getSystemService(StorageManager.class);
47 final StorageManager storageManager = getContext().getSystemService(StorageManager.class);
68 final StorageManager storageManager = getContext().getSystemService(StorageManager.class);
80 final StorageManager storageManager = getContext().getSystemService(StorageManager.class);
92 final StorageManager storageManager = getContext().getSystemService(StorageManager.class);
133 final StorageManager storageManager = getContext().getSystemService(StorageManager.class);
173 final StorageManager storageManager = getContext().getSystemService(StorageManager.class);
199 final StorageManager storageManager = getContext().getSystemService(StorageManager.class);
/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/v7/appcompat/src/android/support/v7/view/
H A DContextThemeWrapper.java74 public Object getSystemService(String name) { method in class:ContextThemeWrapper
81 return getBaseContext().getSystemService(name);
/frameworks/base/packages/Osu/src/com/android/hotspot2/
H A DWifiNetworkAdapter.java89 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE);
135 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE);
142 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE);
147 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE);
152 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE);
161 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE);
171 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE);
176 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE);
212 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE);
230 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Contex
[all...]
/frameworks/base/core/java/android/app/
H A DPresentation.java83 * MediaRouter mediaRouter = (MediaRouter) context.getSystemService(Context.MEDIA_ROUTER_SERVICE);
117 * DisplayManager displayManager = (DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE);
180 mDisplayManager = (DisplayManager)getContext().getSystemService(Context.DISPLAY_SERVICE);
311 (WindowManagerImpl)outerContext.getSystemService(Context.WINDOW_SERVICE);
316 public Object getSystemService(String name) {
320 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/EasterEgg/src/com/android/egg/neko/
H A DNekoService.java57 NotificationManager noman = getSystemService(NotificationManager.class);
105 JobScheduler jss = context.getSystemService(JobScheduler.class);
119 NotificationManager noman = context.getSystemService(NotificationManager.class);
132 JobScheduler jss = context.getSystemService(JobScheduler.class);
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DTestAlertActivity.java27 NotificationManager nm = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);

Completed in 8585 milliseconds

1234567891011>>