Home
last modified time | relevance | path

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

12345678910>>...19

/packages/apps/Settings/src/com/android/settings/
DUtils.java320 (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); in isVoiceCapable()
325 ConnectivityManager cm = (ConnectivityManager)context.getSystemService( in isWifiOnly()
337 context.getSystemService(Context.CONNECTIVITY_SERVICE); in getWifiIpAddresses()
350 context.getSystemService(Context.CONNECTIVITY_SERVICE); in getDefaultIpAddresses()
498 UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE); in copyMeProfilePhoto()
599 return ((UserManager) context.getSystemService(Context.USER_SERVICE)) in hasMultipleUsers()
DCryptKeeper.java314 mStatusBar = (StatusBarManager) getSystemService(Context.STATUS_BAR_SERVICE); in onCreate()
318 mAudioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in onCreate()
406 PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE); in encryptionProgressInit()
514 final TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); in passwordEntryInit()
524 final InputMethodManager imm = (InputMethodManager) getSystemService( in passwordEntryInit()
541 final PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE); in passwordEntryInit()
DTetherSettings.java130 (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE); in onCreate()
171 mWifiManager = (WifiManager) getSystemService(Context.WIFI_SERVICE); in initWifiTethering()
308 (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE); in updateState()
326 (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE); in updateUsbState()
503 (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE); in setUsbTethering()
515 (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE); in onPreferenceTreeClick()
DSecuritySettings.java116 mDPM = (DevicePolicyManager)getSystemService(Context.DEVICE_POLICY_SERVICE); in onCreate()
133 UserManager mUm = (UserManager) getSystemService(Context.USER_SERVICE); in createPreferenceHierarchy()
165 (DevicePolicyManager) getSystemService(Context.DEVICE_POLICY_SERVICE); in createPreferenceHierarchy()
244 final UserManager um = (UserManager) getActivity().getSystemService(Context.USER_SERVICE); in createPreferenceHierarchy()
323 final UserManager um = (UserManager) getActivity().getSystemService(Context.USER_SERVICE); in setNonMarketAppsAllowed()
DLocationSettings.java98 final UserManager um = (UserManager) getActivity().getSystemService(Context.USER_SERVICE); in createPreferenceHierarchy()
133 final UserManager um = (UserManager) getActivity().getSystemService(Context.USER_SERVICE); in onPreferenceTreeClick()
189 final UserManager um = (UserManager) getActivity().getSystemService(Context.USER_SERVICE); in onToggleLocationAccess()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DUsbSettings.java72 UserManager um = (UserManager) getActivity().getSystemService(Context.USER_SERVICE); in createPreferenceHierarchy()
84 mUsbManager = (UsbManager)getSystemService(Context.USB_SERVICE); in onCreate()
117 UserManager um = (UserManager) getActivity().getSystemService(Context.USER_SERVICE); in updateToggles()
144 UserManager um = (UserManager) getActivity().getSystemService(Context.USER_SERVICE); in onPreferenceTreeClick()
DStatus.java216 mTelephonyManager = (TelephonyManager)getSystemService(TELEPHONY_SERVICE); in onCreate()
261 ((TelephonyManager) getSystemService(TELEPHONY_SERVICE)) in onCreate()
477 ConnectivityManager cm = (ConnectivityManager) getSystemService(CONNECTIVITY_SERVICE); in setWimaxStatus()
492 WifiManager wifiManager = (WifiManager) getSystemService(WIFI_SERVICE); in setWifiStatus()
/packages/apps/Settings/src/com/android/settings/widget/
DSettingsAppWidgetProvider.java368 WifiManager wifiManager = (WifiManager) context.getSystemService(Context.WIFI_SERVICE); in getActualState()
378 (WifiManager) context.getSystemService(Context.WIFI_SERVICE); in requestStateChange()
543 (UserManager) context.getSystemService(Context.USER_SERVICE); in requestStateChange()
594 (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); in requestStateChange()
717 final PowerManager pm = (PowerManager)context.getSystemService(Context.POWER_SERVICE); in updateButtons()
856 PowerManager pm = (PowerManager)context.getSystemService(Context.POWER_SERVICE); in toggleBrightness()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerReceiver.java166 AlarmManager mngr = (AlarmManager)context.getSystemService(Context.ALARM_SERVICE); in updateNextTimesup()
271 (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in showCollapsedNotificationWithNext()
293 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); in showCollapsedNotification()
355 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); in cancelInUseNotification()
/packages/apps/Contacts/src/com/android/contacts/
DContactsActivity.java68 public Object getSystemService(String name) { in getSystemService() method in ContactsActivity
69 Object service = super.getSystemService(name); in getSystemService()
74 return getApplicationContext().getSystemService(name); in getSystemService()
DContactsApplication.java88 public Object getSystemService(String name) { in getSystemService() method in ContactsApplication
90 Object service = sInjectedServices.getSystemService(name); in getSystemService()
105 return super.getSystemService(name); in getSystemService()
/packages/apps/Email/src/com/android/email/
DEmailConnectivityManager.java73 (ConnectivityManager)context.getSystemService(Context.CONNECTIVITY_SERVICE); in EmailConnectivityManager()
74 PowerManager pm = (PowerManager)context.getSystemService(Context.POWER_SERVICE); in EmailConnectivityManager()
157 (ConnectivityManager)context.getSystemService(Context.CONNECTIVITY_SERVICE); in getActiveNetworkType()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingRequest.java66 (PowerManager)context.getSystemService(Context.POWER_SERVICE); in onReceive()
96 context.getSystemService(Context.NOTIFICATION_SERVICE); in onReceive()
104 .getSystemService(Context.NOTIFICATION_SERVICE); in onReceive()
DBluetoothPermissionRequest.java81 (PowerManager) context.getSystemService(Context.POWER_SERVICE); in onReceive()
112 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); in onReceive()
118 .getSystemService(Context.NOTIFICATION_SERVICE); in onReceive()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransferActivity.java361 ((NotificationManager)getSystemService(NOTIFICATION_SERVICE)) in onClick()
370 ((NotificationManager)getSystemService(NOTIFICATION_SERVICE)) in onClick()
387 ((NotificationManager)getSystemService(NOTIFICATION_SERVICE)) in onClick()
405 ((NotificationManager)getSystemService(NOTIFICATION_SERVICE)) in onClick()
/packages/apps/Phone/src/com/android/phone/
DPhoneUtils.java1069 LayoutInflater inflater = (LayoutInflater) context.getSystemService( in displayMMIComplete()
1800 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in turnOnSpeaker()
1837 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in isSpeakerOn()
1844 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in turnOnNoiseSuppression()
1884 AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in isNoiseSuppressionOn()
1931 (AudioManager) phone.getContext().getSystemService(Context.AUDIO_SERVICE); in setMuteInternal()
1952 (AudioManager) app.getSystemService(Context.AUDIO_SERVICE); in getMute()
1971 context.getSystemService(Context.AUDIO_SERVICE); in setAudioMode()
/packages/apps/Email/tests/src/com/android/email/
DDBTestHelper.java211 public Object getSystemService(String name) { in getSystemService() method in DBTestHelper.ProviderContextSetupHelper.MyIsolatedContext
213 return mRealContext.getSystemService(name); in getSystemService()
215 return super.getSystemService(name); in getSystemService()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DUpdateHandler.java247 (DownloadManager) context.getSystemService(Context.DOWNLOAD_SERVICE); in updateClientsWithMetadataUri()
305 (DownloadManager) context.getSystemService(Context.DOWNLOAD_SERVICE); in cancelUpdate()
423 (DownloadManager) context.getSystemService(Context.DOWNLOAD_SERVICE); in downloadFinished()
855 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); in showDictionaryAvailableNotification()
930 (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); in installIfNeverRequested()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarms.java428 context.getSystemService(Context.ALARM_SERVICE); in enableAlert()
470 context.getSystemService(Context.ALARM_SERVICE); in disableAlert()
529 context.getSystemService(Context.NOTIFICATION_SERVICE); in clearSnoozePreference()
543 context.getSystemService(Context.NOTIFICATION_SERVICE); in clearAllSnoozePreferences()
DAlarmKlaxon.java90 mVibrator = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE); in onCreate()
93 (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); in onCreate()
238 final AudioManager audioManager = (AudioManager)getSystemService(Context.AUDIO_SERVICE); in startAlarm()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapService.java443 PowerManager pm = (PowerManager)getSystemService(Context.POWER_SERVICE); in startObexServerSession()
449 TelephonyManager tm = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE); in startObexServerSession()
686 getSystemService(Context.NOTIFICATION_SERVICE); in createPbapNotification()
720 getSystemService(Context.NOTIFICATION_SERVICE); in removePbapNotification()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DEyePosition.java78 .getSystemService(Context.WINDOW_SERVICE); in EyePosition()
207 .getSystemService(Context.SENSOR_SERVICE); in pause()
215 .getSystemService(Context.SENSOR_SERVICE); in resume()
/packages/apps/Calculator/src/com/android/calculator2/
DCalculatorEditText.java170 getSystemService(Context.CLIPBOARD_SERVICE); in setPrimaryClip()
178 ClipboardManager clipboard = (ClipboardManager) getContext().getSystemService( in copyContent()
195 ClipboardManager clipboard = (ClipboardManager) getContext().getSystemService( in getPrimaryClip()
/packages/apps/Exchange/exchange2/src/com/android/exchange/
DExchangeService.java1052 AlarmManager alarmManager = (AlarmManager)INSTANCE.getSystemService(Context.ALARM_SERVICE);
1425 PowerManager pm = (PowerManager)getSystemService(Context.POWER_SERVICE); in acquireWakeLock()
1471 AlarmManager alarmManager = (AlarmManager)getSystemService(Context.ALARM_SERVICE); in clearAlarm()
1489 AlarmManager alarmManager = (AlarmManager)getSystemService(Context.ALARM_SERVICE); in setAlarm()
1497 AlarmManager alarmManager = (AlarmManager)getSystemService(Context.ALARM_SERVICE); in clearAlarms()
1618 (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE); in onReceive()
1758 (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE); in waitForConnectivity()
1991 ConnectivityManager cm = (ConnectivityManager)getSystemService( in run()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiSettings.java263 activity.getSystemService(Context.CONNECTIVITY_SERVICE); in onCreateView()
294 mWifiManager = (WifiManager) getSystemService(Context.WIFI_SERVICE); in onActivityCreated()
295 mUserManager = (UserManager) getSystemService(Context.USER_SERVICE); in onActivityCreated()
361 activity.getSystemService(Context.CONNECTIVITY_SERVICE); in onActivityCreated()
377 activity.getSystemService(Context.CONNECTIVITY_SERVICE); in onActivityCreated()

12345678910>>...19