/development/tools/idegen/src/ |
H A D | Log.java | 24 static void debug(String message) { argument 26 info(message); 30 static void info(String message) { argument 31 System.out.println(message);
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
H A D | MonkeyViewException.java | 29 * @param message the error message 31 public MonkeyViewException(String message) { argument 32 super(message);
|
H A D | MonkeySourceNetwork.java | 61 private final String message; field in class:MonkeySourceNetwork.MonkeyCommandReturn 65 this.message = null; 69 String message) { 71 this.message = message; 75 return message != null; 79 return message; 772 * @param msg the error message to include 68 MonkeyCommandReturn(boolean success, String message) argument
|
/development/samples/USB/AdbTest/src/com/android/adb/ |
H A D | AdbSocket.java | 39 AdbMessage message = new AdbMessage(); 40 message.set(AdbMessage.A_OPEN, mId, 0, destination); 41 if (! message.write(mDevice)) { 55 public void handleMessage(AdbMessage message) { argument 56 switch (message.getCommand()) { 58 mPeerId = message.getArg0(); 64 mDevice.log(message.getDataString()); 71 AdbMessage message = new AdbMessage(); 72 message.set(AdbMessage.A_OKAY, mId, mPeerId); 73 message [all...] |
H A D | AdbDevice.java | 145 AdbMessage message = new AdbMessage(); 146 message.set(AdbMessage.A_CNXN, AdbMessage.A_VERSION, AdbMessage.MAX_PAYLOAD, "host::\0"); 147 message.write(this); 151 private void handleConnect(AdbMessage message) { argument 152 if (message.getDataString().startsWith("device:")) { 164 // dispatch a message from the device 165 void dispatchMessage(AdbMessage message) { argument 166 int command = message.getCommand(); 172 handleConnect(message); 178 AdbSocket socket = getSocket(message [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
H A D | IncomingMessage.java | 63 * activity stack for the incoming message details state that the 105 // The details of our fake message 107 CharSequence message; 109 case 0: message = "r u hungry? i am starved"; break; 110 case 1: message = "im nearby u"; break; 111 default: message = "kthx. meet u for dinner. cul8r"; break; 119 makeMessageIntentStack(this, from, message), PendingIntent.FLAG_CANCEL_CURRENT); 121 // The ticker text, this uses a formatted string so our message could be localized 122 String tickerText = getString(R.string.imcoming_message_ticker_text, message); 129 notif.setLatestEventInfo(this, from, message, contentInten [all...] |
H A D | IncomingMessageView.java | 28 * When it comes up, it also clears the notification, because the "message" 33 * Extra that can be supplied to Intent: who the message is from. 37 * Extra that can be supplied to Intent: the message that was sent. 39 static final public String KEY_MESSAGE = "message"; 46 // Fill in the message content. 49 ((TextView)findViewById(R.id.message)).setText(
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
H A D | SmsMessagingDemo.java | 99 Toast.makeText(SmsMessagingDemo.this, "Please enter a message recipient.", 105 Toast.makeText(SmsMessagingDemo.this, "Please enter a message body.", 118 for (String message : messages) { 119 sms.sendTextMessage(recipient, null, message, PendingIntent.getBroadcast( 129 String message = null; 133 message = "Message sent!"; 137 message = "Error."; 140 message = "Error: No service."; 143 message = "Error: Null PDU."; 146 message [all...] |
H A D | SmsMessageReceiver.java | 41 SmsMessage message = SmsMessage.createFromPdu((byte[]) pdus[i]); 42 String fromAddress = message.getOriginatingAddress(); 71 di.putExtra(SmsReceivedDialog.SMS_MESSAGE_EXTRA, message.getMessageBody().toString()); 74 // For the purposes of this demo, we'll only handle the first received message.
|
/development/apps/Development/src/com/android/development/ |
H A D | LogViewer.java | 96 logger.write("Reading message.\n".getBytes()); 108 CharSequence message 113 .append(message) 154 private final CharSequence message; field in class:LogViewer.AppendCharacters 156 public AppendCharacters(CharSequence message) { argument 157 this.message = message; 161 text.getText().append(message);
|
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/ |
H A D | WiFiChatFragment.java | 20 * and a message entry field with send button. 90 String message = items.get(position); 91 if (message != null && !message.isEmpty()) { 96 nameText.setText(message); 97 if (message.startsWith("Me: ")) {
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
H A D | PurgeableBitmap.java | 105 private void showAlertDialog(String message) { argument 107 builder.setMessage(message)
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
H A D | SplitTouchView.java | 59 String message = getResources().getString(R.string.split_touch_view_cheese_toast, 62 Toast toast = Toast.makeText(getApplicationContext(), message, Toast.LENGTH_SHORT);
|
H A D | GameControllerInput.java | 291 StringBuilder message = new StringBuilder(); 292 message.append(mDevice.getName()).append(" - Joystick Motion:\n"); 299 message.append(" ").append(MotionEvent.axisToString(axis)).append(": "); 303 message.append(event.getHistoricalAxisValue(axis, historyPos)); 304 message.append(", "); 308 message.append(value); 309 message.append("\n"); 311 Log.i(TAG, message.toString());
|
H A D | SecureView.java | 113 String message = messages[mClickCount++ % messages.length]; 117 .setMessage(message)
|
H A D | Hover.java | 70 mMessageTextView = (TextView) findViewById(R.id.message);
|
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
H A D | BluetoothChat.java | 140 mConversationArrayAdapter = new ArrayAdapter<String>(this, R.layout.message); 152 // Send a message using content of the edit text widget 154 String message = view.getText().toString(); 155 sendMessage(message); 197 * Sends a message. 198 * @param message A string of text to send. 200 private void sendMessage(String message) { argument 208 if (message.length() > 0) { 209 // Get the message bytes and tell the BluetoothChatService to write 210 byte[] send = message [all...] |
/development/tools/etc1tool/ |
H A D | etc1tool.cpp | 31 void usage(char* message, ...) { argument 32 if (message) { 34 va_start(ap, message); 35 vfprintf(stderr, message, ap); 100 void PNGAPI user_error_fn(png_structp png_ptr, png_const_charp message) { argument 101 fprintf(stderr, "PNG error: %s\n", message); 104 void PNGAPI user_warning_fn(png_structp png_ptr, png_const_charp message) { argument 105 fprintf(stderr, "PNG warning: %s\n", message);
|
/development/samples/USB/MissileLauncher/src/com/android/missilelauncher/ |
H A D | MissileLauncherActivity.java | 155 byte[] message = new byte[1]; 156 message[0] = (byte)control; 158 mConnection.controlTransfer(0x21, 0x9, 0x200, 0, message, message.length, 0);
|
/development/samples/LunarLander/src/com/example/android/lunarlander/ |
H A D | LunarView.java | 451 * @param message string to add to screen or null 453 public void setState(int mode, CharSequence message) { argument 455 * This method optionally can cause a text message to be displayed 488 if (message != null) { 489 str = message + "\n" + str; 745 CharSequence message = ""; 763 message = res.getText(R.string.message_off_pad); 765 message = res.getText(R.string.message_bad_angle); 767 message = res.getText(R.string.message_too_fast); 773 setState(result, message); [all...] |
/development/ndk/platforms/android-4/samples/san-angeles/jni/ |
H A D | app-win32.c | 162 static LRESULT CALLBACK wndProc(HWND wnd, UINT message, argument 168 switch (message) 201 return DefWindowProc(wnd, message, wParam, lParam);
|
/development/samples/ToyVpn/src/com/example/android/toyvpn/ |
H A D | ToyVpnService.java | 81 public boolean handleMessage(Message message) { argument 82 if (message != null) { 83 Toast.makeText(this, message.what, Toast.LENGTH_SHORT).show(); 154 // Now we are connected. Set the flag and show the message.
|
/development/samples/training/NsdChat/src/com/example/android/nsdchat/ |
H A D | ChatConnection.java | 78 Log.e(TAG, "Updating message: " + msg); 89 Message message = new Message(); 90 message.setData(messageBundle); 91 mUpdateHandler.sendMessage(message); 283 Log.d(CLIENT_TAG, "Client sent message: " + msg);
|
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
H A D | ClockBackService.java | 226 public void handleMessage(Message message) { 227 switch (message.what) { 229 String utterance = (String) message.obj; 248 int resourceId = message.arg1; 255 int key = message.arg1; 325 // Send a message to start the TTS.
|
/development/host/windows/usb/adb_winapi_test/ |
H A D | adb_winapi_test.cpp | 21 // a simple "hand shake" message to the device connected via this interface.
35 // Constants used to initialize a "handshake" message
45 // Formats message sent to USB device
46 struct message { struct 71 // Sends a "handshake" message to the given interface.
362 // Send connect message
363 message msg_send;
381 message msg_rcv;
|