Home
last modified time | relevance | path

Searched refs:OmtpConstants (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Dialer/java/com/android/voicemail/impl/sms/
DStatusMessage.java20 import com.android.voicemail.impl.OmtpConstants;
81 mProvisioningStatus = unquote(getString(wrappedData, OmtpConstants.PROVISIONING_STATUS)); in StatusMessage()
82 mStatusReturnCode = getString(wrappedData, OmtpConstants.RETURN_CODE); in StatusMessage()
83 mSubscriptionUrl = getString(wrappedData, OmtpConstants.SUBSCRIPTION_URL); in StatusMessage()
84 mServerAddress = getString(wrappedData, OmtpConstants.SERVER_ADDRESS); in StatusMessage()
85 mTuiAccessNumber = getString(wrappedData, OmtpConstants.TUI_ACCESS_NUMBER); in StatusMessage()
87 getString(wrappedData, OmtpConstants.CLIENT_SMS_DESTINATION_NUMBER); in StatusMessage()
88 mImapPort = getString(wrappedData, OmtpConstants.IMAP_PORT); in StatusMessage()
89 mImapUserName = getString(wrappedData, OmtpConstants.IMAP_USER_NAME); in StatusMessage()
90 mImapPassword = getString(wrappedData, OmtpConstants.IMAP_PASSWORD); in StatusMessage()
[all …]
DOmtpStandardMessageSender.java23 import com.android.voicemail.impl.OmtpConstants;
63 StringBuilder sb = new StringBuilder().append(OmtpConstants.ACTIVATE_REQUEST); in requestVvmActivation()
66 if (TextUtils.equals(mProtocolVersion, OmtpConstants.PROTOCOL_VERSION1_2) in requestVvmActivation()
67 || TextUtils.equals(mProtocolVersion, OmtpConstants.PROTOCOL_VERSION1_3)) { in requestVvmActivation()
81 StringBuilder sb = new StringBuilder().append(OmtpConstants.DEACTIVATE_REQUEST); in requestVvmDeactivation()
93 StringBuilder sb = new StringBuilder().append(OmtpConstants.STATUS_REQUEST); in requestVvmStatus()
95 if (TextUtils.equals(mProtocolVersion, OmtpConstants.PROTOCOL_VERSION1_3)) { in requestVvmStatus()
105 sb.append(OmtpConstants.SMS_PREFIX_SEPARATOR); in appendProtocolVersionAndClientType()
106 appendField(sb, OmtpConstants.PROTOCOL_VERSION, mProtocolVersion); in appendProtocolVersionAndClientType()
107 sb.append(OmtpConstants.SMS_FIELD_SEPARATOR); in appendProtocolVersionAndClientType()
[all …]
DSyncMessage.java21 import com.android.voicemail.impl.OmtpConstants;
68 mSyncTriggerEvent = getString(wrappedData, OmtpConstants.SYNC_TRIGGER_EVENT); in SyncMessage()
69 mMessageId = getString(wrappedData, OmtpConstants.MESSAGE_UID); in SyncMessage()
70 mMessageLength = getInt(wrappedData, OmtpConstants.MESSAGE_LENGTH); in SyncMessage()
71 mContentType = getString(wrappedData, OmtpConstants.CONTENT_TYPE); in SyncMessage()
72 mSender = getString(wrappedData, OmtpConstants.SENDER); in SyncMessage()
73 mNewMessageCount = getInt(wrappedData, OmtpConstants.NUM_MESSAGE_COUNT); in SyncMessage()
74 mMsgTimeMillis = parseTime(wrappedData.getString(OmtpConstants.TIME)); in SyncMessage()
82 return new SimpleDateFormat(OmtpConstants.DATE_TIME_FORMAT, Locale.US).parse(value).getTime(); in parseTime()
DOmtpMessageReceiver.java30 import com.android.voicemail.impl.OmtpConstants;
95 if (eventType.equals(OmtpConstants.SYNC_SMS_PREFIX)) { in onReceive()
101 } else if (eventType.equals(OmtpConstants.STATUS_SMS_PREFIX)) { in onReceive()
131 case OmtpConstants.NEW_MESSAGE: in processSync()
132 if (!OmtpConstants.VOICE.equals(message.getContentType())) { in processSync()
154 case OmtpConstants.MAILBOX_UPDATE: in processSync()
157 case OmtpConstants.GREETINGS_UPDATE: in processSync()
DOmtpCvvmMessageSender.java22 import com.android.voicemail.impl.OmtpConstants;
36 sendCvvmMessage(OmtpConstants.ACTIVATE_REQUEST, sentIntent); in requestVvmActivation()
41 sendCvvmMessage(OmtpConstants.DEACTIVATE_REQUEST, sentIntent); in requestVvmDeactivation()
46 sendCvvmMessage(OmtpConstants.STATUS_REQUEST, sentIntent); in requestVvmStatus()
51 sb.append(OmtpConstants.SMS_PREFIX_SEPARATOR); in sendCvvmMessage()
DLegacyModeSmsHandler.java32 import com.android.voicemail.impl.OmtpConstants;
55 if (eventType.equals(OmtpConstants.SYNC_SMS_PREFIX)) { in handle()
61 case OmtpConstants.NEW_MESSAGE: in handle()
62 case OmtpConstants.MAILBOX_UPDATE: in handle()
DStatusSmsFetcher.java35 import com.android.voicemail.impl.OmtpConstants;
120 if (eventType.equals(OmtpConstants.STATUS_SMS_PREFIX)) { in onReceive()
125 if (eventType.equals(OmtpConstants.SYNC_SMS_PREFIX)) { in onReceive()
DOmtpMessageSender.java23 import com.android.voicemail.impl.OmtpConstants;
83 sb.append(field).append(OmtpConstants.SMS_KEY_VALUE_SEPARATOR).append(value); in appendField()
/packages/apps/Dialer/java/com/android/voicemail/impl/imap/
DImapHelper.java25 import com.android.voicemail.impl.OmtpConstants;
26 import com.android.voicemail.impl.OmtpConstants.ChangePinResult;
116 String username = mPrefs.getString(OmtpConstants.IMAP_USER_NAME, null); in ImapHelper()
117 String password = mPrefs.getString(OmtpConstants.IMAP_PASSWORD, null); in ImapHelper()
118 String serverName = mPrefs.getString(OmtpConstants.SERVER_ADDRESS, null); in ImapHelper()
119 int port = Integer.parseInt(mPrefs.getString(OmtpConstants.IMAP_PORT, null)); in ImapHelper()
391 getConfig().getProtocol().getCommand(OmtpConstants.IMAP_CHANGE_TUI_PWD_FORMAT); in changePin()
396 return OmtpConstants.CHANGE_PIN_SYSTEM_ERROR; in changePin()
406 getConfig().getProtocol().getCommand(OmtpConstants.IMAP_CHANGE_VM_LANG_FORMAT); in changeVoicemailTuiLanguage()
418 String command = getConfig().getProtocol().getCommand(OmtpConstants.IMAP_CLOSE_NUT); in closeNewUserTutorial()
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/
DVvm3Protocol.java30 import com.android.voicemail.impl.OmtpConstants;
121 if (OmtpConstants.SUBSCRIBER_UNKNOWN.equals(message.getProvisioningStatus())) { in startProvisioning()
129 } else if (OmtpConstants.SUBSCRIBER_NEW.equals(message.getProvisioningStatus())) { in startProvisioning()
137 } else if (OmtpConstants.SUBSCRIBER_PROVISIONED.equals(message.getProvisioningStatus())) { in startProvisioning()
140 } else if (OmtpConstants.SUBSCRIBER_BLOCKED.equals(message.getProvisioningStatus())) { in startProvisioning()
167 case OmtpConstants.IMAP_CHANGE_TUI_PWD_FORMAT: in getCommand()
169 case OmtpConstants.IMAP_CLOSE_NUT: in getCommand()
171 case OmtpConstants.IMAP_CHANGE_VM_LANG_FORMAT: in getCommand()
191 bundle.putString(OmtpConstants.PROVISIONING_STATUS, OmtpConstants.SUBSCRIBER_UNKNOWN); in translateStatusSmsBundle()
193 OmtpConstants.RETURN_CODE, VVM3_UNKNOWN_SUBSCRIBER_CAN_SUBSCRIBE_RESPONSE_CODE); in translateStatusSmsBundle()
[all …]
DCvvmProtocol.java21 import com.android.voicemail.impl.OmtpConstants;
48 if (command == OmtpConstants.IMAP_CHANGE_TUI_PWD_FORMAT) { in getCommand()
51 if (command == OmtpConstants.IMAP_CLOSE_NUT) { in getCommand()
54 if (command == OmtpConstants.IMAP_CHANGE_VM_LANG_FORMAT) { in getCommand()
DOmtpProtocol.java21 import com.android.voicemail.impl.OmtpConstants;
38 OmtpConstants.getClientType(), in createMessageSender()
39 OmtpConstants.PROTOCOL_VERSION1_1, in createMessageSender()
DVisualVoicemailProtocol.java26 import com.android.voicemail.impl.OmtpConstants;
/packages/apps/Dialer/java/com/android/voicemail/impl/settings/
DVoicemailChangePinActivity.java49 import com.android.voicemail.impl.OmtpConstants;
50 import com.android.voicemail.impl.OmtpConstants.ChangePinResult;
142 if (result == OmtpConstants.CHANGE_PIN_SUCCESS) { in handleResult()
167 if (result == OmtpConstants.CHANGE_PIN_SUCCESS) { in handleResult()
169 } else if (result == OmtpConstants.CHANGE_PIN_SYSTEM_ERROR) { in handleResult()
273 if (result == OmtpConstants.CHANGE_PIN_SUCCESS) { in handleResult()
290 if (result == OmtpConstants.CHANGE_PIN_MISMATCH) { in handleResult()
387 String[] lengths = preferences.getString(OmtpConstants.TUI_PASSWORD_LENGTH, "").split("-"); in readPinLength()
529 case OmtpConstants.CHANGE_PIN_TOO_SHORT: in getChangePinResultMessage()
531 case OmtpConstants.CHANGE_PIN_TOO_LONG: in getChangePinResultMessage()
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/
DVvmAccountManager.java32 import com.android.voicemail.impl.OmtpConstants;
84 .putString(OmtpConstants.IMAP_USER_NAME, null) in removeAccount()
85 .putString(OmtpConstants.IMAP_PASSWORD, null) in removeAccount()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DActivationTask.java221 if (message.getProvisioningStatus().equals(OmtpConstants.SUBSCRIBER_READY)) { in onExecuteInBackgroundThread()
229 } else if (message.getProvisioningStatus().equals(OmtpConstants.SUBSCRIBER_NEW)) { in onExecuteInBackgroundThread()
246 if (OmtpConstants.SUCCESS.equals(message.getReturnCode())) { in updateSource()
DStatusCheckTask.java111 if (message.getProvisioningStatus().equals(OmtpConstants.SUBSCRIBER_READY)) { in onExecuteInBackgroundThread()
DOmtpConstants.java27 public class OmtpConstants { class