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

1234567891011>>

/frameworks/base/core/java/android/widget/
H A DResourceCursorAdapter.java54 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
76 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
93 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
H A DResourceCursorTreeAdapter.java60 mInflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
/frameworks/support/v4/java/android/support/v4/widget/
H A DResourceCursorAdapter.java56 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
78 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
95 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/tests/hosttests/test-apps/ExternalSharedPermsFL/src/com/android/framework/externalsharedpermsfltestapp/
H A DExternalSharedPermsFLTest.java34 ).getSystemService(Context.LOCATION_SERVICE);
/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);
309 (WindowManagerImpl)outerContext.getSystemService(Context.WINDOW_SERVICE);
314 public Object getSystemService(String name) {
318 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/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/tests/StatusBar/src/com/android/statusbartest/
H A DTestAlertActivity.java27 NotificationManager nm = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DAttachInfo_Accessor.java33 WindowManager wm = (WindowManager)context.getSystemService(Context.WINDOW_SERVICE);
/frameworks/base/core/java/android/view/
H A DContextThemeWrapper.java110 @Override public Object getSystemService(String name) { method in class:ContextThemeWrapper
117 return mBase.getSystemService(name);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DVolumeController.java47 Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE);
50 mAudioManager = (AudioManager)context.getSystemService(Context.AUDIO_SERVICE);
H A DCompatModeButton.java45 mAM = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneFallbackEventHandler.java199 AudioManager audioManager = (AudioManager)mContext.getSystemService(
259 mSearchManager = (SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE);
266 mTelephonyManager = (TelephonyManager)mContext.getSystemService(
274 mKeyguardManager = (KeyguardManager)mContext.getSystemService(Context.KEYGUARD_SERVICE);
281 mAudioManager = (AudioManager)mContext.getSystemService(Context.AUDIO_SERVICE);
/frameworks/base/core/tests/coretests/src/android/widget/
H A DListViewTest.java106 public Object getSystemService(String name) { method in class:ListViewTest.MockContext2
108 return getInstrumentation().getTargetContext().getSystemService(name);
110 return super.getSystemService(name);
/frameworks/base/core/java/android/app/backup/
H A DWallpaperBackupHelper.java84 wpm = (WallpaperManager) context.getSystemService(Context.WALLPAPER_SERVICE);
89 WindowManager wm = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE);
/frameworks/base/tests/FixVibrateSetting/src/com/android/fixvibratesetting/
H A DFixVibrateSetting.java45 mAudioManager = (AudioManager)getSystemService(AUDIO_SERVICE);
46 mNotificationManager = (NotificationManager)getSystemService(NOTIFICATION_SERVICE);
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListTakeFocusFromSide.java42 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DLiftToActivateListener.java35 mAccessibilityManager = (AccessibilityManager) context.getSystemService(
H A DKeyguardViewBase.java172 mTelephonyManager = (TelephonyManager) getContext().getSystemService(
197 mAudioManager = (AudioManager) getContext().getSystemService(
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DDoNotDisturb.java37 mStatusBar = (StatusBarManager)context.getSystemService(Context.STATUS_BAR_SERVICE);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSearchPanelView.java101 Intent intent = ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE))
169 mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
178 Intent intent = ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE))
222 Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE);
316 return ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE))
/frameworks/base/core/java/android/net/
H A DNetworkIdentity.java151 final TelephonyManager telephony = (TelephonyManager) context.getSystemService(
164 final WifiManager wifi = (WifiManager) context.getSystemService(
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
H A DKeyguardViewBase.java187 mTelephonyManager = (TelephonyManager) getContext().getSystemService(
212 mAudioManager = (AudioManager) getContext().getSystemService(

Completed in 332 milliseconds

1234567891011>>