Home
last modified time | relevance | path

Searched refs:MmsConfig (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsConfig.java44 public class MmsConfig { class
101 private static final Map<Integer, MmsConfig> sSubIdToMmsConfigMap = Maps.newHashMap();
103 private static final MmsConfig sFallback =
104 new MmsConfig(ParticipantData.DEFAULT_SELF_SUB_ID, new Bundle());
113 public static MmsConfig get(final int subId) { in get()
116 final MmsConfig mmsConfig = sSubIdToMmsConfigMap.get(realSubId); in get()
128 private MmsConfig(final int subId, final Bundle values) { in MmsConfig() method in MmsConfig
163 addMmsConfig(new MmsConfig(subId, values)); in load()
167 addMmsConfig(new MmsConfig(ParticipantData.DEFAULT_SELF_SUB_ID, values)); in load()
171 private static void addMmsConfig(MmsConfig mmsConfig) { in addMmsConfig()
[all …]
DMmsSmsUtils.java46 if (!MmsConfig.get(subId).isAliasEnabled()) { in isAlias()
52 if (len < MmsConfig.get(subId).getAliasMinChars() || in isAlias()
53 len > MmsConfig.get(subId).getAliasMaxChars()) { in isAlias()
138 if (!TextUtils.isEmpty(MmsConfig.get(subId).getEmailGateway())) { in getRequireMmsForEmailAddress()
DMmsSender.java100 MmsConfig.get(subId).getNotifyWapMMSC() ? contentLocation : null, in sendNotifyResponseForMmsDownload()
129 MmsConfig.get(subId).getNotifyWapMMSC() ? contentLocation : null, in sendAcknowledgeForMmsDownload()
187 if (pduBytes.length > MmsConfig.get(subId).getMaxMessageSize()) { in writePduToTempFile()
223 response, MmsConfig.get(subId).getSupportMmsContentDisposition()).parse(); in parseSendConf()
274 data, MmsConfig.get(subId).getSupportMmsContentDisposition()).parse(); in parseRetrieveConf()
DSmsSender.java195 if (!TextUtils.isEmpty(MmsConfig.get(subId).getEmailGateway()) && in sendMessage()
200 dest = MmsConfig.get(subId).getEmailGateway(); in sendMessage()
282 if (MmsConfig.get(subId).getSendMultipartSmsAsSeparateMessages()) { in sendInternal()
DMmsUtils.java315 final int byteBudget = MmsConfig.get(subId).getMaxMessageSize() - totalLength in makePduBody()
320 final int widthLimit = MmsConfig.get(subId).getMaxImageWidth(); in makePduBody()
321 final int heightLimit = MmsConfig.get(subId).getMaxImageHeight(); in makePduBody()
651 return MmsConfig.get(subId).getGroupMmsEnabled() && groupMmsPrefOn; in groupMmsEnabled()
2200 MmsConfig.get(subId).getSupportMmsContentDisposition());
2235 if (MmsConfig.get(subId).getTransIdEnabled()) {
2449 if (!MmsConfig.get(subId).getSMSDeliveryReportsEnabled()) {
/packages/apps/Messaging/src/com/android/messaging/ui/debug/
DDebugMmsConfigItemView.java35 import com.android.messaging.sms.MmsConfig;
74 case MmsConfig.KEY_TYPE_BOOL: in bind()
79 case MmsConfig.KEY_TYPE_STRING: in bind()
80 case MmsConfig.KEY_TYPE_INT: in bind()
100 if (MmsConfig.KEY_TYPE_BOOL.equals(mKeyType)) { in onClick()
107 if (MmsConfig.KEY_TYPE_INT.equals(mKeyType)) { in onClick()
DDebugMmsConfigFragment.java35 import com.android.messaging.sms.MmsConfig;
101 private final MmsConfig mMmsConfig;
105 mMmsConfig = MmsConfig.get(subId); in MmsConfigAdapter()
110 if (MmsConfig.getKeyType(it.next()) == null) { in MmsConfigAdapter()
128 MmsConfig.getKeyType(key), in getView()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMessageTextStats.java21 import com.android.messaging.sms.MmsConfig;
55 final MmsConfig mmsConfig = MmsConfig.get(selfSubId); in updateMessageTextStats()
DDataModelImpl.java52 import com.android.messaging.sms.MmsConfig;
238 MmsConfig.loadAsync(); in onApplicationCreated()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DPerSubscriptionSettingsActivity.java42 import com.android.messaging.sms.MmsConfig;
119 if (!MmsConfig.get(mSubId).getGroupMmsEnabled()) { in onCreate()
136 if (!MmsConfig.get(mSubId).getSMSDeliveryReportsEnabled()) { in onCreate()
200 if (!MmsConfig.get(mSubId).getShowCellBroadcast()) { in isCellBroadcastAppLinkEnabled()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DContactPickerData.java30 import com.android.messaging.sms.MmsConfig;
184 return (participantCount > MmsConfig.get(ParticipantData.DEFAULT_SELF_SUB_ID) in isTooManyParticipants()
191 return (participantCount < MmsConfig.get(ParticipantData.DEFAULT_SELF_SUB_ID) in getCanAddMoreParticipants()
DDraftMessageData.java30 import com.android.messaging.sms.MmsConfig;
860 return totalSize > MmsConfig.get(mSelfSubId).getMaxMessageSize(); in getIsMessageOverLimit()
/packages/apps/Messaging/src/com/android/messaging/
DBugleApplication.java36 import com.android.messaging.sms.MmsConfig;
133 MmsConfig.loadAsync(); in registerCarrierConfigChangeReceiver()
170 MmsConfig.load(); in initializeAsync()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DComposeMessageView.java58 import com.android.messaging.sms.MmsConfig;
217 new LengthFilter(MmsConfig.get(ParticipantData.DEFAULT_SELF_SUB_ID) in onFinishInflate()
251 new LengthFilter(MmsConfig.get(ParticipantData.DEFAULT_SELF_SUB_ID) in onFinishInflate()
527 new LengthFilter(MmsConfig.get(mBinding.getData().getSelfSubId()) in updateOnSelfSubscriptionChange()
530 new LengthFilter(MmsConfig.get(mBinding.getData().getSelfSubId()) in updateOnSelfSubscriptionChange()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DAudioRecordView.java39 import com.android.messaging.sms.MmsConfig;
250 final int maxSize = MmsConfig.get(mHostInterface.getConversationSelfSubId()) in onRecordButtonTouchDown()
DCameraManager.java44 import com.android.messaging.sms.MmsConfig;
948 private MmsConfig getMmsConfig() { in getMmsConfig()
952 return MmsConfig.get(subId); in getMmsConfig()
985 final MmsConfig mmsConfig = getMmsConfig(); in chooseBestPictureSize()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DProcessSentMessageAction.java38 import com.android.messaging.sms.MmsConfig;
180 if (messageSize > MmsConfig.get(subId).getMaxMessageSize()) { in executeAction()