Home
last modified time | relevance | path

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

12

/frameworks/base/wifi/java/android/net/wifi/aware/
DIWifiAwareDiscoverySessionCallback.aidl33 void onMessageSendSuccess(int messageId); in onMessageSendSuccess() argument
34 void onMessageSendFail(int messageId, int reason); in onMessageSendFail() argument
DDiscoverySessionCallback.java122 public void onMessageSendSucceeded(@SuppressWarnings("unused") int messageId) { in onMessageSendSucceeded() argument
137 public void onMessageSendFailed(@SuppressWarnings("unused") int messageId) { in onMessageSendFailed() argument
DDiscoverySession.java175 public void sendMessage(@NonNull PeerHandle peerHandle, int messageId, in sendMessage() argument
188 mgr.sendMessage(mClientId, mSessionId, peerHandle, message, messageId, retryCount); in sendMessage()
218 public void sendMessage(@NonNull PeerHandle peerHandle, int messageId, in sendMessage() argument
220 sendMessage(peerHandle, messageId, message, 0); in sendMessage()
DWifiAwareManager.java382 int messageId, int retryCount) { in sendMessage() argument
391 + messageId + ", retryCount=" + retryCount); in sendMessage()
395 mService.sendMessage(clientId, sessionId, peerHandle.peerId, message, messageId, in sendMessage()
813 public void onMessageSendSuccess(int messageId) { in onMessageSendSuccess() argument
817 msg.arg1 = messageId; in onMessageSendSuccess()
822 public void onMessageSendFail(int messageId, int reason) { in onMessageSendFail() argument
826 msg.arg1 = messageId; in onMessageSendFail()
DIWifiAwareManager.aidl54 int messageId, int retryCount); in sendMessage() argument
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java1045 final int messageId = 6948; in testMatchAndMessages() local
1097 mDut.sendMessage(clientId, sessionId.getValue(), requestorId, ssi.getBytes(), messageId, 0); in testMatchAndMessages()
1100 eq(requestorId), eq(peerMac), eq(ssi.getBytes()), eq(messageId)); in testMatchAndMessages()
1119 inOrder.verify(mockSessionCallback).onMessageSendFail(messageId, reasonFail); in testMatchAndMessages()
1121 validateInternalSendMessageQueuesCleanedUp(messageId); in testMatchAndMessages()
1332 final int messageId = 6948; in testSendMessageToInvalidPeerId() local
1373 messageId, 0); in testSendMessageToInvalidPeerId()
1375 inOrder.verify(mockSessionCallback).onMessageSendFail(messageId, in testSendMessageToInvalidPeerId()
1377 validateInternalSendMessageQueuesCleanedUp(messageId); in testSendMessageToInvalidPeerId()
1399 final int messageId = 6948; in testSendMessageErrorsImmediateQueueTimeout() local
[all …]
DWifiAwareServiceImplTest.java479 int messageId = 2043; in testSendMessage() local
482 mDut.sendMessage(clientId, sessionId, peerId, message, messageId, 0); in testSendMessage()
484 verify(mAwareStateManagerMock).sendMessage(clientId, sessionId, peerId, message, messageId, in testSendMessage()
496 int messageId = 2043; in testSendMessageTooLong() local
499 mDut.sendMessage(clientId, sessionId, peerId, message, messageId, 0); in testSendMessageTooLong()
501 verify(mAwareStateManagerMock).sendMessage(clientId, sessionId, peerId, message, messageId, in testSendMessageTooLong()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDiscoverySessionState.java185 public boolean sendMessage(short transactionId, int peerId, byte[] message, int messageId) { in sendMessage() argument
191 mCallback.onMessageSendFail(messageId, NanStatusType.INTERNAL_FAILURE); in sendMessage()
200 message, messageId); in sendMessage()
203 mCallback.onMessageSendFail(messageId, NanStatusType.INTERNAL_FAILURE); in sendMessage()
DWifiAwareServiceImpl.java315 public void sendMessage(int clientId, int sessionId, int peerId, byte[] message, int messageId, in sendMessage() argument
339 + clientId + ", peerId=" + peerId + ", messageId=" + messageId in sendMessage()
343 mStateManager.sendMessage(clientId, sessionId, peerId, message, messageId, retryCount); in sendMessage()
DWifiAwareStateManager.java362 public void sendMessage(int clientId, int sessionId, int peerId, byte[] message, int messageId, in sendMessage() argument
370 msg.getData().putInt(MESSAGE_BUNDLE_KEY_MESSAGE_ID, messageId); in sendMessage()
1310 int messageId = data.getInt(MESSAGE_BUNDLE_KEY_MESSAGE_ID); in processCommand() local
1315 sessionId, peerId, message, messageId); in processCommand()
1982 int peerId, byte[] message, int messageId) { in sendFollowonMessageLocal() argument
1987 + ", messageId=" + messageId); in sendFollowonMessageLocal()
2003 return session.sendMessage(transactionId, peerId, message, messageId); in sendFollowonMessageLocal()
2311 int messageId = completedCommand.getData().getInt(MESSAGE_BUNDLE_KEY_MESSAGE_ID); in onMessageSendSuccessLocal() local
2327 session.getCallback().onMessageSendSuccess(messageId); in onMessageSendSuccessLocal()
2340 int messageId = failedCommand.getData().getInt(MESSAGE_BUNDLE_KEY_MESSAGE_ID); in onMessageSendFailLocal() local
[all …]
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DReadRecInd.java35 byte[] messageId, in ReadRecInd() argument
42 setMessageId(messageId); in ReadRecInd()
/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.java191 int messageId = 0; in showTimeoutDialog() local
195 messageId = R.string.kg_too_many_failed_pattern_attempts_dialog_message; in showTimeoutDialog()
198 messageId = R.string.kg_too_many_failed_pin_attempts_dialog_message; in showTimeoutDialog()
201 messageId = R.string.kg_too_many_failed_password_attempts_dialog_message; in showTimeoutDialog()
211 if (messageId != 0) { in showTimeoutDialog()
212 final String message = mContext.getString(messageId, in showTimeoutDialog()
/frameworks/base/wifi/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java257 final int messageId = 2123; in testPublishFlow() local
294 publishSession.getValue().sendMessage(peerHandle, messageId, string1.getBytes()); in testPublishFlow()
297 sessionProxyCallback.getValue().onMessageSendFail(messageId, reason); in testPublishFlow()
298 sessionProxyCallback.getValue().onMessageSendSuccess(messageId); in testPublishFlow()
302 eq(peerHandle.peerId), eq(string1.getBytes()), eq(messageId), eq(0)); in testPublishFlow()
320 inOrder.verify(mockSessionCallback).onMessageSendFailed(eq(messageId)); in testPublishFlow()
321 inOrder.verify(mockSessionCallback).onMessageSendSucceeded(eq(messageId)); in testPublishFlow()
407 final int messageId = 2123; in testSubscribeFlow() local
442 subscribeSession.getValue().sendMessage(peerHandle, messageId, string1.getBytes()); in testSubscribeFlow()
445 sessionProxyCallback.getValue().onMessageSendFail(messageId, reason); in testSubscribeFlow()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java88 private static BitwiseOutputStream createBearerDataStream(int messageId, int priority, in createBearerDataStream() argument
94 bos.write(8, ((messageId >>> 8) & 0xff)); in createBearerDataStream()
95 bos.write(8, (messageId & 0xff)); in createBearerDataStream()
144 private static SmsMessage createCmasSmsMessage(int serviceCategory, int messageId, int priority, in createCmasSmsMessage() argument
169 BitwiseOutputStream bos = createBearerDataStream(messageId, priority, language); in createCmasSmsMessage()
192 private static SmsMessage createBroadcastSmsMessage(int serviceCategory, int messageId, in createBroadcastSmsMessage() argument
195 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/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/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/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/android/support/v7/app/
DAlertDialog.java388 public Builder setMessage(@StringRes int messageId) { in setMessage() argument
389 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.java644 mMessageRef = mBearerData.messageId; in parseSms()
716 SmsCbMessage.GEOGRAPHICAL_SCOPE_PLMN_WIDE, bData.messageId, location, in parseBroadcastSms()
789 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.java546 public Builder setMessage(@StringRes int messageId) { in setMessage() argument
547 P.mMessage = P.mContext.getText(messageId); in setMessage()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDeviceTv.java1680 void displayOsd(int messageId) { in displayOsd() argument
1682 mService.displayOsd(messageId); in displayOsd()
1686 void displayOsd(int messageId, int extra) { in displayOsd() argument
1688 mService.displayOsd(messageId, extra); in displayOsd()

12