Home
last modified time | relevance | path

Searched refs:telephonyManager (Results 1 – 13 of 13) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DVisualVoicemailSmsFilterTest.java37 TelephonyManager telephonyManager = Mockito.mock(TelephonyManager.class); in testUnsupportedPdu() local
40 Mockito.when(context.getSystemService(Mockito.anyString())).thenReturn(telephonyManager); in testUnsupportedPdu()
45 Mockito.when(telephonyManager in testUnsupportedPdu()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCarrierAppUtils.java73 IPackageManager packageManager, TelephonyManager telephonyManager, in disableCarrierAppsUntilPrivileged() argument
83 disableCarrierAppsUntilPrivileged(callingPackage, packageManager, telephonyManager, in disableCarrierAppsUntilPrivileged()
117 IPackageManager packageManager, @Nullable TelephonyManager telephonyManager, in disableCarrierAppsUntilPrivileged() argument
140 boolean hasPrivileges = telephonyManager != null && in disableCarrierAppsUntilPrivileged()
141 telephonyManager.checkCarrierPrivilegesForPackageAnyPhone(packageName) == in disableCarrierAppsUntilPrivileged()
252 TelephonyManager telephonyManager, int userId) { in getDefaultCarrierApps() argument
266 telephonyManager.checkCarrierPrivilegesForPackageAnyPhone(packageName) == in getDefaultCarrierApps()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DDeviceInfoUtils.java180 final TelephonyManager telephonyManager = in getFormattedPhoneNumber() local
183 telephonyManager.getLine1Number(subscriptionInfo.getSubscriptionId()); in getFormattedPhoneNumber()
196 final TelephonyManager telephonyManager = in getFormattedPhoneNumbers() local
200 final String rawNumber = telephonyManager.getLine1Number( in getFormattedPhoneNumbers()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DVisualVoicemailSmsFilter.java60 TelephonyManager telephonyManager = in filter() local
67 telephonyManager.getVisualVoicemailSmsFilterSettings(vvmClientPackage, subId); in filter()
98 String mccMnc = telephonyManager.getSimOperator(subId); in filter()
DUiccSmsController.java268 TelephonyManager telephonyManager = in isSmsSimPickActivityNeeded() local
290 if (subInfoLength > 0 && telephonyManager.getSimCount() > 1) { in isSmsSimPickActivityNeeded()
/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java512 TelephonyManager telephonyManager = in adjustUriForUserAndGrantPermission() local
514 List<String> carrierPackages = telephonyManager.getCarrierPackageNamesForIntent( in adjustUriForUserAndGrantPermission()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java266 public final TelephonyManager telephonyManager; field in DpmMockContext
300 telephonyManager = mock(TelephonyManager.class); in DpmMockContext()
DDevicePolicyManagerServiceTestable.java358 return context.telephonyManager; in getTelephonyManager()
DDevicePolicyManagerTest.java1517 when(mContext.telephonyManager.getCallState()) in testReboot()
1527 when(mContext.telephonyManager.getCallState()) in testReboot()
1537 when(mContext.telephonyManager.getCallState()).thenReturn(TelephonyManager.CALL_STATE_IDLE); in testReboot()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java152 TelephonyManager telephonyManager, WifiManager wifiManager, in NetworkControllerImpl() argument
171 mPhone = telephonyManager; in NetworkControllerImpl()
/frameworks/base/services/core/java/com/android/server/policy/
DGlobalActions.java151 TelephonyManager telephonyManager = in GlobalActions() local
153 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in GlobalActions()
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsManager.java574 final TelephonyManager telephonyManager = TelephonyManager.getDefault(); in isGbaValid() local
575 String efIst = telephonyManager.getIsimIst(); in isGbaValid()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java970 TelephonyManager telephonyManager = in fetchCarrierPrivilegedAppsLocked() local
972 mCarrierPrivilegedApps = telephonyManager.getPackagesWithCarrierPrivileges(); in fetchCarrierPrivilegedAppsLocked()