Home
last modified time | relevance | path

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

1234

/development/tools/ddms/libs/ddmuilib/src/com/android/ddmuilib/console/
DDdmConsole.java33 public static void printErrorToConsole(String message) { in printErrorToConsole() argument
35 mConsole.printErrorToConsole(message); in printErrorToConsole()
37 System.err.println(message); in printErrorToConsole()
50 for (String message : messages) { in printErrorToConsole()
51 System.err.println(message); in printErrorToConsole()
61 public static void printToConsole(String message) { in printToConsole() argument
63 mConsole.printToConsole(message); in printToConsole()
65 System.out.println(message); in printToConsole()
78 for (String message : messages) { in printToConsole()
79 System.out.println(message); in printToConsole()
DIDdmConsole.java28 public void printErrorToConsole(String message); in printErrorToConsole() argument
40 public void printToConsole(String message); in printToConsole() argument
/development/tools/ddms/libs/ddmlib/src/com/android/ddmlib/
DLog.java124 public void printLog(LogLevel logLevel, String tag, String message); in printLog() argument
133 public void printAndPromptLog(LogLevel logLevel, String tag, String message); in printAndPromptLog() argument
164 public static void v(String tag, String message) { in v() argument
165 println(LogLevel.VERBOSE, tag, message); in v()
173 public static void d(String tag, String message) { in d() argument
174 println(LogLevel.DEBUG, tag, message); in d()
182 public static void i(String tag, String message) { in i() argument
183 println(LogLevel.INFO, tag, message); in i()
191 public static void w(String tag, String message) { in w() argument
192 println(LogLevel.WARN, tag, message); in w()
[all …]
DAdbHelper.java55 message = ""; in AdbResponse()
64 public String message; // diagnostic string field in AdbHelper.AdbResponse
136 throw new IOException("connection request rejected: " + resp.message); //$NON-NLS-1$ in createPassThroughConnection()
246 resp.message = replyToString(msg); in readAdbResponse()
248 + resp.message + "'"); in readAdbResponse()
284 + resp.message); in getFrameBuffer()
371 Log.e("ddms", "ADB rejected shell command (" + command + "): " + resp.message); in executeRemoteCommand()
372 throw new IOException("sad result from adb: " + resp.message); in executeRemoteCommand()
452 throw new IOException("Device rejected log command: " + resp.message); in runLogService()
513 throw new IOException("Device rejected command: " + resp.message); in createForward()
[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/tools/ddms/libs/ddmlib/src/com/android/ddmlib/log/
DInvalidTypeException.java45 public InvalidTypeException(String message) { in InvalidTypeException() argument
46 super(message); in InvalidTypeException()
71 public InvalidTypeException(String message, Throwable cause) { in InvalidTypeException() argument
72 super(message, cause); in InvalidTypeException()
DInvalidValueTypeException.java49 public InvalidValueTypeException(String message) { in InvalidValueTypeException() argument
50 super(message); in InvalidValueTypeException()
75 public InvalidValueTypeException(String message, Throwable cause) { in InvalidValueTypeException() argument
76 super(message, cause); in InvalidValueTypeException()
/development/tools/apkbuilder/src/com/android/apkbuilder/
DApkBuilder.java32 public WrongOptionException(String message) { in WrongOptionException() argument
33 super(message); in WrongOptionException()
40 public ApkCreationException(String message) { in ApkCreationException() argument
41 super(message); in ApkCreationException()
113 for (String message : messages) { in printAndExit()
114 System.err.println(message); in printAndExit()
/development/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DXmlErrorHandler.java112 String message = exception.getMessage(); in handleError() local
113 if (message == null) { in handleError()
114 message = "Unknown error " + exception.getClass().getCanonicalName(); in handleError()
121 message, in handleError()
127 message, in handleError()
/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/tools/jarutils/src/com/android/jarutils/
DDebugKeyProvider.java41 public void out(String message); in out() argument
42 public void err(String message); in err() argument
62 KeytoolException(String message) { in KeytoolException() argument
63 super(message); in KeytoolException()
66 KeytoolException(String message, String javaHome, String commandLine) { in KeytoolException() argument
67 super(message); in KeytoolException()
/development/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/
DExportWizard.java151 String message = getExceptionMessage(t); in onException() local
153 setErrorMessage(message); in onException()
258 public void err(String message) { in doExport()
259 output.add(message); in doExport()
261 public void out(String message) { in doExport()
262 output.add(message); in doExport()
338 String message = zipAlign(path, destFile, realDestFile); in doExport() local
339 if (message != null) { in doExport()
340 displayError(message); in doExport()
551 String message = null; in displayError() local
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/app/
DIncomingMessage.java59 TextView tv = (TextView)view.findViewById(R.id.message); in showToast()
84 CharSequence message = "kthx. meet u for dinner. cul8r"; in showNotification() local
91 String tickerText = getString(R.string.imcoming_message_ticker_text, message); in showNotification()
98 notif.setLatestEventInfo(this, from, message, contentIntent); in showNotification()
/development/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DGraphicalLayoutEditor.java801 String message = String.format(
807 showErrorInEditor(message);
843 String message = String.format("Resource '%1$s' does not exist.",
846 showErrorInEditor(message);
854 String message = String.format("%1$s is out of sync. Please refresh.",
857 showErrorInEditor(message);
860 AdtPlugin.printErrorToConsole(iProject.getName(), message);
922 public void error(String message) {
923 AdtPlugin.printErrorToConsole(mEditedFile.getName(), message);
927 String message = error.getMessage();
[all …]
DGraphicalEditorPart.java448 String message = String.format("File 'res/%1$s' is in the way!", in createAlternateLayout() local
451 AdtPlugin.displayError("Layout Creation", message); in createAlternateLayout()
453 return new Status(IStatus.ERROR, AdtPlugin.PLUGIN_ID, message); in createAlternateLayout()
521 String message = String.format( in createAlternateLayout()
525 AdtPlugin.displayError("Layout Creation", message); in createAlternateLayout()
528 message, e2); in createAlternateLayout()
530 String message = String.format( in createAlternateLayout()
534 AdtPlugin.displayError("Layout Creation", message); in createAlternateLayout()
754 String message = String.format("%1$s is out of sync. Please refresh.", in recomputeLayout() local
757 displayError(message); in recomputeLayout()
[all …]
/development/tools/screenshot/src/com/android/screenshot/
DScreenshot.java92 public void printAndPromptLog(LogLevel logLevel, String tag, String message) { in main()
93 System.err.println(logLevel.getStringValue() + ":" + tag + ":" + message); in main()
96 public void printLog(LogLevel logLevel, String tag, String message) { in main()
97 System.err.println(logLevel.getStringValue() + ":" + tag + ":" + message); in main()
248 private static void printAndExit(String message, boolean terminate) { in printAndExit() argument
249 System.out.println(message); in printAndExit()
/development/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DResourceManagerBuilder.java139 String message; in build() local
143message = String.format("%1$s already exists but is not a source folder. Convert to a source folde… in build()
147 message = String.format( in build()
152 AdtPlugin.printErrorToConsole(project, message); in build()
153 markProject(AdtConstants.MARKER_ADT, message, IMarker.SEVERITY_ERROR); in build()
156 stopBuild(message); in build()
DPreCompilerDeltaVisitor.java370 String message = null; in visit() local
374 message = String.format(Messages.s_Modified_Recreating_s, p, in visit()
379 message = String.format(Messages.Added_s_s_Needs_Updating, p, in visit()
384 message = String.format(Messages.s_Removed_s_Needs_Updating, p, in visit()
388 if (message != null) { in visit()
390 mBuilder.getProject(), message); in visit()
/development/tools/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/
DDdmsPlugin.java171 public void printLog(LogLevel logLevel, String tag, String message) { in start()
173 printToStream(errorConsoleStream, tag, message); in start()
176 printToStream(consoleStream, tag, message); in start()
181 final String message) { in start()
182 printLog(logLevel, tag, message); in start()
188 MessageDialog.openError(shell, tag, message); in start()
190 MessageDialog.openWarning(shell, tag, message); in start()
587 String message) { in printToStream() argument
591 stream.println(message); in printToStream()
/development/tools/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/tasks/
DProgressTask.java157 public boolean displayPrompt(final String title, final String message) {
165 result[0] = MessageDialog.openQuestion(shell, title, message);
251 public boolean displayPrompt(String title, String message) {
252 return mRoot.displayPrompt(title, message);
/development/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DAdtPlugin.java205 public void println(String message) { in println() argument
215 super.println(message); in println()
228 public abstract boolean handleError(String message); in handleError() argument
233 public abstract boolean handleWarning(String message); in handleWarning() argument
275 public void printErrorToConsole(String message) { in start()
276 AdtPlugin.printErrorToConsole((String)null, message); in start()
281 public void printToConsole(String message) { in start()
282 AdtPlugin.printToConsole((String)null, message); in start()
635 public final static void displayError(final String title, final String message) { in displayError() argument
643 MessageDialog.openError(shell, title, message); in displayError()
[all …]
/development/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/
DAndroidPreferencePage.java139 public boolean handleError(String message) { in doCheckState()
140 setErrorMessage(message.replaceAll("\n", " ")); //$NON-NLS-1$ //$NON-NLS-2$ in doCheckState()
145 public boolean handleWarning(String message) { in doCheckState()
146 showMessage(message.replaceAll("\n", " ")); //$NON-NLS-1$ //$NON-NLS-2$ in doCheckState()
/development/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
DDexWrapper.java163 private static IStatus createErrorStatus(String message, Exception e) { in createErrorStatus() argument
164 AdtPlugin.log(e, message); in createErrorStatus()
165 AdtPlugin.printErrorToConsole(Messages.DexWrapper_Dex_Loader, message); in createErrorStatus()
167 return new Status(IStatus.ERROR, AdtPlugin.PLUGIN_ID, message, e); in createErrorStatus()
/development/tools/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/
DITaskMonitor.java95 public boolean displayPrompt(final String title, final String message); in displayPrompt() argument
/development/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
DAndroidLaunchController.java289 String message = String.format("Performing %1$s", launchAction.getLaunchDescription()); in launch() local
290 AdtPlugin.printToConsole(project, message); in launch()
483message = String.format("Automatic Target Mode: using existing emulator '%1$s' running compatible … in launch()
486 message = String.format("Automatic Target Mode: using device '%1$s'", in launch()
489 AdtPlugin.printToConsole(project, message); in launch()
497message = "Automatic Target Mode: Several compatible targets. Please select a target device."; in launch()
499message = "Automatic Target Mode: Unable to detect device compatibility. Please select a target de… in launch()
502 AdtPlugin.printToConsole(project, message); in launch()
740 …String message = String.format("Application '%1$s' has its 'debuggable' attribute set to FALSE and… in checkBuildInfo() local
742 AdtPlugin.printErrorToConsole(launchInfo.getProject(), message); in checkBuildInfo() local
[all …]

1234