Home
last modified time | relevance | path

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

12

/frameworks/base/packages/Shell/src/com/android/shell/
DHeapDumpActivity.java87 final int messageId; in onCreate() local
89 messageId = com.android.internal.R.string.dump_heap_ready_text; in onCreate()
91 messageId = com.android.internal.R.string.dump_heap_system_text; in onCreate()
93 messageId = com.android.internal.R.string.dump_heap_text; in onCreate()
97 .setMessage(getString(messageId, procDisplayName, in onCreate()
/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/base/wifi/java/android/net/wifi/aware/
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()
DIWifiAwareDiscoverySessionCallback.aidl35 void onMessageSendSuccess(int messageId); in onMessageSendSuccess() argument
36 void onMessageSendFail(int messageId, int reason); in onMessageSendFail() argument
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/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()
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.java393 public void sendMessage(int clientId, int sessionId, int peerId, byte[] message, int messageId, in sendMessage() argument
417 + clientId + ", peerId=" + peerId + ", messageId=" + messageId in sendMessage()
421 mStateManager.sendMessage(clientId, sessionId, peerId, message, messageId, retryCount); in sendMessage()
/frameworks/base/telephony/common/com/google/android/mms/pdu/
DReadRecInd.java38 byte[] messageId, in ReadRecInd() argument
45 setMessageId(messageId); in ReadRecInd()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java159 bearerData.messageId = 0; in testUserData7bitAsciiFeedback()
169 assertEquals(0, revBearerData.messageId); in testUserData7bitAsciiFeedback()
189 bearerData.messageId = 0; in testUserData7bitGsmFeedback()
199 assertEquals(0, revBearerData.messageId); in testUserData7bitGsmFeedback()
243 bearerData.messageId = 0; in testUserDataUtf16Feedback()
253 assertEquals(0, revBearerData.messageId); in testUserDataUtf16Feedback()
262 assertEquals(0, revBearerData.messageId); in testUserDataUtf16Feedback()
279 bearerData.messageId = 0; in testUserData7BitAsciiFeedback()
319 assertEquals(bearerData.messageId, 1); in testMonolithicOne()
366 assertEquals(bearerData.messageId, 1); in testMonolithicTwo()
[all …]
/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/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java357 int messageId = 0; in showTimeoutDialog() local
361 messageId = R.string.kg_too_many_failed_pattern_attempts_dialog_message; in showTimeoutDialog()
364 messageId = R.string.kg_too_many_failed_pin_attempts_dialog_message; in showTimeoutDialog()
367 messageId = R.string.kg_too_many_failed_password_attempts_dialog_message; in showTimeoutDialog()
377 if (messageId != 0) { in showTimeoutDialog()
378 final String message = mContext.getString(messageId, in showTimeoutDialog()
/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/mms/java/com/android/internal/telephony/
DIMms.aidl88 Uri importMultimediaMessage(String callingPkg, in Uri contentUri, String messageId, in importMultimediaMessage() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DWapPushOverSms.java566 String messageId; in getDeliveryOrReadReportThreadId() local
568 messageId = new String(((DeliveryInd) pdu).getMessageId()); in getDeliveryOrReadReportThreadId()
570 messageId = new String(((ReadOrigInd) pdu).getMessageId()); in getDeliveryOrReadReportThreadId()
583 DatabaseUtils.sqlEscapeString(messageId), in getDeliveryOrReadReportThreadId()
/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java149 public Uri importMultimediaMessage(String callingPkg, Uri contentUri, String messageId,
385 String messageId, long timestampSecs, boolean seen, boolean read) in importMultimediaMessage() argument
394 callingPkg, contentUri, messageId, timestampSecs, seen, read); in importMultimediaMessage()
/frameworks/base/core/java/android/widget/
DVideoView.java593 int messageId;
596messageId = com.android.internal.R.string.VideoView_error_text_invalid_progressive_playback;
598 messageId = com.android.internal.R.string.VideoView_error_text_unknown;
602 .setMessage(messageId)
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DSmsMessage.java708 mBearerData.messageId = msgId; in preprocessCdmaFdeaWap()
778 mMessageRef = mBearerData.messageId;
871 SmsCbMessage.GEOGRAPHICAL_SCOPE_PLMN_WIDE, bData.messageId, location,
968 bearerData.messageId = getNextMessageId();
1059 bearerData.messageId = 0;

12