/packages/apps/Camera2/src/com/android/camera/util/ |
D | AndroidServices.java | 66 return (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE); in provideActivityManager() 70 return (AudioManager) getSystemService(Context.AUDIO_SERVICE); in provideAudioManager() 74 return (AccessibilityManager) getSystemService(Context.ACCESSIBILITY_SERVICE); in provideAccessibilityManager() 82 Object service = ApiHelper.HAS_CAMERA_2_API ? getSystemService(Context.CAMERA_SERVICE) in provideCameraManager() 94 return (DevicePolicyManager) getSystemService(Context.DEVICE_POLICY_SERVICE); in provideDevicePolicyManager() 98 return (DisplayManager) getSystemService(Context.DISPLAY_SERVICE); in provideDisplayManager() 102 return (KeyguardManager) getSystemService(Context.KEYGUARD_SERVICE); in provideKeyguardManager() 106 return (LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE); in provideLayoutInflater() 110 return (LocationManager) getSystemService(Context.LOCATION_SERVICE); in provideLocationManager() 114 return (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); in provideNotificationManager() [all …]
|
/packages/apps/Settings/src/com/android/settings/ |
D | WirelessSettings.java | 221 mCm = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); 222 mTm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); 224 mUm = (UserManager) getSystemService(Context.USER_SERVICE); 319 activity.getSystemService(Context.DEVICE_POLICY_SERVICE); 326 (ConnectivityManager) activity.getSystemService(Context.CONNECTIVITY_SERVICE); 441 final UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE); 458 context.getSystemService(Context.NFC_SERVICE); 493 context.getSystemService(Context.CONNECTIVITY_SERVICE);
|
D | SecuritySettings.java | 153 mDPM = (DevicePolicyManager)getSystemService(Context.DEVICE_POLICY_SERVICE); in onCreate() 269 getActivity().getSystemService(Context.CARRIER_CONFIG_SERVICE); in createPreferenceHierarchy() 289 final UserManager um = (UserManager) getActivity().getSystemService(Context.USER_SERVICE); in createPreferenceHierarchy() 345 FingerprintManager fpm = (FingerprintManager) getActivity().getSystemService( in maybeAddFingerprintPreference() 477 final UserManager um = (UserManager) getActivity().getSystemService(Context.USER_SERVICE); in setNonMarketAppsAllowed() 748 context.getSystemService(Context.DEVICE_POLICY_SERVICE); in getXmlResourcesToIndex() 798 (FingerprintManager) context.getSystemService(Context.FINGERPRINT_SERVICE); in getRawDataToIndex() 813 final UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE); in getRawDataToIndex() 833 context.getSystemService(DevicePolicyManager.class)); in getRawDataToIndex() 859 final UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE); in getNonIndexableKeys()
|
D | ResetNetworkConfirm.java | 73 context.getSystemService(Context.CONNECTIVITY_SERVICE); 79 context.getSystemService(Context.WIFI_SERVICE); 85 context.getSystemService(Context.TELEPHONY_SERVICE); 91 context.getSystemService(Context.NETWORK_POLICY_SERVICE); 98 context.getSystemService(Context.BLUETOOTH_SERVICE);
|
D | CryptKeeper.java | 278 final InputMethodManager imm = (InputMethodManager) getSystemService( in handleBadAttempt() 427 mStatusBar = (StatusBarManager) getSystemService(Context.STATUS_BAR_SERVICE); in onCreate() 431 mAudioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in onCreate() 575 PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE); in encryptionProgressInit() 762 final InputMethodManager imm = (InputMethodManager) getSystemService( in passwordEntryInit() 779 final PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE); in passwordEntryInit() 981 return (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); in getTelephonyManager() 985 return (TelecomManager) getSystemService(Context.TELECOM_SERVICE); in getTelecomManager()
|
D | TetherSettings.java | 125 mUm = (UserManager) getSystemService(Context.USER_SERVICE); in onCreate() 148 (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE); in onCreate() 193 mWifiManager = (WifiManager) getSystemService(Context.WIFI_SERVICE); in initWifiTethering() 343 (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE); in updateState() 361 (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE); in updateUsbState() 554 (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE); in setUsbTethering() 566 (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE); in onPreferenceTreeClick()
|
D | Utils.java | 291 (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); in isVoiceCapable() 296 ConnectivityManager cm = (ConnectivityManager)context.getSystemService( in isWifiOnly() 308 context.getSystemService(Context.CONNECTIVITY_SERVICE); in getWifiIpAddresses() 505 UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE); in copyMeProfilePhoto() 606 return ((UserManager) context.getSystemService(Context.USER_SERVICE)) in hasMultipleUsers() 893 context.getSystemService(Context.PERSISTENT_DATA_BLOCK_SERVICE); in isOemUnlockEnabled() 903 context.getSystemService(Context.PERSISTENT_DATA_BLOCK_SERVICE); in setOemUnlockEnabled() 953 (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); in showSimCardTile() 1197 (DevicePolicyManager) context.getSystemService(Context.DEVICE_POLICY_SERVICE); in getAdminApplicationInfo()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
D | Utils.java | 234 (DevicePolicyManager) context.getSystemService(Context.DEVICE_POLICY_SERVICE); in hasDeviceOwner() 240 (DevicePolicyManager) context.getSystemService(Context.DEVICE_POLICY_SERVICE); in hasDeviceInitializer() 245 UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE); in isManagedProfile() 303 UserManager userManager = (UserManager) context.getSystemService(Context.USER_SERVICE); in getManagedProfile() 330 (AccountManager) context.getSystemService(Context.ACCOUNT_SERVICE); in removeAccount() 352 Object pdbManager = context.getSystemService(Context.PERSISTENT_DATA_BLOCK_SERVICE); in isFrpSupported()
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | DynamicIndexableContentMonitor.java | 112 mContext.getSystemService(Context.ACCESSIBILITY_SERVICE); in register() 128 mContext.getSystemService(Context.PRINT_SERVICE); in register() 144 mContext.getSystemService(Context.INPUT_METHOD_SERVICE); in register() 160 InputManager inputManager = (InputManager) context.getSystemService( in register() 171 InputManager inputManager = (InputManager) mContext.getSystemService( in unregister()
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | PhoneAccountUtils.java | 38 (TelecomManager) context.getSystemService(Context.TELECOM_SERVICE); in getSubscriptionPhoneAccounts() 78 (TelecomManager) context.getSystemService(Context.TELECOM_SERVICE); in getAccountColor() 94 (TelecomManager) context.getSystemService(Context.TELECOM_SERVICE); in getAccountSupportsCallSubject() 108 (TelecomManager) context.getSystemService(Context.TELECOM_SERVICE); in getAccountOrNull()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | StorageSettings.java | 100 mStorageManager = context.getSystemService(StorageManager.class); in onCreate() 293 mStorageManager = mContext.getSystemService(StorageManager.class); in MountTask() 329 mStorageManager = mContext.getSystemService(StorageManager.class); in UnmountTask() 371 final StorageManager sm = context.getSystemService(StorageManager.class); in onCreateDialog() 408 final StorageManager sm = context.getSystemService(StorageManager.class); in onCreateDialog() 452 final StorageManager storage = context.getSystemService(StorageManager.class);
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | AccessibilitySettingsFragment.java | 73 mAudioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in onCreate() 104 (TelephonyManager) mContext.getSystemService(Context.TELEPHONY_SERVICE); in onResume() 115 (TelephonyManager) mContext.getSystemService(Context.TELEPHONY_SERVICE); in onPause() 141 (CarrierConfigManager) mContext.getSystemService(Context.CARRIER_CONFIG_SERVICE); in getVolteTtySupported()
|
/packages/apps/Dialer/src/com/android/dialer/ |
D | SpecialCharSequenceMgr.java | 198 (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); in handleAdnEntry() 209 (KeyguardManager) context.getSystemService(Context.KEYGUARD_SERVICE); in handleAdnEntry() 249 (TelecomManager) context.getSystemService(Context.TELECOM_SERVICE); in handleAdnEntry() 303 (TelecomManager) context.getSystemService(Context.TELECOM_SERVICE); in handlePinEntry() 331 (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); in handleDeviceIdDisplay()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothPairingRequest.java | 66 (PowerManager)context.getSystemService(Context.POWER_SERVICE); in onReceive() 100 context.getSystemService(Context.NOTIFICATION_SERVICE); in onReceive() 108 .getSystemService(Context.NOTIFICATION_SERVICE); in onReceive() 120 .getSystemService(Context.NOTIFICATION_SERVICE); in onReceive()
|
D | BluetoothPermissionRequest.java | 63 UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE); in onReceive() 114 (PowerManager) context.getSystemService(Context.POWER_SERVICE); in onReceive() 180 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); in onReceive() 189 .getSystemService(Context.NOTIFICATION_SERVICE); in onReceive()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | InputMethodAndLanguageSettings.java | 119 mImm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); in onCreate() 166 mIm = (InputManager)activity.getSystemService(Context.INPUT_SERVICE); in onCreate() 186 getSystemService(Context.DEVICE_POLICY_SERVICE)); in onCreate() 255 final TextServicesManager tsm = (TextServicesManager) getSystemService( in onResume() 328 getSystemService(Context.INPUT_METHOD_SERVICE); in onPreferenceTreeClick() 710 InputMethodManager inputMethodManager = (InputMethodManager) context.getSystemService( 749 InputManager inputManager = (InputManager) context.getSystemService(
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | SettingsAppWidgetProvider.java | 369 WifiManager wifiManager = (WifiManager) context.getSystemService(Context.WIFI_SERVICE); in getActualState() 379 (WifiManager) context.getSystemService(Context.WIFI_SERVICE); in requestStateChange() 556 (UserManager) context.getSystemService(Context.USER_SERVICE); in requestStateChange() 620 (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); in requestStateChange() 743 final PowerManager pm = (PowerManager)context.getSystemService(Context.POWER_SERVICE); in updateButtons() 882 PowerManager pm = (PowerManager)context.getSystemService(Context.POWER_SERVICE); in toggleBrightness()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | WifiConfigHelper.java | 229 WifiManager wifiMan = (WifiManager) context.getSystemService(Context.WIFI_SERVICE); in saveConfiguration() 258 WifiManager wifiMan = (WifiManager) context.getSystemService(Context.WIFI_SERVICE); in forgetConfiguration() 278 WifiManager mWifiManager = (WifiManager) context.getSystemService(Context.WIFI_SERVICE); in forgetWifiNetwork() 298 WifiManager wifiMan = (WifiManager) context.getSystemService(Context.WIFI_SERVICE); in getFromConfiguredNetworks()
|
/packages/apps/Settings/src/com/android/settings/sim/ |
D | SimSettings.java | 88 (TelephonyManager) getActivity().getSystemService(Context.TELEPHONY_SERVICE); in onCreate() 201 (TelephonyManager) getActivity().getSystemService(Context.TELEPHONY_SERVICE); in onResume() 210 final TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); in onPause() 301 (TelephonyManager) mContext.getSystemService(Context.TELEPHONY_SERVICE); in getPhoneNumber()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | ImeUtil.java | 65 (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE); in hideImeKeyboard() 76 (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE); in showImeKeyboard() 85 (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE); in hideSoftInput()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapService.java | 487 PowerManager pm = (PowerManager)getSystemService(Context.POWER_SERVICE); in startObexServerSession() 493 TelephonyManager tm = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE); in startObexServerSession() 721 PowerManager pm = (PowerManager)getSystemService( 772 getSystemService(Context.NOTIFICATION_SERVICE); in createPbapNotification() 808 getSystemService(Context.NOTIFICATION_SERVICE); in removePbapNotification()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactsActivity.java | 68 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()
|
D | ContactsApplication.java | 90 public Object getSystemService(String name) { in getSystemService() method in ContactsApplication 92 Object service = sInjectedServices.getSystemService(name); in getSystemService() 98 return super.getSystemService(name); in getSystemService()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapServer.java | 284 (NotificationManager) mContext.getSystemService(Context.NOTIFICATION_SERVICE); in setNotification() 291 (NotificationManager) mContext.getSystemService(Context.NOTIFICATION_SERVICE); in clearNotification() 567 (TelephonyManager)mContext.getSystemService(Context.TELEPHONY_SERVICE); in isCallOngoing() 676 (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); in startDisconnectTimer() 694 (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); in stopDisconnectTimer()
|
/packages/apps/Email/provider_src/com/android/email/ |
D | EmailConnectivityManager.java | 74 (ConnectivityManager)context.getSystemService(Context.CONNECTIVITY_SERVICE); in EmailConnectivityManager() 75 PowerManager pm = (PowerManager)context.getSystemService(Context.POWER_SERVICE); in EmailConnectivityManager() 158 (ConnectivityManager)context.getSystemService(Context.CONNECTIVITY_SERVICE); in getActiveNetworkType()
|