/frameworks/base/core/tests/coretests/src/android/app/ |
D | SearchManagerTest.java | 115 mContext.getSystemService(Context.SEARCH_SERVICE); in testSearchManagerAvailable() 118 mContext.getSystemService(Context.SEARCH_SERVICE); in testSearchManagerAvailable() 129 mContext.getSystemService(Context.SEARCH_SERVICE); in testStartSearchIdempotent() 143 mContext.getSystemService(Context.SEARCH_SERVICE); in testStopSearchIdempotent() 158 mContext.getSystemService(Context.SEARCH_SERVICE); in testSearchManagerInvocations()
|
/frameworks/base/core/java/android/app/ |
D | Presentation.java | 180 mDisplayManager = (DisplayManager)getContext().getSystemService(Context.DISPLAY_SERVICE); in Presentation() 309 (WindowManagerImpl)outerContext.getSystemService(Context.WINDOW_SERVICE); in createPresentationContext() 314 public Object getSystemService(String name) { in createPresentationContext() 318 return super.getSystemService(name); in createPresentationContext()
|
/frameworks/base/core/java/android/widget/ |
D | ResourceCursorAdapter.java | 54 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter() 76 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter() 93 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter()
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | ResourceCursorAdapter.java | 56 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter() 78 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter() 95 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | PhoneFallbackEventHandler.java | 199 AudioManager audioManager = (AudioManager)mContext.getSystemService( in onKeyUp() 259 mSearchManager = (SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE); in getSearchManager() 266 mTelephonyManager = (TelephonyManager)mContext.getSystemService( in getTelephonyManager() 274 mKeyguardManager = (KeyguardManager)mContext.getSystemService(Context.KEYGUARD_SERVICE); in getKeyguardManager() 281 mAudioManager = (AudioManager)mContext.getSystemService(Context.AUDIO_SERVICE); in getAudioManager()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | ListViewTest.java | 106 public Object getSystemService(String name) { in getSystemService() method in ListViewTest.MockContext2 108 return getInstrumentation().getTargetContext().getSystemService(name); in getSystemService() 110 return super.getSystemService(name); in getSystemService()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SearchPanelView.java | 101 Intent intent = ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE)) in startAssistActivity() 169 mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in onFinishInflate() 178 Intent intent = ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE)) in maybeSwapSearchIcon() 222 Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in vibrate() 316 return ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE)) in isAssistantAvailable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | VolumeController.java | 47 Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in VolumeController() 50 mAudioManager = (AudioManager)context.getSystemService(Context.AUDIO_SERVICE); in VolumeController()
|
/frameworks/base/core/java/android/view/ |
D | ContextThemeWrapper.java | 110 @Override public Object getSystemService(String name) { in getSystemService() method in ContextThemeWrapper 117 return mBase.getSystemService(name); in getSystemService()
|
/frameworks/base/tests/FixVibrateSetting/src/com/android/fixvibratesetting/ |
D | FixVibrateSetting.java | 45 mAudioManager = (AudioManager)getSystemService(AUDIO_SERVICE); in onCreate() 46 mNotificationManager = (NotificationManager)getSystemService(NOTIFICATION_SERVICE); in onCreate()
|
/frameworks/base/core/java/android/app/backup/ |
D | WallpaperBackupHelper.java | 84 wpm = (WallpaperManager) context.getSystemService(Context.WALLPAPER_SERVICE); in WallpaperBackupHelper() 89 WindowManager wm = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); in WallpaperBackupHelper()
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
D | DownloadManagerBaseTest.java | 87 DownloadManager dm = (DownloadManager)context.getSystemService( in onReceive() 166 ConnectivityManager connManager = (ConnectivityManager)mContext.getSystemService( in getWiFiIsOn() 180 mDownloadManager = (DownloadManager)mContext.getSystemService(Context.DOWNLOAD_SERVICE); in setUp() 219 WifiManager manager = (WifiManager)mContext.getSystemService(Context.WIFI_SERVICE); in setWiFiStateOn()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/ |
D | LockScreen.java | 279 Intent intent = ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE)) in updateResources() 315 ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE)) in onTrigger() 476 Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in LockScreen() 478 mAudioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in LockScreen() 534 ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE)) in updateTargets()
|
D | KeyguardViewBase.java | 187 mTelephonyManager = (TelephonyManager) getContext().getSystemService( in interceptMediaKey() 212 mAudioManager = (AudioManager) getContext().getSystemService( in interceptMediaKey()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
D | KeyguardSelectorView.java | 63 ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE)) 197 ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE)) in updateTargets() 209 Intent intent = ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE)) in updateResources()
|
D | KeyguardViewBase.java | 172 mTelephonyManager = (TelephonyManager) getContext().getSystemService( in interceptMediaKey() 197 mAudioManager = (AudioManager) getContext().getSystemService( in interceptMediaKey()
|
D | KeyguardViewMediator.java | 475 mPM = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in KeyguardViewMediator() 476 mUserManager = (UserManager) mContext.getSystemService(Context.USER_SERVICE); in KeyguardViewMediator() 485 mAlarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in KeyguardViewMediator() 493 WindowManager wm = (WindowManager)context.getSystemService(Context.WINDOW_SERVICE); in KeyguardViewMediator() 531 mSearchManager = (SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE); in onSystemReady() 1202 mAudioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in playSounds() 1278 mContext.getSystemService(Context.STATUS_BAR_SERVICE); in adjustStatusBarLocked()
|
/frameworks/base/core/java/android/net/ |
D | NetworkIdentity.java | 151 final TelephonyManager telephony = (TelephonyManager) context.getSystemService( in buildNetworkIdentity() 164 final WifiManager wifi = (WifiManager) context.getSystemService( in buildNetworkIdentity()
|
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsFL/src/com/android/framework/externalsharedpermsfltestapp/ |
D | ExternalSharedPermsFLTest.java | 34 ).getSystemService(Context.LOCATION_SERVICE); in testRunFineLocation()
|
/frameworks/base/docs/html/training/basics/location/ |
D | locationmanager.jd | 59 …ed from calling the {@link android.content.Context#getSystemService(java.lang.String) getSystemSer… 63 (LocationManager) this.getSystemService(Context.LOCATION_SERVICE); 106 (LocationManager) getSystemService(Context.LOCATION_SERVICE);
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | TestAlertActivity.java | 27 NotificationManager nm = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); in onPause()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
D | TrackerService.java | 143 mTelephonyManager = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE); in initLocationListeners() 269 return (LocationManager) getSystemService(Context.LOCATION_SERVICE); in getLocationManager() 390 (WifiManager) context.getSystemService(Context.WIFI_SERVICE); in onReceive()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicy.java | 140 mService = (StatusBarManager)context.getSystemService(Context.STATUS_BAR_SERVICE); in PhoneStatusBarPolicy() 154 mStorageManager = (StorageManager) context.getSystemService(Context.STORAGE_SERVICE); in PhoneStatusBarPolicy() 234 AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in updateVolume()
|
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/src/com/android/framework/externalsharedpermsdiffkeytestapp/ |
D | ExternalSharedPermsDiffKeyTest.java | 37 ).getSystemService(Context.LOCATION_SERVICE); in testRunBluetoothAndFineLocation()
|
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPerms/src/com/android/framework/externalsharedpermstestapp/ |
D | ExternalSharedPermsTest.java | 39 ).getSystemService(Context.LOCATION_SERVICE); in testRunLocationAndBluetooth()
|