/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CarrierActionUtils.java | 104 final TelephonyManager telephonyMgr = context.getSystemService(TelephonyManager.class); in onDisableAllMeteredApns() 112 final TelephonyManager telephonyMgr = context.getSystemService(TelephonyManager.class); in onEnableAllMeteredApns() 136 final TelephonyManager telephonyMgr = context.getSystemService(TelephonyManager.class); in onRegisterDefaultNetworkAvail() 144 final TelephonyManager telephonyMgr = context.getSystemService(TelephonyManager.class); in onDeregisterDefaultNetworkAvail() 152 final TelephonyManager telephonyMgr = context.getSystemService(TelephonyManager.class); in onDisableRadio() 160 final TelephonyManager telephonyMgr = context.getSystemService(TelephonyManager.class); in onEnableRadio() 175 context.getSystemService(NotificationManager.class) in onShowCaptivePortalNotification() 187 context.getSystemService(NotificationManager.class) in onShowNoDataServiceNotification() 196 context.getSystemService(NotificationManager.class).cancelAll(); in onCancelAllNotifications() 201 final TelephonyManager telephonyMgr = context.getSystemService(TelephonyManager.class); in getNotification() [all …]
|
/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/packages/EasterEgg/src/com/android/egg/neko/ |
D | NekoService.java | 58 NotificationManager noman = context.getSystemService(NotificationManager.class); in setupNotificationChannels() 73 NotificationManager noman = getSystemService(NotificationManager.class); in onStartJob() 123 JobScheduler jss = context.getSystemService(JobScheduler.class); in registerJobIfNeeded() 133 JobScheduler jss = context.getSystemService(JobScheduler.class); in registerJob() 147 NotificationManager noman = context.getSystemService(NotificationManager.class); in registerJob() 161 JobScheduler jss = context.getSystemService(JobScheduler.class); in cancelJob()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorContext.java | 49 public Object getSystemService(String name) { in getSystemService() method in DecorContext 53 (WindowManagerImpl) super.getSystemService(Context.WINDOW_SERVICE); in getSystemService() 58 return super.getSystemService(name); in getSystemService()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockUtils.java | 78 final DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfRestrictionEnforced() 123 final UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE); in hasBaseUserRestriction() 153 (DevicePolicyManager) context.getSystemService(Context.DEVICE_POLICY_SERVICE); in checkIfKeyguardFeaturesDisabled() 236 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfInputMethodDisallowed() 270 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfRemoteContactSearchDisallowed() 289 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfAccessibilityServiceDisallowed() 318 UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE); in getManagedProfileId() 344 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfAccountManagementDisabled() 371 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfAutoTimeRequired() 395 final DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfPasswordQualityIsSet() [all …]
|
/frameworks/base/services/core/java/com/android/server/oemlock/ |
D | PersistentDataBlockLock.java | 69 mContext.getSystemService(Context.PERSISTENT_DATA_BLOCK_SERVICE); in setOemUnlockAllowedByDevice() 76 mContext.getSystemService(Context.PERSISTENT_DATA_BLOCK_SERVICE); in isOemUnlockAllowedByDevice() 87 mContext.getSystemService(Context.PERSISTENT_DATA_BLOCK_SERVICE); in disallowUnlockIfNotUnlocked()
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | ResourceCursorAdapter.java | 56 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter() 84 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter() 101 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | NotificationChannelController.java | 68 context.getSystemService(NotificationManager.class) in createAll() 88 context.getSystemService(NotificationManager.class) in createAll() 102 return context.getSystemService(NotificationManager.class) in getChannel() 125 context.getSystemService(NotificationManager.class) in migrateVoicemailNotificationSettings()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | RotationHelper.java | 67 ((DisplayManager) sContext.getSystemService(Context.DISPLAY_SERVICE)) in enable() 73 ((DisplayManager) sContext.getSystemService(Context.DISPLAY_SERVICE)) in disable() 83 int newRotation = ((WindowManager) sContext.getSystemService( in updateOrientation()
|
/frameworks/base/telephony/java/android/telephony/ |
D | VisualVoicemailService.java | 252 TelephonyManager telephonyManager = context.getSystemService(TelephonyManager.class); in setSmsFilterSettings() 284 TelephonyManager telephonyManager = context.getSystemService(TelephonyManager.class); in sendVisualVoicemailSms() 290 TelephonyManager telephonyManager = context.getSystemService(TelephonyManager.class); in getSubId() 291 TelecomManager telecomManager = context.getSystemService(TelecomManager.class); in getSubId()
|
/frameworks/base/core/java/android/widget/ |
D | ResourceCursorAdapter.java | 57 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter() 80 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter() 98 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter()
|
/frameworks/base/core/java/android/app/ |
D | Presentation.java | 192 mDisplayManager = (DisplayManager)getContext().getSystemService(DISPLAY_SERVICE); in Presentation() 332 (WindowManagerImpl)outerContext.getSystemService(WINDOW_SERVICE); in createPresentationContext() 337 public Object getSystemService(String name) { in createPresentationContext() 341 return super.getSystemService(name); in createPresentationContext()
|
/frameworks/support/compat/java/android/support/v4/content/pm/ |
D | ShortcutManagerCompat.java | 54 return context.getSystemService(ShortcutManager.class).isRequestPinShortcutSupported(); in isRequestPinShortcutSupported() 91 return context.getSystemService(ShortcutManager.class).requestPinShortcut( in requestPinShortcut() 135 result = context.getSystemService(ShortcutManager.class) in createShortcutResultIntent()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | ViewUtils.java | 42 view.getContext().getSystemService(WindowManager.class).addView(view, lp); in attachView() 51 view.getContext().getSystemService(WindowManager.class).removeViewImmediate(view); in detachView()
|
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/core/ |
D | InstrumentationUiAutomatorBridge.java | 41 mContext.getSystemService(Service.WINDOW_SERVICE); in getDefaultDisplay() 53 mContext.getSystemService(Service.POWER_SERVICE); in isScreenOn()
|
/frameworks/support/compat/java/android/support/v4/app/ |
D | AppOpsManagerCompat.java | 85 AppOpsManager appOpsManager = context.getSystemService(AppOpsManager.class); in noteOp() 111 AppOpsManager appOpsManager = context.getSystemService(AppOpsManager.class); in noteProxyOp()
|
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/ |
D | TestContext.java | 45 public Object getSystemService(String name) { in getSystemService() method in TestContext 51 return super.getSystemService(name); in getSystemService()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/flow/ |
D | PlatformAdapter.java | 183 WifiManager wifiManager = (WifiManager) context.getSystemService(Context.WIFI_SERVICE); in loadAllSps() 231 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE); in connect() 459 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE); in addNetwork() 492 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE); in updateNetwork() 532 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE); in addSP() 538 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE); in modifySP() 549 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE); in reconnect() 559 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE); in deleteNetwork() 565 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE); in getConnectionInfo() 570 WifiManager wifiManager = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE); in getCurrentNetwork() [all …]
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | Demo0.java | 48 getSystemService(Context.LAYOUT_INFLATER_SERVICE); in sendMessage() 54 getSystemService(Context.LAYOUT_INFLATER_SERVICE); in sendMessage()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | ListViewTest.java | 108 public Object getSystemService(String name) { in getSystemService() method in ListViewTest.MockContext2 110 return getInstrumentation().getTargetContext().getSystemService(name); in getSystemService() 112 return super.getSystemService(name); in getSystemService()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | PrivateStorageInfo.java | 43 final StorageStatsManager stats = context.getSystemService(StorageStatsManager.class); in getPrivateStorageInfo() 62 final StorageStatsManager stats = context.getSystemService(StorageStatsManager.class); in getTotalSize()
|
/frameworks/base/services/core/java/com/android/server/timezone/ |
D | TimeZoneUpdateIdler.java | 71 (JobScheduler) context.getSystemService(Context.JOB_SCHEDULER_SERVICE); in schedule() 96 (JobScheduler) context.getSystemService(Context.JOB_SCHEDULER_SERVICE); in unschedule()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/ |
D | DiskStatsLoggingServiceTest.java | 90 when(mJobService.getSystemService(anyString())).thenReturn(mSsm); in setUp() 180 doReturn(batteryManager).when(service).getSystemService(Context.BATTERY_SERVICE); in testDontCrashOnRun() 183 doReturn(userManager).when(service).getSystemService(Context.USER_SERVICE); in testDontCrashOnRun() 184 doReturn(mSsm).when(service).getSystemService(Context.STORAGE_STATS_SERVICE); in testDontCrashOnRun() 187 .getSystemService(Context.STORAGE_SERVICE); in testDontCrashOnRun()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerTestBase.java | 128 mCm = (ConnectivityManager)mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in setUp() 130 mWifiManager =(WifiManager)mContext.getSystemService(Context.WIFI_SERVICE); in setUp() 267 (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); in turnScreenOff() 275 (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); in turnScreenOn() 278 KeyguardManager km = (KeyguardManager) mContext.getSystemService(Context.KEYGUARD_SERVICE); in turnScreenOn()
|
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/ |
D | UsbHostManagementActivity.java | 82 UsbManager usbManager = (UsbManager)getSystemService(Context.USB_SERVICE); in onCreate() 154 UsbManager usbManager = (UsbManager)getSystemService(Context.USB_SERVICE); in startAoapActivity() 168 UsbManager usbManager = (UsbManager)getSystemService(Context.USB_SERVICE); in dumpUsbDevices() 191 UsbManager usbManager = (UsbManager)getSystemService(Context.USB_SERVICE); in handleUsbDeviceAttached()
|