Home
last modified time | relevance | path

Searched refs:message (Results 1 – 25 of 123) sorted by relevance

12345

/development/samples/USB/AdbTest/src/com/android/adb/
DAdbSocket.java39 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()
DAdbDevice.java145 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/src/repr/protobuf/proto/
Dabi_dump.proto17 message BasicNamedAndTypedDecl {
28 message ArrayType {
32 message PointerType {
36 message QualifiedType {
43 message BuiltinType {
49 message LvalueReferenceType {
53 message RvalueReferenceType {
57 message FunctionType {
63 message FunctionDecl {
74 message ParamDecl {
[all …]
Dabi_diff.proto7 message TypeInfo {
12 message TypeInfoDiff {
17 message VTableLayoutDiff {
22 message RecordFieldDeclDiff {
27 message CXXBaseSpecifierDiff {
32 message RecordTypeDiff {
43 message UnderlyingTypeDiff {
48 message EnumFieldDeclDiff {
53 message EnumTypeDiff {
62 message FunctionDeclDiff {
[all …]
/development/tools/idegen/src/
DLog.java24 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/
DIncomingMessage.java107 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/ApiDemos/src/com/example/android/mmslib/
DMmsException.java38 public MmsException(String message) { in MmsException() argument
39 super(message); in MmsException()
57 public MmsException(String message, Throwable cause) { in MmsException() argument
58 super(message, cause); in MmsException()
DInvalidHeaderValueException.java38 public InvalidHeaderValueException(String message) { in InvalidHeaderValueException() argument
39 super(message); in InvalidHeaderValueException()
/development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/
DPermissionRequestFragment.java177 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
/development/tools/winscope/src/
Dtransform_protolog.js24 constructor(message) { argument
25 super(message);
105 function transform_formatted(entry, message) { argument
107 text: format_text(message.message, entry),
109 tag: viewerConfig.groups[message.group].tag,
110 at: message.at,
116 let message = viewerConfig.messages[entry.messageHash]
117 if (message === undefined) {
121 return transform_formatted(entry, message);
/development/samples/ApiDemos/src/com/example/android/apis/os/
DSmsMessagingDemo.java118 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()
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
DMessageLogger.java39 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/
DNotificationIntentReceiver.java43 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/apps/Development/src/com/android/development/
DLogViewer.java108 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/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
DMessageDialogFragment.java29 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/vndk/tools/header-checker/src/repr/protobuf/
Dir_diff_dumper.cpp85 bool ProtobufIRDiffDumper::AddDiffMessageIR(const DiffMessageIR *message, in AddDiffMessageIR() argument
88 switch (message->Kind()) { in AddDiffMessageIR()
91 static_cast<const RecordTypeDiffIR *>(message), type_stack, in AddDiffMessageIR()
95 static_cast<const EnumTypeDiffIR *>(message), type_stack, diff_kind); in AddDiffMessageIR()
98 static_cast<const GlobalVarDiffIR*>(message), type_stack, diff_kind); in AddDiffMessageIR()
101 static_cast<const FunctionDiffIR*>(message), type_stack, diff_kind); in AddDiffMessageIR()
111 const LinkableMessageIR *message, DiffKind diff_kind) { in AddLinkableMessageIR() argument
112 switch (message->GetKind()) { in AddLinkableMessageIR()
115 static_cast<const RecordTypeIR *>(message), diff_kind); in AddLinkableMessageIR()
118 static_cast<const EnumTypeIR *>(message), diff_kind); in AddLinkableMessageIR()
[all …]
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyViewException.java31 public MonkeyViewException(String message) { in MonkeyViewException() argument
32 super(message); in MonkeyViewException()
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
DGlobal.java24 public static void showToast(Context context, String message) { in showToast() argument
25 Toast.makeText(context, message, Toast.LENGTH_SHORT).show(); in showToast()
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
DWiFiChatFragment.java89 String message = items.get(position); in getView() local
90 if (message != null && !message.isEmpty()) { in getView()
95 nameText.setText(message); in getView()
96 if (message.startsWith("Me: ")) { in getView()
/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/
DUtils.java27 public static void showToast(Context context, String message) { in showToast() argument
29 Toast.makeText(context, message, Toast.LENGTH_SHORT).show(); in showToast()
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/
DUtils.java27 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/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DLogHelper.java80 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/ToyVpn/src/com/example/android/toyvpn/
DToyVpnService.java89 public boolean handleMessage(Message message) { in handleMessage() argument
90 Toast.makeText(this, message.what, Toast.LENGTH_SHORT).show(); in handleMessage()
91 if (message.what != R.string.disconnected) { in handleMessage()
92 updateForegroundNotification(message.what); in handleMessage()
160 private void updateForegroundNotification(final int message) { in updateForegroundNotification() argument
169 .setContentText(getString(message)) in updateForegroundNotification()
/development/tools/repo_pull/
Dgerrit.py158 def set_review(url_opener, gerrit_url, change_id, labels, message): argument
167 if message:
168 data['message'] = message
173 def abandon(url_opener, gerrit_url, change_id, message): argument
179 if message:
180 data['message'] = message
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/pickers/
DPackageNamePicker.java34 final AtomicReference<String> message = new AtomicReference<>(); in getList() local
39 message::set, in getList()

12345