Searched defs:telephonyManager (Results 1 - 12 of 12) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/compat/
H A DTelephonyManagerSdkCompat.java27 public static Uri getVoicemailRingtoneUri(TelephonyManager telephonyManager, argument
30 ? telephonyManager.getVoicemailRingtoneUri(accountHandle) : null;
33 public static boolean isVoicemailVibrationEnabled(TelephonyManager telephonyManager, argument
36 ? telephonyManager.isVoicemailVibrationEnabled(accountHandle) : false;
H A DTelephonyManagerCompat.java28 * @param telephonyManager The telephony manager instance to use for method calls.
42 public static boolean isVoiceCapable(@Nullable TelephonyManager telephonyManager) { argument
43 if (telephonyManager == null) {
49 return telephonyManager.isVoiceCapable();
51 final int phoneType = telephonyManager.getPhoneType();
61 * Returns 1 if the method or telephonyManager is not available.
63 * @param telephonyManager The telephony manager instance to use for method calls.
65 public static int getPhoneCount(@Nullable TelephonyManager telephonyManager) { argument
66 if (telephonyManager == null) {
71 return telephonyManager
86 getDeviceId(@ullable TelephonyManager telephonyManager, int slotId) argument
105 isTtyModeSupported(@ullable TelephonyManager telephonyManager) argument
123 isHearingAidCompatibilitySupported( @ullable TelephonyManager telephonyManager) argument
146 getVoicemailRingtoneUri(TelephonyManager telephonyManager, PhoneAccountHandle accountHandle) argument
163 isVoicemailVibrationEnabled(TelephonyManager telephonyManager, PhoneAccountHandle accountHandle) argument
[all...]
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/
H A DLocationDetector.java36 private final TelephonyManager telephonyManager; field in class:LocationDetector
40 @NonNull TelephonyManager telephonyManager, @Nullable String userProvidedHomeCountry) {
41 if (telephonyManager == null) {
45 this.telephonyManager = telephonyManager;
66 String simCountryIso = telephonyManager.getSimCountryIso();
69 return Optional.of(telephonyManager.getSimCountryIso().toUpperCase(Locale.US));
80 String networkCountryIso = telephonyManager.getNetworkCountryIso();
82 return Optional.of(telephonyManager.getNetworkCountryIso().toUpperCase(Locale.US));
39 LocationDetector( @onNull TelephonyManager telephonyManager, @Nullable String userProvidedHomeCountry) argument
H A DConcreteCreator.java50 * @param telephonyManager The telephony manager used to determine user location.
56 @NonNull TelephonyManager telephonyManager, @NonNull Context context) {
60 if (telephonyManager == null) {
92 telephonyManager,
55 createNewAssistedDialingMediator( @onNull TelephonyManager telephonyManager, @NonNull Context context) argument
/packages/services/Mms/src/com/android/mms/service/
H A DPhoneUtils.java37 * @param telephonyManager
42 public static String getNationalNumber(TelephonyManager telephonyManager, int subId, argument
44 final String country = getSimOrDefaultLocaleCountry(telephonyManager, subId);
74 private static String getSimOrDefaultLocaleCountry(TelephonyManager telephonyManager, argument
76 String country = getSimCountry(telephonyManager, subId);
85 private static String getSimCountry(TelephonyManager telephonyManager, int subId) { argument
86 final String country = telephonyManager.getSimCountryIso(subId);
/packages/services/Telephony/testapps/TelephonyRegistryTestApp/src/com/android/phone/testapps/telephonyregistry/
H A DTelephonyRegistryTestApp.java39 private TelephonyManager telephonyManager; field in class:TelephonyRegistryTestApp
91 telephonyManager = getSystemService(TelephonyManager.class);
110 telephonyManager.listen(phoneStateListener, mSelectedEvents));
114 List<CellInfo> cellInfos = telephonyManager.getAllCellInfo();
/packages/apps/Contacts/src/com/android/contacts/location/
H A DCountryDetector.java52 private CountryDetector(Context context, TelephonyManager telephonyManager, argument
54 mTelephonyManager = telephonyManager;
62 public CountryDetector getInstanceForTest(Context context, TelephonyManager telephonyManager, argument
64 return new CountryDetector(context, telephonyManager, localeProvider);
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
H A DIntentProvider.java68 final String number, final Context context, final TelephonyManager telephonyManager) {
67 getAssistedDialIntentProvider( final String number, final Context context, final TelephonyManager telephonyManager) argument
/packages/apps/Dialer/java/com/android/dialer/compat/telephony/
H A DTelephonyManagerCompat.java84 * <p>Returns 1 if the method or telephonyManager is not available.
86 * @param telephonyManager The telephony manager instance to use for method calls.
88 public static int getPhoneCount(@Nullable TelephonyManager telephonyManager) { argument
89 if (telephonyManager == null) {
92 return telephonyManager.getPhoneCount();
98 * @param telephonyManager The telephony manager instance to use for method calls.
101 public static boolean isTtyModeSupported(@Nullable TelephonyManager telephonyManager) { argument
102 return telephonyManager != null && telephonyManager.isTtyModeSupported();
108 * @param telephonyManager Th
112 isHearingAidCompatibilitySupported( @ullable TelephonyManager telephonyManager) argument
127 getVoicemailRingtoneUri( TelephonyManager telephonyManager, PhoneAccountHandle accountHandle) argument
143 isVoicemailVibrationEnabled( TelephonyManager telephonyManager, PhoneAccountHandle accountHandle) argument
153 setVisualVoicemailEnabled( TelephonyManager telephonyManager, PhoneAccountHandle handle, boolean enabled) argument
171 isVisualVoicemailEnabled( TelephonyManager telephonyManager, PhoneAccountHandle handle) argument
[all...]
/packages/apps/Dialer/java/com/android/dialer/location/
H A DCountryDetector.java77 private final TelephonyManager telephonyManager; field in class:CountryDetector
85 TelephonyManager telephonyManager,
89 this.telephonyManager = telephonyManager;
159 return telephonyManager.getNetworkCountryIso();
176 return telephonyManager.getSimCountryIso();
191 return telephonyManager.getPhoneType() == TelephonyManager.PHONE_TYPE_GSM;
83 CountryDetector( Context appContext, TelephonyManager telephonyManager, LocationManager locationManager, LocaleProvider localeProvider, Geocoder geocoder) argument
/packages/apps/Contacts/src/com/android/contacts/database/
H A DSimContactDaoImpl.java96 TelephonyManager telephonyManager) {
99 mTelephonyManager = telephonyManager;
95 SimContactDaoImpl(Context context, ContentResolver resolver, TelephonyManager telephonyManager) argument
/packages/apps/Dialer/java/com/android/voicemail/impl/
H A DOmtpVvmCarrierConfigHelper.java107 TelephonyManager telephonyManager =
111 if (telephonyManager == null) {
133 carrierConfig = getCarrierConfig(telephonyManager);
450 private PersistableBundle getCarrierConfig(@NonNull TelephonyManager telephonyManager) { argument
458 PersistableBundle config = telephonyManager.getCarrierConfig();

Completed in 724 milliseconds