/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/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/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()
|
D | ResourceCursorTreeAdapter.java | 60 mInflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorTreeAdapter()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | PhoneFallbackEventHandler.java | 197 AudioManager audioManager = (AudioManager)mContext.getSystemService( in onKeyUp() 260 mSearchManager = (SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE); in getSearchManager() 267 mTelephonyManager = (TelephonyManager)mContext.getSystemService( in getTelephonyManager() 275 mKeyguardManager = (KeyguardManager)mContext.getSystemService(Context.KEYGUARD_SERVICE); in getKeyguardManager() 282 mAudioManager = (AudioManager)mContext.getSystemService(Context.AUDIO_SERVICE); in getAudioManager()
|
D | KeyguardViewBase.java | 182 mTelephonyManager = (TelephonyManager) getContext().getSystemService( in interceptMediaKey() 208 mAudioManager = (AudioManager) getContext().getSystemService( in interceptMediaKey()
|
/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/core/java/android/view/ |
D | ContextThemeWrapper.java | 72 @Override public Object getSystemService(String name) { in getSystemService() method in ContextThemeWrapper 79 return mBase.getSystemService(name); in getSystemService()
|
/frameworks/base/core/java/android/app/backup/ |
D | WallpaperBackupHelper.java | 67 wpm = (WallpaperManager) context.getSystemService(Context.WALLPAPER_SERVICE); in WallpaperBackupHelper() 72 WindowManager wm = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); in WallpaperBackupHelper()
|
/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/tests/hosttests/test-apps/ExternalSharedPermsFL/src/com/android/framework/externalsharedpermsfltestapp/ |
D | ExternalSharedPermsFLTest.java | 34 ).getSystemService(Context.LOCATION_SERVICE); in testRunFineLocation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicy.java | 140 mService = (StatusBarManager)context.getSystemService(Context.STATUS_BAR_SERVICE); in PhoneStatusBarPolicy() 143 mStorageManager = (StorageManager) context.getSystemService(Context.STORAGE_SERVICE); in PhoneStatusBarPolicy() 233 AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in updateVolume()
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | TestAlertActivity.java | 27 NotificationManager nm = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); in onPause()
|
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPerms/src/com/android/framework/externalsharedpermstestapp/ |
D | ExternalSharedPermsTest.java | 39 ).getSystemService(Context.LOCATION_SERVICE); in testRunLocationAndBluetooth()
|
/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/java/android/net/ |
D | NetworkPolicyManager.java | 69 public static NetworkPolicyManager getSystemService(Context context) { in getSystemService() method in NetworkPolicyManager 70 return (NetworkPolicyManager) context.getSystemService(Context.NETWORK_POLICY_SERVICE); in getSystemService()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | SetTimeZonePermissionsTest.java | 38 mAlarm = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); in setUp()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaAudioManagerTest.java | 43 mAudioManager = (AudioManager) getActivity().getSystemService(Context.AUDIO_SERVICE); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
D | RecentTasksLoader.java | 100 mContext.getSystemService(Context.ACTIVITY_SERVICE); in RecentTasksLoader() 162 mContext.getSystemService(Context.ACTIVITY_SERVICE); in loadThumbnail() 220 mContext.getSystemService(Context.ACTIVITY_SERVICE); in getRecentTasks()
|
/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/policy/ |
D | CompatModeButton.java | 45 mAM = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE); in CompatModeButton()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | DoNotDisturb.java | 37 mStatusBar = (StatusBarManager)context.getSystemService(Context.STATUS_BAR_SERVICE); in DoNotDisturb()
|
/frameworks/base/services/java/com/android/server/ |
D | UiModeManagerService.java | 316 (AlarmManager)mContext.getSystemService(Context.ALARM_SERVICE); in UiModeManagerService() 318 (LocationManager)mContext.getSystemService(Context.LOCATION_SERVICE); in UiModeManagerService() 329 PowerManager powerManager = (PowerManager)context.getSystemService(Context.POWER_SERVICE); in UiModeManagerService() 566 … mStatusBarManager = (StatusBarManager) mContext.getSystemService(Context.STATUS_BAR_SERVICE); in adjustStatusBarCarModeLocked() 582 mContext.getSystemService(Context.NOTIFICATION_SERVICE); in adjustStatusBarCarModeLocked()
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/ |
D | DownloadManagerBaseTest.java | 150 DownloadManager dm = (DownloadManager)context.getSystemService( in onReceive() 229 ConnectivityManager connManager = (ConnectivityManager)mContext.getSystemService( in getWiFiIsOn() 243 mDownloadManager = (DownloadManager)mContext.getSystemService(Context.DOWNLOAD_SERVICE); in setUp() 421 WifiManager manager = (WifiManager)mContext.getSystemService(Context.WIFI_SERVICE); in setWiFiStateOn()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListTakeFocusFromSide.java | 42 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ThrashListAdapter()
|