Home
last modified time | relevance | path

Searched refs:messageId (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/telephony/java/android/telephony/ims/aidl/
DIRcs.aidl140 void setMessageSubId(int messageId, boolean isIncoming, int subId, String callingPackage); in setMessageSubId() argument
142 int getMessageSubId(int messageId, boolean isIncoming, String callingPackage); in getMessageSubId() argument
144 void setMessageStatus(int messageId, boolean isIncoming, int status, String callingPackage); in setMessageStatus() argument
146 int getMessageStatus(int messageId, boolean isIncoming, String callingPackage); in getMessageStatus() argument
148 …void setMessageOriginationTimestamp(int messageId, boolean isIncoming, long originationTimestamp, … in setMessageOriginationTimestamp() argument
150 long getMessageOriginationTimestamp(int messageId, boolean isIncoming, String callingPackage); in getMessageOriginationTimestamp() argument
152 …void setGlobalMessageIdForMessage(int messageId, boolean isIncoming, String globalId, String calli… in setGlobalMessageIdForMessage() argument
154 String getGlobalMessageIdForMessage(int messageId, boolean isIncoming, String callingPackage); in getGlobalMessageIdForMessage() argument
156 …void setMessageArrivalTimestamp(int messageId, boolean isIncoming, long arrivalTimestamp, String c… in setMessageArrivalTimestamp() argument
158 long getMessageArrivalTimestamp(int messageId, boolean isIncoming, String callingPackage); in getMessageArrivalTimestamp() argument
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DRcsMessageQueryHelper.java92 int messageId = cursor.getInt(cursor.getColumnIndex(MESSAGE_ID_COLUMN)); in performMessageQuery() local
95 isIncoming ? MESSAGE_TYPE_INCOMING : MESSAGE_TYPE_OUTGOING, messageId)); in performMessageQuery()
124 Uri getMessageDeletionUri(int messageId, boolean isIncoming, int rcsThreadId, boolean isGroup) { in getMessageDeletionUri() argument
129 Integer.toString(messageId)).build(); in getMessageDeletionUri()
132 Uri getMessageUpdateUri(int messageId, boolean isIncoming) { in getMessageUpdateUri() argument
134 Integer.toString(messageId)).build(); in getMessageUpdateUri()
137 int[] getDeliveryParticipantsForMessage(int messageId) throws RemoteException { in getDeliveryParticipantsForMessage() argument
140 try (Cursor cursor = mContentResolver.query(getMessageDeliveryQueryUri(messageId), null, in getDeliveryParticipantsForMessage()
144 "Could not query deliveries for message, messageId: " + messageId); in getDeliveryParticipantsForMessage()
157 Uri getMessageDeliveryUri(int messageId, int participantId) { in getMessageDeliveryUri() argument
[all …]
DRcsMessageStoreController.java563 public void deleteMessage(int messageId, boolean isIncoming, int rcsThreadId, boolean isGroup,
566 mMessageQueryHelper.getMessageDeletionUri(messageId, isIncoming, rcsThreadId,
572 public void setMessageSubId(int messageId, boolean isIncoming, int subId,
575 mMessageQueryHelper.getMessageUpdateUri(messageId, isIncoming), SUB_ID_COLUMN,
580 public int getMessageSubId(int messageId, boolean isIncoming, String callingPackage) {
583 SUB_ID_COLUMN, MESSAGE_ID_COLUMN, messageId));
587 public void setMessageStatus(int messageId, boolean isIncoming, int status,
590 mMessageQueryHelper.getMessageUpdateUri(messageId, isIncoming), STATUS_COLUMN,
595 public int getMessageStatus(int messageId, boolean isIncoming, String callingPackage) {
598 STATUS_COLUMN, MESSAGE_ID_COLUMN, messageId));
[all …]
/frameworks/base/telephony/java/android/telephony/ims/
DRcsThread.java75 int messageId = mRcsControllerCall.call( in addIncomingMessage() local
78 return new RcsIncomingMessage(mRcsControllerCall, messageId); in addIncomingMessage()
91 int messageId = mRcsControllerCall.call((iRcs, callingPackage) -> iRcs.addOutgoingMessage( in addOutgoingMessage() local
94 return new RcsOutgoingMessage(mRcsControllerCall, messageId); in addOutgoingMessage()
DRcsOutgoingMessageDelivery.java40 RcsControllerCall rcsControllerCall, int recipientId, int messageId) { in RcsOutgoingMessageDelivery() argument
43 mRcsOutgoingMessageId = messageId; in RcsOutgoingMessageDelivery()
/frameworks/base/core/java/com/android/internal/app/
DDumpHeapActivity.java90 final int messageId; in onCreate() local
92 messageId = com.android.internal.R.string.dump_heap_ready_text; in onCreate()
94 messageId = com.android.internal.R.string.dump_heap_system_text; in onCreate()
96 messageId = com.android.internal.R.string.dump_heap_text; in onCreate()
102 messageId, mProcess, DebugUtils.sizeValueToString(mSize, null))); in onCreate()
DSuspendedAppActivity.java106 final int messageId = mSuppliedDialogInfo.getDialogMessageResId(); in resolveDialogMessage() local
108 if (messageId != ID_NULL && mSuspendingAppResources != null) { in resolveDialogMessage()
110 return mSuspendingAppResources.getString(messageId, suspendedAppLabel); in resolveDialogMessage()
112 Slog.e(TAG, "Could not resolve string resource id " + messageId); in resolveDialogMessage()
DIntentForwarderActivity.java311 public void showToast(int messageId, int duration) { in showToast() argument
312 Toast.makeText(IntentForwarderActivity.this, getString(messageId), duration).show(); in showToast()
325 void showToast(@StringRes int messageId, int duration); in showToast() argument
/frameworks/opt/net/ike/src/java/com/android/ike/ikev2/message/
DIkeHeader.java72 public final int messageId; field in IkeHeader
108 messageId = msgId; in IkeHeader()
144 messageId = buffer.getInt(); in IkeHeader()
197 byteBuffer.put(flag).putInt(messageId).putInt(IKE_HEADER_LENGTH + encodedMessageBodyLen); in encodeToByteBuffer()
/frameworks/base/wifi/java/android/net/wifi/aware/
DIWifiAwareDiscoverySessionCallback.aidl35 void onMessageSendSuccess(int messageId); in onMessageSendSuccess() argument
36 void onMessageSendFail(int messageId, int reason); in onMessageSendFail() argument
DDiscoverySession.java207 public void sendMessage(@NonNull PeerHandle peerHandle, int messageId, in sendMessage() argument
220 mgr.sendMessage(mClientId, mSessionId, peerHandle, message, messageId, retryCount); in sendMessage()
250 public void sendMessage(@NonNull PeerHandle peerHandle, int messageId, in sendMessage() argument
252 sendMessage(peerHandle, messageId, message, 0); in sendMessage()
DDiscoverySessionCallback.java163 public void onMessageSendSucceeded(@SuppressWarnings("unused") int messageId) { in onMessageSendSucceeded() argument
178 public void onMessageSendFailed(@SuppressWarnings("unused") int messageId) { in onMessageSendFailed() argument
DWifiAwareManager.java377 int messageId, int retryCount) { in sendMessage() argument
386 + messageId + ", retryCount=" + retryCount); in sendMessage()
390 mService.sendMessage(clientId, sessionId, peerHandle.peerId, message, messageId, in sendMessage()
741 public void onMessageSendSuccess(int messageId) { in onMessageSendSuccess() argument
745 msg.arg1 = messageId; in onMessageSendSuccess()
750 public void onMessageSendFail(int messageId, int reason) { in onMessageSendFail() argument
754 msg.arg1 = messageId; in onMessageSendFail()
DIWifiAwareManager.aidl54 int messageId, int retryCount); in sendMessage() argument
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DReadRecInd.java35 byte[] messageId, in ReadRecInd() argument
42 setMessageId(messageId); in ReadRecInd()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java1362 final int messageId = 6948; in testMatchAndMessages() local
1441 messageId, 0); in testMatchAndMessages()
1444 eq(requestorId), eq(peerMac), eq(ssi.getBytes()), eq(messageId)); in testMatchAndMessages()
1463 inOrder.verify(mockSessionCallback).onMessageSendFail(messageId, reasonFail); in testMatchAndMessages()
1465 validateInternalSendMessageQueuesCleanedUp(messageId); in testMatchAndMessages()
1693 final int messageId = 6948; in testSendMessageToInvalidPeerId() local
1736 ssi.getBytes(), messageId, 0); in testSendMessageToInvalidPeerId()
1738 inOrder.verify(mockSessionCallback).onMessageSendFail(messageId, in testSendMessageToInvalidPeerId()
1740 validateInternalSendMessageQueuesCleanedUp(messageId); in testSendMessageToInvalidPeerId()
1762 final int messageId = 6948; in testSendMessageErrorsImmediateQueueTimeout() local
[all …]
DWifiAwareServiceImplTest.java551 int messageId = 2043; in testSendMessage() local
554 mDut.sendMessage(clientId, sessionId, peerId, message, messageId, 0); in testSendMessage()
556 verify(mAwareStateManagerMock).sendMessage(clientId, sessionId, peerId, message, messageId, in testSendMessage()
568 int messageId = 2043; in testSendMessageTooLong() local
571 mDut.sendMessage(clientId, sessionId, peerId, message, messageId, 0); in testSendMessageTooLong()
573 verify(mAwareStateManagerMock).sendMessage(clientId, sessionId, peerId, message, messageId, in testSendMessageTooLong()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDiscoverySessionState.java213 public boolean sendMessage(short transactionId, int peerId, byte[] message, int messageId) { in sendMessage() argument
219 mCallback.onMessageSendFail(messageId, NanStatusType.INTERNAL_FAILURE); in sendMessage()
227 peerInfo.mInstanceId, peerInfo.mMac, message, messageId); in sendMessage()
230 mCallback.onMessageSendFail(messageId, NanStatusType.INTERNAL_FAILURE); in sendMessage()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java157 bearerData.messageId = 0; in testUserData7bitAsciiFeedback()
167 assertEquals(0, revBearerData.messageId); in testUserData7bitAsciiFeedback()
187 bearerData.messageId = 0; in testUserData7bitGsmFeedback()
197 assertEquals(0, revBearerData.messageId); in testUserData7bitGsmFeedback()
241 bearerData.messageId = 0; in testUserDataUtf16Feedback()
251 assertEquals(0, revBearerData.messageId); in testUserDataUtf16Feedback()
260 assertEquals(0, revBearerData.messageId); in testUserDataUtf16Feedback()
277 bearerData.messageId = 0; in testUserData7BitAsciiFeedback()
317 assertEquals(bearerData.messageId, 1); in testMonolithicOne()
364 assertEquals(bearerData.messageId, 1); in testMonolithicTwo()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java350 int messageId = 0; in showTimeoutDialog() local
354 messageId = R.string.kg_too_many_failed_pattern_attempts_dialog_message; in showTimeoutDialog()
357 messageId = R.string.kg_too_many_failed_pin_attempts_dialog_message; in showTimeoutDialog()
360 messageId = R.string.kg_too_many_failed_password_attempts_dialog_message; in showTimeoutDialog()
370 if (messageId != 0) { in showTimeoutDialog()
371 final String message = mContext.getString(messageId, in showTimeoutDialog()
/frameworks/av/media/bufferpool/2.0/
DBufferPoolClient.cpp332 void BufferPoolClient::Impl::receiveInvalidation(uint32_t messageId) { in receiveInvalidation() argument
334 syncReleased(messageId); in receiveInvalidation()
595 bool BufferPoolClient::Impl::syncReleased(uint32_t messageId) { in syncReleased() argument
630 if (it->messageId != 0) { in syncReleased()
631 lastMsgId = it->messageId; in syncReleased()
648 } else if (messageId != 0) { in syncReleased()
650 if (isMessageLater(messageId, mReleasing.mInvalidateId)) { in syncReleased()
651 mReleasing.mInvalidateId = messageId; in syncReleased()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/
Dmessage.js311 msg, data, messageId, suggestedPivot, repeatedFields, opt_oneofFields) { argument
314 data = messageId ? [messageId] : [];
316 msg.messageId_ = messageId ? String(messageId) : undefined;
320 msg.arrayIndexOffset_ = messageId === 0 ? -1 : 0;
1409 constructor.messageId = id;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java86 private static BitwiseOutputStream createBearerDataStream(int messageId, int priority, in createBearerDataStream() argument
92 bos.write(8, ((messageId >>> 8) & 0xff)); in createBearerDataStream()
93 bos.write(8, (messageId & 0xff)); in createBearerDataStream()
142 private static SmsMessage createCmasSmsMessage(int serviceCategory, int messageId, int priority, in createCmasSmsMessage() argument
167 BitwiseOutputStream bos = createBearerDataStream(messageId, priority, language); in createCmasSmsMessage()
190 private static SmsMessage createBroadcastSmsMessage(int serviceCategory, int messageId, in createBroadcastSmsMessage() argument
193 BitwiseOutputStream bos = createBearerDataStream(messageId, priority, language); in createBroadcastSmsMessage()
/frameworks/base/wifi/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java288 final int messageId = 2123; in testPublishFlow() local
325 publishSession.getValue().sendMessage(peerHandle, messageId, string1.getBytes()); in testPublishFlow()
328 sessionProxyCallback.getValue().onMessageSendFail(messageId, reason); in testPublishFlow()
329 sessionProxyCallback.getValue().onMessageSendSuccess(messageId); in testPublishFlow()
333 eq(peerHandle.peerId), eq(string1.getBytes()), eq(messageId), eq(0)); in testPublishFlow()
351 inOrder.verify(mockSessionCallback).onMessageSendFailed(eq(messageId)); in testPublishFlow()
352 inOrder.verify(mockSessionCallback).onMessageSendSucceeded(eq(messageId)); in testPublishFlow()
438 final int messageId = 2123; in testSubscribeFlow() local
474 subscribeSession.getValue().sendMessage(peerHandle, messageId, string1.getBytes()); in testSubscribeFlow()
479 sessionProxyCallback.getValue().onMessageSendFail(messageId, reason); in testSubscribeFlow()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DIMms.aidl95 Uri importMultimediaMessage(String callingPkg, in Uri contentUri, String messageId, in importMultimediaMessage() argument

12