/packages/apps/Dialer/java/com/android/voicemail/impl/sms/ |
D | StatusMessage.java | 20 import com.android.voicemail.impl.OmtpConstants; 81 provisioningStatus = unquote(getString(wrappedData, OmtpConstants.PROVISIONING_STATUS)); in StatusMessage() 82 statusReturnCode = getString(wrappedData, OmtpConstants.RETURN_CODE); in StatusMessage() 83 subscriptionUrl = getString(wrappedData, OmtpConstants.SUBSCRIPTION_URL); in StatusMessage() 84 serverAddress = getString(wrappedData, OmtpConstants.SERVER_ADDRESS); in StatusMessage() 85 tuiAccessNumber = getString(wrappedData, OmtpConstants.TUI_ACCESS_NUMBER); in StatusMessage() 87 getString(wrappedData, OmtpConstants.CLIENT_SMS_DESTINATION_NUMBER); in StatusMessage() 88 imapPort = getString(wrappedData, OmtpConstants.IMAP_PORT); in StatusMessage() 89 imapUserName = getString(wrappedData, OmtpConstants.IMAP_USER_NAME); in StatusMessage() 90 imapPassword = getString(wrappedData, OmtpConstants.IMAP_PASSWORD); in StatusMessage() [all …]
|
D | OmtpStandardMessageSender.java | 23 import com.android.voicemail.impl.OmtpConstants; 63 StringBuilder sb = new StringBuilder().append(OmtpConstants.ACTIVATE_REQUEST); in requestVvmActivation() 66 if (TextUtils.equals(protocolVersion, OmtpConstants.PROTOCOL_VERSION1_2) in requestVvmActivation() 67 || TextUtils.equals(protocolVersion, 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(protocolVersion, OmtpConstants.PROTOCOL_VERSION1_3)) { in requestVvmStatus() 105 sb.append(OmtpConstants.SMS_PREFIX_SEPARATOR); in appendProtocolVersionAndClientType() 106 appendField(sb, OmtpConstants.PROTOCOL_VERSION, protocolVersion); in appendProtocolVersionAndClientType() 107 sb.append(OmtpConstants.SMS_FIELD_SEPARATOR); in appendProtocolVersionAndClientType() [all …]
|
D | SyncMessage.java | 21 import com.android.voicemail.impl.OmtpConstants; 68 syncTriggerEvent = getString(wrappedData, OmtpConstants.SYNC_TRIGGER_EVENT); in SyncMessage() 69 messageId = getString(wrappedData, OmtpConstants.MESSAGE_UID); in SyncMessage() 70 messageLength = getInt(wrappedData, OmtpConstants.MESSAGE_LENGTH); in SyncMessage() 71 contentType = getString(wrappedData, OmtpConstants.CONTENT_TYPE); in SyncMessage() 72 sender = getString(wrappedData, OmtpConstants.SENDER); in SyncMessage() 73 newMessageCount = getInt(wrappedData, OmtpConstants.NUM_MESSAGE_COUNT); in SyncMessage() 74 msgTimeMillis = parseTime(wrappedData.getString(OmtpConstants.TIME)); in SyncMessage() 82 return new SimpleDateFormat(OmtpConstants.DATE_TIME_FORMAT, Locale.US).parse(value).getTime(); in parseTime()
|
D | OmtpCvvmMessageSender.java | 22 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()
|
D | OmtpMessageReceiver.java | 30 import com.android.voicemail.impl.OmtpConstants; 101 if (eventType.equals(OmtpConstants.SYNC_SMS_PREFIX)) { in onReceive() 107 } else if (eventType.equals(OmtpConstants.STATUS_SMS_PREFIX)) { in onReceive() 137 case OmtpConstants.NEW_MESSAGE: in processSync() 138 if (!OmtpConstants.VOICE.equals(message.getContentType())) { in processSync() 160 case OmtpConstants.MAILBOX_UPDATE: in processSync() 163 case OmtpConstants.GREETINGS_UPDATE: in processSync()
|
D | LegacyModeSmsHandler.java | 33 import com.android.voicemail.impl.OmtpConstants; 56 if (eventType.equals(OmtpConstants.SYNC_SMS_PREFIX)) { in handle() 62 case OmtpConstants.NEW_MESSAGE: in handle() 63 case OmtpConstants.MAILBOX_UPDATE: in handle() 69 } else if (OmtpConstants.ALTERNATIVE_MAILBOX_UPDATE.equals(eventType)) { in handle() 75 sms.getFields().getString(OmtpConstants.ALTERNATIVE_NUM_MESSAGE_COUNT)); in handle()
|
D | StatusSmsFetcher.java | 35 import com.android.voicemail.impl.OmtpConstants; 119 if (eventType.equals(OmtpConstants.STATUS_SMS_PREFIX)) { in onReceive() 124 if (eventType.equals(OmtpConstants.SYNC_SMS_PREFIX)) { in onReceive()
|
D | OmtpMessageSender.java | 26 import com.android.voicemail.impl.OmtpConstants; 93 sb.append(field).append(OmtpConstants.SMS_KEY_VALUE_SEPARATOR).append(value); in appendField()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/ |
D | Vvm3Protocol.java | 32 import com.android.voicemail.impl.OmtpConstants; 131 if (OmtpConstants.SUBSCRIBER_UNKNOWN.equals(message.getProvisioningStatus())) { in startProvisioning() 139 } else if (OmtpConstants.SUBSCRIBER_NEW.equals(message.getProvisioningStatus())) { in startProvisioning() 147 } else if (OmtpConstants.SUBSCRIBER_PROVISIONED.equals(message.getProvisioningStatus())) { in startProvisioning() 150 } else if (OmtpConstants.SUBSCRIBER_BLOCKED.equals(message.getProvisioningStatus())) { in startProvisioning() 177 case OmtpConstants.IMAP_CHANGE_TUI_PWD_FORMAT: in getCommand() 179 case OmtpConstants.IMAP_CLOSE_NUT: in getCommand() 181 case OmtpConstants.IMAP_CHANGE_VM_LANG_FORMAT: in getCommand() 201 bundle.putString(OmtpConstants.PROVISIONING_STATUS, OmtpConstants.SUBSCRIBER_UNKNOWN); in translateStatusSmsBundle() 203 OmtpConstants.RETURN_CODE, VVM3_UNKNOWN_SUBSCRIBER_CAN_SUBSCRIBE_RESPONSE_CODE); in translateStatusSmsBundle() [all …]
|
D | CvvmProtocol.java | 21 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()
|
D | OmtpProtocol.java | 21 import com.android.voicemail.impl.OmtpConstants; 38 OmtpConstants.getClientType(), in createMessageSender() 39 OmtpConstants.PROTOCOL_VERSION1_1, in createMessageSender()
|
D | VisualVoicemailProtocol.java | 26 import com.android.voicemail.impl.OmtpConstants;
|
/packages/apps/Dialer/java/com/android/voicemail/impl/imap/ |
D | ImapHelper.java | 27 import com.android.voicemail.impl.OmtpConstants; 117 String username = prefs.getString(OmtpConstants.IMAP_USER_NAME, null); in ImapHelper() 118 String password = prefs.getString(OmtpConstants.IMAP_PASSWORD, null); in ImapHelper() 119 String serverName = prefs.getString(OmtpConstants.SERVER_ADDRESS, null); in ImapHelper() 120 int port = Integer.parseInt(prefs.getString(OmtpConstants.IMAP_PORT, null)); in ImapHelper() 391 getConfig().getProtocol().getCommand(OmtpConstants.IMAP_CHANGE_TUI_PWD_FORMAT); 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() 436 if (OmtpConstants.RESPONSE_CHANGE_PIN_TOO_SHORT.equals(message)) { in getChangePinResultFromImapResponse() 439 if (OmtpConstants.RESPONSE_CHANGE_PIN_TOO_LONG.equals(message)) { in getChangePinResultFromImapResponse() [all …]
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/ |
D | VvmAccountManager.java | 33 import com.android.voicemail.impl.OmtpConstants; 79 .putString(OmtpConstants.IMAP_USER_NAME, null) in removeAccount() 80 .putString(OmtpConstants.IMAP_PASSWORD, null) in removeAccount()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
D | ActivationTask.java | 235 if (message.getProvisioningStatus().equals(OmtpConstants.SUBSCRIBER_READY)) { in onExecuteInBackgroundThread() 244 } else if (message.getProvisioningStatus().equals(OmtpConstants.SUBSCRIBER_NEW)) { in onExecuteInBackgroundThread() 264 if (OmtpConstants.SUCCESS.equals(message.getReturnCode())) { in updateSource()
|
D | PinChangerImpl.java | 94 String[] lengths = preferences.getString(OmtpConstants.TUI_PASSWORD_LENGTH, "").split("-"); in getPinSpecification()
|
D | OmtpConstants.java | 24 public class OmtpConstants { class
|
D | StatusCheckTask.java | 111 if (message.getProvisioningStatus().equals(OmtpConstants.SUBSCRIBER_READY)) { in onExecuteInBackgroundThread()
|