Home
last modified time | relevance | path

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

1234567

/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/core/tests/coretests/src/android/widget/focus/
DListWithMailMessages.java43 List<MailMessage> messages = Lists.newArrayList(); in onCreate() local
44 messages.add(new MailMessage("hello!", "<p>this is a test " in onCreate()
58 messages.add(new MailMessage("hello2!", longBody.toString(), true)); in onCreate()
59 messages.add(new MailMessage("phone number?", "<p>hey man, what's ur " in onCreate()
63 setListAdapter(new MyAdapter(this, R.layout.mail_message, messages)); in onCreate()
/frameworks/base/docs/html/training/auto/messaging/
Dindex.jd54 Staying connected through messages is important to many drivers. Chat apps can let users
63 dashboard systems, alerting them to new messages and allowing them to respond. You can configure
71 This lesson assumes that you have built an app that displays messages to the user and receive the
72 user's replies, such as a chat app. It shows you how to extend your app to hand those messages
82 the installed messaging apps can offer services for viewing and responding to messages
110 <p>A <em>conversation</em> is a group of messages that are all grouped together
111 in some way. Auto uses the conversation information to group the messages
113 be all the messages between the user and another person (for example, all
114 the messages back and forth between Darcy and Elizabeth). Every message
118 present the messages; it's up to your app to choose an appropriate conversation
[all …]
/frameworks/support/v4/api21/android/support/v4/app/
DNotificationCompatApi21.java159 Parcelable[] messages = new Parcelable[uc.getMessages().length]; in getBundleForUnreadConversation() local
160 for (int i = 0; i < messages.length; i++) { in getBundleForUnreadConversation()
164 messages[i] = m; in getBundleForUnreadConversation()
166 b.putParcelableArray(KEY_MESSAGES, messages); in getBundleForUnreadConversation()
185 String[] messages = null; in getUnreadConversationFromBundle() local
201 messages = tmp; in getUnreadConversationFromBundle()
219 messages, in getUnreadConversationFromBundle()
/frameworks/base/docs/html/guide/webapps/
Ddebugging.jd10 messages</li>
38 {@code console} JavaScript APIs and view the output messages to logcat. If you're familiar with
51 <p>Logcat is a tool that dumps a log of system messages. The messages include a stack trace when
52 the device throws an error, as well as log messages written from your application and
54 <p>To run logcat and view messages, execute
74 using. On Android 2.1 and higher, console messages from the Android Browser
76 messages are tagged with the name "WebCore".</p>
99 onConsoleMessage()} method in order for console messages to appear in logcat.
/frameworks/base/docs/html/distribute/engage/
Dgcm.jd2 …p your users in sync with your latest content by delivering lightweight messages over Google's inf…
15 Messaging</a> for Android, by sending lightweight messages to your apps
20 Push messages from your backend servers to tell your apps that there's new
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/processing/
DScope.java101 HashSet<String> messages = new HashSet<String>(); in assertNoError() local
104 if (!messages.contains(message)) { in assertNoError()
106 messages.add(message); in assertNoError()
/frameworks/base/docs/html/training/performance/battery/network/
Daction-server-traffic.jd43 Google Cloud Messaging (GCM) is a lightweight mechanism used to transmit brief messages from an
71 <strong>Note:</strong> When using GCM, your app can pass messages in normal or high priority.
74 normal priority</a> to deliver messages. Using this priority level prevents devices from being
77 state. Use high priority messages only if absolutely required.
/frameworks/base/docs/html/wear/preview/features/
Dnotifications.jd157 which is new in Android N. Wear 2.0 uses the chat messages included
185 reliable way to respond to chat messages.
226 .setContentTitle(messages.length + " new messages with " + sender.toString())
232 .addMessage(messages[0].getText(), messages[0].getTime(), messages[0].getSender())
233 .addMessage(messages[1].getText(), messages[1].getTime(), messages[1].getSender()))
/frameworks/base/docs/html/training/wearables/notifications/
Dstacks.jd24 for received messages, you should not show more than one notification
26 to provide a summary such as "2 new messages."</p>
100 .setContentTitle("2 new messages")
106 .setBigContentTitle("2 new messages")
150 .setContentTitle("2 new messages")
/frameworks/av/media/libstagefright/omx/
DOMX.cpp90 void dispatch(std::list<omx_message> &messages);
130 void OMX::CallbackDispatcher::dispatch(std::list<omx_message> &messages) { in dispatch() argument
135 mOwner->onMessages(messages); in dispatch()
140 std::list<omx_message> messages; in loop() local
152 messages.swap(mQueue); in loop()
155 dispatch(messages); in loop()
/frameworks/base/docs/html/training/monitoring-device-state/
Ddoze-standby.jd219 especially if the app relies on real-time messages such as tickles or
221 receive messages, you should use <a href="#using_gcm">Google Cloud Messaging (GCM)</a>
278 high-priority GCM messages</a>. GCM high-priority messages let you reliably wake your app to
286 High-priority GCM messages do not otherwise affect Doze mode, and they don’t
294 high-priority messages for critical messages, since this will reliably
302 jobs, and syncs properly, and using GCM high-priority messages. For a narrow
431 technical reason why your app cannot use GCM high-priority messages.</p>
447 <td rowspan="3">Requires delivery of real-time messages to users while device is in Doze or app
451 … <td rowspan="2">Should use GCM high-priority messages to wake the app and access the network.</td>
455 <td>Yes, but is not using GCM high-priority messages.</td>
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccSmsInterfaceManager.java136 protected void markMessagesAsRead(ArrayList<byte[]> messages) { in markMessagesAsRead() argument
137 if (messages == null) { in markMessagesAsRead()
152 int count = messages.size(); in markMessagesAsRead()
155 byte[] ba = messages.get(i); in markMessagesAsRead()
577 protected ArrayList<SmsRawData> buildValidRawData(ArrayList<byte[]> messages) { in buildValidRawData() argument
578 int count = messages.size(); in buildValidRawData()
584 byte[] ba = messages.get(i); in buildValidRawData()
588 ret.add(new SmsRawData(messages.get(i))); in buildValidRawData()
/frameworks/base/docs/html/training/wearables/data-layer/
Dmessages.jd22 <p>You send messages using the
37 nodes receive the messages. For example, in a voice transcription app that receives voice data on
44 connected nodes feature into consideration. If you don’t implement the changes, your messages may
57 requests, discover the nodes capable of fulfilling a requested need, and send messages to those
239 <p>You can also broadcast messages to all connected nodes. To retrieve all of the
240 connected nodes that you can send messages to, implement the following code:</p>
257 To be notified of received messages, implement the
Dindex.jd31 can send messages and is good for remote procedure calls (RPC), such as controlling a handheld's
50 …binding to the service when it needs to send data items or messages and unbinding the service when…
117 …<dt><a href="{@docRoot}training/wearables/data-layer/messages.html">Sending and Receiving Messages…
118 <dd>Messages are designed for fire-and-forget messages that you can send back and forth
/frameworks/base/docs/html/training/beam-files/
Dindex.jd39 URIs or other small messages. In addition, Android Beam is only one of the features available
40 in the Android NFC framework, which allows you to read NDEF messages from NFC tags. To learn
/frameworks/support/v4/java/android/support/v4/app/
DNotificationCompat.java2223 static Bundle[] getBundleArrayForMessages(List<Message> messages) { in getBundleArrayForMessages() argument
2224 Bundle[] bundles = new Bundle[messages.size()]; in getBundleArrayForMessages()
2225 final int N = messages.size(); in getBundleArrayForMessages()
2227 bundles[i] = messages.get(i).toBundle(); in getBundleArrayForMessages()
2233 List<Message> messages = new ArrayList<>(bundles.length); in getMessagesFromBundleArray() local
2238 messages.add(message); in getMessagesFromBundleArray()
2242 return messages; in getMessagesFromBundleArray()
3746 UnreadConversation(String[] messages, RemoteInput remoteInput, in UnreadConversation() argument
3749 mMessages = messages; in UnreadConversation()
3820 String[] messages, RemoteInputCompatBase.RemoteInput remoteInput,
[all …]
/frameworks/base/docs/html/training/multiple-threads/
Dcommunicate-ui.jd47 {@link android.os.Handler} object receives messages and runs code to handle the messages.
50 When you connect a {@link android.os.Handler} to your UI thread, the code that handles messages
198 // Handle status messages from tasks
251 * Pass along other messages from the UI
/frameworks/support/v4/donut/android/support/v4/app/
DNotificationCompatBase.java55 UnreadConversation build(String[] messages, in build() argument
/frameworks/base/docs/html/training/snackbar/
Dindex.jd51 android.support.design.widget.Snackbar} to show pop-up messages.
71 preferred way to display brief, transient messages to the user.
/frameworks/opt/telephony/src/java/android/provider/
DTelephony.java1142 Object[] messages; in getMessagesFromIntent() local
1144 messages = (Object[]) intent.getSerializableExtra("pdus"); in getMessagesFromIntent()
1151 if (messages == null) { in getMessagesFromIntent()
1162 int pduCount = messages.length; in getMessagesFromIntent()
1166 byte[] pdu = (byte[]) messages[i]; in getMessagesFromIntent()
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.h77 virtual void onMessages(const std::list<omx_message> &messages);
/frameworks/base/docs/html/guide/topics/manifest/
Dintent-filter-element.jd109 receive broadcast messages. Those with higher priority
111 to synchronous messages; it's ignored for asynchronous messages.)</p></li>
/frameworks/base/core/java/android/app/
DNotification.java4886 static Bundle[] getBundleArrayForMessages(List<Message> messages) { in getBundleArrayForMessages() argument
4887 Bundle[] bundles = new Bundle[messages.size()]; in getBundleArrayForMessages()
4888 final int N = messages.size(); in getBundleArrayForMessages()
4890 bundles[i] = messages.get(i).toBundle(); in getBundleArrayForMessages()
4896 List<Message> messages = new ArrayList<>(bundles.length); in getMessagesFromBundleArray() local
4901 messages.add(message); in getMessagesFromBundleArray()
4905 return messages; in getMessagesFromBundleArray()
6492 UnreadConversation(String[] messages, RemoteInput remoteInput, in UnreadConversation() argument
6495 mMessages = messages; in UnreadConversation()
6561 Parcelable[] messages = new Parcelable[mMessages.length]; in getBundleForUnreadConversation() local
[all …]
/frameworks/base/docs/html/preview/features/
Dnotification-updates.jd52 respond to text messages or update task lists directly within the notification
224 for received messages, when more than one message is received, bundle the
283 displaying a list of incoming messages, or an email app displaying a list of
288 include individual messages from a single person, or a list representation of
383 additional messages, and the content view for the notification.

1234567