/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CarrierActionUtils.java | 108 final TelephonyManager telephonyMgr = context.getSystemService(TelephonyManager.class); in onDisableAllMeteredApns() 116 final TelephonyManager telephonyMgr = context.getSystemService(TelephonyManager.class); in onEnableAllMeteredApns() 140 final TelephonyManager telephonyMgr = context.getSystemService(TelephonyManager.class); in onRegisterDefaultNetworkAvail() 148 final TelephonyManager telephonyMgr = context.getSystemService(TelephonyManager.class); in onDeregisterDefaultNetworkAvail() 156 final TelephonyManager telephonyMgr = context.getSystemService(TelephonyManager.class); in onDisableRadio() 164 final TelephonyManager telephonyMgr = context.getSystemService(TelephonyManager.class); in onEnableRadio() 179 context.getSystemService(NotificationManager.class) in onShowCaptivePortalNotification() 191 context.getSystemService(NotificationManager.class) in onShowNoDataServiceNotification() 200 context.getSystemService(NotificationManager.class).cancelAll(); in onCancelAllNotifications() 207 final TelephonyManager telephonyMgr = context.getSystemService(TelephonyManager.class); in onResetAllCarrierActions() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | SearchManagerTest.java | 111 mContext.getSystemService(Context.SEARCH_SERVICE); in testSearchManagerAvailable() 114 mContext.getSystemService(Context.SEARCH_SERVICE); in testSearchManagerAvailable() 125 mContext.getSystemService(Context.SEARCH_SERVICE); in testStartSearchIdempotent() 139 mContext.getSystemService(Context.SEARCH_SERVICE); in testStopSearchIdempotent() 154 mContext.getSystemService(Context.SEARCH_SERVICE); in testSearchManagerInvocations()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/ |
D | SimStatusImeiInfoPreferenceControllerTest.java | 57 extract(RuntimeEnvironment.application.getSystemService(UserManager.class)); in testIsAvailable_isAdminAndHasMobile_shouldReturnTrue() 60 extract(RuntimeEnvironment.application.getSystemService(ConnectivityManager.class)); in testIsAvailable_isAdminAndHasMobile_shouldReturnTrue() 69 extract(RuntimeEnvironment.application.getSystemService(UserManager.class)); in testIsAvailable_isAdminButNoMobile_shouldReturnFalse() 72 extract(RuntimeEnvironment.application.getSystemService(ConnectivityManager.class)); in testIsAvailable_isAdminButNoMobile_shouldReturnFalse() 81 extract(RuntimeEnvironment.application.getSystemService(UserManager.class)); in testIsAvailable_isNotAdmin_shouldReturnFalse()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorContext.java | 62 public Object getSystemService(String name) { in getSystemService() method in DecorContext 66 (WindowManagerImpl) super.getSystemService(Context.WINDOW_SERVICE); in getSystemService() 76 .getSystemService(name); in getSystemService() 81 return super.getSystemService(name); in getSystemService()
|
D | PhoneFallbackEventHandler.java | 293 mSearchManager = (SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE); in getSearchManager() 300 mTelephonyManager = (TelephonyManager)mContext.getSystemService( in getTelephonyManager() 308 mKeyguardManager = (KeyguardManager)mContext.getSystemService(Context.KEYGUARD_SERVICE); in getKeyguardManager() 315 mAudioManager = (AudioManager)mContext.getSystemService(Context.AUDIO_SERVICE); in getAudioManager() 323 (MediaSessionManager) mContext.getSystemService(Context.MEDIA_SESSION_SERVICE); in getMediaSessionManager()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockUtilsInternal.java | 88 final DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfRestrictionEnforced() 133 final UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE); in hasBaseUserRestriction() 163 (DevicePolicyManager) context.getSystemService(Context.DEVICE_POLICY_SERVICE); in checkIfKeyguardFeaturesDisabled() 259 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfInputMethodDisallowed() 294 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfRemoteContactSearchDisallowed() 313 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfAccessibilityServiceDisallowed() 343 UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE); in getManagedProfileId() 369 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfAccountManagementDisabled() 404 final DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfMeteredDataRestricted() 418 DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService( in checkIfAutoTimeRequired() [all …]
|
D | TetherUtil.java | 33 .getSystemService(Context.CARRIER_CONFIG_SERVICE); in isEntitlementCheckRequired() 59 final ConnectivityManager cm = context.getSystemService(ConnectivityManager.class); in isTetherAvailable()
|
/frameworks/base/services/core/java/com/android/server/oemlock/ |
D | PersistentDataBlockLock.java | 75 mContext.getSystemService(Context.PERSISTENT_DATA_BLOCK_SERVICE); in setOemUnlockAllowedByDevice() 86 mContext.getSystemService(Context.PERSISTENT_DATA_BLOCK_SERVICE); in isOemUnlockAllowedByDevice() 101 mContext.getSystemService(Context.PERSISTENT_DATA_BLOCK_SERVICE); in disallowUnlockIfNotUnlocked()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | NotificationChannelController.java | 90 context.getSystemService(NotificationManager.class) in createAll() 109 context.getSystemService(NotificationManager.class) in createAll() 113 context.getSystemService(NotificationManager.class) in createAll() 127 return context.getSystemService(NotificationManager.class) in getChannel() 150 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 | 190 mDisplayManager = (DisplayManager)getContext().getSystemService(DISPLAY_SERVICE); in Presentation() 327 (WindowManagerImpl)outerContext.getSystemService(WINDOW_SERVICE); in createPresentationContext() 332 public Object getSystemService(String name) { in createPresentationContext() 336 return super.getSystemService(name); in createPresentationContext()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | ViewUtils.java | 41 view.getContext().getSystemService(WindowManager.class).addView(view, lp); in attachView() 50 view.getContext().getSystemService(WindowManager.class).removeViewImmediate(view); in detachView()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | DataUsageUtils.java | 36 final TelephonyManager telephonyManager = context.getSystemService( in getMobileTemplate() 38 final SubscriptionManager subscriptionManager = context.getSystemService( in getMobileTemplate()
|
/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/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/core/tests/coretests/src/android/view/inputmethod/ |
D | InputMethodManagerTest.java | 46 final WindowManager wm = testContext.getSystemService(WindowManager.class); in testPrivateApiGetInstance() 50 defaultDisplayContext.getSystemService(InputMethodManager.class); in testPrivateApiGetInstance()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | LocationControllerImpl.java | 78 mAppOpsManager = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in LocationControllerImpl() 80 = (StatusBarManager) context.getSystemService(Context.STATUS_BAR_SERVICE); in LocationControllerImpl() 130 (LocationManager) mContext.getSystemService(Context.LOCATION_SERVICE); in isLocationEnabled() 144 final UserManager um = (UserManager) mContext.getSystemService(Context.USER_SERVICE); in isUserLocationRestricted()
|
/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 | 107 public Object getSystemService(String name) { in getSystemService() method in ListViewTest.MockContext2 109 return getInstrumentation().getTargetContext().getSystemService(name); in getSystemService() 111 return super.getSystemService(name); in getSystemService()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | TetherUtilTest.java | 57 .when(mContext).getSystemService(Context.CONNECTIVITY_SERVICE); in setUp() 59 .when(mContext).getSystemService(Context.USER_SERVICE); in setUp() 64 doReturn(null).when(mContext).getSystemService(Context.CARRIER_CONFIG_SERVICE); in isEntitlementCheckRequired_noConfigManager_returnTrue()
|
/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/apct-tests/perftests/textclassifier/src/android/view/textclassifier/ |
D | TextClassificationManagerPerfTest.java | 51 context.getSystemService(TextClassificationManager.class); in testGetTextClassifier_systemTextClassifierDisabled() 67 context.getSystemService(TextClassificationManager.class); in testGetTextClassifier_systemTextClassifierEnabled()
|
/frameworks/base/services/core/java/com/android/server/telecom/ |
D | TelecomLoaderService.java | 74 (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in onServiceConnected() 208 (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in registerDefaultAppProviders() 220 final RoleManager roleManager = mContext.getSystemService(RoleManager.class); in registerDefaultAppNotifier() 246 (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in updateSimCallManagerPermissions()
|