Home
last modified time | relevance | path

Searched refs:messages (Results 1 – 25 of 120) sorted by relevance

12345

/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecMessageCache.java54 SparseArray<HdmiCecMessage> messages = mCache.get(address); in getMessage() local
55 if (messages == null) { in getMessage()
59 return messages.get(opcode); in getMessage()
91 SparseArray<HdmiCecMessage> messages = mCache.get(source); in cacheMessage() local
92 if (messages == null) { in cacheMessage()
93 messages = new SparseArray<>(); in cacheMessage()
94 mCache.put(source, messages); in cacheMessage()
96 messages.put(opcode, message); in cacheMessage()
/frameworks/base/tools/streaming_proto/java/
Dmain.cpp159 const vector<EnumDescriptorProto>& enums, const vector<DescriptorProto>& messages) in write_file() argument
194 N = messages.size(); in write_file()
196 write_message(text, messages[i], indented); in write_file()
222 vector<DescriptorProto> messages; in write_multiple_files() local
226 true, enums, messages); in write_multiple_files()
234 vector<DescriptorProto> messages; in write_multiple_files() local
235 messages.push_back(file_descriptor.message_type(i)); in write_multiple_files()
239 false, enums, messages); in write_multiple_files()
254 vector<DescriptorProto> messages; in write_single_file() local
257 messages.push_back(file_descriptor.message_type(i)); in write_single_file()
[all …]
/frameworks/base/tests/DynamicCodeLoggerIntegrationTests/src/com/android/server/pm/dex/
DDynamicCodeLoggerIntegrationTests.java341 List<String> messages = null; in runTest() local
355 messages = findMatchingEvents( in runTest()
357 if (!messages.isEmpty()) { in runTest()
362 assertHasDclLog(messages, mExpectedContentHash); in runTest()
457 List<String> messages = in assertDclLoggedSince() local
460 assertHasDclLog(messages, expectedContentHash); in assertDclLoggedSince()
463 private static void assertHasDclLog(List<String> messages, String expectedContentHash) { in assertHasDclLog() argument
464 assertWithMessage("Expected exactly one matching log entry").that(messages).hasSize(1); in assertHasDclLog()
465 assertThat(messages.get(0)).endsWith(expectedContentHash); in assertHasDclLog()
470 List<String> messages = in assertNoDclLoggedSince() local
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationRemoteInputManagerTest.java150 CharSequence[] messages = newSbn.getNotification().extras in testRebuildWithRemoteInput_noExistingInputNoSpinner() local
152 assertEquals(1, messages.length); in testRebuildWithRemoteInput_noExistingInputNoSpinner()
153 assertEquals("A Reply", messages[0]); in testRebuildWithRemoteInput_noExistingInputNoSpinner()
164 CharSequence[] messages = newSbn.getNotification().extras in testRebuildWithRemoteInput_noExistingInputWithSpinner() local
166 assertEquals(1, messages.length); in testRebuildWithRemoteInput_noExistingInputWithSpinner()
167 assertEquals("A Reply", messages[0]); in testRebuildWithRemoteInput_noExistingInputWithSpinner()
183 CharSequence[] messages = newSbn.getNotification().extras in testRebuildWithRemoteInput_withExistingInput() local
185 assertEquals(2, messages.length); in testRebuildWithRemoteInput_withExistingInput()
186 assertEquals("Reply 2", messages[0]); in testRebuildWithRemoteInput_withExistingInput()
187 assertEquals("A Reply", messages[1]); in testRebuildWithRemoteInput_withExistingInput()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListWithMailMessages.java44 List<MailMessage> messages = Lists.newArrayList(); in onCreate() local
45 messages.add(new MailMessage("hello!", "<p>this is a test " in onCreate()
59 messages.add(new MailMessage("hello2!", longBody.toString(), true)); in onCreate()
60 messages.add(new MailMessage("phone number?", "<p>hey man, what's ur " in onCreate()
64 setListAdapter(new MyAdapter(this, R.layout.mail_message, messages)); in onCreate()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingLayout.java152 Parcelable[] messages = extras.getParcelableArray(Notification.EXTRA_MESSAGES); in setData() local
154 = Notification.MessagingStyle.Message.getMessagesFromBundleArray(messages); in setData()
195 List<MessagingMessage> messages = createMessages(newMessages, false /* isHistoric */); in bind() local
198 addMessagesToGroups(historicMessages, messages, showSpinner); in bind()
207 mMessages = messages; in bind()
219 List<MessagingMessage> messages = group.getMessages(); in removeGroups() local
233 mMessages.removeAll(messages); in removeGroups()
234 mHistoricMessages.removeAll(messages); in removeGroups()
384 List<MessagingMessage> messages, boolean showSpinner) { in addMessagesToGroups() argument
390 findGroups(historicMessages, messages, groups, senders); in addMessagesToGroups()
[all …]
/frameworks/av/media/bufferpool/2.0/
DBufferStatus.cpp87 void BufferStatusObserver::getBufferStatusChanges(std::vector<BufferStatusMessage> &messages) { in getBufferStatusChanges() argument
100 messages.push_back(message); in getBufferStatusChanges()
241 std::vector<BufferInvalidationMessage> &messages) { in getInvalidations() argument
250 messages.reserve(messages.size() + avail); in getInvalidations()
252 messages.push_back(*it); in getInvalidations()
DBufferStatus.h80 void getBufferStatusChanges(std::vector<BufferStatusMessage> &messages);
180 void getInvalidations(std::vector<BufferInvalidationMessage> &messages);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationInlineImageResolver.java121 Parcelable[] messages; in retrieveWantedUriSet() local
132 messages = extras.getParcelableArray(Notification.EXTRA_MESSAGES); in retrieveWantedUriSet()
133 messageList = messages == null ? null : in retrieveWantedUriSet()
134 Notification.MessagingStyle.Message.getMessagesFromBundleArray(messages); in retrieveWantedUriSet()
/frameworks/base/proto/src/
Dgnss.proto52 // Total number of sv status messages processed
55 // Total number of L5 sv status messages processed
58 // Total number of sv status messages processed, where sv is used in fix
61 // Total number of L5 sv status messages processed, where sv is used in fix
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/os/
DFakeHandler.java58 ArrayList<Message> messages = new ArrayList<>(mQueuedMessages); in dispatchQueuedMessages() local
60 for (Message msg : messages) { in dispatchQueuedMessages()
/frameworks/base/core/java/android/view/textclassifier/
DActionsSuggestionsHelper.java74 List<ConversationActions.Message> messages, in toNativeMessages() argument
77 messages.stream() in toNativeMessages()
108 List<ConversationActions.Message> messages, in createResultId() argument
118 messages.stream().mapToInt(ActionsSuggestionsHelper::hashMessage), in createResultId()
/frameworks/base/core/proto/android/
Dprivacy.proto27 // Fields or messages annotated with DEST_LOCAL must never be
32 // Fields or messages annotated with DEST_EXPLICIT can be sent
36 // Fields or messages annotated with DEST_AUTOMATIC can be sent by
/frameworks/base/core/proto/
DREADME.md13 * Inner messages whose containing messages have the `Proto` suffix do not
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DAppSmsManager.java212 SmsMessage[] messages = Intents.getMessagesFromIntent(intent); in extractMessage() local
213 if (messages == null) { in extractMessage()
217 for (SmsMessage message : messages) { in extractMessage()
DIccSmsInterfaceManager.java210 protected void markMessagesAsRead(ArrayList<byte[]> messages) { in markMessagesAsRead() argument
211 if (messages == null) { in markMessagesAsRead()
226 int count = messages.size(); in markMessagesAsRead()
229 byte[] ba = messages.get(i); in markMessagesAsRead()
826 protected ArrayList<SmsRawData> buildValidRawData(ArrayList<byte[]> messages) { in buildValidRawData() argument
827 int count = messages.size(); in buildValidRawData()
833 byte[] ba = messages.get(i); in buildValidRawData()
837 ret.add(new SmsRawData(messages.get(i))); in buildValidRawData()
/frameworks/av/media/bufferpool/1.0/
DBufferStatus.cpp74 void BufferStatusObserver::getBufferStatusChanges(std::vector<BufferStatusMessage> &messages) { in getBufferStatusChanges() argument
87 messages.push_back(message); in getBufferStatusChanges()
DBufferStatus.h74 void getBufferStatusChanges(std::vector<BufferStatusMessage> &messages);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntry.java494 Parcelable[] messages = extras.getParcelableArray(Notification.EXTRA_MESSAGES); in isLastMessageFromReply() local
495 if (messages != null && messages.length > 0) { in isLastMessageFromReply()
496 Parcelable message = messages[messages.length - 1]; in isLastMessageFromReply()
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.cpp57 void onMessages(const std::list<omx_message> &messages) override;
64 void Harness::CodecObserver::onMessages(const std::list<omx_message> &messages) { in onMessages() argument
65 mHarness->handleMessages(mGeneration, messages); in onMessages()
94 void Harness::handleMessages(int32_t gen, const std::list<omx_message> &messages) { in handleMessages() argument
96 for (std::list<omx_message>::const_iterator it = messages.cbegin(); it != messages.cend(); ) { in handleMessages()
/frameworks/av/media/libmedia/
DIOMX.cpp835 virtual void onMessages(const std::list<omx_message> &messages) { in onMessages() argument
837 std::list<omx_message>::const_iterator it = messages.cbegin(); in onMessages()
838 if (messages.empty()) { in onMessages()
842 while (it != messages.cend()) { in onMessages()
865 std::list<omx_message> messages; in onTransact() local
877 messages.push_back(msg); in onTransact()
881 onMessages(messages); in onTransact()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSysuiRestartReceiver.java23 import com.android.internal.messages.nano.SystemMessageProto.SystemMessage;
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationShellCmdTest.java256 final List<Notification.MessagingStyle.Message> messages = messagingStyle.getMessages(); in testMessaging() local
257 for (int i = 0; i < messages.size(); i++) { in testMessaging()
258 final Notification.MessagingStyle.Message m = messages.get(i); in testMessaging()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DOpenNetworkNotifier.java23 import com.android.internal.messages.nano.SystemMessageProto.SystemMessage;
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/
Dtimestats.proto25 // changes to these messages, and keep google3 side proto messages in sync if

12345