/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()
|
D | BugleApplication.java | 45 import com.android.messaging.util.PhoneUtils; 241 PhoneUtils.forEachActiveSubscription(new PhoneUtils.SubscriptionRunnable() { in maybeHandleSharedPrefsUpgrade()
|
/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 | SmsReceiver.java | 53 import com.android.messaging.util.PhoneUtils; 95 final boolean carrierSmsEnabled = PhoneUtils.getDefault().isSmsEnabled(); in updateSmsReceiveHandler() 192 int subId = PhoneUtils.getDefault().getEffectiveIncomingSubIdFromSystem( in deliverSmsIntent() 233 if (PhoneUtils.getDefault().isSmsEnabled()) { in onReceive()
|
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/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | ParticipantData.java | 39 import com.android.messaging.util.PhoneUtils; 182 PhoneUtils.getDefault().getCanonicalBySystemLocale(pd.mSendDestination); in getFromRecipientEntry() 185 PhoneUtils.getDefault().formatForDisplay(pd.mNormalizedDestination); in getFromRecipientEntry() 239 PhoneUtils.getDefault().getCanonicalBySystemLocale(pd.mSendDestination); in getFromRawPhoneBySystemLocale() 242 PhoneUtils.getDefault().formatForDisplay(pd.mNormalizedDestination); in getFromRawPhoneBySystemLocale() 262 PhoneUtils.get(subId).getCanonicalBySimLocale(pd.mSendDestination); in getFromRawPhoneBySimLocale() 265 PhoneUtils.getDefault().formatForDisplay(pd.mNormalizedDestination); in getFromRawPhoneBySimLocale() 395 PhoneUtils.get(mSubId).getCanonicalForSelf(true/*allowOverride*/); in updatePhoneNumberForSelfIfChanged() 402 PhoneUtils.getDefault().formatForDisplay(phoneNumber); in updatePhoneNumberForSelfIfChanged()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ |
D | FakeFactory.java | 41 import com.android.messaging.util.PhoneUtils; 62 @Mock protected PhoneUtils mPhoneUtils; 85 factory.mPhoneUtils = Mockito.mock(PhoneUtils.class); in registerWithFakeContext() 117 new PhoneUtils.LMr1() { in registerWithFakeContext() 214 public PhoneUtils getPhoneUtils(final int subId) { in getPhoneUtils()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | DataModelImpl.java | 58 import com.android.messaging.util.PhoneUtils; 230 PhoneUtils.getDefault().toLMr1().registerOnSubscriptionsChangedListener( in onApplicationCreated() 249 PhoneUtils.forEachActiveSubscription(new PhoneUtils.SubscriptionRunnable() { in createConnectivityUtilForEachActiveSubscription() 254 subId = PhoneUtils.getDefault().getDefaultSmsSubscriptionId(); in createConnectivityUtilForEachActiveSubscription()
|
/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; 171 final String carrierName = PhoneUtils.get(subId).getCarrierName(); in getSendErrorToastMessage() 211 final SmsManager smsManager = PhoneUtils.get(subId).getSmsManager(); in sendMessage() 255 final SmsManager smsManager = PhoneUtils.get(subId).getSmsManager(); in sendInternal()
|
/packages/services/Telephony/src/com/android/phone/vvm/ |
D | PhoneAccountHandleConverter.java | 25 import com.android.phone.PhoneUtils; 50 return PhoneUtils.makePstnPhoneAccountHandle(phone); in fromSubId() 54 return PhoneUtils.getSubIdForPhoneAccountHandle(handle); in toSubId()
|
D | VvmSimStateTracker.java | 37 import com.android.phone.PhoneUtils; 180 if (!PhoneUtils.isPhoneAccountActive(subscriptionManager, phoneAccountHandle)) { in checkRemovedSim() 188 if (!PhoneUtils.isPhoneAccountActive(subscriptionManager, phoneAccountHandle)) { in checkRemovedSim()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | ProcessPendingMessagesAction.java | 43 import com.android.messaging.util.PhoneUtils; 62 PhoneUtils.forEachActiveSubscription(new PhoneUtils.SubscriptionRunnable() { in processFirstPendingMessage() 87 final boolean isDefaultSmsApp = PhoneUtils.getDefault().isDefaultSmsApp(); in scheduleProcessPendingMessagesAction() 303 if (PhoneUtils.getDefault().isDefaultSmsApp()) { in executeAction() 372 .getOrCreateSelf(db, PhoneUtils.getDefault() in findNextMessageToSend()
|
D | BugleActionToasts.java | 29 import com.android.messaging.util.PhoneUtils; 58 final PhoneUtils phoneUtils = PhoneUtils.get(subId); in onSendMessageOrManualDownloadActionCompleted()
|
/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; 171 } else if (PhoneUtils.isValidSmsMmsDestination( in doInBackground() 263 PhoneUtils.isValidSmsMmsDestination(entry.getDestination())) { in getRecipientParticipantDataForConversationCreation() 283 set.add(PhoneUtils.getDefault().getCanonicalBySystemLocale( in getSelectedDestinations()
|
/packages/services/Telephony/src/com/android/phone/ |
D | MMIDialogActivity.java | 105 mMMIDialog = PhoneUtils.displayMMIInitiate(this, mmiCode, message, mMMIDialog); in showMMIDialog() 124 PhoneUtils.displayMMIComplete(mPhone, this, mmiCode, null, null); in onMMIComplete() 144 PhoneUtils.cancelMmiCode(mPhone); in onMMICancel()
|
D | PhoneGlobals.java | 260 PhoneUtils.cancelMmiCode(mCM.getFgPhone()); 410 PhoneUtils.registerIccStatus(mHandler, EVENT_SIM_NETWORK_LOCKED); in onCreate() 564 PhoneUtils.displayMMIComplete(mmiCode.getPhone(), getInstance(), mmiCode, null, null); in onMMIComplete() 609 PhoneUtils.setRadioPower(false); in setRadioPowerOff() 619 PhoneUtils.setRadioPower(true); in setRadioPowerOn() 670 PhoneUtils.unregisterIccStatus(mHandler, phoneId); in onReceive() 671 PhoneUtils.registerIccStatus(mHandler, EVENT_SIM_NETWORK_LOCKED, phoneId); in onReceive()
|
/packages/services/Telephony/src/com/android/phone/otasp/ |
D | OtaspActivationService.java | 35 import com.android.phone.PhoneUtils; 153 int callStatus = PhoneUtils.placeOtaspCall(this, in onStartOtaspCall() 156 if (callStatus == PhoneUtils.CALL_STATUS_DIALED) { in onStartOtaspCall()
|
/packages/apps/Messaging/src/com/android/messaging/ui/debug/ |
D | DebugMmsConfigFragment.java | 38 import com.android.messaging.util.PhoneUtils; 66 final int[] mccmnc = PhoneUtils.get(subIdArray[position]).getMccMnc(); in onCreateView() 86 PhoneUtils.getDefault().toLMr1().getActiveSubscriptionInfoList(); in getActiveSubIds()
|