/development/samples/USB/AdbTest/src/com/android/adb/ |
D | AdbSocket.java | 39 AdbMessage message = new AdbMessage(); in open() local 40 message.set(AdbMessage.A_OPEN, mId, 0, destination); in open() 41 if (! message.write(mDevice)) { in open() 55 public void handleMessage(AdbMessage message) { in handleMessage() argument 56 switch (message.getCommand()) { in handleMessage() 58 mPeerId = message.getArg0(); in handleMessage() 64 mDevice.log(message.getDataString()); in handleMessage() 71 AdbMessage message = new AdbMessage(); in sendReady() local 72 message.set(AdbMessage.A_OKAY, mId, mPeerId); in sendReady() 73 message.write(mDevice); in sendReady()
|
D | AdbDevice.java | 145 AdbMessage message = new AdbMessage(); in connect() local 146 message.set(AdbMessage.A_CNXN, AdbMessage.A_VERSION, AdbMessage.MAX_PAYLOAD, "host::\0"); in connect() 147 message.write(this); in connect() 151 private void handleConnect(AdbMessage message) { in handleConnect() argument 152 if (message.getDataString().startsWith("device:")) { in handleConnect() 165 void dispatchMessage(AdbMessage message) { in dispatchMessage() argument 166 int command = message.getCommand(); in dispatchMessage() 172 handleConnect(message); in dispatchMessage() 178 AdbSocket socket = getSocket(message.getArg1()); in dispatchMessage() 182 socket.handleMessage(message); in dispatchMessage() [all …]
|
/development/vndk/tools/header-checker/proto/ |
D | abi_dump.proto | 5 message BasicTypeAbi { 19 message BasicNamedAndTypedDecl { 27 message FunctionDecl { 36 message ParamDecl { 41 message RecordFieldDecl { 46 message EnumFieldDecl { 51 message TemplateInfo { 55 message TemplateElement { 57 message BasicTemplateElementAbi { 64 message CXXBaseSpecifier { [all …]
|
D | abi_diff.proto | 7 message RecordFieldDeclDiff { 13 message EnumFieldDeclDiff { 19 message CXXBaseSpecifierDiff { 25 message CXXVTableDiff { 31 message BasicNamedAndTypedDeclDiff { 36 message RecordDeclDiff { 44 message EnumDeclDiff { 50 message ReturnTypeDiff { 55 message ParamDeclDiff { 61 message FunctionDeclDiff { [all …]
|
/development/tools/idegen/src/ |
D | Log.java | 24 static void debug(String message) { in debug() argument 26 info(message); in debug() 30 static void info(String message) { in info() argument 31 System.out.println(message); in info()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | IncomingMessage.java | 107 CharSequence message; in showAppNotification() local 109 case 0: message = "r u hungry? i am starved"; break; in showAppNotification() 110 case 1: message = "im nearby u"; break; in showAppNotification() 111 default: message = "kthx. meet u for dinner. cul8r"; break; in showAppNotification() 119 makeMessageIntentStack(this, from, message), PendingIntent.FLAG_CANCEL_CURRENT); in showAppNotification() 122 String tickerText = getString(R.string.imcoming_message_ticker_text, message); in showAppNotification() 130 .setContentText(message) // the contents of the entry in showAppNotification() 158 CharSequence message; in showInterstitialNotification() local 160 case 0: message = "i am ready for some dinner"; break; in showInterstitialNotification() 161 case 1: message = "how about thai down the block?"; break; in showInterstitialNotification() [all …]
|
/development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/ |
D | PermissionRequestFragment.java | 177 public boolean onConsoleMessage(@NonNull ConsoleMessage message) { 178 switch (message.messageLevel()) { 180 Log.v(TAG, message.message()); 183 Log.i(TAG, message.message()); 186 Log.w(TAG, message.message()); 189 Log.e(TAG, message.message()); 192 Log.d(TAG, message.message()); 196 mConsoleMonitor.onConsoleMessage(message); 228 void onConsoleMessage(ConsoleMessage message); in onConsoleMessage() argument
|
D | MessageDialogFragment.java | 34 public static MessageDialogFragment newInstance(@StringRes int message) { in newInstance() argument 37 args.putInt(ARG_MESSAGE_RES_ID, message); in newInstance()
|
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/ |
D | MessageLogger.java | 39 public static void logMessage(Context context, String message) { in logMessage() argument 41 message = DATE_FORMAT.format(new Date(System.currentTimeMillis())) + ": " + message; in logMessage() 43 .putString(LOG_KEY, prefs.getString(LOG_KEY, "") + LINE_BREAKS + message) in logMessage()
|
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/ |
D | NotificationIntentReceiver.java | 43 String message = intent.getStringExtra(NotificationUtil.EXTRA_MESSAGE); in onReceive() local 50 message = message + ": \"" + replyMessage + "\""; in onReceive() 52 Toast.makeText(context, message, Toast.LENGTH_SHORT).show(); in onReceive()
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
D | SmsMessagingDemo.java | 118 for (String message : messages) { in onCreate() 119 sms.sendTextMessage(recipient, null, message, PendingIntent.getBroadcast( in onCreate() 129 String message = null; in onCreate() 133 message = "Message sent!"; in onCreate() 137 message = "Error."; in onCreate() 140 message = "Error: No service."; in onCreate() 143 message = "Error: Null PDU."; in onCreate() 146 message = "Error: Radio off."; in onCreate() 154 statusView.setText(message); in onCreate()
|
D | SmsMessageReceiver.java | 41 SmsMessage message = SmsMessage.createFromPdu((byte[]) pdus[i]); in onReceive() local 42 String fromAddress = message.getOriginatingAddress(); in onReceive() 71 di.putExtra(SmsReceivedDialog.SMS_MESSAGE_EXTRA, message.getMessageBody().toString()); in onReceive()
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeyViewException.java | 31 public MonkeyViewException(String message) { in MonkeyViewException() argument 32 super(message); in MonkeyViewException()
|
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/ |
D | MessageDialogFragment.java | 29 public static MessageDialogFragment newInstance(int message) { in newInstance() argument 32 args.putInt(ARG_MESSAGE_INT, message); in newInstance() 37 public static MessageDialogFragment newInstance(String message) { in newInstance() argument 40 args.putString(ARG_MESSAGE_STRING, message); in newInstance()
|
/development/apps/Development/src/com/android/development/ |
D | LogViewer.java | 108 CharSequence message in run() local 113 .append(message) in run() 154 private final CharSequence message; field in LogViewer.AppendCharacters 156 public AppendCharacters(CharSequence message) { in AppendCharacters() argument 157 this.message = message; in AppendCharacters() 161 text.getText().append(message); in run()
|
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/ |
D | Global.java | 24 public static void showToast(Context context, String message) { in showToast() argument 25 Toast.makeText(context, message, Toast.LENGTH_SHORT).show(); in showToast()
|
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/ |
D | Utils.java | 27 public static void showToast(Context context, String message) { in showToast() argument 29 Toast.makeText(context, message, Toast.LENGTH_SHORT).show(); in showToast()
|
/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/ |
D | Utils.java | 27 public static void showToast(Context context, String message) { in showToast() argument 29 Toast.makeText(context, message, Toast.LENGTH_SHORT).show(); in showToast()
|
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/ |
D | WiFiChatFragment.java | 90 String message = items.get(position); in getView() local 91 if (message != null && !message.isEmpty()) { in getView() 96 nameText.setText(message); in getView() 97 if (message.startsWith("Me: ")) { in getView()
|
/development/samples/ToyVpn/src/com/example/android/toyvpn/ |
D | ToyVpnService.java | 86 public boolean handleMessage(Message message) { in handleMessage() argument 87 Toast.makeText(this, message.what, Toast.LENGTH_SHORT).show(); in handleMessage() 88 if (message.what != R.string.disconnected) { in handleMessage() 89 updateForegroundNotification(message.what); in handleMessage() 161 private void updateForegroundNotification(final int message) { in updateForegroundNotification() argument 164 .setContentText(getString(message)) in updateForegroundNotification()
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/ |
D | LogHelper.java | 80 String message; in log() local 83 message = messages[0].toString(); in log() 92 message = sb.toString(); in log() 94 Log.println(level, tag, message); in log()
|
/development/samples/training/testingfun/app/src/com/example/android/testingfun/lesson5/ |
D | SenderActivity.java | 41 final CharSequence message = messageInputEditText.getText(); in onCreate() 42 startActivity(ReceiverActivity.makeIntent(SenderActivity.this, message)); in onCreate()
|
D | ReceiverActivity.java | 45 public static Intent makeIntent(Context context, CharSequence message) { in makeIntent() argument 47 .putExtra(EXTRA_SENDER_MESSAGE_TEXT, message); in makeIntent()
|
/development/samples/training/notify-user/src/com/example/android/pingme/ |
D | ResultActivity.java | 33 String message = getIntent().getStringExtra(CommonConstants.EXTRA_MESSAGE); in onCreate() local 35 text.setText(message); in onCreate()
|
/development/samples/LceDemo/src/com/example/android/lce/ |
D | LceDemoActivity.java | 67 Message message = handler.obtainMessage(); in onCreate() local 68 message.obj = "New downlink capacity received: " + in onCreate() 71 handler.sendMessage(message); in onCreate()
|