OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:OmtpConstants
(Results
1 - 12
of
12
) sorted by null
/packages/services/Telephony/src/com/android/phone/vvm/omtp/sms/
OmtpSmsParser.java
21
import com.android.phone.vvm.omtp.
OmtpConstants
;
40
if (smsBody.startsWith(
OmtpConstants
.SYNC_SMS_PREFIX)) {
41
messageData = new WrappedMessageData(
OmtpConstants
.SYNC_SMS_PREFIX,
42
parseSmsBody(smsBody.substring(
OmtpConstants
.SYNC_SMS_PREFIX.length())));
44
String triggerEvent = messageData.extractString(
OmtpConstants
.SYNC_TRIGGER_EVENT);
46
Log.e(TAG, "Missing mandatory field: " +
OmtpConstants
.SYNC_TRIGGER_EVENT);
49
} else if (smsBody.startsWith(
OmtpConstants
.STATUS_SMS_PREFIX)) {
50
messageData = new WrappedMessageData(
OmtpConstants
.STATUS_SMS_PREFIX,
51
parseSmsBody(smsBody.substring(
OmtpConstants
.STATUS_SMS_PREFIX.length())));
69
String[] entries = message.split(
OmtpConstants
.SMS_FIELD_SEPARATOR)
[
all
...]
StatusMessage.java
20
import com.android.phone.vvm.omtp.
OmtpConstants
;
63
mProvisioningStatus = wrappedData.extractString(
OmtpConstants
.PROVISIONING_STATUS);
64
mStatusReturnCode = wrappedData.extractString(
OmtpConstants
.RETURN_CODE);
65
mSubscriptionUrl = wrappedData.extractString(
OmtpConstants
.SUBSCRIPTION_URL);
66
mServerAddress = wrappedData.extractString(
OmtpConstants
.SERVER_ADDRESS);
67
mTuiAccessNumber = wrappedData.extractString(
OmtpConstants
.TUI_ACCESS_NUMBER);
69
OmtpConstants
.CLIENT_SMS_DESTINATION_NUMBER);
70
mImapPort = wrappedData.extractString(
OmtpConstants
.IMAP_PORT);
71
mImapUserName = wrappedData.extractString(
OmtpConstants
.IMAP_USER_NAME);
72
mImapPassword = wrappedData.extractString(
OmtpConstants
.IMAP_PASSWORD)
[
all
...]
SyncMessage.java
18
import com.android.phone.vvm.omtp.
OmtpConstants
;
53
mSyncTriggerEvent = wrappedData.extractString(
OmtpConstants
.SYNC_TRIGGER_EVENT);
54
mMessageId = wrappedData.extractString(
OmtpConstants
.MESSAGE_UID);
55
mMessageLength = wrappedData.extractInteger(
OmtpConstants
.MESSAGE_LENGTH);
56
mContentType = wrappedData.extractString(
OmtpConstants
.CONTENT_TYPE);
57
mSender = wrappedData.extractString(
OmtpConstants
.SENDER);
58
mNewMessageCount = wrappedData.extractInteger(
OmtpConstants
.NUM_MESSAGE_COUNT);
59
mMsgTimeMillis = wrappedData.extractTime(
OmtpConstants
.TIME);
81
* {@link com.android.phone.vvm.omtp.
OmtpConstants
#NEW_MESSAGE}
91
* {@link com.android.phone.vvm.omtp.
OmtpConstants
#NEW_MESSAGE
[
all
...]
OmtpStandardMessageSender.java
23
import com.android.phone.vvm.omtp.
OmtpConstants
;
61
StringBuilder sb = new StringBuilder().append(
OmtpConstants
.ACTIVATE_REQUEST);
64
if (TextUtils.equals(mProtocolVersion,
OmtpConstants
.PROTOCOL_VERSION1_2) ||
65
TextUtils.equals(mProtocolVersion,
OmtpConstants
.PROTOCOL_VERSION1_3)) {
79
StringBuilder sb = new StringBuilder().append(
OmtpConstants
.DEACTIVATE_REQUEST);
91
StringBuilder sb = new StringBuilder().append(
OmtpConstants
.STATUS_REQUEST);
93
if (TextUtils.equals(mProtocolVersion,
OmtpConstants
.PROTOCOL_VERSION1_3)) {
103
sb.append(
OmtpConstants
.SMS_PREFIX_SEPARATOR);
104
appendField(sb,
OmtpConstants
.PROTOCOL_VERSION, mProtocolVersion);
105
sb.append(
OmtpConstants
.SMS_FIELD_SEPARATOR)
[
all
...]
OmtpCvvmMessageSender.java
22
import com.android.phone.vvm.omtp.
OmtpConstants
;
35
sendCvvmMessage(
OmtpConstants
.ACTIVATE_REQUEST, sentIntent);
40
sendCvvmMessage(
OmtpConstants
.DEACTIVATE_REQUEST, sentIntent);
45
sendCvvmMessage(
OmtpConstants
.STATUS_REQUEST, sentIntent);
50
sb.append(
OmtpConstants
.SMS_PREFIX_SEPARATOR);
WrappedMessageData.java
22
import com.android.phone.vvm.omtp.
OmtpConstants
;
73
String[] possibleValues =
OmtpConstants
.possibleValuesMap.get(field);
109
* {@link
OmtpConstants
#DATE_TIME_FORMAT} format.
122
OmtpConstants
.DATE_TIME_FORMAT, Locale.US).parse(value).getTime();
OmtpMessageSender.java
22
import com.android.phone.vvm.omtp.
OmtpConstants
;
94
sb.append(field).append(
OmtpConstants
.SMS_KEY_VALUE_SEPARATOR).append(value);
OmtpMessageReceiver.java
36
import com.android.phone.vvm.omtp.
OmtpConstants
;
89
if (messageData.getPrefix() ==
OmtpConstants
.SYNC_SMS_PREFIX) {
97
} else if (messageData.getPrefix() ==
OmtpConstants
.STATUS_SMS_PREFIX) {
120
case
OmtpConstants
.NEW_MESSAGE:
138
case
OmtpConstants
.MAILBOX_UPDATE:
143
case
OmtpConstants
.GREETINGS_UPDATE:
160
if (
OmtpConstants
.SUCCESS.equals(message.getReturnCode())) {
/packages/services/Telephony/src/com/android/phone/settings/
VisualVoicemailSettingsUtil.java
25
import com.android.phone.vvm.omtp.
OmtpConstants
;
108
getVisualVoicemailSharedPrefsKey(
OmtpConstants
.IMAP_PORT, phoneAccount),
111
getVisualVoicemailSharedPrefsKey(
OmtpConstants
.SERVER_ADDRESS, phoneAccount),
114
getVisualVoicemailSharedPrefsKey(
OmtpConstants
.IMAP_USER_NAME, phoneAccount),
117
getVisualVoicemailSharedPrefsKey(
OmtpConstants
.IMAP_PASSWORD, phoneAccount),
/packages/services/Telephony/src/com/android/phone/vvm/omtp/
OmtpConstants.java
26
public class
OmtpConstants
{
67
* See {@link
OmtpConstants
#SYNC_TRIGGER_EVENT_VALUES}
73
/** See {@link
OmtpConstants
#CONTENT_TYPE_VALUES} */
81
* These are the possible values of {@link
OmtpConstants
#SYNC_TRIGGER_EVENT}.
96
* These are the possible values of {@link
OmtpConstants
#CONTENT_TYPE}.
116
/** See {@link
OmtpConstants
#PROVISIONING_STATUS_VALUES} */
118
/** See {@link
OmtpConstants
#RETURN_CODE_VALUES} */
138
* Referred by {@link
OmtpConstants
#PROVISIONING_STATUS}.
159
* These are the possible values of {@link
OmtpConstants
#RETURN_CODE}.
OmtpVvmCarrierConfigHelper.java
160
destinationNumber, null,
OmtpConstants
.PROTOCOL_VERSION1_1, null);
/packages/services/Telephony/src/com/android/phone/vvm/omtp/imap/
ImapHelper.java
49
import com.android.phone.vvm.omtp.
OmtpConstants
;
91
OmtpConstants
.IMAP_USER_NAME, phoneAccount);
93
OmtpConstants
.IMAP_PASSWORD, phoneAccount);
95
OmtpConstants
.SERVER_ADDRESS, phoneAccount);
98
OmtpConstants
.IMAP_PORT, phoneAccount));
Completed in 166 milliseconds