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
99 private static final Map<Integer, MmsConfig> sSubIdToMmsConfigMap = Maps.newHashMap();
101 private static final MmsConfig sFallback =
102 new MmsConfig(ParticipantData.DEFAULT_SELF_SUB_ID, new Bundle());
111 public static MmsConfig get(final int subId) { in get()
114 final MmsConfig mmsConfig = sSubIdToMmsConfigMap.get(realSubId); in get()
126 private MmsConfig(final int subId, final Bundle values) { in MmsConfig() method in MmsConfig
161 addMmsConfig(new MmsConfig(subId, values)); in load()
165 addMmsConfig(new MmsConfig(ParticipantData.DEFAULT_SELF_SUB_ID, values)); in load()
169 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()
126 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.java198 if (!TextUtils.isEmpty(MmsConfig.get(subId).getEmailGateway()) && in sendMessage()
203 dest = MmsConfig.get(subId).getEmailGateway(); in sendMessage()
285 sSendMultipartSmsAsSeparateMessages = MmsConfig.get(subId) in sendInternal()
DMmsUtils.java317 final int byteBudget = MmsConfig.get(subId).getMaxMessageSize() - totalLength in makePduBody()
322 final int widthLimit = MmsConfig.get(subId).getMaxImageWidth(); in makePduBody()
323 final int heightLimit = MmsConfig.get(subId).getMaxImageHeight(); in makePduBody()
646 return MmsConfig.get(subId).getGroupMmsEnabled() && groupMmsPrefOn; in groupMmsEnabled()
2270 MmsConfig.get(subId).getSupportMmsContentDisposition());
2305 if (MmsConfig.get(subId).getTransIdEnabled()) {
2519 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;
100 private final MmsConfig mMmsConfig;
104 mMmsConfig = MmsConfig.get(subId); in MmsConfigAdapter()
120 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;
230 MmsConfig.loadAsync(); in onApplicationCreated()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DPerSubscriptionSettingsActivity.java40 import com.android.messaging.sms.MmsConfig;
117 if (!MmsConfig.get(mSubId).getGroupMmsEnabled()) { in onCreate()
134 if (!MmsConfig.get(mSubId).getSMSDeliveryReportsEnabled()) { in onCreate()
191 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;
848 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()
169 MmsConfig.load(); in initializeAsync()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DComposeMessageView.java57 import com.android.messaging.sms.MmsConfig;
213 new LengthFilter(MmsConfig.get(ParticipantData.DEFAULT_SELF_SUB_ID) in onFinishInflate()
247 new LengthFilter(MmsConfig.get(ParticipantData.DEFAULT_SELF_SUB_ID) in onFinishInflate()
520 new LengthFilter(MmsConfig.get(mBinding.getData().getSelfSubId()) in updateOnSelfSubscriptionChange()
523 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;
947 private MmsConfig getMmsConfig() { in getMmsConfig()
951 return MmsConfig.get(subId); in getMmsConfig()
984 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()