Home
last modified time | relevance | path

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

12345678910>>...37

/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/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/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 …]
/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()
122 MessageData message = actionParameters.getParcelable(KEY_MESSAGE); in executeAction() local
[all …]
DSendMessageAction.java102 final MessageData message = BugleDatabaseOperations.readMessage(db, messageId); in queueAction() local
104 if (message != null && message.canSendMessage()) { in queueAction()
105 final boolean isSms = (message.getProtocol() == MessageData.PROTOCOL_SMS); in queueAction()
108 db, message.getSelfId()); in queueAction()
109 final Uri messageUri = message.getSmsMessageUri(); in queueAction()
110 final String conversationId = message.getConversationId(); in queueAction()
113 if (message.getYetToSend()) { in queueAction()
115 message.markMessageSending(timestamp); in queueAction()
118 message.markMessageResending(timestamp); in queueAction()
120 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/apps/Car/Settings/src/com/android/car/settings/common/
DLogger.java60 public void v(String message) { in v() argument
62 Log.v(TAG, mPrefix.concat(message)); in v()
73 public void v(String message, Throwable throwable) { in v() argument
75 Log.v(TAG, mPrefix.concat(message), throwable); in v()
85 public void d(String message) { in d() argument
87 Log.d(TAG, mPrefix.concat(message)); in d()
98 public void d(String message, Throwable throwable) { in d() argument
100 Log.d(TAG, mPrefix.concat(message), throwable); in d()
110 public void i(String message) { in i() argument
112 Log.i(TAG, mPrefix.concat(message)); in i()
[all …]
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastHandler.java293 protected boolean handleSmsMessage(Message message) { in handleSmsMessage() argument
294 if (message.obj instanceof SmsCbMessage) { in handleSmsMessage()
295 if (!isDuplicate((SmsCbMessage) message.obj)) { in handleSmsMessage()
296 handleBroadcastSms((SmsCbMessage) message.obj); in handleSmsMessage()
306 "handleSmsMessage got object of type: " + message.obj.getClass().getName(); in handleSmsMessage()
321 protected int getMaxLocationWaitingTime(SmsCbMessage message) { in getMaxLocationWaitingTime() argument
322 int maximumTime = message.getMaximumWaitingDuration(); in getMaxLocationWaitingTime()
324 Resources res = getResources(message.getSubscriptionId()); in getMaxLocationWaitingTime()
334 protected void handleBroadcastSms(SmsCbMessage message) { in handleBroadcastSms() argument
335 int slotIndex = message.getSlotIndex(); in handleBroadcastSms()
[all …]
/packages/services/Car/service/src/com/android/car/hal/
DVmsHalService.java377 private void handleStartSessionEvent(List<Integer> message) { in handleStartSessionEvent() argument
378 int coreId = message.get(VmsStartSessionMessageIntegerValuesIndex.SERVICE_ID); in handleStartSessionEvent()
379 int clientId = message.get(VmsStartSessionMessageIntegerValuesIndex.CLIENT_ID); in handleStartSessionEvent()
403 private void handleDataEvent(List<Integer> message, byte[] payload) { in handleDataEvent() argument
404 VmsLayer vmsLayer = parseVmsLayerFromMessage(message); in handleDataEvent()
405 int publisherId = parsePublisherIdFromMessage(message); in handleDataEvent()
422 private void handleSubscribeEvent(List<Integer> message) { in handleSubscribeEvent() argument
423 VmsLayer vmsLayer = parseVmsLayerFromMessage(message); in handleSubscribeEvent()
438 private void handleSubscribeToPublisherEvent(List<Integer> message) { in handleSubscribeToPublisherEvent() argument
439 VmsLayer vmsLayer = parseVmsLayerFromMessage(message); in handleSubscribeToPublisherEvent()
[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 …]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertService.java183 private boolean shouldDisplayMessage(SmsCbMessage message) { in shouldDisplayMessage() argument
185 Context.TELEPHONY_SERVICE)).createForSubscriptionId(message.getSubscriptionId()); in shouldDisplayMessage()
187 mContext, message.getSubscriptionId()).getBoolean(R.bool.ignore_messages_in_ecbm)) { in shouldDisplayMessage()
190 Log.d(TAG, "ignoring alert of type " + message.getServiceCategory() + " in ECBM"); in shouldDisplayMessage()
194 if (!isChannelEnabled(message)) { in shouldDisplayMessage()
195 Log.d(TAG, "ignoring alert of type " + message.getServiceCategory() in shouldDisplayMessage()
201 String msgBody = message.getMessageBody(); in shouldDisplayMessage()
209 message.getSubscriptionId()); in shouldDisplayMessage()
211 .getCellBroadcastChannelRangeFromMessage(message); in shouldDisplayMessage()
212 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/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/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/apps/PermissionController/src/com/android/permissioncontroller/
DDumpableLog.kt39 fun v(tag: String, message: String, exception: Throwable? = null) { in v()
40 Log.v(tag, message, exception) in v()
41 addLogToDump("v", tag, message, exception) in v()
47 fun d(tag: String, message: String, exception: Throwable? = null) { in d()
48 Log.d(tag, message, exception) in d()
49 addLogToDump("d", tag, message, exception) in d()
55 fun i(tag: String, message: String, exception: Throwable? = null) { in i()
56 Log.i(tag, message, exception) in i()
57 addLogToDump("i", tag, message, exception) in i()
63 fun w(tag: String, message: String, exception: Throwable? = null) { in w()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMceStateMachine.java257 public synchronized boolean sendMapMessage(Uri[] contacts, String message, in sendMapMessage() argument
260 Log.d(TAG, "Send Message " + message); in sendMapMessage()
295 bmsg.setBodyContent(message); in sendMapMessage()
401 public boolean processMessage(Message message) { in processMessage() argument
403 Log.d(TAG, "processMessage" + this.getName() + message.what); in processMessage()
406 switch (message.what) { in processMessage()
412 SdpMasRecord record = (SdpMasRecord) message.obj; in processMessage()
440 deferMessage(message); in processMessage()
444 Log.w(TAG, "Unexpected message: " + message.what + " from state:" in processMessage()
476 public boolean processMessage(Message message) { in processMessage() argument
[all …]
/packages/services/Car/computepipe/runner/graph/proto/
DGrpcPrebuiltGraphService.proto14 message StatusResponse {
16 optional string message = 2; field
19 message GraphOptionsRequest {}
21 message GraphOptionsResponse {
25 message SetGraphConfigRequest {
29 message OutputStreamMetadata {
33 message ObserveOutputStreamRequest {
43 message PixelData {
51 message OutputStreamResponse {
60 message SetDebugRequest {
[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>>...37