Home
last modified time | relevance | path

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

12

/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.java388 int messageId, int retryCount) { in sendMessage() argument
397 + messageId + ", retryCount=" + retryCount); in sendMessage()
401 mService.sendMessage(clientId, sessionId, peerHandle.peerId, message, messageId, in sendMessage()
743 public void onMessageSendSuccess(int messageId) { in onMessageSendSuccess() argument
747 msg.arg1 = messageId; in onMessageSendSuccess()
752 public void onMessageSendFail(int messageId, int reason) { in onMessageSendFail() argument
756 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.java1368 final int messageId = 6948; in testMatchAndMessages() local
1443 messageId, 0); in testMatchAndMessages()
1446 eq(requestorId), eq(peerMac), eq(ssi.getBytes()), eq(messageId)); in testMatchAndMessages()
1465 inOrder.verify(mockSessionCallback).onMessageSendFail(messageId, reasonFail); in testMatchAndMessages()
1467 validateInternalSendMessageQueuesCleanedUp(messageId); in testMatchAndMessages()
1695 final int messageId = 6948; in testSendMessageToInvalidPeerId() local
1738 ssi.getBytes(), messageId, 0); in testSendMessageToInvalidPeerId()
1740 inOrder.verify(mockSessionCallback).onMessageSendFail(messageId, in testSendMessageToInvalidPeerId()
1742 validateInternalSendMessageQueuesCleanedUp(messageId); in testSendMessageToInvalidPeerId()
1764 final int messageId = 6948; in testSendMessageErrorsImmediateQueueTimeout() local
[all …]
DWifiAwareServiceImplTest.java549 int messageId = 2043; in testSendMessage() local
552 mDut.sendMessage(clientId, sessionId, peerId, message, messageId, 0); in testSendMessage()
554 verify(mAwareStateManagerMock).sendMessage(clientId, sessionId, peerId, message, messageId, in testSendMessage()
566 int messageId = 2043; in testSendMessageTooLong() local
569 mDut.sendMessage(clientId, sessionId, peerId, message, messageId, 0); in testSendMessageTooLong()
571 verify(mAwareStateManagerMock).sendMessage(clientId, sessionId, peerId, message, messageId, in testSendMessageTooLong()
DTestUtils.java74 byte[] dest, byte[] message, int messageId) { in sendMessage() argument
/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()
DWifiAwareServiceImpl.java392 public void sendMessage(int clientId, int sessionId, int peerId, byte[] message, int messageId, in sendMessage() argument
416 + clientId + ", peerId=" + peerId + ", messageId=" + messageId in sendMessage()
420 mStateManager.sendMessage(clientId, sessionId, peerId, message, messageId, retryCount); in sendMessage()
DWifiAwareStateManager.java671 public void sendMessage(int clientId, int sessionId, int peerId, byte[] message, int messageId, in sendMessage() argument
679 msg.getData().putInt(MESSAGE_BUNDLE_KEY_MESSAGE_ID, messageId); in sendMessage()
1661 int messageId = data.getInt(MESSAGE_BUNDLE_KEY_MESSAGE_ID); in processCommand() local
1666 sessionId, peerId, message, messageId); in processCommand()
2405 int peerId, byte[] message, int messageId) { in sendFollowonMessageLocal() argument
2410 + ", messageId=" + messageId); in sendFollowonMessageLocal()
2426 return session.sendMessage(transactionId, peerId, message, messageId); in sendFollowonMessageLocal()
2795 int messageId = completedCommand.getData().getInt(MESSAGE_BUNDLE_KEY_MESSAGE_ID); in onMessageSendSuccessLocal() local
2811 session.getCallback().onMessageSendSuccess(messageId); in onMessageSendSuccessLocal()
2824 int messageId = failedCommand.getData().getInt(MESSAGE_BUNDLE_KEY_MESSAGE_ID); in onMessageSendFailLocal() local
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java149 bearerData.messageId = 0; in testUserData7bitAsciiFeedback()
159 assertEquals(0, revBearerData.messageId); in testUserData7bitAsciiFeedback()
179 bearerData.messageId = 0; in testUserData7bitGsmFeedback()
189 assertEquals(0, revBearerData.messageId); in testUserData7bitGsmFeedback()
233 bearerData.messageId = 0; in testUserDataUtf16Feedback()
243 assertEquals(0, revBearerData.messageId); in testUserDataUtf16Feedback()
252 assertEquals(0, revBearerData.messageId); in testUserDataUtf16Feedback()
271 assertEquals(bearerData.messageId, 1); in testMonolithicOne()
318 assertEquals(bearerData.messageId, 1); in testMonolithicTwo()
363 bearerData.messageId = 55; in testUserDataHeaderConcatRefFeedback()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java190 int messageId = 0; in showTimeoutDialog() local
194 messageId = R.string.kg_too_many_failed_pattern_attempts_dialog_message; in showTimeoutDialog()
197 messageId = R.string.kg_too_many_failed_pin_attempts_dialog_message; in showTimeoutDialog()
200 messageId = R.string.kg_too_many_failed_password_attempts_dialog_message; in showTimeoutDialog()
210 if (messageId != 0) { in showTimeoutDialog()
211 final String message = mContext.getString(messageId, in showTimeoutDialog()
/frameworks/base/wifi/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java281 final int messageId = 2123; in testPublishFlow() local
318 publishSession.getValue().sendMessage(peerHandle, messageId, string1.getBytes()); in testPublishFlow()
321 sessionProxyCallback.getValue().onMessageSendFail(messageId, reason); in testPublishFlow()
322 sessionProxyCallback.getValue().onMessageSendSuccess(messageId); in testPublishFlow()
326 eq(peerHandle.peerId), eq(string1.getBytes()), eq(messageId), eq(0)); in testPublishFlow()
344 inOrder.verify(mockSessionCallback).onMessageSendFailed(eq(messageId)); in testPublishFlow()
345 inOrder.verify(mockSessionCallback).onMessageSendSucceeded(eq(messageId)); in testPublishFlow()
431 final int messageId = 2123; in testSubscribeFlow() local
467 subscribeSession.getValue().sendMessage(peerHandle, messageId, string1.getBytes()); in testSubscribeFlow()
472 sessionProxyCallback.getValue().onMessageSendFail(messageId, reason); in testSubscribeFlow()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java85 private static BitwiseOutputStream createBearerDataStream(int messageId, int priority, in createBearerDataStream() argument
91 bos.write(8, ((messageId >>> 8) & 0xff)); in createBearerDataStream()
92 bos.write(8, (messageId & 0xff)); in createBearerDataStream()
141 private static SmsMessage createCmasSmsMessage(int serviceCategory, int messageId, int priority, in createCmasSmsMessage() argument
166 BitwiseOutputStream bos = createBearerDataStream(messageId, priority, language); in createCmasSmsMessage()
189 private static SmsMessage createBroadcastSmsMessage(int serviceCategory, int messageId, in createBroadcastSmsMessage() argument
192 BitwiseOutputStream bos = createBearerDataStream(messageId, priority, language); in createBroadcastSmsMessage()
/frameworks/base/telephony/java/com/android/internal/telephony/
DIMms.aidl95 Uri importMultimediaMessage(String callingPkg, in Uri contentUri, String messageId, in importMultimediaMessage() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DWapPushOverSms.java527 String messageId; in getDeliveryOrReadReportThreadId() local
529 messageId = new String(((DeliveryInd) pdu).getMessageId()); in getDeliveryOrReadReportThreadId()
531 messageId = new String(((ReadOrigInd) pdu).getMessageId()); in getDeliveryOrReadReportThreadId()
546 DatabaseUtils.sqlEscapeString(messageId), in getDeliveryOrReadReportThreadId()
/frameworks/base/core/java/android/widget/
DVideoView.java578 int messageId;
581messageId = com.android.internal.R.string.VideoView_error_text_invalid_progressive_playback;
583 messageId = com.android.internal.R.string.VideoView_error_text_unknown;
587 .setMessage(messageId)
/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java150 public Uri importMultimediaMessage(String callingPkg, Uri contentUri, String messageId,
388 String messageId, long timestampSecs, boolean seen, boolean read) in importMultimediaMessage() argument
397 callingPkg, contentUri, messageId, timestampSecs, seen, read); in importMultimediaMessage()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/
DAlertDialog.java407 public Builder setMessage(@StringRes int messageId) { in setMessage() argument
408 P.mMessage = P.mContext.getText(messageId); in setMessage()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaServiceCategoryProgramHandler.java153 bData.messageId = SmsMessage.getNextMessageId();
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DSmsMessage.java693 mMessageRef = mBearerData.messageId; in parseSms()
765 SmsCbMessage.GEOGRAPHICAL_SCOPE_PLMN_WIDE, bData.messageId, location, in parseBroadcastSms()
847 bearerData.messageId = getNextMessageId(); in privateGetSubmitPdu()
DBearerData.java97 public int messageId; field in BearerData
415 builder.append(", messageId=" + messageId); in toString()
451 outStream.write(8, bData.messageId >> 8); in encodeMessageId()
452 outStream.write(8, bData.messageId); in encodeMessageId()
962 bData.messageId = inStream.read(8) << 8; in decodeMessageId()
963 bData.messageId |= inStream.read(8); in decodeMessageId()
/frameworks/base/core/java/android/app/
DAlertDialog.java557 public Builder setMessage(@StringRes int messageId) { in setMessage() argument
558 P.mMessage = P.mContext.getText(messageId); in setMessage()

12