Home
last modified time | relevance | path

Searched refs:TELEPHONY_SERVICE (Results 1 – 25 of 72) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/updates/
DEmergencyNumberDbInstallReceiver.java41 Context.TELEPHONY_SERVICE); in postInstall()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DVisualVoicemailSmsFilterTest.java92 .thenReturn(Context.TELEPHONY_SERVICE); in setUp()
93 when(mContext.getSystemService(Context.TELEPHONY_SERVICE)) in setUp()
DSmsPermissionsTest.java213 Mockito.when(mMockContext.getSystemService(Context.TELEPHONY_SERVICE)).thenReturn( in testCheckCallingOrSelfCanGetSmscAddressPermissions_noPermissions()
245 Mockito.when(mMockContext.getSystemService(Context.TELEPHONY_SERVICE)).thenReturn( in testCheckCallingOrSelfCanSetSmscAddressPermissions_noPermissions()
DTelephonyPermissionsTest.java105 when(mMockContext.getSystemService(Context.TELEPHONY_SERVICE)).thenReturn( in setUp()
566 ((Map<String, IBinder>) field.get(null)).put(Context.TELEPHONY_SERVICE, in setTelephonyMockAsService()
/frameworks/opt/net/ims/tests/src/com/android/ims/
DContextFixture.java96 case Context.TELEPHONY_SERVICE: in getSystemService()
120 return Context.TELEPHONY_SERVICE; in getSystemServiceName()
/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/
DTs43AuthenticationTest.java123 doReturn(Context.TELEPHONY_SERVICE).when(mContext) in setUp()
125 doReturn(mTelephonyManager).when(mContext).getSystemService(Context.TELEPHONY_SERVICE); in setUp()
DTs43OperationTest.java316 doReturn(Context.TELEPHONY_SERVICE).when(mContext) in setUp()
318 doReturn(mTelephonyManager).when(mContext).getSystemService(Context.TELEPHONY_SERVICE); in setUp()
/frameworks/base/core/java/android/os/
DTelephonyServiceManager.java115 return new ServiceRegisterer(Context.TELEPHONY_SERVICE); in getTelephonyServiceRegisterer()
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/
DDataIdleTest.java47 mTelephonyManager = (TelephonyManager) c.getSystemService(Context.TELEPHONY_SERVICE); in setUp()
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java109 (TelephonyManager)context.getSystemService(Context.TELEPHONY_SERVICE); in GpsNetInitiatedHandler()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/domainselection/
DDomainSelectionControllerTest.java100 return Context.TELEPHONY_SERVICE; in setUp()
108 case (Context.TELEPHONY_SERVICE) : { in setUp()
/frameworks/base/telephony/java/android/telephony/
DTelephonyFrameworkInitializer.java104 Context.TELEPHONY_SERVICE, in registerServiceWrappers()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/
DUtil.java184 (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); in isVoiceCapable()
/frameworks/opt/net/ims/src/java/com/android/ims/
DFeatureConnection.java71 return (TelephonyManager) mContext.getSystemService(Context.TELEPHONY_SERVICE); in getTelephonyManager()
/frameworks/base/tests/vcn/java/com/android/server/vcn/routeselection/
DNetworkEvaluationTestBase.java150 mContext, mTelephonyManager, Context.TELEPHONY_SERVICE, TelephonyManager.class); in setUp()
/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java318 Context.TELEPHONY_SERVICE); in getTelephonyManager()
539 mContext.getSystemService(Context.TELEPHONY_SERVICE); in adjustUriForUserAndGrantPermission()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/gnss/
DGnssLocationProviderTest.java109 doReturn(mTelephonyManager).when(mContext).getSystemService(Context.TELEPHONY_SERVICE); in setUp()
/frameworks/base/telephony/common/com/android/internal/telephony/
DTelephonyPermissions.java726 Context.TELEPHONY_SERVICE); in getCarrierPrivilegeStatus()
859 Context.TELEPHONY_SERVICE); in checkSubscriptionAssociatedWithUser()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneFallbackEventHandler.java289 Context.TELEPHONY_SERVICE); in getTelephonyManager()
/frameworks/base/services/tests/servicestests/src/com/android/server/emergency/
DEmergencyAffordanceServiceTest.java108 case Context.TELEPHONY_SERVICE: in getSystemService()
/frameworks/base/tests/vcn/java/com/android/server/vcn/
DTelephonySubscriptionTrackerTest.java163 doReturn(Context.TELEPHONY_SERVICE) in TelephonySubscriptionTrackerTest()
166 doReturn(mTelephonyManager).when(mContext).getSystemService(Context.TELEPHONY_SERVICE); in TelephonySubscriptionTrackerTest()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DVisualVoicemailSmsFilter.java133 (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); in filter()
/frameworks/base/services/core/java/com/android/server/location/countrydetector/
DComprehensiveCountryDetector.java145 mTelephonyManager = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); in ComprehensiveCountryDetector()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java143 mTelephonyManager = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE); in initLocationListeners()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java78 mTManager = (TelephonyManager)mContext.getSystemService(Context.TELEPHONY_SERVICE); in setUp()

123