Home | History | Annotate | Download | only in sms

Lines Matching refs:sb

63     StringBuilder sb = new StringBuilder().append(OmtpConstants.ACTIVATE_REQUEST);
65 appendProtocolVersionAndClientType(sb);
68 appendApplicationPort(sb);
69 appendClientPrefix(sb);
72 sendSms(sb.toString(), sentIntent);
81 StringBuilder sb = new StringBuilder().append(OmtpConstants.DEACTIVATE_REQUEST);
82 appendProtocolVersionAndClientType(sb);
84 sendSms(sb.toString(), sentIntent);
93 StringBuilder sb = new StringBuilder().append(OmtpConstants.STATUS_REQUEST);
96 appendProtocolVersionAndClientType(sb);
97 appendApplicationPort(sb);
98 appendClientPrefix(sb);
101 sendSms(sb.toString(), sentIntent);
104 private void appendProtocolVersionAndClientType(StringBuilder sb) {
105 sb.append(OmtpConstants.SMS_PREFIX_SEPARATOR);
106 appendField(sb, OmtpConstants.PROTOCOL_VERSION, protocolVersion);
107 sb.append(OmtpConstants.SMS_FIELD_SEPARATOR);
108 appendField(sb, OmtpConstants.CLIENT_TYPE, clientType);
111 private void appendApplicationPort(StringBuilder sb) {
112 sb.append(OmtpConstants.SMS_FIELD_SEPARATOR);
113 appendField(sb, OmtpConstants.APPLICATION_PORT, applicationPort);
116 private void appendClientPrefix(StringBuilder sb) {
117 sb.append(OmtpConstants.SMS_FIELD_SEPARATOR);
118 sb.append(clientPrefix);