/packages/apps/Messaging/src/com/android/messaging/ |
D | FactoryImpl.java | 46 import com.android.messaging.util.PhoneUtils; 62 private PhoneUtils mPhoneUtils; 69 private static PhoneUtils sPhoneUtilsInstancePreLMR1 = null; 71 private static final ConcurrentHashMap<Integer, PhoneUtils> sPhoneUtilsInstanceCacheLMR1 = 160 subId = PhoneUtils.getDefault().getEffectiveSubId(subId); in getSubscriptionPrefs() 199 public PhoneUtils getPhoneUtils(int subId) { in getPhoneUtils() 208 PhoneUtils instance = sPhoneUtilsInstanceCacheLMR1.get(subId); in getPhoneUtils() 210 instance = new PhoneUtils.PhoneUtilsLMR1(subId); in getPhoneUtils() 219 sPhoneUtilsInstancePreLMR1 = new PhoneUtils.PhoneUtilsPreLMR1(); in getPhoneUtils()
|
/packages/services/Telephony/src/com/android/phone/vvm/omtp/sync/ |
D | OmtpVvmSourceManager.java | 26 import com.android.phone.PhoneUtils; 90 if (!PhoneUtils.isPhoneAccountActive(mSubscriptionManager, phoneAccount)) { in removeInactiveSources() 97 if (!PhoneUtils.isPhoneAccountActive(mSubscriptionManager, phoneAccount)) { in removeInactiveSources() 104 removeSource(PhoneUtils.makePstnPhoneAccountHandle(phone)); in removeSource() 118 addPhoneStateListener(PhoneUtils.makePstnPhoneAccountHandle(phone)); in addPhoneStateListener() 124 PhoneUtils.makePstnPhoneAccountHandle(phoneAccount.getId())); in addPhoneStateListener()
|
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
D | PhoneNumberPreference.java | 29 import com.android.messaging.util.PhoneUtils; 63 ? PhoneUtils.get(mSubId).formatForDisplay(value) in onBindView() 83 (PhoneUtils.get(mSubId).getCanonicalBySystemLocale(mDefaultPhoneNumber), in onBindDialogView() 94 final PhoneUtils phoneUtils = PhoneUtils.get(mSubId); in onDialogClosed()
|
D | ApplicationSettingsActivity.java | 45 import com.android.messaging.util.PhoneUtils; 194 PhoneUtils.getDefault().getDefaultSmsAppLabel()); in updateSmsEnabledPreferences() 197 if (PhoneUtils.getDefault().isDefaultSmsApp()) { in updateSmsEnabledPreferences() 225 || PhoneUtils.getDefault().isDefaultSmsApp(); in updateNotificationsPreferences()
|
/packages/apps/Messaging/src/com/android/messaging/receiver/ |
D | MmsWapPushReceiver.java | 26 import com.android.messaging.util.PhoneUtils; 39 if (PhoneUtils.getDefault().isSmsEnabled()) { in onReceive() 41 final int subId = PhoneUtils.getDefault().getEffectiveIncomingSubIdFromSystem( in onReceive() 50 if (!PhoneUtils.getDefault().isSmsEnabled()) { in mmsReceived()
|
D | AbortSmsReceiver.java | 24 import com.android.messaging.util.PhoneUtils; 35 if (!OsUtil.isAtLeastKLP() && PhoneUtils.getDefault().isSmsEnabled()) { in onReceive()
|
D | AbortMmsWapPushReceiver.java | 26 import com.android.messaging.util.PhoneUtils; 38 if (!OsUtil.isAtLeastKLP() && PhoneUtils.getDefault().isSmsEnabled()) { in onReceive()
|
D | MmsWapPushDeliverReceiver.java | 25 import com.android.messaging.util.PhoneUtils; 37 int subId = PhoneUtils.getDefault().getEffectiveIncomingSubIdFromSystem( in onReceive()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CallController.java | 304 number = PhoneUtils.getInitialNumber(intent); in placeCallInternal() 317 phone = PhoneUtils.pickPhoneBasedOnNumber(mCM, scheme, number, sipPhoneUri, in placeCallInternal() 325 } catch (PhoneUtils.VoiceMailNumberMissingException ex) { in placeCallInternal() 436 int callStatus = PhoneUtils.placeCall(mApp, in placeCallInternal() 445 case PhoneUtils.CALL_STATUS_DIALED: in placeCallInternal() 466 if (PhoneUtils.isPhoneInEcm(phone) && !isEmergencyNumber) { in placeCallInternal() 501 case PhoneUtils.CALL_STATUS_DIALED_MMI: in placeCallInternal() 514 case PhoneUtils.CALL_STATUS_FAILED: in placeCallInternal()
|
D | PhoneGlobals.java | 222 PhoneUtils.cancelMmiCode(mCM.getFgPhone()); 345 PhoneUtils.registerIccStatus(mHandler, EVENT_SIM_NETWORK_LOCKED); in onCreate() 351 PhoneUtils.initializeConnectionHandler(mCM); in onCreate() 371 PhoneUtils.setAudioMode(mCM); in onCreate() 594 … boolean isSpeakerInUse = (state == PhoneConstants.State.OFFHOOK) && PhoneUtils.isSpeakerOn(this); in updateWakeState() 625 PhoneUtils.displayMMIComplete(mmiCode.getPhone(), getInstance(), mmiCode, null, null); in onMMIComplete() 644 if (PhoneUtils.isInEmergencyCall(mCM)) { in handleAirplaneModeChange() 652 PhoneUtils.setRadioPower(false); in handleAirplaneModeChange() 656 PhoneUtils.setRadioPower(true); in handleAirplaneModeChange()
|
D | CallLogger.java | 67 log("- onDisconnect(): logNumber set to:" + PhoneUtils.toLogSafePhoneNumber(logNumber) + in logCall() 68 ", number set to: " + PhoneUtils.toLogSafePhoneNumber(number)); in logCall() 130 ci = ((PhoneUtils.CallerInfoToken) o).currentInfo; in getCallerInfoFromConnection() 179 String newNumber = PhoneUtils.modifyForSpecialCnapCases(mApplication, callerInfo, in getLogNumber()
|
D | MMIDialogActivity.java | 91 mMMIDialog = PhoneUtils.displayMMIInitiate(this, mmiCode, message, mMMIDialog); in showMMIDialog() 108 PhoneUtils.displayMMIComplete(mPhone, this, mmiCode, null, null); in onMMIComplete() 126 PhoneUtils.cancelMmiCode(mPhone); in onMMICancel()
|
D | EmergencyCallHelper.java | 369 int callStatus = PhoneUtils.placeCall(mApp, in placeEmergencyCall() 380 case PhoneUtils.CALL_STATUS_DIALED: in placeEmergencyCall() 384 case PhoneUtils.CALL_STATUS_DIALED_MMI: in placeEmergencyCall() 385 case PhoneUtils.CALL_STATUS_FAILED: in placeEmergencyCall()
|
D | OtaUtils.java | 394 int callStatus = PhoneUtils.placeCall(context, in startNonInteractiveOtasp() 400 if (callStatus == PhoneUtils.CALL_STATUS_DIALED) { in startNonInteractiveOtasp() 464 number = PhoneUtils.getInitialNumber(intent); in isOtaspCallIntent() 465 } catch (PhoneUtils.VoiceMailNumberMissingException ex) { in isOtaspCallIntent() 552 if (state == PhoneUtils.isSpeakerOn(mContext)) { in setSpeaker() 557 PhoneUtils.turnOnSpeaker(mContext, state, true); in setSpeaker() 741 boolean speakerOn = PhoneUtils.isSpeakerOn(mContext); in otaShowListeningScreen() 874 boolean speakerOn = PhoneUtils.isSpeakerOn(mContext); in otaShowInProgressScreen() 1222 if (PhoneUtils.hangup(mApplication.mCM) == false) { in onClickOtaEndButton() 1235 boolean isChecked = !PhoneUtils.isSpeakerOn(mContext); in onClickOtaSpeakerButton()
|
/packages/services/Telephony/src/com/android/phone/vvm/omtp/ |
D | VvmPhoneStateListener.java | 27 import com.android.phone.PhoneUtils; 43 super(PhoneUtils.getSubIdForPhoneAccountHandle(accountHandle)); in VvmPhoneStateListener() 70 PhoneUtils.getSubIdForPhoneAccountHandle(mPhoneAccount)); in onServiceStateChanged() 92 mContext, PhoneUtils.getSubIdForPhoneAccountHandle(mPhoneAccount)); in onServiceStateChanged()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | ParticipantData.java | 37 import com.android.messaging.util.PhoneUtils; 176 PhoneUtils.getDefault().getCanonicalBySystemLocale(pd.mSendDestination); in getFromRecipientEntry() 179 PhoneUtils.getDefault().formatForDisplay(pd.mNormalizedDestination); in getFromRecipientEntry() 233 PhoneUtils.getDefault().getCanonicalBySystemLocale(pd.mSendDestination); in getFromRawPhoneBySystemLocale() 236 PhoneUtils.getDefault().formatForDisplay(pd.mNormalizedDestination); in getFromRawPhoneBySystemLocale() 256 PhoneUtils.get(subId).getCanonicalBySimLocale(pd.mSendDestination); in getFromRawPhoneBySimLocale() 259 PhoneUtils.getDefault().formatForDisplay(pd.mNormalizedDestination); in getFromRawPhoneBySimLocale() 361 PhoneUtils.get(mSubId).getCanonicalForSelf(true/*allowOverride*/); in updatePhoneNumberForSelfIfChanged() 368 PhoneUtils.getDefault().formatForDisplay(phoneNumber); in updatePhoneNumberForSelfIfChanged()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ |
D | FakeFactory.java | 41 import com.android.messaging.util.PhoneUtils; 61 @Mock protected PhoneUtils mPhoneUtils; 84 factory.mPhoneUtils = Mockito.mock(PhoneUtils.class); in registerWithFakeContext() 116 new PhoneUtils.LMr1() { in registerWithFakeContext() 212 public PhoneUtils getPhoneUtils(final int subId) { in getPhoneUtils()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | BugleCarrierConfigValuesLoader.java | 30 import com.android.messaging.util.PhoneUtils; 58 subId = PhoneUtils.getDefault().getEffectiveSubId(subId); in get() 112 PhoneUtils.get(subId).getSmsManager().getCarrierConfigValues(); in loadFromSystem() 163 final int[] mccMnc = PhoneUtils.get(subId).getMccMnc(); in getSubDepContext()
|
D | SmsStorageStatusManager.java | 29 import com.android.messaging.util.PhoneUtils; 39 if (!PhoneUtils.getDefault().isSmsEnabled()) { in handleStorageLow() 53 if (!PhoneUtils.getDefault().isSmsEnabled()) { in handleStorageOk()
|
D | SmsSender.java | 36 import com.android.messaging.util.PhoneUtils; 174 final String carrierName = PhoneUtils.get(subId).getCarrierName(); in getSendErrorToastMessage() 214 final SmsManager smsManager = PhoneUtils.get(subId).getSmsManager(); in sendMessage() 258 final SmsManager smsManager = PhoneUtils.get(subId).getSmsManager(); in sendInternal()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | PhoneUtils.java | 63 public abstract class PhoneUtils { class 80 public PhoneUtils(int subId) { in PhoneUtils() method in PhoneUtils 259 public static class PhoneUtilsPreLMR1 extends PhoneUtils { 410 public static class PhoneUtilsLMR1 extends PhoneUtils implements LMr1 { 627 numbers.add(PhoneUtils.get(info.getSubscriptionId()).getCanonicalForSelf( in getNormalizedSelfNumbers() 640 public static PhoneUtils getDefault() { in getDefault() 651 public static PhoneUtils get(int subId) { in get()
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
D | ContactRecipientAutoCompleteView.java | 39 import com.android.messaging.util.PhoneUtils; 167 } else if (PhoneUtils.isValidSmsMmsDestination( in doInBackground() 255 PhoneUtils.isValidSmsMmsDestination(entry.getDestination())) { in getRecipientParticipantDataForConversationCreation() 275 set.add(PhoneUtils.getDefault().getCanonicalBySystemLocale( in getSelectedDestinations()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | BugleActionToasts.java | 29 import com.android.messaging.util.PhoneUtils; 58 final PhoneUtils phoneUtils = PhoneUtils.get(subId); in onSendMessageOrManualDownloadActionCompleted()
|
/packages/services/Telephony/src/com/android/phone/vvm/omtp/fetch/ |
D | FetchVoicemailReceiver.java | 34 import com.android.phone.PhoneUtils; 108 mPhoneAccount = PhoneUtils.makePstnPhoneAccountHandle(accountId); in onReceive() 115 int subId = PhoneUtils.getSubIdForPhoneAccountHandle(mPhoneAccount); in onReceive()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | VisualVoicemailSettingsUtil.java | 24 import com.android.phone.PhoneUtils; 55 setVisualVoicemailEnabled(phone.getContext(), PhoneUtils.makePstnPhoneAccountHandle(phone), in setVisualVoicemailEnabled() 83 PhoneUtils.makePstnPhoneAccountHandle(phone)); in isVisualVoicemailEnabled()
|