Home
last modified time | relevance | path

Searched refs:errorMessage (Results 1 – 19 of 19) sorted by relevance

/sdk/layoutlib_api/src/com/android/ide/common/rendering/api/
DResult.java92 public Result createResult(String errorMessage, Throwable throwable) { in createResult() argument
93 return new Result(this, errorMessage, throwable); in createResult()
101 public Result createResult(String errorMessage) { in createResult() argument
102 return new Result(this, errorMessage, null /*throwable*/); in createResult()
123 private Result(Status status, String errorMessage, Throwable t) { in Result() argument
126 mErrorMessage = errorMessage; in Result()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DBaseClasspathContainerInitializer.java45 protected static void processError(final IProject project, final String errorMessage, in processError() argument
47 if (errorMessage != null) { in processError()
50 AdtPlugin.printErrorToConsole(project, errorMessage); in processError()
55 errorMessage, IMarker.SEVERITY_ERROR, IMarker.PRIORITY_HIGH); in processError()
60 final String fmessage = errorMessage; in processError()
DLibraryClasspathContainerInitializer.java266 String errorMessage = null; in allocateLibraryContainer() local
349 errorMessage = e.getMessage(); in allocateLibraryContainer()
352 errorMessage = e.getMessage(); in allocateLibraryContainer()
355 processError(iProject, errorMessage, AdtConstants.MARKER_DEPENDENCY, in allocateLibraryContainer()
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/
DSdkToolsLocator.java97 private SdkInstallStatus(boolean valid, String errorMessage) { in SdkInstallStatus() argument
99 mCause = errorMessage; in SdkInstallStatus()
112 public static SdkInstallStatus invalidInstallation(String errorMessage) { in invalidInstallation() argument
113 return new SdkInstallStatus(false, errorMessage); in invalidInstallation()
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/
DTypoDetector.java328 public static List<String> getSuggestions(@NonNull String errorMessage) { in getSuggestions() argument
333 int index = errorMessage.indexOf('"'); in getSuggestions()
334 index = errorMessage.indexOf('"', index + 1); in getSuggestions()
338 index = errorMessage.indexOf('"', index); in getSuggestions()
344 index = errorMessage.indexOf('"', index); in getSuggestions()
346 index = errorMessage.length(); in getSuggestions()
348 words.add(errorMessage.substring(start, index)); in getSuggestions()
362 public static String getTypo(@NonNull String errorMessage) { in getTypo() argument
364 int index = errorMessage.indexOf('"'); in getTypo()
366 index = errorMessage.indexOf('"', start); in getTypo()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/
DResourceManagerBuilder.java98 String errorMessage = null; in build() local
101 errorMessage = Messages.Requires_Compiler_Compliance_s; in build()
104 errorMessage = Messages.Requires_Source_Compatibility_s; in build()
107 errorMessage = Messages.Requires_Class_Compatibility_s; in build()
111 if (errorMessage != null) { in build()
112 errorMessage = String.format(errorMessage, in build()
115 markProject(AdtConstants.MARKER_ADT, errorMessage, IMarker.SEVERITY_ERROR); in build()
116 AdtPlugin.printErrorToConsole(project, errorMessage); in build()
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/systrace/
DSystraceTask.java30 private String errorMessage; field in SystraceTask
46 errorMessage = "Unexpected error while running atrace on device: " + e; in run()
57 return errorMessage; in getError()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/runtime/
DTestCollector.java68 public synchronized void testRunFailed(String errorMessage) { in testRunFailed() argument
69 mErrorMessage = errorMessage; in testRunFailed()
DRemoteAdtTestRunner.java370 private void reportError(String errorMessage) { in reportError() argument
372 String.format(LaunchMessages.RemoteAdtTestRunner_RunFailedMsg_s, errorMessage)); in reportError()
472 public synchronized void testRunFailed(String errorMessage) { in testRunFailed() argument
473 reportError(errorMessage); in testRunFailed()
/sdk/ddms/libs/ddmlib/tests/src/com/android/ddmlib/testrunner/
DInstrumentationResultParserTest.java197 final String errorMessage = "Unable to find instrumentation info"; in testParse_runFailed() local
198 addStatusKey(output, "Error", errorMessage); in testParse_runFailed()
204 mMockListener.testRunFailed(errorMessage); in testParse_runFailed()
238 final String errorMessage = "Unable to instantiate instrumentation"; in testParse_failedResult() local
240 output.append(errorMessage); in testParse_failedResult()
246 mMockListener.testRunFailed(EasyMock.contains(errorMessage)); in testParse_failedResult()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/model/
DGLCall.java139 public void setStateTransformationCreationError(String errorMessage) { in setStateTransformationCreationError() argument
140 mStateTransformationCreationErrorMessage = errorMessage; in setStateTransformationCreationError()
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/testrunner/
DITestRunListener.java91 public void testRunFailed(String errorMessage); in testRunFailed() argument
/sdk/rule_api/src/com/android/ide/common/api/
DDropFeedback.java152 public String errorMessage; field in DropFeedback
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DAdapterViewRule.java49 dropFeedback.errorMessage = String.format( in onDropEnter()
DAbsoluteLayoutRule.java77 df.errorMessage = "AbsoluteLayout is deprecated."; in onDropEnter()
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/explorer/
DDeviceExplorer.java684 String errorMessage; in createNewFolderInSelection()
686 errorMessage = new String(data); in createNewFolderInSelection()
688 errorMessage = ""; in createNewFolderInSelection()
691 "DeviceExplorer", 0, errorMessage, null); //$NON-NLS-1$ in createNewFolderInSelection()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DGestureManager.java364 } else if (feedback.errorMessage != null) { in updateMessage()
365 if (!feedback.errorMessage.equals(mDisplayingMessage)) { in updateMessage()
366 mDisplayingMessage = feedback.errorMessage; in updateMessage()
DGraphicalEditorPart.java1541 String errorMessage = session.getResult().getErrorMessage(); in renderWithBridge() local
1543 if (exception != null && errorMessage == null) { in renderWithBridge()
1544 errorMessage = exception.toString(); in renderWithBridge()
1546 if (exception != null || (errorMessage != null && errorMessage.length() > 0)) { in renderWithBridge()
1547 logger.error(null, errorMessage, exception, null /*data*/); in renderWithBridge()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DGuidelineHandler.java287 feedback.errorMessage = "Constraint creates a cycle: " + desc; in checkCycle()
303 feedback.errorMessage = null; in checkCycles()