Searched refs:message (Results 1 - 25 of 309) sorted by path

1234567891011>>

/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/
H A DSmsMessageReceiver.java43 SmsMessage message = SmsMessage.createFromPdu((byte[]) pdus[i]);
44 String fromAddress = message.getOriginatingAddress();
45 String messageBody = message.getMessageBody().toString();
47 Log.i(LOG_TAG, "From: " + fromAddress + " message: " + messageBody);
53 private void addNotification(Context context, String fromAddress, String message) { argument
57 .setTicker(message)
60 .setContentText(message)
62 .setContentIntent(createDisplayMessageIntent(context, fromAddress, message,
74 String message, int notificationId) {
81 di.putExtra(DialogSmsDisplay.SMS_MESSAGE_EXTRA, message);
73 createDisplayMessageIntent(Context context, String fromAddress, String message, int notificationId) argument
[all...]
/packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/
H A DDialogSmsDisplayTests.java92 String message = null;
96 message = "Message sent!";
100 message = "Error.";
103 message = "Error: No SMS service.";
106 message = "Error: Null PDU.";
109 message = "Error: Radio off.";
112 assertFalse(message, error);
130 SmsMessage message = SmsMessage.createFromPdu((byte[]) pdus[i]);
131 String sender = message.getOriginatingAddress();
137 mReceivedMessages.add(message
211 sendMessageTest(String message) argument
276 sendOnNewIntent(String message, String dest, int notificationId) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
H A DA2dpSinkStateMachine.java166 public boolean processMessage(Message message) { argument
167 log("Disconnected process message: " + message.what);
174 switch(message.what) {
176 BluetoothDevice device = (BluetoothDevice) message.obj;
198 StackEvent event = (StackEvent) message.obj;
288 public boolean processMessage(Message message) { argument
289 log("Pending process message: " + message.what);
292 switch(message
476 processMessage(Message message) argument
[all...]
H A DA2dpStateMachine.java162 public boolean processMessage(Message message) { argument
163 log("Disconnected process message: " + message.what);
170 switch(message.what) {
172 BluetoothDevice device = (BluetoothDevice) message.obj;
194 StackEvent event = (StackEvent) message.obj;
281 public boolean processMessage(Message message) { argument
282 log("Pending process message: " + message.what);
285 switch(message
465 processMessage(Message message) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DRemoteDevices.java397 Message message = mHandler.obtainMessage(MESSAGE_UUID_INTENT);
398 message.obj = device;
399 mHandler.sendMessageDelayed(message, UUID_INTENT_DELAY);
409 Message message = mHandler.obtainMessage(MESSAGE_MAS_INSTANCE_INTENT);
410 message.obj = device;
411 mHandler.sendMessageDelayed(message, MAS_INSTANCE_INTENT_DELAY);
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DAdvertiseManager.java101 Message message = new Message();
102 message.what = MSG_START_ADVERTISING;
103 message.obj = client;
104 mHandler.sendMessage(message);
114 Message message = new Message();
115 message.what = MSG_STOP_ADVERTISING;
116 message.obj = client;
117 mHandler.sendMessage(message);
166 logd("message : " + msg.what);
177 Log.e(TAG, "recieve an unknown message
[all...]
H A DScanManager.java156 Message message = new Message();
157 message.what = what;
158 message.obj = client;
159 mHandler.sendMessage(message);
189 Log.e(TAG, "received an unkown message : " + msg.what);
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DHeadsetStateMachine.java88 // message.obj is an intent AudioManager.VOLUME_CHANGED_ACTION
312 public boolean processMessage(Message message) { argument
313 log("Disconnected process message: " + message.what +
323 switch(message.what) {
325 BluetoothDevice device = (BluetoothDevice) message.obj;
349 processIntentBatteryChanged((Intent) message.obj);
352 processCallState((HeadsetCallState) message.obj,
353 ((message.arg1 == 1)?true:false));
356 StackEvent event = (StackEvent) message
456 processMessage(Message message) argument
737 processMessage(Message message) argument
1137 processMessage(Message message) argument
1565 processMessage(Message message) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
H A DHeadsetClientStateMachine.java1301 public synchronized boolean processMessage(Message message) { argument
1302 Log.d(TAG, "Disconnected process message: " + message.what);
1309 switch (message.what) {
1311 BluetoothDevice device = (BluetoothDevice) message.obj;
1329 StackEvent event = (StackEvent) message.obj;
1399 public synchronized boolean processMessage(Message message) { argument
1400 Log.d(TAG, "Connecting process message: " + message.what);
1403 switch (message
1524 processMessage(Message message) argument
2084 processMessage(Message message) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapContent.java452 * the total message size. To provide a more accurate attachment size, one could
466 if (D) Log.d(TAG, "Error in message database, size reported as: " + size
475 if (D) Log.d(TAG, "Error in message database, attachment size reported as: " + size
478 message has attachments, in case the e-mail client do not
536 // A message cannot have size 0
538 // Set size to 1 to indicate to the client, that the message has content.
539 if (D) Log.d(TAG, "Error in message database, size reported as: " + size
1276 * The filter mask is set for message types not selected
1304 * The filter mask is set for message types not selected
1325 * The filter mask is set for message type
1700 setVCardFromPhoneNumber(BluetoothMapbMessage message, String phone, boolean incoming) argument
1814 extractMmsAddresses(long id, BluetoothMapbMessageMms message) argument
1890 extractMmsParts(long id, BluetoothMapbMessageMms message) argument
[all...]
H A DBluetoothMapContentObserver.java313 boolean transparent = false; // Used for EMAIL to delete message sent with transparency
359 // Forward the request to the MNS thread as a message - including the MAS instance ID.
367 mns.sendMessageDelayed(msg, 10); // Send message without forcing a context switch
531 /* We must filter out any actions made by the MCE, hence do not send e.g. a message
535 /* New message */
539 /* Incoming message from the network */
544 /* Existing message */
606 /* We must filter out any actions made by the MCE, hence do not send e.g. a message
610 /* New message - only notify on retrieve conf */
619 /* Incoming message fro
[all...]
H A DBluetoothMapObexServer.java57 /* OBEX header and value used to detect clients that support threadId in the message listing. */
72 private static final String TYPE_MESSAGE = "x-bt/message";
450 if(D) Log.d(TAG, "pushMessage: Missing charset - unable to decode message content. " +
470 /* - Read out the message
474 BluetoothMapbMessage message;
477 message = BluetoothMapbMessage.parse(bMsgStream, appParams.getCharset());
478 // Send message
479 if (mObserver == null || message == null) {
481 if(D) Log.w(TAG, "mObserver or parsed message not available" );
485 if ((message
[all...]
H A DBluetoothMapbMessageMms.java342 * characters in the local part of an address, the message MUST be
402 * only the actual message content should be included in the <bmessage-body-content>.
409 * get message to include attachments, but since only 8-bit encoding is allowed,
497 /* If this is empty, the MSE needs to fill it in before sending the message.
521 * when the message is send. */
641 private void parseMms(String message) { argument
653 message = message.replaceAll("\\r\\n[ \\\t]+", ""); // Unfold
654 messageParts = message.split("\r\n\r\n", 2); // Split the header from the body
656 // Handle entire message a
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DTestActivity.java536 public void updateStatus(String message) { argument
537 Log.v(TAG, "\n" + message);
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapActivity.java161 messageView = (TextView)mView.findViewById(R.id.message);
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
H A DBluetoothMapbMessageTest.java11 import org.apache.http.message.BasicHeaderValueFormatter;
25 import org.apache.http.message.BasicHeaderValueFormatter;
26 import org.apache.http.message.BasicHeaderElement;
42 * Test encoding of a simple SMS text message (UTF8). This validates most parameters.
75 "This is a short message\r\n" +
87 msg.setSmsBody("This is a short message");
268 if(D) Log.d(TAG, "\nCalling encoder on decoded message to log its content");
372 * Test multipart message decoding.
421 * Test encoding of a simple MMS text message (UTF8). This validates most parameters.
454 "This is a short message\
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DErrorConsoleView.java90 // way? Note that this is called on the UI thread so we will need to post a message
123 * Adds a message to the set of messages the console uses.
231 * message data.
246 * Add a new message to the list and update the View.
308 subText.setText(error.message());
H A DGeolocationPermissionsPrompt.java54 mMessage = (TextView) findViewById(R.id.message);
113 * Sets the prompt's message.
H A DPermissionsPrompt.java57 mMessage = (TextView) findViewById(R.id.message);
H A DTab.java932 /* Adds a JavaScript error message to the system log and if the JS
935 * @param consoleMessage the message object.
953 String message = "Console: " + consoleMessage.message() + " "
959 Log.v(CONSOLE_LOGTAG, message);
962 Log.i(CONSOLE_LOGTAG, message);
965 Log.w(CONSOLE_LOGTAG, message);
968 Log.e(CONSOLE_LOGTAG, message);
971 Log.d(CONSOLE_LOGTAG, message);
/packages/apps/Browser/tests/src/com/android/browser/
H A DTestWebChromeClient.java106 public boolean onJsAlert(WebView view, String url, String message, argument
108 return mWrappedClient.onJsAlert(view, url, message, result);
113 public boolean onJsConfirm(WebView view, String url, String message, argument
115 return mWrappedClient.onJsConfirm(view, url, message, result);
120 public boolean onJsPrompt(WebView view, String url, String message, argument
122 return mWrappedClient.onJsPrompt(view, url, message, defaultValue, result);
127 public boolean onJsBeforeUnload(WebView view, String url, String message, argument
129 return mWrappedClient.onJsBeforeUnload(view, url, message, result);
170 public void onConsoleMessage(String message, int lineNumber, String sourceID) { argument
171 mWrappedClient.onConsoleMessage(message, lineNumbe
[all...]
/packages/apps/Calculator/
H A Darity-2.1.2.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/javia/ org/javia/arity/ org/javia/arity/Compiler ...
/packages/apps/Calendar/src/com/android/calendar/month/
H A DMonthByWeekAdapter.java376 Message message = new Message();
377 message.obj = day;
378 mEventDialogHandler.sendMessage(message);
/packages/apps/Camera/src/com/android/camera/
H A DActivityBase.java331 String message = null;
333 message = getString(R.string.no_storage);
335 message = getString(R.string.preparing_sd);
337 message = getString(R.string.access_sd_fail);
339 message = getString(R.string.spaceIsLow_content);
342 if (message != null) {
344 mStorageHint = OnScreenHint.makeText(this, message);
346 mStorageHint.setText(message);
H A DOnScreenHint.java29 * A on-screen hint is a view containing a little message for the user and will
110 TextView tv = (TextView) v.findViewById(R.id.message);
128 TextView tv = (TextView) mNextView.findViewById(R.id.message);

Completed in 883 milliseconds

1234567891011>>