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

1234567891011>>

/frameworks/testing/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/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/support/v4/jellybean-mr1/android/support/v4/hardware/display/
H A DDisplayManagerJellybeanMr1.java24 return context.getSystemService(Context.DISPLAY_SERVICE);
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DDemo0.java48 getSystemService(Context.LAYOUT_INFLATER_SERVICE);
54 getSystemService(Context.LAYOUT_INFLATER_SERVICE);
H A DDemo1.java53 getSystemService(Context.LAYOUT_INFLATER_SERVICE);
62 getSystemService(Context.LAYOUT_INFLATER_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/testing/uiautomator/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
H A DWakeUpController.java49 (PowerManager) AlarmService.sContext.getSystemService(Context.POWER_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/core/java/com/android/internal/app/
H A DMediaRouteDialogPresenter.java43 final MediaRouter router = (MediaRouter)activity.getSystemService(
71 final MediaRouter router = (MediaRouter)context.getSystemService(
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneFallbackEventHandler.java200 AudioManager audioManager = (AudioManager)mContext.getSystemService(
261 mSearchManager = (SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE);
268 mTelephonyManager = (TelephonyManager)mContext.getSystemService(
276 mKeyguardManager = (KeyguardManager)mContext.getSystemService(Context.KEYGUARD_SERVICE);
283 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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DLocationController.java82 mAppOpsManager = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE);
84 = (StatusBarManager) context.getSystemService(Context.STATUS_BAR_SERVICE);
154 final UserManager um = (UserManager) mContext.getSystemService(Context.USER_SERVICE);
/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/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardViewBase.java120 mTelephonyManager = (TelephonyManager) getContext().getSystemService(
146 mAudioManager = (AudioManager) getContext().getSystemService(
/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/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DWifiAssociationTestRunner.java68 WifiManager mWifiManager = (WifiManager)getContext().getSystemService(Context.WIFI_SERVICE);

Completed in 4566 milliseconds

1234567891011>>