Home
last modified time | relevance | path

Searched refs:AdtPlugin (Results 1 – 25 of 263) sorted by relevance

1234567891011

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
DLaunchConfigDelegate.java23 import com.android.ide.eclipse.adt.AdtPlugin;
51 public static final String ATTR_TARGET_MODE = AdtPlugin.PLUGIN_ID + ".target"; //$NON-NLS-1$
56 AdtPlugin.PLUGIN_ID + ".reuse.last.used.device"; //$NON-NLS-1$
60 AdtPlugin.PLUGIN_ID + ".last.used.device"; //$NON-NLS-1$
70 public final static String ATTR_LAUNCH_ACTION = AdtPlugin.PLUGIN_ID + ".action"; //$NON-NLS-1$
86 public static final String ATTR_ACTIVITY = AdtPlugin.PLUGIN_ID + ".activity"; //$NON-NLS-1$
88 public static final String ATTR_AVD_NAME = AdtPlugin.PLUGIN_ID + ".avd"; //$NON-NLS-1$
90 public static final String ATTR_SPEED = AdtPlugin.PLUGIN_ID + ".speed"; //$NON-NLS-1$
98 public static final String ATTR_DELAY = AdtPlugin.PLUGIN_ID + ".delay"; //$NON-NLS-1$
106 … public static final String ATTR_COMMANDLINE = AdtPlugin.PLUGIN_ID + ".commandline"; //$NON-NLS-1$
[all …]
DAndroidLaunchController.java35 import com.android.ide.eclipse.adt.AdtPlugin;
243 IPreferenceStore store = AdtPlugin.getDefault().getPreferenceStore(); in getLaunchConfig()
257 AdtPlugin.printErrorToConsole(project, msg); in getLaunchConfig()
306 AdtPlugin.printToConsole(project, message); in launch()
393 AdtPlugin.printErrorToConsole(project, String.format( in launch()
410 AdtPlugin.printToConsole(project, String.format( in launch()
423 AdtPlugin.printToConsole(project, String.format( in launch()
513 AdtPlugin.printToConsole(project, String.format( in launch()
520 AdtPlugin.printToConsole(project, String.format( in launch()
524 final Display display = AdtPlugin.getDisplay(); in launch()
[all …]
DActivityLaunchAction.java23 import com.android.ide.eclipse.adt.AdtPlugin;
59 AdtPlugin.printToConsole(info.getProject(), msg); in doLaunchAction()
77 AdtPlugin.printErrorToConsole(info.getProject(), "Launch error: timeout"); in doLaunchAction()
80 AdtPlugin.printErrorToConsole(info.getProject(), String.format( in doLaunchAction()
85 AdtPlugin.log(e, "No command output when running: '%1$s' on device %2$s", command, in doLaunchAction()
90 AdtPlugin.printErrorToConsole(info.getProject(), in doLaunchAction()
DAMReceiver.java20 import com.android.ide.eclipse.adt.AdtPlugin;
108 AdtPlugin.printToConsole(mLaunchInfo.getProject(), msg); in processNewLines()
143 AdtPlugin.printErrorToConsole(mLaunchInfo.getProject(), array.toArray()); in processNewLines()
145 AdtPlugin.printToConsole(mLaunchInfo.getProject(), array.toArray()); in processNewLines()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/
DAdtPrefs.java22 import com.android.ide.eclipse.adt.AdtPlugin;
38 public final static String PREFS_SDK_DIR = AdtPlugin.PLUGIN_ID + ".sdk"; //$NON-NLS-1$
40 …public final static String PREFS_BUILD_RES_AUTO_REFRESH = AdtPlugin.PLUGIN_ID + ".resAutoRefresh";…
42 …public final static String PREFS_BUILD_FORCE_ERROR_ON_NATIVELIB_IN_JAR = AdtPlugin.PLUGIN_ID + ".f…
44 …public final static String PREFS_BUILD_SKIP_POST_COMPILE_ON_FILE_SAVE = AdtPlugin.PLUGIN_ID + ".sk…
46 …public final static String PREFS_BUILD_VERBOSITY = AdtPlugin.PLUGIN_ID + ".buildVerbosity"; //$NON…
48 …public final static String PREFS_DEFAULT_DEBUG_KEYSTORE = AdtPlugin.PLUGIN_ID + ".defaultDebugKeyS…
50 …public final static String PREFS_CUSTOM_DEBUG_KEYSTORE = AdtPlugin.PLUGIN_ID + ".customDebugKeySto…
52 …public final static String PREFS_HOME_PACKAGE = AdtPlugin.PLUGIN_ID + ".homePackage"; //$NON-NLS-1$
54 … public final static String PREFS_EMU_OPTIONS = AdtPlugin.PLUGIN_ID + ".emuOptions"; //$NON-NLS-1$
[all …]
DAndroidPreferencePage.java19 import com.android.ide.eclipse.adt.AdtPlugin;
20 import com.android.ide.eclipse.adt.AdtPlugin.CheckSdkErrorHandler;
61 setPreferenceStore(AdtPlugin.getDefault().getPreferenceStore()); in AndroidPreferencePage()
141 boolean ok = AdtPlugin.getDefault().checkSdkLocationAndId(fileName, in doCheckState()
142 new AdtPlugin.CheckSdkErrorHandler() { in doCheckState()
209 AdtPlugin.getDefault().addTargetListener(mTargetChangeListener); in doFillIntoGrid()
213 AdtPlugin.getDefault().refreshSdk(); in doFillIntoGrid()
219 AdtPlugin.log(e, "SdkTargetSelector failed"); in doFillIntoGrid()
227 AdtPlugin.getDefault().removeTargetListener(mTargetChangeListener); in dispose()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/
DAdtPluginTest.java26 assertFalse(AdtPlugin.streamContains(new StringReader(input), "hello")); in testReaderContains()
27 assertTrue(AdtPlugin.streamContains(new StringReader(input), "this")); in testReaderContains()
28 assertFalse(AdtPlugin.streamContains(new StringReader(input), "thiss")); in testReaderContains()
29 assertTrue(AdtPlugin.streamContains(new StringReader(input), "is a")); in testReaderContains()
30 assertTrue(AdtPlugin.streamContains(new StringReader("ABC ABCDAB ABCDABCDABDE"), in testReaderContains()
32 assertFalse(AdtPlugin.streamContains(new StringReader("ABC ABCDAB ABCDABCDABDE"), in testReaderContains()
38 String contents = AdtPlugin.readFile(new StringReader(input)); in testReadStream()
45 AdtPlugin.writeFile(temp, myContent); in testReadWriteFile()
46 String readBack = AdtPlugin.readFile(temp); in testReadWriteFile()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
DAdtConsoleSdkLog.java21 import com.android.ide.eclipse.adt.AdtPlugin;
34 AdtPlugin.logAndPrintError(t, TAG, "Error: " + errorFormat, args); in error()
36 AdtPlugin.printErrorToConsole(TAG, String.format(errorFormat, args)); in error()
45 AdtPlugin.printToConsole(TAG, s); in info()
57 AdtPlugin.printToConsole(TAG, String.format("Warning: " + warningFormat, args)); in warning()
DAndroidTargetParser.java25 import com.android.ide.eclipse.adt.AdtPlugin;
132 AdtPlugin.getDefault(), in run()
142 AdtPlugin.getDefault(), 1100); in run()
269 AdtPlugin.getDefault(), in run()
301 AdtPlugin.logAndPrintError(e, TAG, "SDK parser failed"); //$NON-NLS-1$ in run()
302 AdtPlugin.printToConsole("SDK parser failed", e.getMessage()); in run()
303 return new Status(IStatus.ERROR, AdtPlugin.PLUGIN_ID, "SDK parser failed", e); in run()
321 AdtPlugin.log(e, "Problem preloading classes"); //$NON-NLS-1$ in preload()
323 AdtPlugin.log(e, "Problem preloading classes"); //$NON-NLS-1$ in preload()
367 AdtPlugin.logAndPrintError(e, TAG, in collectPermissions()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/launch/
DNdkGdbLaunchDelegate.java33 import com.android.ide.eclipse.adt.AdtPlugin;
107 AdtPlugin.printErrorToConsole( in doLaunch()
119 AdtPlugin.printErrorToConsole(project, in doLaunch()
141 AdtPlugin.printErrorToConsole(project, in doLaunch()
160 AdtPlugin.getDisplay().syncExec(new Runnable() { in doLaunch()
164 AdtPlugin.getDisplay().getActiveShell(), in doLaunch()
187 AdtPlugin.printErrorToConsole(project, in doLaunch()
191 AdtPlugin.printErrorToConsole(project, in doLaunch()
204 AdtPlugin.printErrorToConsole(project, in doLaunch()
206 AdtPlugin.printErrorToConsole(project, in doLaunch()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/actions/
DDexDumpAction.java21 import com.android.ide.eclipse.adt.AdtPlugin;
125 AdtPlugin.printErrorToConsole(project, in runDexDump()
132 AdtPlugin.printErrorToConsole(project, in runDexDump()
142 AdtPlugin.printErrorToConsole(project, in runDexDump()
150 AdtPlugin.printErrorToConsole(project, in runDexDump()
160 AdtPlugin.logAndPrintError(e, project.getName(), in runDexDump()
195 AdtPlugin.printBuildToConsole(BuildVerbosity.VERBOSE, in runDexDump()
206 AdtPlugin.printErrorToConsole(project, in runDexDump()
224 AdtPlugin.getDisplay().asyncExec(new Runnable() { in runDexDump()
240 AdtPlugin.logAndPrintError(e, project.getName(), in runDexDump()
[all …]
DAvdManagerAction.java19 import com.android.ide.eclipse.adt.AdtPlugin;
54 AdtPlugin.getDefault().refreshSdk(); in run()
58 AdtPlugin.getShell(), in run()
64 AdtPlugin.displayError("Android SDK", in run()
DSdkManagerAction.java22 import com.android.ide.eclipse.adt.AdtPlugin;
71 AdtPlugin.getDefault().refreshSdk(); in run()
81 if (AdtPlugin.getDefault().checkSdkLocationAndId()) { in run()
83 AdtPlugin.displayError( in run()
139 new CloseableProgressMonitorDialog(AdtPlugin.getShell()); in openExternalSdkManager()
173 AdtPlugin.printErrorToConsole("SDK Manager", in openExternalSdkManager()
238 AdtPlugin.log(e, "SDK Manager exec failed"); //$NON-NLS-1# in openExternalSdkManager()
264 AdtPlugin.getShell(), in openAdtSdkManager()
335 AdtPlugin.getDefault().reparseSdk(); in openAdtSdkManager()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DToolsLocator.java29 return AdtPlugin.getOsAbsoluteAdb(); in getAdbLocation()
34 return AdtPlugin.getOsAbsoluteHprofConv(); in getHprofConvLocation()
39 return AdtPlugin.getOsAbsoluteTraceview(); in getTraceViewLocation()
DAdtConstants.java158 public final static String MARKER_ADT = AdtPlugin.PLUGIN_ID + ".adtProblem"; //$NON-NLS-1$
164 public final static String MARKER_TARGET = AdtPlugin.PLUGIN_ID + ".targetProblem"; //$NON-NLS-1$
168 …public final static String MARKER_BUILD_TOOLS = AdtPlugin.PLUGIN_ID + ".buildToolsProblem"; //$NON…
173 …public final static String MARKER_DEPENDENCY = AdtPlugin.PLUGIN_ID + ".dependencyProblem"; //$NON-…
199 …public final static String MARKER_PACKAGING = AdtPlugin.PLUGIN_ID + ".packagingProblem"; //$NON-NL…
202 …public final static String MARKER_MANIFMERGER = AdtPlugin.PLUGIN_ID + ".manifMergerProblem"; //$NO…
205 public final static String MARKER_LINT = AdtPlugin.PLUGIN_ID + ".lintProblem"; //$NON-NLS-1$
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/
DPostCompilerBuilder.java23 import com.android.ide.eclipse.adt.AdtPlugin;
142 AdtPlugin.log(IStatus.INFO, "%s CLEAN(POST)", project.getName()); in clean()
175 AdtPlugin.log(IStatus.INFO, "%s BUILD(POST)", project.getName()); in build()
184 AdtPlugin.printBuildToConsole(BuildVerbosity.ALWAYS, project, msg); in build()
186 AdtPlugin.printBuildToConsole(BuildVerbosity.ALWAYS, project, msg); in build()
232 AdtPlugin.printBuildToConsole(BuildVerbosity.VERBOSE, project, in build()
236 AdtPlugin.log(IStatus.INFO, "%s full build!", project.getName()); in build()
244 AdtPlugin.printBuildToConsole(BuildVerbosity.VERBOSE, project, in build()
352 AdtPlugin.getOutStream()); in build()
354 AdtPlugin.getOutStream()); in build()
[all …]
DPatternBasedDeltaVisitor.java19 import com.android.ide.eclipse.adt.AdtPlugin;
65 AdtPlugin.log(IStatus.INFO, "%s (%s): Delta for %s", //$NON-NLS-1$ in PatternBasedDeltaVisitor()
106 AdtPlugin.log(IStatus.INFO, "%s (%s:%s): %s", //$NON-NLS-1$ in visit()
110 AdtPlugin.log(IStatus.INFO, "%s (%s): %s", //$NON-NLS-1$ in visit()
124 AdtPlugin.log(IStatus.INFO, "%s (%s:%s): %s", //$NON-NLS-1$ in visit()
128 AdtPlugin.log(IStatus.INFO, "%s (%s): %s", //$NON-NLS-1$ in visit()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/welcome/
DWelcomeWizard.java19 import com.android.ide.eclipse.adt.AdtPlugin;
65 ImageDescriptor image = AdtPlugin.getImageDescriptor("icons/android-64.png"); //$NON-NLS-1$ in WelcomeWizard()
134 AdtPlugin.logAndPrintError(e, "ADT Welcome Wizard", in performFinish()
157 AdtPlugin.logAndPrintError(null, "ADT Welcome Wizard", in installSdk()
166 Display display = AdtPlugin.getDisplay(); in installSdk()
178 AdtPlugin.log(IStatus.WARNING, "No parent shell for SDK installation dialog"); in installSdk()
201 AdtPlugin.printErrorToConsole("Failed to install Android SDK."); in installSdk()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
DImportProjectWizard.java21 import com.android.ide.eclipse.adt.AdtPlugin;
64 ImageDescriptor desc = AdtPlugin.getImageDescriptor(PROJECT_LOGO_LARGE); in init()
69 AdtPlugin.getDefault().refreshSdk(); in init()
74 File file = new File(AdtPlugin.getOsSdkFolder(), OS_SDK_TOOLS_LIB_FOLDER + File.separator in performFinish()
77 AdtPlugin.displayError("Tools Out of Date?", in performFinish()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DExportHelper.java23 import com.android.ide.eclipse.adt.AdtPlugin;
113 throw new CoreException(new Status(IStatus.ERROR, AdtPlugin.PLUGIN_ID, in exportReleaseApk()
215 throw new CoreException(new Status(IStatus.ERROR, AdtPlugin.PLUGIN_ID, in exportReleaseApk()
293 AdtPlugin.printErrorToConsole(project, msg); in exportReleaseApk()
294 AdtPlugin.printErrorToConsole(project, (Object[]) e.getOutput()); in exportReleaseApk()
295 throw new CoreException(new Status(IStatus.ERROR, AdtPlugin.PLUGIN_ID, in exportReleaseApk()
299 AdtPlugin.printErrorToConsole(project, msg); in exportReleaseApk()
300 throw new CoreException(new Status(IStatus.ERROR, AdtPlugin.PLUGIN_ID, in exportReleaseApk()
306 AdtPlugin.printErrorToConsole(project, msg); in exportReleaseApk()
307 throw new CoreException(new Status(IStatus.ERROR, AdtPlugin.PLUGIN_ID, in exportReleaseApk()
[all …]
DBaseClasspathContainerInitializer.java19 import com.android.ide.eclipse.adt.AdtPlugin;
51 AdtPlugin.printErrorToConsole(project, errorMessage); in processError()
65 AdtPlugin.log(e2, null); in processError()
90 AdtPlugin.log(e2, null); in processError()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DCreateNewConfigJob.java20 import com.android.ide.eclipse.adt.AdtPlugin;
73 return new Status(IStatus.ERROR, AdtPlugin.PLUGIN_ID, message); in run()
107 AdtPlugin.openFile(file, null, false); in run()
109 AdtPlugin.log(e, null); in run()
117 AdtPlugin.displayError("Layout Creation", message); in run()
119 return new Status(IStatus.ERROR, AdtPlugin.PLUGIN_ID, in run()
125 AdtPlugin.displayError("Layout Creation", message); in run()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DAaptQuickFix.java25 import com.android.ide.eclipse.adt.AdtPlugin;
95 AdtPlugin.log(e, null); in hasResolutions()
115 AdtPlugin.log(e1, null); in getResolutions()
133 AdtPlugin.log(e, "Can't find range information for %1$s", markerResource); in getResolutions()
201 AdtPlugin.log(e, null); in computeQuickAssistProposals()
249 AdtPlugin.log(e, "Can't look up XML model"); in perform()
293 return AdtPlugin.getAndroidLogo(); in getImage()
312 AdtPlugin.openFile(mFile, null); in run()
314 AdtPlugin.log(e, "Can't open file %1$s", mFile.getName()); in run()
322 AdtPlugin.openFile(mFile, region); in run()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DRulesEngine.java36 import com.android.ide.eclipse.adt.AdtPlugin;
144 AdtPlugin.log(e, "%s.getDisplayName() failed: %s", in callGetDisplayName()
174 AdtPlugin.log(e, "%s.getContextMenu() failed: %s", in callGetContextMenu()
198 AdtPlugin.log(e, "%s.getDefaultAction() failed: %s", in callGetDefaultActionId()
229 AdtPlugin.log(e, "%s.getContextMenu() failed: %s", in callAddLayoutActions()
255 AdtPlugin.log(e, "%s.getSelectionHint() failed: %s", in callGetSelectionHint()
274 AdtPlugin.log(e, "%s.callPaintSelectionFeedback() failed: %s", in callPaintSelectionFeedback()
297 AdtPlugin.log(e, "%s.onDropEnter() failed: %s", in callOnDropEnter()
323 AdtPlugin.log(e, "%s.onDropMove() failed: %s", in callOnDropMove()
346 AdtPlugin.log(e, "%s.onDropLeave() failed: %s", in callOnDropLeave()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/renamepackage/
DRenamePackageAction.java20 import com.android.ide.eclipse.adt.AdtPlugin;
105 if (save_helper.saveEditors(AdtPlugin.getShell())) { in run()
145 InputDialog dialog = new InputDialog(AdtPlugin.getShell(), in promptNewName()
168 op.run(AdtPlugin.getShell(), package_name_refactoring.getName()); in initiateAndroidPackageRefactoring()
170 Status s = new Status(Status.ERROR, AdtPlugin.PLUGIN_ID, e.getMessage(), e); in initiateAndroidPackageRefactoring()
171 AdtPlugin.getDefault().getLog().log(s); in initiateAndroidPackageRefactoring()

1234567891011