Home
last modified time | relevance | path

Searched defs:telephonyManager (Results 1 – 25 of 160) sorted by relevance

1234567

/packages/apps/Contacts/src/com/android/contacts/compat/
DTelephonyManagerCompat.java42 public static boolean isVoiceCapable(@Nullable TelephonyManager telephonyManager) { in isVoiceCapable()
65 public static int getPhoneCount(@Nullable TelephonyManager telephonyManager) { in getPhoneCount()
86 public static String getDeviceId(@Nullable TelephonyManager telephonyManager, int slotId) { in getDeviceId()
105 public static boolean isTtyModeSupported(@Nullable TelephonyManager telephonyManager) { in isTtyModeSupported()
123 public static boolean isHearingAidCompatibilitySupported( in isHearingAidCompatibilitySupported()
146 public static Uri getVoicemailRingtoneUri(TelephonyManager telephonyManager, in getVoicemailRingtoneUri()
163 public static boolean isVoicemailVibrationEnabled(TelephonyManager telephonyManager, in isVoicemailVibrationEnabled()
DTelephonyManagerSdkCompat.java27 public static Uri getVoicemailRingtoneUri(TelephonyManager telephonyManager, in getVoicemailRingtoneUri()
33 public static boolean isVoicemailVibrationEnabled(TelephonyManager telephonyManager, in isVoicemailVibrationEnabled()
/packages/apps/Dialer/java/com/android/dialer/compat/telephony/
DTelephonyManagerCompat.java96 public static int getPhoneCount(@Nullable TelephonyManager telephonyManager) { in getPhoneCount()
109 public static boolean isTtyModeSupported(@Nullable TelephonyManager telephonyManager) { in isTtyModeSupported()
120 public static boolean isHearingAidCompatibilitySupported( in isHearingAidCompatibilitySupported()
136 TelephonyManager telephonyManager, PhoneAccountHandle accountHandle) { in getVoicemailRingtoneUri()
149 TelephonyManager telephonyManager, PhoneAccountHandle accountHandle) { in isVoicemailVibrationEnabled()
158 TelephonyManager telephonyManager, PhoneAccountHandle handle, boolean enabled) { in setVisualVoicemailEnabled()
173 TelephonyManager telephonyManager, PhoneAccountHandle handle) { in isVisualVoicemailEnabled()
225 TelephonyManager telephonyManager = context.getSystemService(TelephonyManager.class); in getTelephonyManagerForPhoneAccountHandle() local
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/coex/
DCoexManagerTest.java129 TelephonyManager telephonyManager = mock(TelephonyManager.class); in setUpSubIdMocks() local
392 final TelephonyManager telephonyManager = setUpSubIdMocks(0); in testTelephonyCallback_defaultAlgorithmEnabledXmlExists_registersWithTelephony() local
413 final TelephonyManager telephonyManager = setUpSubIdMocks(0); in testTelephonyCallback_defaultAlgorithmDisabled_doesNotRegisterWithTelephony() local
429 final TelephonyManager telephonyManager = setUpSubIdMocks(0); in testGetCoexUnsafeChannels_neighboringLte40_returns2gNeighboringChannels() local
461 final TelephonyManager telephonyManager = setUpSubIdMocks(0); in testGetCoexUnsafeChannels_neighboringLte46_returns5gNeighboringChannels() local
494 final TelephonyManager telephonyManager = setUpSubIdMocks(0); in testGetCoexUnsafeChannels_channel27065Example_returnsCorrectWifiChannels() local
526 final TelephonyManager telephonyManager = setUpSubIdMocks(0); in testGetCoexUnsafeChannels_channel3350Example_returnsCorrectWifiChannels() local
558 final TelephonyManager telephonyManager = setUpSubIdMocks(0); in testGetCoexUnsafeChannels_entire2gBandUnsafe_excludesDefault2gChannel() local
586 final TelephonyManager telephonyManager = setUpSubIdMocks(0); in testGetCoexUnsafeChannels_entire5gBandUnsafe_excludesDefault5gChannel() local
614 final TelephonyManager telephonyManager = setUpSubIdMocks(0); in testGetCoexUnsafeChannels_mockCellChannelsAdded_mockCellChannelsUsed() local
[all …]
/packages/apps/Settings/src/com/android/settings/network/telephony/
DTelephonyRepository.kt49 val telephonyManager = context.telephonyManager(subId) in isMobileDataPolicyEnabledFlow() constant
64 val telephonyManager = context.telephonyManager(subId) in setMobileDataPolicyEnabled() constant
74 val telephonyManager = context.telephonyManager(subId) in isDataEnabledFlow() constant
130 fun Context.telephonyManager(subId: Int): TelephonyManager = method
DMobileNetworkUtils.java347 final TelephonyManager telephonyManager = context.getSystemService(TelephonyManager.class); in isMobileDataEnabled() local
365 final TelephonyManager telephonyManager = context.getSystemService(TelephonyManager.class) in setMobileDataEnabled() local
406 final TelephonyManager telephonyManager = context.getSystemService(TelephonyManager.class) in isCdmaOptions() local
442 final TelephonyManager telephonyManager = context.getSystemService(TelephonyManager.class) in isGsmOptions() local
471 final TelephonyManager telephonyManager = context.getSystemService(TelephonyManager.class) in isGsmBasicOptions() local
496 final TelephonyManager telephonyManager = context.getSystemService(TelephonyManager.class) in shouldDisplayNetworkSelectOptions() local
539 private static boolean isTdscdmaSupported(Context context, TelephonyManager telephonyManager) { in isTdscdmaSupported()
625 final TelephonyManager telephonyManager = context.getSystemService(TelephonyManager.class) in shouldSpeciallyUpdateGsmCdma() local
DNetworkSelectRepository.kt32 private val telephonyManager = constant
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/network/
DNetworkUtilsTest.java65 TelephonyManager telephonyManager = mock(TelephonyManager.class); in hasSim_simAbsent_returnsFalse() local
73 TelephonyManager telephonyManager = mock(TelephonyManager.class); in hasSim_simUnknown_returnsFalse() local
81 TelephonyManager telephonyManager = mock(TelephonyManager.class); in hasSim_otherStatus_returnsTrue() local
DSubscriptionUtilsTest.java46 TelephonyManager telephonyManager = mock(TelephonyManager.class); in getAvailableSubscriptions_hasSubscriptionsFromSubscriptionManager_valueReturned() local
63 TelephonyManager telephonyManager = mock(TelephonyManager.class); in getAvailableSubscriptions_hasSimSlotNotInSubscriptionManager_valueReturned() local
84 TelephonyManager telephonyManager = mock(TelephonyManager.class); in getAvailableSubscriptions_hasInactiveInsertedPSim_valueRemoved() local
/packages/services/Mms/src/com/android/mms/service/
DPhoneUtils.java42 public static String getNationalNumber(TelephonyManager telephonyManager, String phoneText) { in getNationalNumber()
73 private static String getSimOrDefaultLocaleCountry(TelephonyManager telephonyManager) { in getSimOrDefaultLocaleCountry()
83 private static String getSimCountry(TelephonyManager telephonyManager) { in getSimCountry()
/packages/services/Telephony/src/com/android/phone/settings/
DSuppServicesUiUtil.java92 TelephonyManager telephonyManager = in makeMessage() local
149 TelephonyManager telephonyManager = in isMobileDataOff() local
155 TelephonyManager telephonyManager = in isDataRoamingOffUnderRoaming() local
176 TelephonyManager telephonyManager = new TelephonyManager(context, phone.getSubId()); in handleCallerIdUssdResponse() local
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/
DLocationDetector.java34 private final TelephonyManager telephonyManager; field in LocationDetector
37 LocationDetector( in LocationDetector()
/packages/apps/Settings/src/com/android/settings/network/
DMobileNetworkRepository.java244 TelephonyManager telephonyManager = mContext.getSystemService( in createTelephonyManagerBySubId() local
253 TelephonyManager telephonyManager = mTelephonyManagerMap.get(subId); in getTelephonyManagerBySubId() local
273 TelephonyManager telephonyManager = getTelephonyManagerBySubId(mContext, subId); in removerRegisterBySubId() local
488 TelephonyManager telephonyManager = getTelephonyManagerBySubId(context, subId); in insertSubInfo() local
532 SubscriptionInfo subInfo, TelephonyManager telephonyManager) { in convertToSubscriptionInfoEntity()
576 private void insertUiccInfo(int subId, TelephonyManager telephonyManager) { in insertUiccInfo()
591 TelephonyManager telephonyManager) { in insertMobileNetworkInfo()
614 TelephonyManager telephonyManager) { in convertToMobileNetworkInfoEntity()
639 private UiccInfoEntity convertToUiccInfoEntity(int subId, TelephonyManager telephonyManager) { in convertToUiccInfoEntity()
647 private boolean isMultipleEnabledProfilesSupported(TelephonyManager telephonyManager) { in isMultipleEnabledProfilesSupported()
DAllowedNetworkTypesListener.java58 TelephonyManager telephonyManager = context.getSystemService( in register() local
69 TelephonyManager telephonyManager = context.getSystemService( in unregister() local
/packages/apps/Contacts/src/com/android/contacts/util/
DTelephonyManagerUtils.java37 final TelephonyManager telephonyManager = in getVoiceMailAlphaTag() local
51 final TelephonyManager telephonyManager = in getCurrentCountryIso() local
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DCarrierPrivilegedStatusLiveData.kt33 private val telephonyManager = app.getSystemService(TelephonyManager::class.java)!! constant in com.android.permissioncontroller.permission.data.CarrierPrivilegedStatusLiveData
/packages/apps/Car/Settings/src/com/android/car/settings/network/
DNetworkUtils.java50 public static boolean hasSim(TelephonyManager telephonyManager) { in hasSim()
65 TelephonyManager telephonyManager = context.getSystemService(TelephonyManager.class) in setMobileDataEnabled() local
/packages/services/Telephony/src/com/android/phone/vvm/
DVvmSimStateTracker.java86 TelephonyManager telephonyManager = getTelephonyManager(mContext, mPhoneAccountHandle); in listen() local
162 TelephonyManager telephonyManager = getTelephonyManager(context, phoneAccountHandle); in onBootCompleted() local
222 TelephonyManager telephonyManager = getTelephonyManager(context, phoneAccountHandle); in onCarrierConfigChanged() local
/packages/modules/ConfigInfrastructure/service/java/com/android/server/deviceconfig/
DSimPinReplayManager.java53 TelephonyManager telephonyManager = mContext.getSystemService(TelephonyManager.class); in prepareSimPinReplay() local
76 TelephonyManager telephonyManager = context.getSystemService(TelephonyManager.class); in getPinLockedSubscriptionIds() local
/packages/apps/Settings/src/com/android/settings/sim/
DSimDialogActivity.java266 final TelephonyManager telephonyManager = getSystemService( in autoDataSwitchEnabledOnNonDataSub() local
333 final TelephonyManager telephonyManager = getSystemService( in onEnableAutoDataSwitch() local
358 final TelephonyManager telephonyManager = getSystemService( in setDefaultDataSubId() local
388 final TelephonyManager telephonyManager = getSystemService(TelephonyManager.class); in subscriptionIdToPhoneAccountHandle() local
/packages/modules/Bluetooth/android/pandora/server/src/
DMap.kt36 private var telephonyManager = context.getSystemService(TelephonyManager::class.java)!! variable
/packages/apps/Contacts/src/com/android/contacts/location/
DCountryDetector.java52 private CountryDetector(Context context, TelephonyManager telephonyManager, in CountryDetector()
62 public CountryDetector getInstanceForTest(Context context, TelephonyManager telephonyManager, in getInstanceForTest()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/filetransfer/requestexecutor/
DGbaAuthenticationProvider.java40 private final TelephonyManager telephonyManager; field in GbaAuthenticationProvider
45 TelephonyManager telephonyManager, String contentServerUrl, Executor executor) { in GbaAuthenticationProvider()
/packages/apps/Dialer/java/com/android/voicemail/impl/fetch/
DFetchVoicemailReceiver.java109 TelephonyManager telephonyManager = in onReceive() local
123 TelephonyManager telephonyManager = in onReceive() local
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DVoicemailErrorManager.java112 TelephonyManager telephonyManager = in addServiceStateListener() local
161 TelephonyManager telephonyManager = context.getSystemService(TelephonyManager.class); in onDestroy() local

1234567