Home
last modified time | relevance | path

Searched refs:getSystemService (Results 1 – 25 of 144) sorted by relevance

123456

/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/
DSearchManagerTest.java115 mContext.getSystemService(Context.SEARCH_SERVICE); in testSearchManagerAvailable()
118 mContext.getSystemService(Context.SEARCH_SERVICE); in testSearchManagerAvailable()
126 mContext.getSystemService(Context.SEARCH_SERVICE); in testSearchables()
147 mContext.getSystemService(Context.SEARCH_SERVICE); in testStartSearchIdempotent()
162 mContext.getSystemService(Context.SEARCH_SERVICE); in testStopSearchIdempotent()
178 mContext.getSystemService(Context.SEARCH_SERVICE); in testSearchManagerInvocations()
/frameworks/base/core/java/android/widget/
DResourceCursorAdapter.java49 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter()
68 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter()
DResourceCursorTreeAdapter.java60 mInflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorTreeAdapter()
DZoomControls.java48 .getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ZoomControls()
/frameworks/base/tests/FrameworkTest/tests/src/com/android/frameworktest/widget/
DListViewTest.java104 public Object getSystemService(String name) { in getSystemService() method in ListViewTest.MockContext2
106 return getInstrumentation().getTargetContext().getSystemService(name); in getSystemService()
108 return super.getSystemService(name); in getSystemService()
/frameworks/base/core/java/android/view/
DContextThemeWrapper.java66 @Override public Object getSystemService(String name) { in getSystemService() method in ContextThemeWrapper
73 return mBase.getSystemService(name); in getSystemService()
DOrientationEventListener.java70 mSensorManager = (SensorManager)context.getSystemService(Context.SENSOR_SERVICE); in OrientationEventListener()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DStatusBarTest.java53 mStatusBarManager = (StatusBarManager)getSystemService(STATUS_BAR_SERVICE); in tests()
54 mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); in tests()
DNotificationTestList.java55 mNM = (NotificationManager)getSystemService(NOTIFICATION_SERVICE); in tests()
63 PowerManager pm = (PowerManager)NotificationTestList.this.getSystemService("power");
534 = ((PowerManager)NotificationTestList.this.getSystemService("power"))
/frameworks/policies/base/phone/com/android/internal/policy/impl/
DKeyguardViewBase.java149 mTelephonyManager = (TelephonyManager) getContext().getSystemService( in interceptMediaKey()
172 mAudioManager = (AudioManager) getContext().getSystemService( in interceptMediaKey()
DRecentApplicationsDialog.java77 sStatusBar = (StatusBarManager)context.getSystemService(Context.STATUS_BAR_SERVICE); in onCreate()
164 context.getSystemService(Context.ACTIVITY_SERVICE); in reloadButtons()
DGlobalActions.java83 mAudioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in GlobalActions()
94 (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); in GlobalActions()
106 mStatusBar = (StatusBarManager)mContext.getSystemService(Context.STATUS_BAR_SERVICE); in showDialog()
/frameworks/base/telephony/java/com/android/internal/telephony/
DMccTable.java619 (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in setTimezoneFromMccIfNeeded()
655 WifiManager wM = (WifiManager) context.getSystemService(Context.WIFI_SERVICE); in setWifiChannelsFromMccIfNeeded()
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/activity/
DSetTimeZonePermissionsTest.java38 mAlarm = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); in setUp()
DActivityManagerTest.java39 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE); in setUp()
/frameworks/base/services/java/com/android/server/status/
DTrackingView.java19 mDisplay = ((WindowManager)context.getSystemService( in TrackingView()
DExpandedView.java23 mDisplay = ((WindowManager)context.getSystemService( in ExpandedView()
/frameworks/base/tests/FrameworkTest/src/com/android/frameworktest/listview/
DListTakeFocusFromSide.java42 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ThrashListAdapter()
DListThrasher.java64 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ThrashListAdapter()
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/os/
DPowerManagerTest.java34 mPm = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); in setUp()
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
DProcessErrorsTest.java44 getContext().getSystemService(Context.ACTIVITY_SERVICE); in setUp()
/frameworks/policies/base/mid/com/android/internal/policy/impl/
DRecentApplicationsDialog.java80 sStatusBar = (StatusBarManager)context.getSystemService(Context.STATUS_BAR_SERVICE); in onCreate()
164 context.getSystemService(Context.ACTIVITY_SERVICE); in reloadButtons()
/frameworks/base/core/java/android/webkit/
DGeolocationService.java56 mLocationManager = (LocationManager) context.getSystemService(Context.LOCATION_SERVICE); in GeolocationService()
/frameworks/base/tests/FrameworkTest/src/com/android/frameworktest/focus/
DListWithFooterViewAndNewLabels.java97 mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in getView()
/frameworks/base/test-runner/android/test/
DIsolatedContext.java87 public Object getSystemService(String name) { in getSystemService() method in IsolatedContext

123456