/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsConfig.java | 44 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 …]
|
D | MmsSmsUtils.java | 46 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()
|
D | MmsSender.java | 100 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()
|
D | SmsSender.java | 198 if (!TextUtils.isEmpty(MmsConfig.get(subId).getEmailGateway()) && in sendMessage() 203 dest = MmsConfig.get(subId).getEmailGateway(); in sendMessage() 285 sSendMultipartSmsAsSeparateMessages = MmsConfig.get(subId) in sendInternal()
|
D | MmsUtils.java | 317 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/ |
D | DebugMmsConfigItemView.java | 35 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()
|
D | DebugMmsConfigFragment.java | 35 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/ |
D | MessageTextStats.java | 21 import com.android.messaging.sms.MmsConfig; 55 final MmsConfig mmsConfig = MmsConfig.get(selfSubId); in updateMessageTextStats()
|
D | DataModelImpl.java | 52 import com.android.messaging.sms.MmsConfig; 230 MmsConfig.loadAsync(); in onApplicationCreated()
|
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
D | PerSubscriptionSettingsActivity.java | 40 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/ |
D | ContactPickerData.java | 30 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()
|
D | DraftMessageData.java | 30 import com.android.messaging.sms.MmsConfig; 848 return totalSize > MmsConfig.get(mSelfSubId).getMaxMessageSize(); in getIsMessageOverLimit()
|
/packages/apps/Messaging/src/com/android/messaging/ |
D | BugleApplication.java | 36 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/ |
D | ComposeMessageView.java | 57 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/ |
D | AudioRecordView.java | 39 import com.android.messaging.sms.MmsConfig; 250 final int maxSize = MmsConfig.get(mHostInterface.getConversationSelfSubId()) in onRecordButtonTouchDown()
|
D | CameraManager.java | 44 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/ |
D | ProcessSentMessageAction.java | 38 import com.android.messaging.sms.MmsConfig; 180 if (messageSize > MmsConfig.get(subId).getMaxMessageSize()) { in executeAction()
|