Home
last modified time | relevance | path

Searched refs:message (Results 1 – 25 of 862) sorted by relevance

12345678910>>...35

/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMessageData.java216 final MessageData message = new MessageData(); in createDraftMessage() local
217 message.mStatus = BUGLE_STATUS_OUTGOING_DRAFT; in createDraftMessage()
218 message.mProtocol = PROTOCOL_UNKNOWN; in createDraftMessage()
219 message.mConversationId = conversationId; in createDraftMessage()
220 message.mParticipantId = selfId; in createDraftMessage()
221 message.mReceivedTimestamp = System.currentTimeMillis(); in createDraftMessage()
223 message.mParts.add(MessagePartData.createTextMessagePart("")); in createDraftMessage()
226 message.mParticipantId = content.mParticipantId; in createDraftMessage()
229 message.mMmsSubject = content.mMmsSubject; in createDraftMessage()
232 message.mParts.add(part); in createDraftMessage()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/
DLogUtils.java29 public static void v(String message, Object... args) { in v() argument
30 DEFAULT_LOGGER.v(message, args); in v()
33 public static void d(String message, Object... args) { in d() argument
34 DEFAULT_LOGGER.d(message, args); in d()
37 public static void i(String message, Object... args) { in i() argument
38 DEFAULT_LOGGER.i(message, args); in i()
41 public static void w(String message, Object... args) { in w() argument
42 DEFAULT_LOGGER.w(message, args); in w()
45 public static void e(String message, Object... args) { in e() argument
46 DEFAULT_LOGGER.e(message, args); in e()
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapAkaMethodStateMachine.java20 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_AKA;
21 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_SUCCESS;
22 import static com.android.internal.net.eap.message.simaka.EapAkaTypeData.EAP_AKA_AUTHENTICATION_REJ…
23 import static com.android.internal.net.eap.message.simaka.EapAkaTypeData.EAP_AKA_CHALLENGE;
24 import static com.android.internal.net.eap.message.simaka.EapAkaTypeData.EAP_AKA_CLIENT_ERROR;
25 import static com.android.internal.net.eap.message.simaka.EapAkaTypeData.EAP_AKA_IDENTITY;
26 import static com.android.internal.net.eap.message.simaka.EapAkaTypeData.EAP_AKA_NOTIFICATION;
27 import static com.android.internal.net.eap.message.simaka.EapAkaTypeData.EAP_AKA_SYNCHRONIZATION_FA…
28 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_ANY_ID_REQ;
29 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_AUTN;
[all …]
DEapSimMethodStateMachine.java20 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_SIM;
21 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_SUCCESS;
22 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_ANY_ID_REQ;
23 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_ENCR_DATA;
24 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_FULLAUTH_ID_REQ;
25 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_IV;
26 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
27 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_PERMANENT_ID_RE…
28 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_RAND;
29 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_VERSION_LIST;
[all …]
DEapMsChapV2MethodStateMachine.java20 import static com.android.internal.net.eap.message.EapData.EAP_NOTIFICATION;
21 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_MSCHAP_V2;
22 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_STRING;
23 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_FAILURE;
24 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_RESPONSE;
25 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_SUCCESS;
26 import static com.android.internal.net.eap.message.mschapv2.EapMsChapV2TypeData.EAP_MSCHAP_V2_FAILU…
27 import static com.android.internal.net.eap.message.mschapv2.EapMsChapV2TypeData.EAP_MSCHAP_V2_SUCCE…
28 import static com.android.internal.net.eap.message.mschapv2.EapMsChapV2TypeData.EAP_OP_CODE_STRING;
29 import static com.android.internal.net.eap.message.mschapv2.EapMsChapV2TypeData.EapMsChapV2FailureR…
[all …]
DEapStateMachine.java20 import static com.android.internal.net.eap.message.EapData.EAP_IDENTITY;
21 import static com.android.internal.net.eap.message.EapData.EAP_NAK;
22 import static com.android.internal.net.eap.message.EapData.EAP_NOTIFICATION;
23 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_AKA;
24 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_AKA_PRIME;
25 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_MSCHAP_V2;
26 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_SIM;
27 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_STRING;
28 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_TTLS;
29 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_FAILURE;
[all …]
/packages/services/Mms/src/com/android/mms/service/
DLogUtil.java27 public static void i(final String requestId, final String message) { in i() argument
28 Log.i(TAG, "[" + requestId + "] " + message); in i()
31 public static void i(final String message) { in i() argument
32 Log.i(TAG, message); in i()
35 public static void d(final String requestId, final String message) { in d() argument
36 Log.d(TAG, "[" + requestId + "] " + message); in d()
39 public static void d(final String message) { in d() argument
40 Log.d(TAG, message); in d()
43 public static void v(final String requestId, final String message) { in v() argument
44 Log.v(TAG, "[" + requestId + "] " + message); in v()
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DInsertNewMessageAction.java59 public static void insertNewMessage(final MessageData message) { in insertNewMessage() argument
60 final InsertNewMessageAction action = new InsertNewMessageAction(message); in insertNewMessage()
67 public static void insertNewMessage(final MessageData message, final int subId) { in insertNewMessage() argument
69 final InsertNewMessageAction action = new InsertNewMessageAction(message, subId); in insertNewMessage()
93 private InsertNewMessageAction(final MessageData message) { in InsertNewMessageAction() argument
94 this(message, ParticipantData.DEFAULT_SELF_SUB_ID); in InsertNewMessageAction()
95 actionParameters.putParcelable(KEY_MESSAGE, message); in InsertNewMessageAction()
98 private InsertNewMessageAction(final MessageData message, final int subId) { in InsertNewMessageAction() argument
100 actionParameters.putParcelable(KEY_MESSAGE, message); in InsertNewMessageAction()
121 MessageData message = actionParameters.getParcelable(KEY_MESSAGE); in executeAction() local
[all …]
DSendMessageAction.java101 final MessageData message = BugleDatabaseOperations.readMessage(db, messageId); in queueAction() local
103 if (message != null && message.canSendMessage()) { in queueAction()
104 final boolean isSms = (message.getProtocol() == MessageData.PROTOCOL_SMS); in queueAction()
107 db, message.getSelfId()); in queueAction()
108 final Uri messageUri = message.getSmsMessageUri(); in queueAction()
109 final String conversationId = message.getConversationId(); in queueAction()
112 if (message.getYetToSend()) { in queueAction()
114 message.markMessageSending(timestamp); in queueAction()
117 message.markMessageResending(timestamp); in queueAction()
119 if (!updateMessageAndStatus(isSms, message, null /* messageUri */, false /*notify*/)) { in queueAction()
[all …]
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DSuggestionCursorUtil.java38 public static void assertNoSuggestions(String message, SuggestionCursor suggestions) { in assertNoSuggestions() argument
40 assertEquals(message, 0, suggestions.getCount()); in assertNoSuggestions()
43 public static void assertSameSuggestion(String message, int position, in assertSameSuggestion() argument
45 assertSameSuggestion(message, expected, position, observed, position); in assertSameSuggestion()
48 public static void assertSameSuggestion(String message, in assertSameSuggestion() argument
51 message += " at positions " + positionExpected + "(expected) " in assertSameSuggestion()
55 assertSuggestionEquals(message, expected, observed); in assertSameSuggestion()
63 String message, SuggestionCursor expected, SuggestionCursor observed) { in assertSameSuggestions() argument
64 assertNotNull(message + ", expected == null", expected); in assertSameSuggestions()
65 assertNotNull(message + ", observed == null", observed); in assertSameSuggestions()
[all …]
/packages/apps/Dialer/java/com/android/incallui/rtt/protocol/
DRttChatMessage.java113 RttChatMessage message; in updateRemoteRttChatMessage() local
116 message = new RttChatMessage(); in updateRemoteRttChatMessage()
117 message.append(singleMessageContent); in updateRemoteRttChatMessage()
118 message.isRemote = true; in updateRemoteRttChatMessage()
120 message.finish(); in updateRemoteRttChatMessage()
122 if (message.content.length() != 0) { in updateRemoteRttChatMessage()
123 messageList.add(message); in updateRemoteRttChatMessage()
126 message = messageList.get(index); in updateRemoteRttChatMessage()
127 message.append(singleMessageContent); in updateRemoteRttChatMessage()
129 message.finish(); in updateRemoteRttChatMessage()
[all …]
/packages/services/Car/service/src/com/android/car/hal/
DVmsHalService.java171 synchronized void enqueue(int messageType, Object message) { in enqueue() argument
173 Message.obtain(mHandler, messageType, message).sendToTarget(); in enqueue()
409 private void handleStartSessionEvent(List<Integer> message) { in handleStartSessionEvent() argument
410 int coreId = message.get(VmsStartSessionMessageIntegerValuesIndex.SERVICE_ID); in handleStartSessionEvent()
411 int clientId = message.get(VmsStartSessionMessageIntegerValuesIndex.CLIENT_ID); in handleStartSessionEvent()
461 private void handleDataEvent(List<Integer> message, byte[] payload) in handleDataEvent() argument
463 VmsLayer vmsLayer = parseVmsLayerFromMessage(message); in handleDataEvent()
464 int publisherId = parsePublisherIdFromMessage(message); in handleDataEvent()
481 private void handleSubscribeEvent(List<Integer> message) throws RemoteException { in handleSubscribeEvent() argument
482 VmsLayer vmsLayer = parseVmsLayerFromMessage(message); in handleSubscribeEvent()
[all …]
/packages/apps/Car/libs/car-settings-lib/src/com/android/car/settingslib/log/
DLoggerBase.java79 public void v(String message) { in v() argument
81 Log.v(mTag, mPrefix.concat(message)); in v()
92 public void v(String message, Throwable throwable) { in v() argument
94 Log.v(mTag, mPrefix.concat(message), throwable); in v()
104 public void d(String message) { in d() argument
106 Log.d(mTag, mPrefix.concat(message)); in d()
117 public void d(String message, Throwable throwable) { in d() argument
119 Log.d(mTag, mPrefix.concat(message), throwable); in d()
129 public void i(String message) { in i() argument
131 Log.i(mTag, mPrefix.concat(message)); in i()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapSimAkaMethodStateMachineTest.java20 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_SIM;
21 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_REQUEST;
22 import static com.android.internal.net.eap.message.EapTestMessageDefinitions.COMPUTED_MAC;
23 import static com.android.internal.net.eap.message.EapTestMessageDefinitions.EAP_SIM_CHALLENGE_RESP…
24 import static com.android.internal.net.eap.message.EapTestMessageDefinitions.EAP_SIM_CHALLENGE_RESP…
25 import static com.android.internal.net.eap.message.EapTestMessageDefinitions.EAP_SIM_CLIENT_ERROR_R…
26 import static com.android.internal.net.eap.message.EapTestMessageDefinitions.EAP_SIM_CLIENT_ERROR_U…
27 import static com.android.internal.net.eap.message.EapTestMessageDefinitions.EAP_SIM_IDENTITY;
28 import static com.android.internal.net.eap.message.EapTestMessageDefinitions.EAP_SIM_NOTIFICATION_R…
29 import static com.android.internal.net.eap.message.EapTestMessageDefinitions.EAP_SIM_NOTIFICATION_R…
[all …]
DEapSimChallengeStateTest.java20 import static com.android.internal.net.eap.message.EapData.EAP_IDENTITY;
21 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_SIM;
22 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_FAILURE;
23 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_REQUEST;
24 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_SUCCESS;
25 import static com.android.internal.net.eap.message.EapTestMessageDefinitions.CHALLENGE_RESPONSE_INV…
26 import static com.android.internal.net.eap.message.EapTestMessageDefinitions.CHALLENGE_RESPONSE_INV…
27 import static com.android.internal.net.eap.message.EapTestMessageDefinitions.EAP_SIM_IDENTITY_BYTES;
28 import static com.android.internal.net.eap.message.EapTestMessageDefinitions.EMSK;
29 import static com.android.internal.net.eap.message.EapTestMessageDefinitions.ID_INT;
[all …]
DEapSimStartStateTest.java19 import static com.android.internal.net.eap.message.EapData.EAP_IDENTITY;
20 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_SIM;
21 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_FAILURE;
22 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_REQUEST;
23 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_SUCCESS;
24 import static com.android.internal.net.eap.message.EapTestMessageDefinitions.EAP_SIM_IDENTITY;
25 import static com.android.internal.net.eap.message.EapTestMessageDefinitions.EAP_SIM_RESPONSE_WITHO…
26 import static com.android.internal.net.eap.message.EapTestMessageDefinitions.ID_INT;
27 import static com.android.internal.net.eap.message.EapTestMessageDefinitions.IMSI;
28 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_ANY_ID_REQ;
[all …]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertService.java179 private boolean shouldDisplayMessage(SmsCbMessage message) { in shouldDisplayMessage() argument
181 Context.TELEPHONY_SERVICE)).createForSubscriptionId(message.getSubscriptionId()); in shouldDisplayMessage()
183 mContext, message.getSubscriptionId()).getBoolean(R.bool.ignore_messages_in_ecbm)) { in shouldDisplayMessage()
186 Log.d(TAG, "ignoring alert of type " + message.getServiceCategory() + " in ECBM"); in shouldDisplayMessage()
190 if (!isChannelEnabled(message)) { in shouldDisplayMessage()
191 Log.d(TAG, "ignoring alert of type " + message.getServiceCategory() in shouldDisplayMessage()
197 String msgBody = message.getMessageBody(); in shouldDisplayMessage()
205 message.getSubscriptionId()); in shouldDisplayMessage()
207 .getCellBroadcastChannelRangeFromMessage(message); in shouldDisplayMessage()
208 String messageLanguage = message.getLanguageCode(); in shouldDisplayMessage()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSkfPayloadTest.java17 package com.android.internal.net.ipsec.ike.message;
33 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.EncryptionTransform;
34 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.IntegrityTransform;
109 private IkeSkfPayload decodeAndDecryptFragMsg(byte[] message) throws Exception { in decodeAndDecryptFragMsg() argument
114 message, in decodeAndDecryptFragMsg()
125 byte[] message = TestUtils.hexStringToByteArray(IKE_FRAG_MSG_HEX_STRING); in testDecode()
127 IkeSkfPayload payload = decodeAndDecryptFragMsg(message); in testDecode()
137 byte[] message = TestUtils.hexStringToByteArray(IKE_FRAG_MSG_HEX_STRING); in testDecodeThrowsForZeroFragNum()
140 message[FRAGMENT_NUM_OFFSET] = 0; in testDecodeThrowsForZeroFragNum()
141 message[FRAGMENT_NUM_OFFSET + 1] = 0; in testDecodeThrowsForZeroFragNum()
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/
DEapSimAkaAttributeFactory.java17 package com.android.internal.net.eap.message.simaka;
19 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_ANY_ID_REQ;
20 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_CLIENT_ERROR_CO…
21 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_COUNTER;
22 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_COUNTER_TOO_SMA…
23 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_FULLAUTH_ID_REQ;
24 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_IDENTITY;
25 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
26 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_NONCE_S;
27 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_NOTIFICATION;
[all …]
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/error/
DVoicemailErrorAlert.java72 VoicemailErrorMessage message = null; in updateStatus() local
75 message = messageCreator.create(context, status, statusReader); in updateStatus()
76 if (message != null) { in updateStatus()
83 if (message != null) { in updateStatus()
87 message.isModal(), in updateStatus()
88 message.getTitle()); in updateStatus()
89 if (message.isModal()) { in updateStatus()
90 if (message instanceof VoicemailTosMessage) { in updateStatus()
91 modalView = getTosView(modalAlertManager, (VoicemailTosMessage) message); in updateStatus()
97 loadMessage(message); in updateStatus()
[all …]
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastHandler.java242 protected boolean handleSmsMessage(Message message) { in handleSmsMessage() argument
243 if (message.obj instanceof SmsCbMessage) { in handleSmsMessage()
244 if (!isDuplicate((SmsCbMessage) message.obj)) { in handleSmsMessage()
245 handleBroadcastSms((SmsCbMessage) message.obj); in handleSmsMessage()
250 loge("handleMessage got object of type: " + message.obj.getClass().getName()); in handleSmsMessage()
259 protected void handleBroadcastSms(SmsCbMessage message) { in handleBroadcastSms() argument
260 int slotIndex = message.getSlotIndex(); in handleBroadcastSms()
264 ContentValues cv = message.getContentValues(); in handleBroadcastSms()
267 if (message.needGeoFencingCheck()) { in handleBroadcastSms()
270 + message.getSerialNumber()); in handleBroadcastSms()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DProvisionLogger.java36 public static void logd(String message) { in logd() argument
38 Log.d(getTag(), message); in logd() local
45 public static void logd(String message, Throwable t) { in logd() argument
47 Log.d(getTag(), message, t); in logd() local
63 public static void logv(String message) { in logv() argument
65 Log.v(getTag(), message); in logv() local
72 public static void logv(String message, Throwable t) { in logv() argument
74 Log.v(getTag(), message, t); in logv() local
90 public static void logi(String message) { in logi() argument
92 Log.i(getTag(), message); in logi() local
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMceStateMachine.java259 public synchronized boolean sendMapMessage(Uri[] contacts, String message, in sendMapMessage() argument
262 Log.d(TAG, "Send Message " + message); in sendMapMessage()
297 bmsg.setBodyContent(message); in sendMapMessage()
442 public boolean processMessage(Message message) { in processMessage() argument
444 Log.d(TAG, "processMessage" + this.getName() + message.what); in processMessage()
447 switch (message.what) { in processMessage()
453 SdpMasRecord record = (SdpMasRecord) message.obj; in processMessage()
481 deferMessage(message); in processMessage()
485 Log.w(TAG, "Unexpected message: " + message.what + " from state:" in processMessage()
517 public boolean processMessage(Message message) { in processMessage() argument
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/imap/
DImapHelper.java84 public InitializingException(String message) { in InitializingException() argument
85 super(message); in InitializingException()
218 for (Message message : messages) { in fetchAllVoicemails()
220 MessageStructureWrapper messageStructureWrapper = fetchMessageStructure(message); in fetchAllVoicemails()
297 private MessageStructureWrapper fetchMessageStructure(Message message) throws MessagingException { in fetchMessageStructure() argument
298 LogUtils.d(TAG, "Fetching message structure for " + message.getUid()); in fetchMessageStructure()
309 folder.fetch(new Message[] {message}, fetchProfile, listener); in fetchMessageStructure()
320 Message message = folder.getMessage(uid); in fetchVoicemailPayload() local
321 if (message == null) { in fetchVoicemailPayload()
324 VoicemailPayload voicemailPayload = fetchVoicemailPayload(message); in fetchVoicemailPayload()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/mschapv2/
DEapMsChapV2FailureRequestTest.java17 package com.android.internal.net.eap.message.mschapv2;
19 import static com.android.internal.net.eap.message.mschapv2.EapMsChapV2PacketDefinitions.CHALLENGE_…
20 import static com.android.internal.net.eap.message.mschapv2.EapMsChapV2PacketDefinitions.EAP_MSCHAP…
21 import static com.android.internal.net.eap.message.mschapv2.EapMsChapV2PacketDefinitions.EAP_MSCHAP…
22 import static com.android.internal.net.eap.message.mschapv2.EapMsChapV2PacketDefinitions.EAP_MSCHAP…
23 import static com.android.internal.net.eap.message.mschapv2.EapMsChapV2PacketDefinitions.ERROR_CODE;
24 import static com.android.internal.net.eap.message.mschapv2.EapMsChapV2PacketDefinitions.FAILURE_RE…
25 import static com.android.internal.net.eap.message.mschapv2.EapMsChapV2PacketDefinitions.FAILURE_RE…
26 import static com.android.internal.net.eap.message.mschapv2.EapMsChapV2PacketDefinitions.FAILURE_RE…
27 import static com.android.internal.net.eap.message.mschapv2.EapMsChapV2PacketDefinitions.FAILURE_RE…
[all …]

12345678910>>...35